diff --git a/conformance/fhir-ig-us-core/CHANGELOG b/conformance/fhir-ig-us-core/CHANGELOG index bcf6408596e..6716a175e77 100644 --- a/conformance/fhir-ig-us-core/CHANGELOG +++ b/conformance/fhir-ig-us-core/CHANGELOG @@ -1,10 +1,9 @@ -# Version 2 +# US Core 3.1.1 (Version 2) - STU311 Source - http://hl7.org/fhir/us/core/STU3.1.1/ - Removed 3.1.0 Artifacts - Updated to 3.1.1 Artifacts STU3.1.1 -- Moved the package.tgz's examples folder to the fhir-examples project -- Changed the text-generated for the CapabilityStatements CapabilityStatement-us-core-client.json and CapabilityStatement-us-core-server.json - as the xhtml was invalid +- Examples are under src/test/resources/JSON/311 +- Replace all narrative text with minimal placeholder for space efficiency - Per https://github.com/IBM/FHIR/issues/1460 Relaxed required to extensible - https://jira.hl7.org/browse/FHIR-27911 Change binding to UCUM from required to extensible + max binding UCUM - Per https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/US.20Core.20QA.20Issue.20.233-.20nasty.20profiling.20error @@ -17,4 +16,12 @@ Source - http://hl7.org/fhir/us/core/STU3.1.1/ - The P element represents a paragraph. It cannot contain block-level elements (including P itself). - Refer to https://jira.hl7.org/browse/FHIR-28409 Invalid XHTML in Examples MedicationRequest-uscore-mo2 XML/JSON - Modify DiagnosticReport-cardiology-report JSON and XML samples contain invalid hashes https://jira.hl7.org/browse/FHIR-28408 -- Add implicit-system extensions to applicable token SearchParameter definitions (performance optimization for https://github.com/IBM/FHIR/issues/1929) \ No newline at end of file +- Add implicit-system extensions to applicable token SearchParameter definitions (performance optimization for https://github.com/IBM/FHIR/issues/1929) +- Updated Examples to point to 3.1.1 profile +- Update the StructureDefinitions and other artifacts for 3.1.1 internal references with target profiles and valueset bindings. + +# US Core 4.0.0 - STU4 +Source - https://www.hl7.org/fhir/us/core/stu4/ +- Examples are under src/test/resources/JSON/400 +- Replace all narrative text with minimal placeholder for space efficiency +- Revised Endpoint in the Practitioner endpoint so it points to relative path, not absolute path \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/README.md b/conformance/fhir-ig-us-core/README.md index ebad129882f..6f90a98a7c3 100644 --- a/conformance/fhir-ig-us-core/README.md +++ b/conformance/fhir-ig-us-core/README.md @@ -1,31 +1,3 @@ -This profile HL7 FHIR® US Core Implementation Guide CI Build - 3.1.1. +This profile HL7 FHIR® US Core Implementation Guide includes 3.1.1 and 4.0.0. -COMMIT https://github.com/HL7/US-Core/commit/592ab2407fd0c53f75d9c671bbbc701ed81e509b - -Retrieved on 27 AUG 2020 - -Check the Profiles are on the system: - -``` -$ curl -ks -u fhiruser:change-password https://localhost:9443/fhir-server/api/v4/metadata 2>&1 | jq -r '.rest[].resource[] | "\(.type),\(.supportedProfile)"' | grep -i us-core -AllergyIntolerance,["http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance|3.1.1"] -CarePlan,["http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan|3.1.1"] -CareTeam,["http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam|3.1.1"] -Condition,["http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition|3.1.1"] -Device,["http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device|3.1.1"] -DiagnosticReport,["http://hl7.org/fhir/StructureDefinition/hlaresult|4.0.1","http://hl7.org/fhir/StructureDefinition/lipidprofile|4.0.1","http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab|3.1.1","http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1","http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics|4.0.1"] -DocumentReference,["http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1"] -Encounter,["http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1"] -Goal,["http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal|3.1.1"] -Immunization,["http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization|3.1.1"] -Location,["http://hl7.org/fhir/us/core/StructureDefinition/us-core-location|3.1.1"] -Medication,["http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication|3.1.1"] -MedicationRequest,["http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest|3.1.1"] -Observation,["http://hl7.org/fhir/StructureDefinition/triglyceride|4.0.1","http://hl7.org/fhir/StructureDefinition/oxygensat|4.0.1","http://hl7.org/fhir/StructureDefinition/bp|4.0.1","http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|3.1.1","http://hl7.org/fhir/StructureDefinition/devicemetricobservation|4.0.1","http://hl7.org/fhir/StructureDefinition/observation-genetics|4.0.1","http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height|3.1.1","http://hl7.org/fhir/StructureDefinition/heartrate|4.0.1","http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus|3.1.1","http://hl7.org/fhir/StructureDefinition/ldlcholesterol|4.0.1","http://hl7.org/fhir/StructureDefinition/resprate|4.0.1","http://hl7.org/fhir/StructureDefinition/bodyheight|4.0.1","http://hl7.org/fhir/StructureDefinition/bodytemp|4.0.1","http://hl7.org/fhir/StructureDefinition/cholesterol|4.0.1","http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile|3.1.1","http://hl7.org/fhir/StructureDefinition/headcircum|4.0.1","http://hl7.org/fhir/StructureDefinition/vitalspanel|4.0.1","http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age|3.1.1","http://hl7.org/fhir/StructureDefinition/bodyweight|4.0.1","http://hl7.org/fhir/StructureDefinition/hdlcholesterol|4.0.1","http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry|3.1.1","http://hl7.org/fhir/StructureDefinition/vitalsigns|4.0.1","http://hl7.org/fhir/StructureDefinition/bmi|4.0.1"] -Organization,["http://hl7.org/fhir/us/carin/StructureDefinition/carin-bb-organization|0.1.0","http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1"] -Patient,["http://hl7.org/fhir/us/carin/StructureDefinition/carin-bb-patient|0.1.0","http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1"] -Practitioner,["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1"] -PractitionerRole,["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|3.1.1","http://hl7.org/fhir/us/carin/StructureDefinition/carin-bb-practitionerrole|0.1.0"] -Procedure,["http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure|3.1.1"] -Provenance,["http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance|3.1.1","http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance|4.0.1","http://hl7.org/fhir/StructureDefinition/provenance-relevant-history|4.0.1"] -``` +Refer to the change log for details on the changes. \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/pom.xml b/conformance/fhir-ig-us-core/pom.xml index f86a38da14f..c1c4f19df29 100644 --- a/conformance/fhir-ig-us-core/pom.xml +++ b/conformance/fhir-ig-us-core/pom.xml @@ -31,10 +31,5 @@ ${project.version} test - - ${project.groupId} - fhir-examples - test - diff --git a/conformance/fhir-ig-us-core/src/main/java/com/ibm/fhir/ig/us/core/USCore311ResourceProvider.java b/conformance/fhir-ig-us-core/src/main/java/com/ibm/fhir/ig/us/core/USCore311ResourceProvider.java new file mode 100644 index 00000000000..ff101c7b059 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/java/com/ibm/fhir/ig/us/core/USCore311ResourceProvider.java @@ -0,0 +1,16 @@ +/* + * (C) Copyright IBM Corp. 2019, 2020 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.ig.us.core; + +import com.ibm.fhir.registry.util.PackageRegistryResourceProvider; + +public class USCore311ResourceProvider extends PackageRegistryResourceProvider { + @Override + public String getPackageId() { + return "hl7.fhir.us.core.311"; + } +} diff --git a/conformance/fhir-ig-us-core/src/main/java/com/ibm/fhir/ig/us/core/USCore400ResourceProvider.java b/conformance/fhir-ig-us-core/src/main/java/com/ibm/fhir/ig/us/core/USCore400ResourceProvider.java new file mode 100644 index 00000000000..5c399448b76 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/java/com/ibm/fhir/ig/us/core/USCore400ResourceProvider.java @@ -0,0 +1,16 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.ig.us.core; + +import com.ibm.fhir.registry.util.PackageRegistryResourceProvider; + +public class USCore400ResourceProvider extends PackageRegistryResourceProvider { + @Override + public String getPackageId() { + return "hl7.fhir.us.core.400"; + } +} diff --git a/conformance/fhir-ig-us-core/src/main/java/com/ibm/fhir/ig/us/core/USCoreResourceProvider.java b/conformance/fhir-ig-us-core/src/main/java/com/ibm/fhir/ig/us/core/USCoreResourceProvider.java deleted file mode 100644 index 58ee3874459..00000000000 --- a/conformance/fhir-ig-us-core/src/main/java/com/ibm/fhir/ig/us/core/USCoreResourceProvider.java +++ /dev/null @@ -1,16 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2019, 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.ig.us.core; - -import com.ibm.fhir.registry.util.PackageRegistryResourceProvider; - -public class USCoreResourceProvider extends PackageRegistryResourceProvider { - @Override - public String getPackageId() { - return "hl7.fhir.us.core"; - } -} diff --git a/conformance/fhir-ig-us-core/src/main/resources/META-INF/services/com.ibm.fhir.registry.spi.FHIRRegistryResourceProvider b/conformance/fhir-ig-us-core/src/main/resources/META-INF/services/com.ibm.fhir.registry.spi.FHIRRegistryResourceProvider index 4e91f1166b8..19745b0ae97 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/META-INF/services/com.ibm.fhir.registry.spi.FHIRRegistryResourceProvider +++ b/conformance/fhir-ig-us-core/src/main/resources/META-INF/services/com.ibm.fhir.registry.spi.FHIRRegistryResourceProvider @@ -1 +1,2 @@ -com.ibm.fhir.ig.us.core.USCoreResourceProvider \ No newline at end of file +com.ibm.fhir.ig.us.core.USCore311ResourceProvider +com.ibm.fhir.ig.us.core.USCore400ResourceProvider \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/.index.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/.index.json new file mode 100644 index 00000000000..162928435a7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/.index.json @@ -0,0 +1,1172 @@ +{ + "index-version": 1, + "files": [ + { + "filename": "ig-r4.json", + "resourceType": "ImplementationGuide", + "id": "hl7.fhir.us.core", + "url": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core", + "version": "3.1.1" + }, + { + "filename": "ImplementationGuide-hl7.fhir.us.core.json", + "resourceType": "ImplementationGuide", + "id": "hl7.fhir.us.core", + "url": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core", + "version": "3.1.1" + }, + { + "filename": "StructureDefinition-us-core-implantable-device.json", + "resourceType": "StructureDefinition", + "id": "us-core-implantable-device", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device", + "version": "3.1.1", + "kind": "resource", + "type": "Device" + }, + { + "filename": "StructureDefinition-us-core-medicationrequest.json", + "resourceType": "StructureDefinition", + "id": "us-core-medicationrequest", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest", + "version": "3.1.1", + "kind": "resource", + "type": "MedicationRequest" + }, + { + "filename": "StructureDefinition-us-core-goal.json", + "resourceType": "StructureDefinition", + "id": "us-core-goal", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal", + "version": "3.1.1", + "kind": "resource", + "type": "Goal" + }, + { + "filename": "StructureDefinition-us-core-condition.json", + "resourceType": "StructureDefinition", + "id": "us-core-condition", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition", + "version": "3.1.1", + "kind": "resource", + "type": "Condition" + }, + { + "filename": "StructureDefinition-us-core-organization.json", + "resourceType": "StructureDefinition", + "id": "us-core-organization", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "version": "3.1.1", + "kind": "resource", + "type": "Organization" + }, + { + "filename": "StructureDefinition-us-core-careplan.json", + "resourceType": "StructureDefinition", + "id": "us-core-careplan", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan", + "version": "3.1.1", + "kind": "resource", + "type": "CarePlan" + }, + { + "filename": "StructureDefinition-us-core-careteam.json", + "resourceType": "StructureDefinition", + "id": "us-core-careteam", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "version": "3.1.1", + "kind": "resource", + "type": "CareTeam" + }, + { + "filename": "StructureDefinition-us-core-documentreference.json", + "resourceType": "StructureDefinition", + "id": "us-core-documentreference", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference", + "version": "3.1.1", + "kind": "resource", + "type": "DocumentReference" + }, + { + "filename": "StructureDefinition-us-core-medication.json", + "resourceType": "StructureDefinition", + "id": "us-core-medication", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication", + "version": "3.1.1", + "kind": "resource", + "type": "Medication" + }, + { + "filename": "StructureDefinition-us-core-procedure.json", + "resourceType": "StructureDefinition", + "id": "us-core-procedure", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure", + "version": "3.1.1", + "kind": "resource", + "type": "Procedure" + }, + { + "filename": "StructureDefinition-us-core-location.json", + "resourceType": "StructureDefinition", + "id": "us-core-location", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location", + "version": "3.1.1", + "kind": "resource", + "type": "Location" + }, + { + "filename": "StructureDefinition-us-core-pulse-oximetry.json", + "resourceType": "StructureDefinition", + "id": "us-core-pulse-oximetry", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry", + "version": "3.1.1", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "StructureDefinition-us-core-encounter.json", + "resourceType": "StructureDefinition", + "id": "us-core-encounter", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter", + "version": "3.1.1", + "kind": "resource", + "type": "Encounter" + }, + { + "filename": "StructureDefinition-us-core-practitioner.json", + "resourceType": "StructureDefinition", + "id": "us-core-practitioner", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "version": "3.1.1", + "kind": "resource", + "type": "Practitioner" + }, + { + "filename": "StructureDefinition-us-core-allergyintolerance.json", + "resourceType": "StructureDefinition", + "id": "us-core-allergyintolerance", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance", + "version": "3.1.1", + "kind": "resource", + "type": "AllergyIntolerance" + }, + { + "filename": "StructureDefinition-us-core-observation-lab.json", + "resourceType": "StructureDefinition", + "id": "us-core-observation-lab", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", + "version": "3.1.1", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "StructureDefinition-us-core-practitionerrole.json", + "resourceType": "StructureDefinition", + "id": "us-core-practitionerrole", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "version": "3.1.1", + "kind": "resource", + "type": "PractitionerRole" + }, + { + "filename": "StructureDefinition-us-core-immunization.json", + "resourceType": "StructureDefinition", + "id": "us-core-immunization", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization", + "version": "3.1.1", + "kind": "resource", + "type": "Immunization" + }, + { + "filename": "ValueSet-us-core-medication-codes.json", + "resourceType": "ValueSet", + "id": "us-core-medication-codes", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-location-address-state.json", + "resourceType": "SearchParameter", + "id": "us-core-location-address-state", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state", + "version": "3.1.1", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-practitionerrole-practitioner.json", + "resourceType": "SearchParameter", + "id": "us-core-practitionerrole-practitioner", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner", + "version": "3.1.1", + "type": "reference" + }, + { + "filename": "ValueSet-us-core-observation-smokingstatus.json", + "resourceType": "ValueSet", + "id": "us-core-observation-smokingstatus", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus", + "version": "3.1.1" + }, + { + "filename": "ValueSet-us-core-observation-smokingstatus-max.json", + "resourceType": "ValueSet", + "id": "us-core-observation-smokingstatus-max", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max", + "version": "3.1.1" + }, + { + "filename": "ValueSet-omb-race-category.json", + "resourceType": "ValueSet", + "id": "omb-race-category", + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category", + "version": "3.1.1" + }, + { + "filename": "ValueSet-us-core-allergy-substance.json", + "resourceType": "ValueSet", + "id": "us-core-allergy-substance", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-allergy-substance", + "version": "3.1.1" + }, + { + "filename": "ValueSet-us-core-narrative-status.json", + "resourceType": "ValueSet", + "id": "us-core-narrative-status", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status", + "version": "3.1.1" + }, + { + "filename": "CodeSystem-cdcrec.json", + "resourceType": "CodeSystem", + "id": "cdcrec", + "url": "urn:oid:2.16.840.1.113883.6.238", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-organization-name.json", + "resourceType": "SearchParameter", + "id": "us-core-organization-name", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name", + "version": "3.1.1", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-diagnosticreport-code.json", + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-code", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "StructureDefinition-pediatric-bmi-for-age.json", + "resourceType": "StructureDefinition", + "id": "pediatric-bmi-for-age", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", + "version": "3.1.1", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "StructureDefinition-head-occipital-frontal-circumference-percentile.json", + "resourceType": "StructureDefinition", + "id": "head-occipital-frontal-circumference-percentile", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile", + "version": "3.1.1", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "SearchParameter-us-core-goal-lifecycle-status.json", + "resourceType": "SearchParameter", + "id": "us-core-goal-lifecycle-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-procedure-code.json", + "resourceType": "SearchParameter", + "id": "us-core-procedure-code", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "ValueSet-us-core-documentreference-type.json", + "resourceType": "ValueSet", + "id": "us-core-documentreference-type", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type", + "version": "3.1.1" + }, + { + "filename": "ValueSet-us-core-provenance-participant-type.json", + "resourceType": "ValueSet", + "id": "us-core-provenance-participant-type", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-patient-gender.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-gender", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-diagnosticreport-note.json", + "resourceType": "StructureDefinition", + "id": "us-core-diagnosticreport-note", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note", + "version": "3.1.1", + "kind": "resource", + "type": "DiagnosticReport" + }, + { + "filename": "ValueSet-omb-ethnicity-category.json", + "resourceType": "ValueSet", + "id": "omb-ethnicity-category", + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category", + "version": "3.1.1" + }, + { + "filename": "StructureDefinition-us-core-provenance.json", + "resourceType": "StructureDefinition", + "id": "us-core-provenance", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance", + "version": "3.1.1", + "kind": "resource", + "type": "Provenance" + }, + { + "filename": "OperationDefinition-docref.json", + "resourceType": "OperationDefinition", + "id": "docref", + "url": "http://hl7.org/fhir/us/core/OperationDefinition/docref", + "version": "3.1.1", + "kind": "operation", + "type": "true" + }, + { + "filename": "SearchParameter-us-core-condition-clinical-status.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-clinical-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-birthsex.json", + "resourceType": "StructureDefinition", + "id": "us-core-birthsex", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "version": "3.1.1", + "kind": "complex-type", + "type": "Extension" + }, + { + "filename": "SearchParameter-us-core-documentreference-id.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-id", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-careplan-category.json", + "resourceType": "SearchParameter", + "id": "us-core-careplan-category", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-encounter-class.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-class", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-medicationrequest-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient", + "version": "3.1.1", + "type": "reference" + }, + { + "filename": "CapabilityStatement-us-core-server.json", + "resourceType": "CapabilityStatement", + "id": "us-core-server", + "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server", + "version": "3.1.1", + "kind": "requirements" + }, + { + "filename": "ValueSet-us-core-condition-category.json", + "resourceType": "ValueSet", + "id": "us-core-condition-category", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category", + "version": "3.1.1" + }, + { + "filename": "ValueSet-detailed-ethnicity.json", + "resourceType": "ValueSet", + "id": "detailed-ethnicity", + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-documentreference-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient", + "version": "3.1.1", + "type": "reference" + }, + { + "filename": "ValueSet-us-core-ndc-vaccine-codes.json", + "resourceType": "ValueSet", + "id": "us-core-ndc-vaccine-codes", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-ndc-vaccine-codes", + "version": "3.1.1" + }, + { + "filename": "StructureDefinition-us-core-patient.json", + "resourceType": "StructureDefinition", + "id": "us-core-patient", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "version": "3.1.1", + "kind": "resource", + "type": "Patient" + }, + { + "filename": "SearchParameter-us-core-diagnosticreport-date.json", + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date", + "version": "3.1.1", + "type": "date" + }, + { + "filename": "ValueSet-us-core-procedure-icd10pcs.json", + "resourceType": "ValueSet", + "id": "us-core-procedure-icd10pcs", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-icd10pcs", + "version": "3.1.1" + }, + { + "filename": "ValueSet-us-core-provider-specialty.json", + "resourceType": "ValueSet", + "id": "us-core-provider-specialty", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-procedure-date.json", + "resourceType": "SearchParameter", + "id": "us-core-procedure-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date", + "version": "3.1.1", + "type": "date" + }, + { + "filename": "ValueSet-us-core-vaccines-cvx.json", + "resourceType": "ValueSet", + "id": "us-core-vaccines-cvx", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vaccines-cvx", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-allergyintolerance-clinical-status.json", + "resourceType": "SearchParameter", + "id": "us-core-allergyintolerance-clinical-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-documentreference-date.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date", + "version": "3.1.1", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-medicationrequest-intent.json", + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-intent", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-location-address.json", + "resourceType": "SearchParameter", + "id": "us-core-location-address", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address", + "version": "3.1.1", + "type": "string" + }, + { + "filename": "ValueSet-us-core-observation-smoking-status-status.json", + "resourceType": "ValueSet", + "id": "us-core-observation-smoking-status-status", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status", + "version": "3.1.1" + }, + { + "filename": "ValueSet-us-core-usps-state.json", + "resourceType": "ValueSet", + "id": "us-core-usps-state", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-practitioner-name.json", + "resourceType": "SearchParameter", + "id": "us-core-practitioner-name", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name", + "version": "3.1.1", + "type": "string" + }, + { + "filename": "ValueSet-us-core-encounter-type.json", + "resourceType": "ValueSet", + "id": "us-core-encounter-type", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-documentreference-period.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-period", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period", + "version": "3.1.1", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-observation-code.json", + "resourceType": "SearchParameter", + "id": "us-core-observation-code", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-location-name.json", + "resourceType": "SearchParameter", + "id": "us-core-location-name", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name", + "version": "3.1.1", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-condition-onset-date.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-onset-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date", + "version": "3.1.1", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-patient-given.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-given", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given", + "version": "3.1.1", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-encounter-type.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-type", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "ValueSet-us-core-condition-code.json", + "resourceType": "ValueSet", + "id": "us-core-condition-code", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code", + "version": "3.1.1" + }, + { + "filename": "CodeSystem-condition-category.json", + "resourceType": "CodeSystem", + "id": "condition-category", + "url": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-medicationrequest-encounter.json", + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-encounter", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter", + "version": "3.1.1", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-encounter-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient", + "version": "3.1.1", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-organization-address.json", + "resourceType": "SearchParameter", + "id": "us-core-organization-address", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address", + "version": "3.1.1", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-observation-category.json", + "resourceType": "SearchParameter", + "id": "us-core-observation-category", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-diagnosticreport-status.json", + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-observation-date.json", + "resourceType": "SearchParameter", + "id": "us-core-observation-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date", + "version": "3.1.1", + "type": "date" + }, + { + "filename": "ValueSet-birthsex.json", + "resourceType": "ValueSet", + "id": "birthsex", + "url": "http://hl7.org/fhir/us/core/ValueSet/birthsex", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-diagnosticreport-category.json", + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-category", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-observation-status.json", + "resourceType": "SearchParameter", + "id": "us-core-observation-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "ValueSet-us-core-diagnosticreport-report-and-note-codes.json", + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-report-and-note-codes", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes", + "version": "3.1.1" + }, + { + "filename": "ValueSet-us-core-provider-role.json", + "resourceType": "ValueSet", + "id": "us-core-provider-role", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-ethnicity.json", + "resourceType": "SearchParameter", + "id": "us-core-ethnicity", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-ethnicity", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-direct.json", + "resourceType": "StructureDefinition", + "id": "us-core-direct", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "version": "3.1.1", + "kind": "complex-type", + "type": "Extension" + }, + { + "filename": "ValueSet-us-core-smoking-status-observation-codes.json", + "resourceType": "ValueSet", + "id": "us-core-smoking-status-observation-codes", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes", + "version": "3.1.1" + }, + { + "filename": "ValueSet-us-core-careteam-provider-roles.json", + "resourceType": "ValueSet", + "id": "us-core-careteam-provider-roles", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-provider-roles", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-documentreference-type.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-type", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-encounter-date.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date", + "version": "3.1.1", + "type": "date" + }, + { + "filename": "ValueSet-us-core-diagnosticreport-category.json", + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-category", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-patient-birthdate.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-birthdate", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate", + "version": "3.1.1", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-procedure-status.json", + "resourceType": "SearchParameter", + "id": "us-core-procedure-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "ValueSet-us-core-clinical-note-type.json", + "resourceType": "ValueSet", + "id": "us-core-clinical-note-type", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-encounter-status.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "ConceptMap-ndc-cvx.json", + "resourceType": "ConceptMap", + "id": "ndc-cvx", + "url": "http://hl7.org/fhir/us/core/ConceptMap/ndc-cvx", + "version": "3.1.1" + }, + { + "filename": "StructureDefinition-us-core-ethnicity.json", + "resourceType": "StructureDefinition", + "id": "us-core-ethnicity", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "version": "3.1.1", + "kind": "complex-type", + "type": "Extension" + }, + { + "filename": "SearchParameter-us-core-careplan-status.json", + "resourceType": "SearchParameter", + "id": "us-core-careplan-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-condition-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient", + "version": "3.1.1", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-allergyintolerance-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-allergyintolerance-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient", + "version": "3.1.1", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-device-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-device-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient", + "version": "3.1.1", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-condition-code.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-code", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-observation-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-observation-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient", + "version": "3.1.1", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-race.json", + "resourceType": "SearchParameter", + "id": "us-core-race", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-race", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-careplan-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-careplan-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient", + "version": "3.1.1", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-patient-family.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-family", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family", + "version": "3.1.1", + "type": "string" + }, + { + "filename": "StructureDefinition-us-core-smokingstatus.json", + "resourceType": "StructureDefinition", + "id": "us-core-smokingstatus", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus", + "version": "3.1.1", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "SearchParameter-us-core-medicationrequest-status.json", + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-race.json", + "resourceType": "StructureDefinition", + "id": "us-core-race", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "version": "3.1.1", + "kind": "complex-type", + "type": "Extension" + }, + { + "filename": "SearchParameter-us-core-location-address-postalcode.json", + "resourceType": "SearchParameter", + "id": "us-core-location-address-postalcode", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode", + "version": "3.1.1", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-encounter-id.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-id", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-medicationrequest-authoredon.json", + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-authoredon", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon", + "version": "3.1.1", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-documentreference-status.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "ValueSet-us-core-documentreference-category.json", + "resourceType": "ValueSet", + "id": "us-core-documentreference-category", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-procedure-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-procedure-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient", + "version": "3.1.1", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-goal-target-date.json", + "resourceType": "SearchParameter", + "id": "us-core-goal-target-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date", + "version": "3.1.1", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-diagnosticreport-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient", + "version": "3.1.1", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-careplan-date.json", + "resourceType": "SearchParameter", + "id": "us-core-careplan-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date", + "version": "3.1.1", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-careteam-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-careteam-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient", + "version": "3.1.1", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-immunization-date.json", + "resourceType": "SearchParameter", + "id": "us-core-immunization-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date", + "version": "3.1.1", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-encounter-identifier.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-identifier", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-practitionerrole-specialty.json", + "resourceType": "SearchParameter", + "id": "us-core-practitionerrole-specialty", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-patient-name.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-name", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name", + "version": "3.1.1", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-device-type.json", + "resourceType": "SearchParameter", + "id": "us-core-device-type", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "ValueSet-us-core-procedure-code.json", + "resourceType": "ValueSet", + "id": "us-core-procedure-code", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code", + "version": "3.1.1" + }, + { + "filename": "StructureDefinition-us-core-diagnosticreport-lab.json", + "resourceType": "StructureDefinition", + "id": "us-core-diagnosticreport-lab", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab", + "version": "3.1.1", + "kind": "resource", + "type": "DiagnosticReport" + }, + { + "filename": "SearchParameter-us-core-goal-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-goal-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient", + "version": "3.1.1", + "type": "reference" + }, + { + "filename": "ValueSet-simple-language.json", + "resourceType": "ValueSet", + "id": "simple-language", + "url": "http://hl7.org/fhir/us/core/ValueSet/simple-language", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-immunization-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-immunization-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient", + "version": "3.1.1", + "type": "reference" + }, + { + "filename": "StructureDefinition-pediatric-weight-for-height.json", + "resourceType": "StructureDefinition", + "id": "pediatric-weight-for-height", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height", + "version": "3.1.1", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "ValueSet-us-core-observation-value-codes.json", + "resourceType": "ValueSet", + "id": "us-core-observation-value-codes", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-value-codes", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-patient-id.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-id", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-location-address-city.json", + "resourceType": "SearchParameter", + "id": "us-core-location-address-city", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city", + "version": "3.1.1", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-careteam-status.json", + "resourceType": "SearchParameter", + "id": "us-core-careteam-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "CodeSystem-us-core-documentreference-category.json", + "resourceType": "CodeSystem", + "id": "us-core-documentreference-category", + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "version": "3.1.1" + }, + { + "filename": "CodeSystem-us-core-provenance-participant-type.json", + "resourceType": "CodeSystem", + "id": "us-core-provenance-participant-type", + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", + "version": "3.1.1" + }, + { + "filename": "ValueSet-us-core-diagnosticreport-lab-codes.json", + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-lab-codes", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes", + "version": "3.1.1" + }, + { + "filename": "CodeSystem-careplan-category.json", + "resourceType": "CodeSystem", + "id": "careplan-category", + "url": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "version": "3.1.1" + }, + { + "filename": "SearchParameter-us-core-documentreference-category.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-category", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "CapabilityStatement-us-core-client.json", + "resourceType": "CapabilityStatement", + "id": "us-core-client", + "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-client", + "version": "3.1.1", + "kind": "requirements" + }, + { + "filename": "SearchParameter-us-core-practitioner-identifier.json", + "resourceType": "SearchParameter", + "id": "us-core-practitioner-identifier", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-patient-identifier.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-identifier", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-condition-category.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-category", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-immunization-status.json", + "resourceType": "SearchParameter", + "id": "us-core-immunization-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status", + "version": "3.1.1", + "type": "token" + }, + { + "filename": "ValueSet-detailed-race.json", + "resourceType": "ValueSet", + "id": "detailed-race", + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-race", + "version": "3.1.1" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CapabilityStatement-us-core-client.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CapabilityStatement-us-core-client.json new file mode 100644 index 00000000000..d769cf57d7d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CapabilityStatement-us-core-client.json @@ -0,0 +1,3746 @@ +{ + "resourceType": "CapabilityStatement", + "id": "us-core-client", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-client", + "version": "3.1.1", + "name": "UsCoreClientCapabilityStatement", + "title": "US Core Client CapabilityStatement", + "status": "active", + "experimental": false, + "date": "2020-07-28", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "​The Section describes the expected capabilities of the US Core Client which is responsible for creating and initiating the queries for information about an individual patient. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined in the [Conformance Requirements for Server](CapabilityStatement-us-core-server.html). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "kind": "requirements", + "fhirVersion": "4.0.1", + "format": [ + "xml", + "json" + ], + "patchFormat": [ + "application/json-patch+json" + ], + "implementationGuide": [ + "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core|3.1.1" + ], + "rest": [ + { + "mode": "client", + "documentation": "The US Core Client **SHALL**:\n\n1. Support fetching and querying of one or more US Core profile(s), using the supported RESTful interactions and search parameters declared in the US Core Server CapabilityStatement.\n", + "security": { + "description": "1. See the [General Security Considerations] section for requirements and recommendations." + }, + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "clinical-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "AllergyIntolerance", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance|3.1.1" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "clinical-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status|3.1.1", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient|3.1.1", + "type": "reference" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "CarePlan", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan|3.1.1" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category|3.1.1", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date|3.1.1", + "type": "date" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient|3.1.1", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status|3.1.1", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "CareTeam", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam|3.1.1" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient|3.1.1", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status|3.1.1", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "onset-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "clinical-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Condition", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition|3.1.1" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category|3.1.1", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "clinical-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status|3.1.1", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient|3.1.1", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "onset-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date|3.1.1", + "type": "date" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Device", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "DiagnosticReport", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "create", + "documentation": "This conformance expectation applies **only** to the *US Core DiagnosticReport Profile for Report and Note exchange* profile. The conformance expectation for the *US Core DiagnosticReport Profile for Laboratory Results Reporting* is **MAY**." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date", + "type": "date" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + }, + { + "url": "required", + "valueString": "period" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "DocumentReference", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ], + "documentation": "The DocumentReference.type binding SHALL support at a minimum the [5 Common Clinical Notes](ValueSet-us-core-clinical-note-type.html) and may extend to the full US Core DocumentReference Type Value Set", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date", + "type": "date" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "period", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period", + "type": "date" + } + ], + "operation": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "docref", + "definition": "http://hl7.org/fhir/us/core/OperationDefinition/docref", + "documentation": "A client **SHOULD** be capable of transacting a $docref operation and capable of receiving at least a reference to a generated CCD document, and **MAY** be able to receive other document types, if available. **SHOULD** be capable of receiving documents as included resources in response to the operation.\n\n`GET [base]/DocumentReference/$docref?patient=[id]`" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "class" + }, + { + "url": "required", + "valueString": "patient" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "date" + }, + { + "url": "required", + "valueString": "patient" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Encounter", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "class", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date", + "type": "date" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "lifecycle-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "target-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Goal", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "lifecycle-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "target-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date", + "type": "date" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Immunization", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date", + "type": "date" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "Location", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-city", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-state", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-postalcode", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "Medication", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ], + "documentation": "The MedicationRequest resource can represent a medication, using an external reference to a Medication resource. If an external Medication Resource is used in a MedicationRequest, then the READ **SHALL** be supported.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "encounter" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "authoredon" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "MedicationRequest", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ], + "documentation": "The MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing Medication, the resource may be [contained](http://hl7.org/fhir/R4/references.html#contained) or an external resource. The server application **MAY** choose any one way or more than one method, but if an external reference to Medication is used, the server **SHALL** support the _include` parameter for searching this element. The client application must support all methods.\n\n For example, A server **SHALL** be capable of returning all medications for a patient using one of or both:\n\n `GET /MedicationRequest?patient=[id]`\n\n `GET /MedicationRequest?patient=[id]&_include=MedicationRequest:medication`", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchInclude": [ + "MedicationRequest:medication" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "intent", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "encounter", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "authoredon", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon", + "type": "date" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Observation", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus", + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry", + "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date", + "type": "date" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient", + "type": "reference" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "Organization", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "birthdate" + }, + { + "url": "required", + "valueString": "family" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "family" + }, + { + "url": "required", + "valueString": "gender" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "birthdate" + }, + { + "url": "required", + "valueString": "name" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "gender" + }, + { + "url": "required", + "valueString": "name" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Patient", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "birthdate", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate", + "type": "date" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "family", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "gender", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "given", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "Practitioner", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "PractitionerRole", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchInclude": [ + "PractitionerRole:endpoint", + "PractitionerRole:practitioner" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "specialty", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "practitioner", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner", + "type": "reference" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Procedure", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date", + "type": "date" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "Provenance", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "ValueSet", + "operation": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "expand", + "definition": "http://hl7.org/fhir/OperationDefinition/ValueSet-expand", + "documentation": "A client can determine the note and report types support by a server by invoking the standard FHIR Value Set Expansion ($expand) operation defined in the FHIR R4 specification. Because servers may support different read and write formats, it also is used to determine the formats (for example, text, pdf) the server supports read and write transactions." + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "transaction" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "batch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-system" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-system" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CapabilityStatement-us-core-server.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CapabilityStatement-us-core-server.json new file mode 100644 index 00000000000..14f33fc5aa5 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CapabilityStatement-us-core-server.json @@ -0,0 +1,3807 @@ +{ + "resourceType": "CapabilityStatement", + "id": "us-core-server", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server", + "version": "3.1.1", + "name": "UsCoreServerCapabilityStatement", + "title": "US Core Server CapabilityStatement", + "status": "active", + "experimental": false, + "date": "2020-07-28", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "This Section describes the expected capabilities of the US Core Server actor which is responsible for providing responses to the queries submitted by the US Core Requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined. Systems implementing this capability statement should meet the ONC 2015 Common Clinical Data Set (CCDS) access requirement for Patient Selection 170.315(g)(7) and Application Access - Data Category Request 170.315(g)(8) and and the ONC [U.S. Core Data for Interoperability (USCDI)](https://www.healthit.gov/isa/sites/isa/files/2020-03/USCDI-Version1-2020-Final-Standard.pdf). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "kind": "requirements", + "fhirVersion": "4.0.1", + "format": [ + "xml", + "json" + ], + "patchFormat": [ + "application/json-patch+json" + ], + "implementationGuide": [ + "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core|3.1.1" + ], + "rest": [ + { + "mode": "server", + "documentation": "The US Core Server **SHALL**:\n\n1. Support the US Core Patient resource profile.\n1. Support at least one additional resource profile from the list of US Core Profiles.\n1. Implement the RESTful behavior according to the FHIR specification.\n1. Return the following response classes:\n - (Status 400): invalid parameter\n - (Status 401/4xx): unauthorized request\n - (Status 403): insufficient scope\n - (Status 404): unknown resource\n - (Status 410): deleted resource.\n1. Support json source formats for all US Core interactions.\n\nThe US Core Server **SHOULD**:\n\n1. Support xml source formats for all US Core interactions.\n1. Identify the US Core profiles supported as part of the FHIR `meta.profile` attribute for each instance.\n1. Support xml resource formats for all Argonaut questionnaire interactions.", + "security": { + "description": "1. See the [General Security Considerations](security.html) section for requirements and recommendations.\n1. A server **SHALL** reject any unauthorized requests by returning an `HTTP 401` unauthorized response code." + }, + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "clinical-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "AllergyIntolerance", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "clinical-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient", + "type": "reference" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "CarePlan", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date", + "type": "date" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "CareTeam", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "onset-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "clinical-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Condition", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "clinical-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "onset-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date", + "type": "date" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Device", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "DiagnosticReport", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "create", + "documentation": "This conformance expectation applies **only** to the *US Core DiagnosticReport Profile for Report and Note exchange* profile. The conformance expectation for the *US Core DiagnosticReport Profile for Laboratory Results Reporting* is **MAY**." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date", + "type": "date" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + }, + { + "url": "required", + "valueString": "period" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "DocumentReference", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ], + "documentation": "The DocumentReference.type binding SHALL support at a minimum the [5 Common Clinical Notes](ValueSet-us-core-clinical-note-type.html) and may extend to the full US Core DocumentReference Type Value Set", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date", + "type": "date" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "period", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period", + "type": "date" + } + ], + "operation": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "docref", + "definition": "http://hl7.org/fhir/us/core/OperationDefinition/docref", + "documentation": "A server **SHALL** be capable of responding to a $docref operation and capable of returning at least a reference to a generated CCD document, if available. **MAY** provide references to other 'on-demand' and 'stable' documents (or 'delayed/deferred assembly') that meet the query parameters as well. If a context date range is supplied the server ** SHOULD** provide references to any document that falls within the date range If no date range is supplied, then the server **SHALL** provide references to last or current encounter. **SHOULD** document what resources, if any, are returned as included resources\n\n`GET [base]/DocumentReference/$docref?patient=[id]`" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "class" + }, + { + "url": "required", + "valueString": "patient" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "date" + }, + { + "url": "required", + "valueString": "patient" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Encounter", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "class", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date", + "type": "date" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "lifecycle-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "target-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Goal", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "lifecycle-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "target-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date", + "type": "date" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Immunization", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date", + "type": "date" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Location", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "address", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-city", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-state", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-postalcode", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Medication", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ], + "documentation": "The MedicationRequest resource can represent a medication, using an external reference to a Medication resource. If an external Medication Resourcse is used in a MedicationRequest, then the READ **SHALL** be supported.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "encounter" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "authoredon" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "MedicationRequest", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ], + "documentation": "The MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing Medication, the resource may be [contained](http://hl7.org/fhir/R4/references.html#contained) or an external resource. The server application **MAY** choose any one way or more than one method, but if an external reference to Medication is used, the server **SHALL** support the _include` parameter for searching this element. The client application must support all methods.\n\n For example, A server **SHALL** be capable of returning all medications for a patient using one of or both:\n\n `GET /MedicationRequest?patient=[id]`\n\n `GET /MedicationRequest?patient=[id]&_include=MedicationRequest:medication`", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchInclude": [ + "MedicationRequest:medication" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "intent", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "encounter", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "authoredon", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon", + "type": "date" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Observation", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus", + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry", + "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date", + "type": "date" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient", + "type": "reference" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Organization", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "address", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "birthdate" + }, + { + "url": "required", + "valueString": "family" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "family" + }, + { + "url": "required", + "valueString": "gender" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "birthdate" + }, + { + "url": "required", + "valueString": "name" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "gender" + }, + { + "url": "required", + "valueString": "name" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Patient", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "birthdate", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate", + "type": "date" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "family", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "gender", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "given", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Practitioner", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "PractitionerRole", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchInclude": [ + "PractitionerRole:endpoint", + "PractitionerRole:practitioner" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "specialty", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "practitioner", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner", + "type": "reference" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Procedure", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date", + "type": "date" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Provenance", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance" + ], + "documentation": "If a system receives a provider in `Provenance.agent.who` as free text they must capture who sent them the information as the organization. On request they **SHALL** provide this organization as the source and **MAY** include the free text provider.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "ValueSet", + "operation": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "expand", + "definition": "http://hl7.org/fhir/OperationDefinition/ValueSet-expand", + "documentation": "A client can determine the note and report types support by a server by invoking the standard FHIR Value Set Expansion ($expand) operation defined in the FHIR R4 specification. Because servers may support different read and write formats, it also is used to determine the formats (for example, text, pdf) the server supports read and write transactions." + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "transaction" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "batch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-system" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-system" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CodeSystem-careplan-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CodeSystem-careplan-category.json new file mode 100644 index 00000000000..495fa003a82 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CodeSystem-careplan-category.json @@ -0,0 +1,36 @@ +{ + "resourceType": "CodeSystem", + "id": "careplan-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "version": "3.1.1", + "name": "USCoreCarePlanCategoryExtensionCodes", + "title": "US Core CarePlan Category Extension Codes", + "status": "active", + "date": "2020-08-28T10:54:27+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.\n", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "assess-plan", + "display": "Assessment and Plan of Treatment", + "definition": "The clinical conclusions and assumptions that guide the patient's treatment and the clinical activities formulated for a patient." + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CodeSystem-cdcrec.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CodeSystem-cdcrec.json new file mode 100644 index 00000000000..ac38f6760cc --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CodeSystem-cdcrec.json @@ -0,0 +1,4914 @@ +{ + "resourceType": "CodeSystem", + "id": "cdcrec", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "urn:oid:2.16.840.1.113883.6.238", + "identifier": [ + { + "value": "2.16.840.1.113883.6.238" + } + ], + "version": "3.1.1", + "name": "RaceAndEthnicityCDC", + "title": "Race & Ethnicity - CDC", + "status": "active", + "experimental": false, + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org" + } + ] + } + ], + "description": " The U.S. Centers for Disease Control and Prevention (CDC) has prepared a code set for use in codingrace and ethnicity data. This code set is based on current federal standards for classifying data onrace and ethnicity, specifically the minimum race and ethnicity categories defined by the U.S. Office ofManagement and Budget (OMB) and a more detailed set of race and ethnicity categories maintainedby the U.S. Bureau of the Census (BC). The main purpose of the code set is to facilitate use of federalstandards for classifying data on race and ethnicity when these data are exchanged, stored, retrieved,or analyzed in electronic form. At the same time, the code set can be applied to paper-based recordsystems to the extent that these systems are used to collect, maintain, and report data on race andethnicity in accordance with current federal standards. Source: [Race and Ethnicity Code Set Version 1.0](https://www.cdc.gov/phin/resources/vocabulary/documents/cdc-race--ethnicity-background-and-purpose.pdf).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "hierarchyMeaning": "is-a", + "content": "complete", + "count": 966, + "property": [ + { + "code": "abstract", + "description": "True if an element is considered 'abstract' - in other words, the code is not for use as a real concept", + "type": "boolean" + } + ], + "concept": [ + { + "code": "1000-9", + "display": "Race", + "definition": "Race, Note that this is an abstract 'grouping' concept and not for use as a real concept", + "property": [ + { + "code": "abstract", + "valueBoolean": true + } + ], + "concept": [ + { + "code": "1002-5", + "display": "American Indian or Alaska Native", + "definition": "American Indian or Alaska Native", + "concept": [ + { + "code": "1004-1", + "display": "American Indian", + "definition": "American Indian" + }, + { + "code": "1735-0", + "display": "Alaska Native", + "definition": "Alaska Native" + }, + { + "code": "1006-6", + "display": "Abenaki", + "definition": "Abenaki" + }, + { + "code": "1008-2", + "display": "Algonquian", + "definition": "Algonquian" + }, + { + "code": "1010-8", + "display": "Apache", + "definition": "Apache" + }, + { + "code": "1021-5", + "display": "Arapaho", + "definition": "Arapaho" + }, + { + "code": "1026-4", + "display": "Arikara", + "definition": "Arikara" + }, + { + "code": "1028-0", + "display": "Assiniboine", + "definition": "Assiniboine" + }, + { + "code": "1030-6", + "display": "Assiniboine Sioux", + "definition": "Assiniboine Sioux" + }, + { + "code": "1033-0", + "display": "Bannock", + "definition": "Bannock" + }, + { + "code": "1035-5", + "display": "Blackfeet", + "definition": "Blackfeet" + }, + { + "code": "1037-1", + "display": "Brotherton", + "definition": "Brotherton" + }, + { + "code": "1039-7", + "display": "Burt Lake Band", + "definition": "Burt Lake Band" + }, + { + "code": "1041-3", + "display": "Caddo", + "definition": "Caddo" + }, + { + "code": "1044-7", + "display": "Cahuilla", + "definition": "Cahuilla" + }, + { + "code": "1053-8", + "display": "California Tribes", + "definition": "California Tribes" + }, + { + "code": "1068-6", + "display": "Canadian and Latin American Indian", + "definition": "Canadian and Latin American Indian" + }, + { + "code": "1076-9", + "display": "Catawba", + "definition": "Catawba" + }, + { + "code": "1078-5", + "display": "Cayuse", + "definition": "Cayuse" + }, + { + "code": "1080-1", + "display": "Chehalis", + "definition": "Chehalis" + }, + { + "code": "1082-7", + "display": "Chemakuan", + "definition": "Chemakuan" + }, + { + "code": "1086-8", + "display": "Chemehuevi", + "definition": "Chemehuevi" + }, + { + "code": "1088-4", + "display": "Cherokee", + "definition": "Cherokee" + }, + { + "code": "1100-7", + "display": "Cherokee Shawnee", + "definition": "Cherokee Shawnee" + }, + { + "code": "1102-3", + "display": "Cheyenne", + "definition": "Cheyenne" + }, + { + "code": "1106-4", + "display": "Cheyenne-Arapaho", + "definition": "Cheyenne-Arapaho" + }, + { + "code": "1108-0", + "display": "Chickahominy", + "definition": "Chickahominy" + }, + { + "code": "1112-2", + "display": "Chickasaw", + "definition": "Chickasaw" + }, + { + "code": "1114-8", + "display": "Chinook", + "definition": "Chinook" + }, + { + "code": "1123-9", + "display": "Chippewa", + "definition": "Chippewa" + }, + { + "code": "1150-2", + "display": "Chippewa Cree", + "definition": "Chippewa Cree" + }, + { + "code": "1153-6", + "display": "Chitimacha", + "definition": "Chitimacha" + }, + { + "code": "1155-1", + "display": "Choctaw", + "definition": "Choctaw" + }, + { + "code": "1162-7", + "display": "Chumash", + "definition": "Chumash" + }, + { + "code": "1165-0", + "display": "Clear Lake", + "definition": "Clear Lake" + }, + { + "code": "1167-6", + "display": "Coeur D'Alene", + "definition": "Coeur D'Alene" + }, + { + "code": "1169-2", + "display": "Coharie", + "definition": "Coharie" + }, + { + "code": "1171-8", + "display": "Colorado River", + "definition": "Colorado River" + }, + { + "code": "1173-4", + "display": "Colville", + "definition": "Colville" + }, + { + "code": "1175-9", + "display": "Comanche", + "definition": "Comanche" + }, + { + "code": "1178-3", + "display": "Coos, Lower Umpqua, Siuslaw", + "definition": "Coos, Lower Umpqua, Siuslaw" + }, + { + "code": "1180-9", + "display": "Coos", + "definition": "Coos" + }, + { + "code": "1182-5", + "display": "Coquilles", + "definition": "Coquilles" + }, + { + "code": "1184-1", + "display": "Costanoan", + "definition": "Costanoan" + }, + { + "code": "1186-6", + "display": "Coushatta", + "definition": "Coushatta" + }, + { + "code": "1189-0", + "display": "Cowlitz", + "definition": "Cowlitz" + }, + { + "code": "1191-6", + "display": "Cree", + "definition": "Cree" + }, + { + "code": "1193-2", + "display": "Creek", + "definition": "Creek" + }, + { + "code": "1207-0", + "display": "Croatan", + "definition": "Croatan" + }, + { + "code": "1209-6", + "display": "Crow", + "definition": "Crow" + }, + { + "code": "1211-2", + "display": "Cupeno", + "definition": "Cupeno" + }, + { + "code": "1214-6", + "display": "Delaware", + "definition": "Delaware" + }, + { + "code": "1222-9", + "display": "Diegueno", + "definition": "Diegueno" + }, + { + "code": "1233-6", + "display": "Eastern Tribes", + "definition": "Eastern Tribes" + }, + { + "code": "1250-0", + "display": "Esselen", + "definition": "Esselen" + }, + { + "code": "1252-6", + "display": "Fort Belknap", + "definition": "Fort Belknap" + }, + { + "code": "1254-2", + "display": "Fort Berthold", + "definition": "Fort Berthold" + }, + { + "code": "1256-7", + "display": "Fort Mcdowell", + "definition": "Fort Mcdowell" + }, + { + "code": "1258-3", + "display": "Fort Hall", + "definition": "Fort Hall" + }, + { + "code": "1260-9", + "display": "Gabrieleno", + "definition": "Gabrieleno" + }, + { + "code": "1262-5", + "display": "Grand Ronde", + "definition": "Grand Ronde" + }, + { + "code": "1264-1", + "display": "Gros Ventres", + "definition": "Gros Ventres" + }, + { + "code": "1267-4", + "display": "Haliwa", + "definition": "Haliwa" + }, + { + "code": "1269-0", + "display": "Hidatsa", + "definition": "Hidatsa" + }, + { + "code": "1271-6", + "display": "Hoopa", + "definition": "Hoopa" + }, + { + "code": "1275-7", + "display": "Hoopa Extension", + "definition": "Hoopa Extension" + }, + { + "code": "1277-3", + "display": "Houma", + "definition": "Houma" + }, + { + "code": "1279-9", + "display": "Inaja-Cosmit", + "definition": "Inaja-Cosmit" + }, + { + "code": "1281-5", + "display": "Iowa", + "definition": "Iowa" + }, + { + "code": "1285-6", + "display": "Iroquois", + "definition": "Iroquois" + }, + { + "code": "1297-1", + "display": "Juaneno", + "definition": "Juaneno" + }, + { + "code": "1299-7", + "display": "Kalispel", + "definition": "Kalispel" + }, + { + "code": "1301-1", + "display": "Karuk", + "definition": "Karuk" + }, + { + "code": "1303-7", + "display": "Kaw", + "definition": "Kaw" + }, + { + "code": "1305-2", + "display": "Kickapoo", + "definition": "Kickapoo" + }, + { + "code": "1309-4", + "display": "Kiowa", + "definition": "Kiowa" + }, + { + "code": "1312-8", + "display": "Klallam", + "definition": "Klallam" + }, + { + "code": "1317-7", + "display": "Klamath", + "definition": "Klamath" + }, + { + "code": "1319-3", + "display": "Konkow", + "definition": "Konkow" + }, + { + "code": "1321-9", + "display": "Kootenai", + "definition": "Kootenai" + }, + { + "code": "1323-5", + "display": "Lassik", + "definition": "Lassik" + }, + { + "code": "1325-0", + "display": "Long Island", + "definition": "Long Island" + }, + { + "code": "1331-8", + "display": "Luiseno", + "definition": "Luiseno" + }, + { + "code": "1340-9", + "display": "Lumbee", + "definition": "Lumbee" + }, + { + "code": "1342-5", + "display": "Lummi", + "definition": "Lummi" + }, + { + "code": "1344-1", + "display": "Maidu", + "definition": "Maidu" + }, + { + "code": "1348-2", + "display": "Makah", + "definition": "Makah" + }, + { + "code": "1350-8", + "display": "Maliseet", + "definition": "Maliseet" + }, + { + "code": "1352-4", + "display": "Mandan", + "definition": "Mandan" + }, + { + "code": "1354-0", + "display": "Mattaponi", + "definition": "Mattaponi" + }, + { + "code": "1356-5", + "display": "Menominee", + "definition": "Menominee" + }, + { + "code": "1358-1", + "display": "Miami", + "definition": "Miami" + }, + { + "code": "1363-1", + "display": "Miccosukee", + "definition": "Miccosukee" + }, + { + "code": "1365-6", + "display": "Micmac", + "definition": "Micmac" + }, + { + "code": "1368-0", + "display": "Mission Indians", + "definition": "Mission Indians" + }, + { + "code": "1370-6", + "display": "Miwok", + "definition": "Miwok" + }, + { + "code": "1372-2", + "display": "Modoc", + "definition": "Modoc" + }, + { + "code": "1374-8", + "display": "Mohegan", + "definition": "Mohegan" + }, + { + "code": "1376-3", + "display": "Mono", + "definition": "Mono" + }, + { + "code": "1378-9", + "display": "Nanticoke", + "definition": "Nanticoke" + }, + { + "code": "1380-5", + "display": "Narragansett", + "definition": "Narragansett" + }, + { + "code": "1382-1", + "display": "Navajo", + "definition": "Navajo" + }, + { + "code": "1387-0", + "display": "Nez Perce", + "definition": "Nez Perce" + }, + { + "code": "1389-6", + "display": "Nomalaki", + "definition": "Nomalaki" + }, + { + "code": "1391-2", + "display": "Northwest Tribes", + "definition": "Northwest Tribes" + }, + { + "code": "1403-5", + "display": "Omaha", + "definition": "Omaha" + }, + { + "code": "1405-0", + "display": "Oregon Athabaskan", + "definition": "Oregon Athabaskan" + }, + { + "code": "1407-6", + "display": "Osage", + "definition": "Osage" + }, + { + "code": "1409-2", + "display": "Otoe-Missouria", + "definition": "Otoe-Missouria" + }, + { + "code": "1411-8", + "display": "Ottawa", + "definition": "Ottawa" + }, + { + "code": "1416-7", + "display": "Paiute", + "definition": "Paiute" + }, + { + "code": "1439-9", + "display": "Pamunkey", + "definition": "Pamunkey" + }, + { + "code": "1441-5", + "display": "Passamaquoddy", + "definition": "Passamaquoddy" + }, + { + "code": "1445-6", + "display": "Pawnee", + "definition": "Pawnee" + }, + { + "code": "1448-0", + "display": "Penobscot", + "definition": "Penobscot" + }, + { + "code": "1450-6", + "display": "Peoria", + "definition": "Peoria" + }, + { + "code": "1453-0", + "display": "Pequot", + "definition": "Pequot" + }, + { + "code": "1456-3", + "display": "Pima", + "definition": "Pima" + }, + { + "code": "1460-5", + "display": "Piscataway", + "definition": "Piscataway" + }, + { + "code": "1462-1", + "display": "Pit River", + "definition": "Pit River" + }, + { + "code": "1464-7", + "display": "Pomo", + "definition": "Pomo" + }, + { + "code": "1474-6", + "display": "Ponca", + "definition": "Ponca" + }, + { + "code": "1478-7", + "display": "Potawatomi", + "definition": "Potawatomi" + }, + { + "code": "1487-8", + "display": "Powhatan", + "definition": "Powhatan" + }, + { + "code": "1489-4", + "display": "Pueblo", + "definition": "Pueblo" + }, + { + "code": "1518-0", + "display": "Puget Sound Salish", + "definition": "Puget Sound Salish" + }, + { + "code": "1541-2", + "display": "Quapaw", + "definition": "Quapaw" + }, + { + "code": "1543-8", + "display": "Quinault", + "definition": "Quinault" + }, + { + "code": "1545-3", + "display": "Rappahannock", + "definition": "Rappahannock" + }, + { + "code": "1547-9", + "display": "Reno-Sparks", + "definition": "Reno-Sparks" + }, + { + "code": "1549-5", + "display": "Round Valley", + "definition": "Round Valley" + }, + { + "code": "1551-1", + "display": "Sac and Fox", + "definition": "Sac and Fox" + }, + { + "code": "1556-0", + "display": "Salinan", + "definition": "Salinan" + }, + { + "code": "1558-6", + "display": "Salish", + "definition": "Salish" + }, + { + "code": "1560-2", + "display": "Salish and Kootenai", + "definition": "Salish and Kootenai" + }, + { + "code": "1562-8", + "display": "Schaghticoke", + "definition": "Schaghticoke" + }, + { + "code": "1564-4", + "display": "Scott Valley", + "definition": "Scott Valley" + }, + { + "code": "1566-9", + "display": "Seminole", + "definition": "Seminole" + }, + { + "code": "1573-5", + "display": "Serrano", + "definition": "Serrano" + }, + { + "code": "1576-8", + "display": "Shasta", + "definition": "Shasta" + }, + { + "code": "1578-4", + "display": "Shawnee", + "definition": "Shawnee" + }, + { + "code": "1582-6", + "display": "Shinnecock", + "definition": "Shinnecock" + }, + { + "code": "1584-2", + "display": "Shoalwater Bay", + "definition": "Shoalwater Bay" + }, + { + "code": "1586-7", + "display": "Shoshone", + "definition": "Shoshone" + }, + { + "code": "1602-2", + "display": "Shoshone Paiute", + "definition": "Shoshone Paiute" + }, + { + "code": "1607-1", + "display": "Siletz", + "definition": "Siletz" + }, + { + "code": "1609-7", + "display": "Sioux", + "definition": "Sioux" + }, + { + "code": "1643-6", + "display": "Siuslaw", + "definition": "Siuslaw" + }, + { + "code": "1645-1", + "display": "Spokane", + "definition": "Spokane" + }, + { + "code": "1647-7", + "display": "Stewart", + "definition": "Stewart" + }, + { + "code": "1649-3", + "display": "Stockbridge", + "definition": "Stockbridge" + }, + { + "code": "1651-9", + "display": "Susanville", + "definition": "Susanville" + }, + { + "code": "1653-5", + "display": "Tohono O'Odham", + "definition": "Tohono O'Odham" + }, + { + "code": "1659-2", + "display": "Tolowa", + "definition": "Tolowa" + }, + { + "code": "1661-8", + "display": "Tonkawa", + "definition": "Tonkawa" + }, + { + "code": "1663-4", + "display": "Tygh", + "definition": "Tygh" + }, + { + "code": "1665-9", + "display": "Umatilla", + "definition": "Umatilla" + }, + { + "code": "1667-5", + "display": "Umpqua", + "definition": "Umpqua" + }, + { + "code": "1670-9", + "display": "Ute", + "definition": "Ute" + }, + { + "code": "1675-8", + "display": "Wailaki", + "definition": "Wailaki" + }, + { + "code": "1677-4", + "display": "Walla-Walla", + "definition": "Walla-Walla" + }, + { + "code": "1679-0", + "display": "Wampanoag", + "definition": "Wampanoag" + }, + { + "code": "1683-2", + "display": "Warm Springs", + "definition": "Warm Springs" + }, + { + "code": "1685-7", + "display": "Wascopum", + "definition": "Wascopum" + }, + { + "code": "1687-3", + "display": "Washoe", + "definition": "Washoe" + }, + { + "code": "1692-3", + "display": "Wichita", + "definition": "Wichita" + }, + { + "code": "1694-9", + "display": "Wind River", + "definition": "Wind River" + }, + { + "code": "1696-4", + "display": "Winnebago", + "definition": "Winnebago" + }, + { + "code": "1700-4", + "display": "Winnemucca", + "definition": "Winnemucca" + }, + { + "code": "1702-0", + "display": "Wintun", + "definition": "Wintun" + }, + { + "code": "1704-6", + "display": "Wiyot", + "definition": "Wiyot" + }, + { + "code": "1707-9", + "display": "Yakama", + "definition": "Yakama" + }, + { + "code": "1709-5", + "display": "Yakama Cowlitz", + "definition": "Yakama Cowlitz" + }, + { + "code": "1711-1", + "display": "Yaqui", + "definition": "Yaqui" + }, + { + "code": "1715-2", + "display": "Yavapai Apache", + "definition": "Yavapai Apache" + }, + { + "code": "1717-8", + "display": "Yokuts", + "definition": "Yokuts" + }, + { + "code": "1722-8", + "display": "Yuchi", + "definition": "Yuchi" + }, + { + "code": "1724-4", + "display": "Yuman", + "definition": "Yuman" + }, + { + "code": "1732-7", + "display": "Yurok", + "definition": "Yurok" + }, + { + "code": "1011-6", + "display": "Chiricahua", + "definition": "Chiricahua" + }, + { + "code": "1012-4", + "display": "Fort Sill Apache", + "definition": "Fort Sill Apache" + }, + { + "code": "1013-2", + "display": "Jicarilla Apache", + "definition": "Jicarilla Apache" + }, + { + "code": "1014-0", + "display": "Lipan Apache", + "definition": "Lipan Apache" + }, + { + "code": "1015-7", + "display": "Mescalero Apache", + "definition": "Mescalero Apache" + }, + { + "code": "1016-5", + "display": "Oklahoma Apache", + "definition": "Oklahoma Apache" + }, + { + "code": "1017-3", + "display": "Payson Apache", + "definition": "Payson Apache" + }, + { + "code": "1018-1", + "display": "San Carlos Apache", + "definition": "San Carlos Apache" + }, + { + "code": "1019-9", + "display": "White Mountain Apache", + "definition": "White Mountain Apache" + }, + { + "code": "1022-3", + "display": "Northern Arapaho", + "definition": "Northern Arapaho" + }, + { + "code": "1023-1", + "display": "Southern Arapaho", + "definition": "Southern Arapaho" + }, + { + "code": "1024-9", + "display": "Wind River Arapaho", + "definition": "Wind River Arapaho" + }, + { + "code": "1031-4", + "display": "Fort Peck Assiniboine Sioux", + "definition": "Fort Peck Assiniboine Sioux" + }, + { + "code": "1042-1", + "display": "Oklahoma Cado", + "definition": "Oklahoma Cado" + }, + { + "code": "1045-4", + "display": "Agua Caliente Cahuilla", + "definition": "Agua Caliente Cahuilla" + }, + { + "code": "1046-2", + "display": "Augustine", + "definition": "Augustine" + }, + { + "code": "1047-0", + "display": "Cabazon", + "definition": "Cabazon" + }, + { + "code": "1048-8", + "display": "Los Coyotes", + "definition": "Los Coyotes" + }, + { + "code": "1049-6", + "display": "Morongo", + "definition": "Morongo" + }, + { + "code": "1050-4", + "display": "Santa Rosa Cahuilla", + "definition": "Santa Rosa Cahuilla" + }, + { + "code": "1051-2", + "display": "Torres-Martinez", + "definition": "Torres-Martinez" + }, + { + "code": "1054-6", + "display": "Cahto", + "definition": "Cahto" + }, + { + "code": "1055-3", + "display": "Chimariko", + "definition": "Chimariko" + }, + { + "code": "1056-1", + "display": "Coast Miwok", + "definition": "Coast Miwok" + }, + { + "code": "1057-9", + "display": "Digger", + "definition": "Digger" + }, + { + "code": "1058-7", + "display": "Kawaiisu", + "definition": "Kawaiisu" + }, + { + "code": "1059-5", + "display": "Kern River", + "definition": "Kern River" + }, + { + "code": "1060-3", + "display": "Mattole", + "definition": "Mattole" + }, + { + "code": "1061-1", + "display": "Red Wood", + "definition": "Red Wood" + }, + { + "code": "1062-9", + "display": "Santa Rosa", + "definition": "Santa Rosa" + }, + { + "code": "1063-7", + "display": "Takelma", + "definition": "Takelma" + }, + { + "code": "1064-5", + "display": "Wappo", + "definition": "Wappo" + }, + { + "code": "1065-2", + "display": "Yana", + "definition": "Yana" + }, + { + "code": "1066-0", + "display": "Yuki", + "definition": "Yuki" + }, + { + "code": "1069-4", + "display": "Canadian Indian", + "definition": "Canadian Indian" + }, + { + "code": "1070-2", + "display": "Central American Indian", + "definition": "Central American Indian" + }, + { + "code": "1071-0", + "display": "French American Indian", + "definition": "French American Indian" + }, + { + "code": "1072-8", + "display": "Mexican American Indian", + "definition": "Mexican American Indian" + }, + { + "code": "1073-6", + "display": "South American Indian", + "definition": "South American Indian" + }, + { + "code": "1074-4", + "display": "Spanish American Indian", + "definition": "Spanish American Indian" + }, + { + "code": "1083-5", + "display": "Hoh", + "definition": "Hoh" + }, + { + "code": "1084-3", + "display": "Quileute", + "definition": "Quileute" + }, + { + "code": "1089-2", + "display": "Cherokee Alabama", + "definition": "Cherokee Alabama" + }, + { + "code": "1090-0", + "display": "Cherokees of Northeast Alabama", + "definition": "Cherokees of Northeast Alabama" + }, + { + "code": "1091-8", + "display": "Cherokees of Southeast Alabama", + "definition": "Cherokees of Southeast Alabama" + }, + { + "code": "1092-6", + "display": "Eastern Cherokee", + "definition": "Eastern Cherokee" + }, + { + "code": "1093-4", + "display": "Echota Cherokee", + "definition": "Echota Cherokee" + }, + { + "code": "1094-2", + "display": "Etowah Cherokee", + "definition": "Etowah Cherokee" + }, + { + "code": "1095-9", + "display": "Northern Cherokee", + "definition": "Northern Cherokee" + }, + { + "code": "1096-7", + "display": "Tuscola", + "definition": "Tuscola" + }, + { + "code": "1097-5", + "display": "United Keetowah Band of Cherokee", + "definition": "United Keetowah Band of Cherokee" + }, + { + "code": "1098-3", + "display": "Western Cherokee", + "definition": "Western Cherokee" + }, + { + "code": "1103-1", + "display": "Northern Cheyenne", + "definition": "Northern Cheyenne" + }, + { + "code": "1104-9", + "display": "Southern Cheyenne", + "definition": "Southern Cheyenne" + }, + { + "code": "1109-8", + "display": "Eastern Chickahominy", + "definition": "Eastern Chickahominy" + }, + { + "code": "1110-6", + "display": "Western Chickahominy", + "definition": "Western Chickahominy" + }, + { + "code": "1115-5", + "display": "Clatsop", + "definition": "Clatsop" + }, + { + "code": "1116-3", + "display": "Columbia River Chinook", + "definition": "Columbia River Chinook" + }, + { + "code": "1117-1", + "display": "Kathlamet", + "definition": "Kathlamet" + }, + { + "code": "1118-9", + "display": "Upper Chinook", + "definition": "Upper Chinook" + }, + { + "code": "1119-7", + "display": "Wakiakum Chinook", + "definition": "Wakiakum Chinook" + }, + { + "code": "1120-5", + "display": "Willapa Chinook", + "definition": "Willapa Chinook" + }, + { + "code": "1121-3", + "display": "Wishram", + "definition": "Wishram" + }, + { + "code": "1124-7", + "display": "Bad River", + "definition": "Bad River" + }, + { + "code": "1125-4", + "display": "Bay Mills Chippewa", + "definition": "Bay Mills Chippewa" + }, + { + "code": "1126-2", + "display": "Bois Forte", + "definition": "Bois Forte" + }, + { + "code": "1127-0", + "display": "Burt Lake Chippewa", + "definition": "Burt Lake Chippewa" + }, + { + "code": "1128-8", + "display": "Fond du Lac", + "definition": "Fond du Lac" + }, + { + "code": "1129-6", + "display": "Grand Portage", + "definition": "Grand Portage" + }, + { + "code": "1130-4", + "display": "Grand Traverse Band of Ottawa/Chippewa", + "definition": "Grand Traverse Band of Ottawa/Chippewa" + }, + { + "code": "1131-2", + "display": "Keweenaw", + "definition": "Keweenaw" + }, + { + "code": "1132-0", + "display": "Lac Courte Oreilles", + "definition": "Lac Courte Oreilles" + }, + { + "code": "1133-8", + "display": "Lac du Flambeau", + "definition": "Lac du Flambeau" + }, + { + "code": "1134-6", + "display": "Lac Vieux Desert Chippewa", + "definition": "Lac Vieux Desert Chippewa" + }, + { + "code": "1135-3", + "display": "Lake Superior", + "definition": "Lake Superior" + }, + { + "code": "1136-1", + "display": "Leech Lake", + "definition": "Leech Lake" + }, + { + "code": "1137-9", + "display": "Little Shell Chippewa", + "definition": "Little Shell Chippewa" + }, + { + "code": "1138-7", + "display": "Mille Lacs", + "definition": "Mille Lacs" + }, + { + "code": "1139-5", + "display": "Minnesota Chippewa", + "definition": "Minnesota Chippewa" + }, + { + "code": "1140-3", + "display": "Ontonagon", + "definition": "Ontonagon" + }, + { + "code": "1141-1", + "display": "Red Cliff Chippewa", + "definition": "Red Cliff Chippewa" + }, + { + "code": "1142-9", + "display": "Red Lake Chippewa", + "definition": "Red Lake Chippewa" + }, + { + "code": "1143-7", + "display": "Saginaw Chippewa", + "definition": "Saginaw Chippewa" + }, + { + "code": "1144-5", + "display": "St. Croix Chippewa", + "definition": "St. Croix Chippewa" + }, + { + "code": "1145-2", + "display": "Sault Ste. Marie Chippewa", + "definition": "Sault Ste. Marie Chippewa" + }, + { + "code": "1146-0", + "display": "Sokoagon Chippewa", + "definition": "Sokoagon Chippewa" + }, + { + "code": "1147-8", + "display": "Turtle Mountain", + "definition": "Turtle Mountain" + }, + { + "code": "1148-6", + "display": "White Earth", + "definition": "White Earth" + }, + { + "code": "1151-0", + "display": "Rocky Boy's Chippewa Cree", + "definition": "Rocky Boy's Chippewa Cree" + }, + { + "code": "1156-9", + "display": "Clifton Choctaw", + "definition": "Clifton Choctaw" + }, + { + "code": "1157-7", + "display": "Jena Choctaw", + "definition": "Jena Choctaw" + }, + { + "code": "1158-5", + "display": "Mississippi Choctaw", + "definition": "Mississippi Choctaw" + }, + { + "code": "1159-3", + "display": "Mowa Band of Choctaw", + "definition": "Mowa Band of Choctaw" + }, + { + "code": "1160-1", + "display": "Oklahoma Choctaw", + "definition": "Oklahoma Choctaw" + }, + { + "code": "1163-5", + "display": "Santa Ynez", + "definition": "Santa Ynez" + }, + { + "code": "1176-7", + "display": "Oklahoma Comanche", + "definition": "Oklahoma Comanche" + }, + { + "code": "1187-4", + "display": "Alabama Coushatta", + "definition": "Alabama Coushatta" + }, + { + "code": "1194-0", + "display": "Alabama Creek", + "definition": "Alabama Creek" + }, + { + "code": "1195-7", + "display": "Alabama Quassarte", + "definition": "Alabama Quassarte" + }, + { + "code": "1196-5", + "display": "Eastern Creek", + "definition": "Eastern Creek" + }, + { + "code": "1197-3", + "display": "Eastern Muscogee", + "definition": "Eastern Muscogee" + }, + { + "code": "1198-1", + "display": "Kialegee", + "definition": "Kialegee" + }, + { + "code": "1199-9", + "display": "Lower Muscogee", + "definition": "Lower Muscogee" + }, + { + "code": "1200-5", + "display": "Machis Lower Creek Indian", + "definition": "Machis Lower Creek Indian" + }, + { + "code": "1201-3", + "display": "Poarch Band", + "definition": "Poarch Band" + }, + { + "code": "1202-1", + "display": "Principal Creek Indian Nation", + "definition": "Principal Creek Indian Nation" + }, + { + "code": "1203-9", + "display": "Star Clan of Muscogee Creeks", + "definition": "Star Clan of Muscogee Creeks" + }, + { + "code": "1204-7", + "display": "Thlopthlocco", + "definition": "Thlopthlocco" + }, + { + "code": "1205-4", + "display": "Tuckabachee", + "definition": "Tuckabachee" + }, + { + "code": "1212-0", + "display": "Agua Caliente", + "definition": "Agua Caliente" + }, + { + "code": "1215-3", + "display": "Eastern Delaware", + "definition": "Eastern Delaware" + }, + { + "code": "1216-1", + "display": "Lenni-Lenape", + "definition": "Lenni-Lenape" + }, + { + "code": "1217-9", + "display": "Munsee", + "definition": "Munsee" + }, + { + "code": "1218-7", + "display": "Oklahoma Delaware", + "definition": "Oklahoma Delaware" + }, + { + "code": "1219-5", + "display": "Rampough Mountain", + "definition": "Rampough Mountain" + }, + { + "code": "1220-3", + "display": "Sand Hill", + "definition": "Sand Hill" + }, + { + "code": "1223-7", + "display": "Campo", + "definition": "Campo" + }, + { + "code": "1224-5", + "display": "Capitan Grande", + "definition": "Capitan Grande" + }, + { + "code": "1225-2", + "display": "Cuyapaipe", + "definition": "Cuyapaipe" + }, + { + "code": "1226-0", + "display": "La Posta", + "definition": "La Posta" + }, + { + "code": "1227-8", + "display": "Manzanita", + "definition": "Manzanita" + }, + { + "code": "1228-6", + "display": "Mesa Grande", + "definition": "Mesa Grande" + }, + { + "code": "1229-4", + "display": "San Pasqual", + "definition": "San Pasqual" + }, + { + "code": "1230-2", + "display": "Santa Ysabel", + "definition": "Santa Ysabel" + }, + { + "code": "1231-0", + "display": "Sycuan", + "definition": "Sycuan" + }, + { + "code": "1234-4", + "display": "Attacapa", + "definition": "Attacapa" + }, + { + "code": "1235-1", + "display": "Biloxi", + "definition": "Biloxi" + }, + { + "code": "1236-9", + "display": "Georgetown (Eastern Tribes)", + "definition": "Georgetown (Eastern Tribes)" + }, + { + "code": "1237-7", + "display": "Moor", + "definition": "Moor" + }, + { + "code": "1238-5", + "display": "Nansemond", + "definition": "Nansemond" + }, + { + "code": "1239-3", + "display": "Natchez", + "definition": "Natchez" + }, + { + "code": "1240-1", + "display": "Nausu Waiwash", + "definition": "Nausu Waiwash" + }, + { + "code": "1241-9", + "display": "Nipmuc", + "definition": "Nipmuc" + }, + { + "code": "1242-7", + "display": "Paugussett", + "definition": "Paugussett" + }, + { + "code": "1243-5", + "display": "Pocomoke Acohonock", + "definition": "Pocomoke Acohonock" + }, + { + "code": "1244-3", + "display": "Southeastern Indians", + "definition": "Southeastern Indians" + }, + { + "code": "1245-0", + "display": "Susquehanock", + "definition": "Susquehanock" + }, + { + "code": "1246-8", + "display": "Tunica Biloxi", + "definition": "Tunica Biloxi" + }, + { + "code": "1247-6", + "display": "Waccamaw-Siousan", + "definition": "Waccamaw-Siousan" + }, + { + "code": "1248-4", + "display": "Wicomico", + "definition": "Wicomico" + }, + { + "code": "1265-8", + "display": "Atsina", + "definition": "Atsina" + }, + { + "code": "1272-4", + "display": "Trinity", + "definition": "Trinity" + }, + { + "code": "1273-2", + "display": "Whilkut", + "definition": "Whilkut" + }, + { + "code": "1282-3", + "display": "Iowa of Kansas-Nebraska", + "definition": "Iowa of Kansas-Nebraska" + }, + { + "code": "1283-1", + "display": "Iowa of Oklahoma", + "definition": "Iowa of Oklahoma" + }, + { + "code": "1286-4", + "display": "Cayuga", + "definition": "Cayuga" + }, + { + "code": "1287-2", + "display": "Mohawk", + "definition": "Mohawk" + }, + { + "code": "1288-0", + "display": "Oneida", + "definition": "Oneida" + }, + { + "code": "1289-8", + "display": "Onondaga", + "definition": "Onondaga" + }, + { + "code": "1290-6", + "display": "Seneca", + "definition": "Seneca" + }, + { + "code": "1291-4", + "display": "Seneca Nation", + "definition": "Seneca Nation" + }, + { + "code": "1292-2", + "display": "Seneca-Cayuga", + "definition": "Seneca-Cayuga" + }, + { + "code": "1293-0", + "display": "Tonawanda Seneca", + "definition": "Tonawanda Seneca" + }, + { + "code": "1294-8", + "display": "Tuscarora", + "definition": "Tuscarora" + }, + { + "code": "1295-5", + "display": "Wyandotte", + "definition": "Wyandotte" + }, + { + "code": "1306-0", + "display": "Oklahoma Kickapoo", + "definition": "Oklahoma Kickapoo" + }, + { + "code": "1307-8", + "display": "Texas Kickapoo", + "definition": "Texas Kickapoo" + }, + { + "code": "1310-2", + "display": "Oklahoma Kiowa", + "definition": "Oklahoma Kiowa" + }, + { + "code": "1313-6", + "display": "Jamestown", + "definition": "Jamestown" + }, + { + "code": "1314-4", + "display": "Lower Elwha", + "definition": "Lower Elwha" + }, + { + "code": "1315-1", + "display": "Port Gamble Klallam", + "definition": "Port Gamble Klallam" + }, + { + "code": "1326-8", + "display": "Matinecock", + "definition": "Matinecock" + }, + { + "code": "1327-6", + "display": "Montauk", + "definition": "Montauk" + }, + { + "code": "1328-4", + "display": "Poospatuck", + "definition": "Poospatuck" + }, + { + "code": "1329-2", + "display": "Setauket", + "definition": "Setauket" + }, + { + "code": "1332-6", + "display": "La Jolla", + "definition": "La Jolla" + }, + { + "code": "1333-4", + "display": "Pala", + "definition": "Pala" + }, + { + "code": "1334-2", + "display": "Pauma", + "definition": "Pauma" + }, + { + "code": "1335-9", + "display": "Pechanga", + "definition": "Pechanga" + }, + { + "code": "1336-7", + "display": "Soboba", + "definition": "Soboba" + }, + { + "code": "1337-5", + "display": "Twenty-Nine Palms", + "definition": "Twenty-Nine Palms" + }, + { + "code": "1338-3", + "display": "Temecula", + "definition": "Temecula" + }, + { + "code": "1345-8", + "display": "Mountain Maidu", + "definition": "Mountain Maidu" + }, + { + "code": "1346-6", + "display": "Nishinam", + "definition": "Nishinam" + }, + { + "code": "1359-9", + "display": "Illinois Miami", + "definition": "Illinois Miami" + }, + { + "code": "1360-7", + "display": "Indiana Miami", + "definition": "Indiana Miami" + }, + { + "code": "1361-5", + "display": "Oklahoma Miami", + "definition": "Oklahoma Miami" + }, + { + "code": "1366-4", + "display": "Aroostook", + "definition": "Aroostook" + }, + { + "code": "1383-9", + "display": "Alamo Navajo", + "definition": "Alamo Navajo" + }, + { + "code": "1384-7", + "display": "Canoncito Navajo", + "definition": "Canoncito Navajo" + }, + { + "code": "1385-4", + "display": "Ramah Navajo", + "definition": "Ramah Navajo" + }, + { + "code": "1392-0", + "display": "Alsea", + "definition": "Alsea" + }, + { + "code": "1393-8", + "display": "Celilo", + "definition": "Celilo" + }, + { + "code": "1394-6", + "display": "Columbia", + "definition": "Columbia" + }, + { + "code": "1395-3", + "display": "Kalapuya", + "definition": "Kalapuya" + }, + { + "code": "1396-1", + "display": "Molala", + "definition": "Molala" + }, + { + "code": "1397-9", + "display": "Talakamish", + "definition": "Talakamish" + }, + { + "code": "1398-7", + "display": "Tenino", + "definition": "Tenino" + }, + { + "code": "1399-5", + "display": "Tillamook", + "definition": "Tillamook" + }, + { + "code": "1400-1", + "display": "Wenatchee", + "definition": "Wenatchee" + }, + { + "code": "1401-9", + "display": "Yahooskin", + "definition": "Yahooskin" + }, + { + "code": "1412-6", + "display": "Burt Lake Ottawa", + "definition": "Burt Lake Ottawa" + }, + { + "code": "1413-4", + "display": "Michigan Ottawa", + "definition": "Michigan Ottawa" + }, + { + "code": "1414-2", + "display": "Oklahoma Ottawa", + "definition": "Oklahoma Ottawa" + }, + { + "code": "1417-5", + "display": "Bishop", + "definition": "Bishop" + }, + { + "code": "1418-3", + "display": "Bridgeport", + "definition": "Bridgeport" + }, + { + "code": "1419-1", + "display": "Burns Paiute", + "definition": "Burns Paiute" + }, + { + "code": "1420-9", + "display": "Cedarville", + "definition": "Cedarville" + }, + { + "code": "1421-7", + "display": "Fort Bidwell", + "definition": "Fort Bidwell" + }, + { + "code": "1422-5", + "display": "Fort Independence", + "definition": "Fort Independence" + }, + { + "code": "1423-3", + "display": "Kaibab", + "definition": "Kaibab" + }, + { + "code": "1424-1", + "display": "Las Vegas", + "definition": "Las Vegas" + }, + { + "code": "1425-8", + "display": "Lone Pine", + "definition": "Lone Pine" + }, + { + "code": "1426-6", + "display": "Lovelock", + "definition": "Lovelock" + }, + { + "code": "1427-4", + "display": "Malheur Paiute", + "definition": "Malheur Paiute" + }, + { + "code": "1428-2", + "display": "Moapa", + "definition": "Moapa" + }, + { + "code": "1429-0", + "display": "Northern Paiute", + "definition": "Northern Paiute" + }, + { + "code": "1430-8", + "display": "Owens Valley", + "definition": "Owens Valley" + }, + { + "code": "1431-6", + "display": "Pyramid Lake", + "definition": "Pyramid Lake" + }, + { + "code": "1432-4", + "display": "San Juan Southern Paiute", + "definition": "San Juan Southern Paiute" + }, + { + "code": "1433-2", + "display": "Southern Paiute", + "definition": "Southern Paiute" + }, + { + "code": "1434-0", + "display": "Summit Lake", + "definition": "Summit Lake" + }, + { + "code": "1435-7", + "display": "Utu Utu Gwaitu Paiute", + "definition": "Utu Utu Gwaitu Paiute" + }, + { + "code": "1436-5", + "display": "Walker River", + "definition": "Walker River" + }, + { + "code": "1437-3", + "display": "Yerington Paiute", + "definition": "Yerington Paiute" + }, + { + "code": "1442-3", + "display": "Indian Township", + "definition": "Indian Township" + }, + { + "code": "1443-1", + "display": "Pleasant Point Passamaquoddy", + "definition": "Pleasant Point Passamaquoddy" + }, + { + "code": "1446-4", + "display": "Oklahoma Pawnee", + "definition": "Oklahoma Pawnee" + }, + { + "code": "1451-4", + "display": "Oklahoma Peoria", + "definition": "Oklahoma Peoria" + }, + { + "code": "1454-8", + "display": "Marshantucket Pequot", + "definition": "Marshantucket Pequot" + }, + { + "code": "1457-1", + "display": "Gila River Pima-Maricopa", + "definition": "Gila River Pima-Maricopa" + }, + { + "code": "1458-9", + "display": "Salt River Pima-Maricopa", + "definition": "Salt River Pima-Maricopa" + }, + { + "code": "1465-4", + "display": "Central Pomo", + "definition": "Central Pomo" + }, + { + "code": "1466-2", + "display": "Dry Creek", + "definition": "Dry Creek" + }, + { + "code": "1467-0", + "display": "Eastern Pomo", + "definition": "Eastern Pomo" + }, + { + "code": "1468-8", + "display": "Kashia", + "definition": "Kashia" + }, + { + "code": "1469-6", + "display": "Northern Pomo", + "definition": "Northern Pomo" + }, + { + "code": "1470-4", + "display": "Scotts Valley", + "definition": "Scotts Valley" + }, + { + "code": "1471-2", + "display": "Stonyford", + "definition": "Stonyford" + }, + { + "code": "1472-0", + "display": "Sulphur Bank", + "definition": "Sulphur Bank" + }, + { + "code": "1475-3", + "display": "Nebraska Ponca", + "definition": "Nebraska Ponca" + }, + { + "code": "1476-1", + "display": "Oklahoma Ponca", + "definition": "Oklahoma Ponca" + }, + { + "code": "1479-5", + "display": "Citizen Band Potawatomi", + "definition": "Citizen Band Potawatomi" + }, + { + "code": "1480-3", + "display": "Forest County", + "definition": "Forest County" + }, + { + "code": "1481-1", + "display": "Hannahville", + "definition": "Hannahville" + }, + { + "code": "1482-9", + "display": "Huron Potawatomi", + "definition": "Huron Potawatomi" + }, + { + "code": "1483-7", + "display": "Pokagon Potawatomi", + "definition": "Pokagon Potawatomi" + }, + { + "code": "1484-5", + "display": "Prairie Band", + "definition": "Prairie Band" + }, + { + "code": "1485-2", + "display": "Wisconsin Potawatomi", + "definition": "Wisconsin Potawatomi" + }, + { + "code": "1490-2", + "display": "Acoma", + "definition": "Acoma" + }, + { + "code": "1491-0", + "display": "Arizona Tewa", + "definition": "Arizona Tewa" + }, + { + "code": "1492-8", + "display": "Cochiti", + "definition": "Cochiti" + }, + { + "code": "1493-6", + "display": "Hopi", + "definition": "Hopi" + }, + { + "code": "1494-4", + "display": "Isleta", + "definition": "Isleta" + }, + { + "code": "1495-1", + "display": "Jemez", + "definition": "Jemez" + }, + { + "code": "1496-9", + "display": "Keres", + "definition": "Keres" + }, + { + "code": "1497-7", + "display": "Laguna", + "definition": "Laguna" + }, + { + "code": "1498-5", + "display": "Nambe", + "definition": "Nambe" + }, + { + "code": "1499-3", + "display": "Picuris", + "definition": "Picuris" + }, + { + "code": "1500-8", + "display": "Piro", + "definition": "Piro" + }, + { + "code": "1501-6", + "display": "Pojoaque", + "definition": "Pojoaque" + }, + { + "code": "1502-4", + "display": "San Felipe", + "definition": "San Felipe" + }, + { + "code": "1503-2", + "display": "San Ildefonso", + "definition": "San Ildefonso" + }, + { + "code": "1504-0", + "display": "San Juan Pueblo", + "definition": "San Juan Pueblo" + }, + { + "code": "1505-7", + "display": "San Juan De", + "definition": "San Juan De" + }, + { + "code": "1506-5", + "display": "San Juan", + "definition": "San Juan" + }, + { + "code": "1507-3", + "display": "Sandia", + "definition": "Sandia" + }, + { + "code": "1508-1", + "display": "Santa Ana", + "definition": "Santa Ana" + }, + { + "code": "1509-9", + "display": "Santa Clara", + "definition": "Santa Clara" + }, + { + "code": "1510-7", + "display": "Santo Domingo", + "definition": "Santo Domingo" + }, + { + "code": "1511-5", + "display": "Taos", + "definition": "Taos" + }, + { + "code": "1512-3", + "display": "Tesuque", + "definition": "Tesuque" + }, + { + "code": "1513-1", + "display": "Tewa", + "definition": "Tewa" + }, + { + "code": "1514-9", + "display": "Tigua", + "definition": "Tigua" + }, + { + "code": "1515-6", + "display": "Zia", + "definition": "Zia" + }, + { + "code": "1516-4", + "display": "Zuni", + "definition": "Zuni" + }, + { + "code": "1519-8", + "display": "Duwamish", + "definition": "Duwamish" + }, + { + "code": "1520-6", + "display": "Kikiallus", + "definition": "Kikiallus" + }, + { + "code": "1521-4", + "display": "Lower Skagit", + "definition": "Lower Skagit" + }, + { + "code": "1522-2", + "display": "Muckleshoot", + "definition": "Muckleshoot" + }, + { + "code": "1523-0", + "display": "Nisqually", + "definition": "Nisqually" + }, + { + "code": "1524-8", + "display": "Nooksack", + "definition": "Nooksack" + }, + { + "code": "1525-5", + "display": "Port Madison", + "definition": "Port Madison" + }, + { + "code": "1526-3", + "display": "Puyallup", + "definition": "Puyallup" + }, + { + "code": "1527-1", + "display": "Samish", + "definition": "Samish" + }, + { + "code": "1528-9", + "display": "Sauk-Suiattle", + "definition": "Sauk-Suiattle" + }, + { + "code": "1529-7", + "display": "Skokomish", + "definition": "Skokomish" + }, + { + "code": "1530-5", + "display": "Skykomish", + "definition": "Skykomish" + }, + { + "code": "1531-3", + "display": "Snohomish", + "definition": "Snohomish" + }, + { + "code": "1532-1", + "display": "Snoqualmie", + "definition": "Snoqualmie" + }, + { + "code": "1533-9", + "display": "Squaxin Island", + "definition": "Squaxin Island" + }, + { + "code": "1534-7", + "display": "Steilacoom", + "definition": "Steilacoom" + }, + { + "code": "1535-4", + "display": "Stillaguamish", + "definition": "Stillaguamish" + }, + { + "code": "1536-2", + "display": "Suquamish", + "definition": "Suquamish" + }, + { + "code": "1537-0", + "display": "Swinomish", + "definition": "Swinomish" + }, + { + "code": "1538-8", + "display": "Tulalip", + "definition": "Tulalip" + }, + { + "code": "1539-6", + "display": "Upper Skagit", + "definition": "Upper Skagit" + }, + { + "code": "1552-9", + "display": "Iowa Sac and Fox", + "definition": "Iowa Sac and Fox" + }, + { + "code": "1553-7", + "display": "Missouri Sac and Fox", + "definition": "Missouri Sac and Fox" + }, + { + "code": "1554-5", + "display": "Oklahoma Sac and Fox", + "definition": "Oklahoma Sac and Fox" + }, + { + "code": "1567-7", + "display": "Big Cypress", + "definition": "Big Cypress" + }, + { + "code": "1568-5", + "display": "Brighton", + "definition": "Brighton" + }, + { + "code": "1569-3", + "display": "Florida Seminole", + "definition": "Florida Seminole" + }, + { + "code": "1570-1", + "display": "Hollywood Seminole", + "definition": "Hollywood Seminole" + }, + { + "code": "1571-9", + "display": "Oklahoma Seminole", + "definition": "Oklahoma Seminole" + }, + { + "code": "1574-3", + "display": "San Manual", + "definition": "San Manual" + }, + { + "code": "1579-2", + "display": "Absentee Shawnee", + "definition": "Absentee Shawnee" + }, + { + "code": "1580-0", + "display": "Eastern Shawnee", + "definition": "Eastern Shawnee" + }, + { + "code": "1587-5", + "display": "Battle Mountain", + "definition": "Battle Mountain" + }, + { + "code": "1588-3", + "display": "Duckwater", + "definition": "Duckwater" + }, + { + "code": "1589-1", + "display": "Elko", + "definition": "Elko" + }, + { + "code": "1590-9", + "display": "Ely", + "definition": "Ely" + }, + { + "code": "1591-7", + "display": "Goshute", + "definition": "Goshute" + }, + { + "code": "1592-5", + "display": "Panamint", + "definition": "Panamint" + }, + { + "code": "1593-3", + "display": "Ruby Valley", + "definition": "Ruby Valley" + }, + { + "code": "1594-1", + "display": "Skull Valley", + "definition": "Skull Valley" + }, + { + "code": "1595-8", + "display": "South Fork Shoshone", + "definition": "South Fork Shoshone" + }, + { + "code": "1596-6", + "display": "Te-Moak Western Shoshone", + "definition": "Te-Moak Western Shoshone" + }, + { + "code": "1597-4", + "display": "Timbi-Sha Shoshone", + "definition": "Timbi-Sha Shoshone" + }, + { + "code": "1598-2", + "display": "Washakie", + "definition": "Washakie" + }, + { + "code": "1599-0", + "display": "Wind River Shoshone", + "definition": "Wind River Shoshone" + }, + { + "code": "1600-6", + "display": "Yomba", + "definition": "Yomba" + }, + { + "code": "1603-0", + "display": "Duck Valley", + "definition": "Duck Valley" + }, + { + "code": "1604-8", + "display": "Fallon", + "definition": "Fallon" + }, + { + "code": "1605-5", + "display": "Fort McDermitt", + "definition": "Fort McDermitt" + }, + { + "code": "1610-5", + "display": "Blackfoot Sioux", + "definition": "Blackfoot Sioux" + }, + { + "code": "1611-3", + "display": "Brule Sioux", + "definition": "Brule Sioux" + }, + { + "code": "1612-1", + "display": "Cheyenne River Sioux", + "definition": "Cheyenne River Sioux" + }, + { + "code": "1613-9", + "display": "Crow Creek Sioux", + "definition": "Crow Creek Sioux" + }, + { + "code": "1614-7", + "display": "Dakota Sioux", + "definition": "Dakota Sioux" + }, + { + "code": "1615-4", + "display": "Flandreau Santee", + "definition": "Flandreau Santee" + }, + { + "code": "1616-2", + "display": "Fort Peck", + "definition": "Fort Peck" + }, + { + "code": "1617-0", + "display": "Lake Traverse Sioux", + "definition": "Lake Traverse Sioux" + }, + { + "code": "1618-8", + "display": "Lower Brule Sioux", + "definition": "Lower Brule Sioux" + }, + { + "code": "1619-6", + "display": "Lower Sioux", + "definition": "Lower Sioux" + }, + { + "code": "1620-4", + "display": "Mdewakanton Sioux", + "definition": "Mdewakanton Sioux" + }, + { + "code": "1621-2", + "display": "Miniconjou", + "definition": "Miniconjou" + }, + { + "code": "1622-0", + "display": "Oglala Sioux", + "definition": "Oglala Sioux" + }, + { + "code": "1623-8", + "display": "Pine Ridge Sioux", + "definition": "Pine Ridge Sioux" + }, + { + "code": "1624-6", + "display": "Pipestone Sioux", + "definition": "Pipestone Sioux" + }, + { + "code": "1625-3", + "display": "Prairie Island Sioux", + "definition": "Prairie Island Sioux" + }, + { + "code": "1626-1", + "display": "Prior Lake Sioux", + "definition": "Prior Lake Sioux" + }, + { + "code": "1627-9", + "display": "Rosebud Sioux", + "definition": "Rosebud Sioux" + }, + { + "code": "1628-7", + "display": "Sans Arc Sioux", + "definition": "Sans Arc Sioux" + }, + { + "code": "1629-5", + "display": "Santee Sioux", + "definition": "Santee Sioux" + }, + { + "code": "1630-3", + "display": "Sisseton-Wahpeton", + "definition": "Sisseton-Wahpeton" + }, + { + "code": "1631-1", + "display": "Sisseton Sioux", + "definition": "Sisseton Sioux" + }, + { + "code": "1632-9", + "display": "Spirit Lake Sioux", + "definition": "Spirit Lake Sioux" + }, + { + "code": "1633-7", + "display": "Standing Rock Sioux", + "definition": "Standing Rock Sioux" + }, + { + "code": "1634-5", + "display": "Teton Sioux", + "definition": "Teton Sioux" + }, + { + "code": "1635-2", + "display": "Two Kettle Sioux", + "definition": "Two Kettle Sioux" + }, + { + "code": "1636-0", + "display": "Upper Sioux", + "definition": "Upper Sioux" + }, + { + "code": "1637-8", + "display": "Wahpekute Sioux", + "definition": "Wahpekute Sioux" + }, + { + "code": "1638-6", + "display": "Wahpeton Sioux", + "definition": "Wahpeton Sioux" + }, + { + "code": "1639-4", + "display": "Wazhaza Sioux", + "definition": "Wazhaza Sioux" + }, + { + "code": "1640-2", + "display": "Yankton Sioux", + "definition": "Yankton Sioux" + }, + { + "code": "1641-0", + "display": "Yanktonai Sioux", + "definition": "Yanktonai Sioux" + }, + { + "code": "1654-3", + "display": "Ak-Chin", + "definition": "Ak-Chin" + }, + { + "code": "1655-0", + "display": "Gila Bend", + "definition": "Gila Bend" + }, + { + "code": "1656-8", + "display": "San Xavier", + "definition": "San Xavier" + }, + { + "code": "1657-6", + "display": "Sells", + "definition": "Sells" + }, + { + "code": "1668-3", + "display": "Cow Creek Umpqua", + "definition": "Cow Creek Umpqua" + }, + { + "code": "1671-7", + "display": "Allen Canyon", + "definition": "Allen Canyon" + }, + { + "code": "1672-5", + "display": "Uintah Ute", + "definition": "Uintah Ute" + }, + { + "code": "1673-3", + "display": "Ute Mountain Ute", + "definition": "Ute Mountain Ute" + }, + { + "code": "1680-8", + "display": "Gay Head Wampanoag", + "definition": "Gay Head Wampanoag" + }, + { + "code": "1681-6", + "display": "Mashpee Wampanoag", + "definition": "Mashpee Wampanoag" + }, + { + "code": "1688-1", + "display": "Alpine", + "definition": "Alpine" + }, + { + "code": "1689-9", + "display": "Carson", + "definition": "Carson" + }, + { + "code": "1690-7", + "display": "Dresslerville", + "definition": "Dresslerville" + }, + { + "code": "1697-2", + "display": "Ho-chunk", + "definition": "Ho-chunk" + }, + { + "code": "1698-0", + "display": "Nebraska Winnebago", + "definition": "Nebraska Winnebago" + }, + { + "code": "1705-3", + "display": "Table Bluff", + "definition": "Table Bluff" + }, + { + "code": "1712-9", + "display": "Barrio Libre", + "definition": "Barrio Libre" + }, + { + "code": "1713-7", + "display": "Pascua Yaqui", + "definition": "Pascua Yaqui" + }, + { + "code": "1718-6", + "display": "Chukchansi", + "definition": "Chukchansi" + }, + { + "code": "1719-4", + "display": "Tachi", + "definition": "Tachi" + }, + { + "code": "1720-2", + "display": "Tule River", + "definition": "Tule River" + }, + { + "code": "1725-1", + "display": "Cocopah", + "definition": "Cocopah" + }, + { + "code": "1726-9", + "display": "Havasupai", + "definition": "Havasupai" + }, + { + "code": "1727-7", + "display": "Hualapai", + "definition": "Hualapai" + }, + { + "code": "1728-5", + "display": "Maricopa", + "definition": "Maricopa" + }, + { + "code": "1729-3", + "display": "Mohave", + "definition": "Mohave" + }, + { + "code": "1730-1", + "display": "Quechan", + "definition": "Quechan" + }, + { + "code": "1731-9", + "display": "Yavapai", + "definition": "Yavapai" + }, + { + "code": "1733-5", + "display": "Coast Yurok", + "definition": "Coast Yurok" + }, + { + "code": "1737-6", + "display": "Alaska Indian", + "definition": "Alaska Indian" + }, + { + "code": "1840-8", + "display": "Eskimo", + "definition": "Eskimo" + }, + { + "code": "1966-1", + "display": "Aleut", + "definition": "Aleut" + }, + { + "code": "1739-2", + "display": "Alaskan Athabascan", + "definition": "Alaskan Athabascan" + }, + { + "code": "1811-9", + "display": "Southeast Alaska", + "definition": "Southeast Alaska" + }, + { + "code": "1740-0", + "display": "Ahtna", + "definition": "Ahtna" + }, + { + "code": "1741-8", + "display": "Alatna", + "definition": "Alatna" + }, + { + "code": "1742-6", + "display": "Alexander", + "definition": "Alexander" + }, + { + "code": "1743-4", + "display": "Allakaket", + "definition": "Allakaket" + }, + { + "code": "1744-2", + "display": "Alanvik", + "definition": "Alanvik" + }, + { + "code": "1745-9", + "display": "Anvik", + "definition": "Anvik" + }, + { + "code": "1746-7", + "display": "Arctic", + "definition": "Arctic" + }, + { + "code": "1747-5", + "display": "Beaver", + "definition": "Beaver" + }, + { + "code": "1748-3", + "display": "Birch Creek", + "definition": "Birch Creek" + }, + { + "code": "1749-1", + "display": "Cantwell", + "definition": "Cantwell" + }, + { + "code": "1750-9", + "display": "Chalkyitsik", + "definition": "Chalkyitsik" + }, + { + "code": "1751-7", + "display": "Chickaloon", + "definition": "Chickaloon" + }, + { + "code": "1752-5", + "display": "Chistochina", + "definition": "Chistochina" + }, + { + "code": "1753-3", + "display": "Chitina", + "definition": "Chitina" + }, + { + "code": "1754-1", + "display": "Circle", + "definition": "Circle" + }, + { + "code": "1755-8", + "display": "Cook Inlet", + "definition": "Cook Inlet" + }, + { + "code": "1756-6", + "display": "Copper Center", + "definition": "Copper Center" + }, + { + "code": "1757-4", + "display": "Copper River", + "definition": "Copper River" + }, + { + "code": "1758-2", + "display": "Dot Lake", + "definition": "Dot Lake" + }, + { + "code": "1759-0", + "display": "Doyon", + "definition": "Doyon" + }, + { + "code": "1760-8", + "display": "Eagle", + "definition": "Eagle" + }, + { + "code": "1761-6", + "display": "Eklutna", + "definition": "Eklutna" + }, + { + "code": "1762-4", + "display": "Evansville", + "definition": "Evansville" + }, + { + "code": "1763-2", + "display": "Fort Yukon", + "definition": "Fort Yukon" + }, + { + "code": "1764-0", + "display": "Gakona", + "definition": "Gakona" + }, + { + "code": "1765-7", + "display": "Galena", + "definition": "Galena" + }, + { + "code": "1766-5", + "display": "Grayling", + "definition": "Grayling" + }, + { + "code": "1767-3", + "display": "Gulkana", + "definition": "Gulkana" + }, + { + "code": "1768-1", + "display": "Healy Lake", + "definition": "Healy Lake" + }, + { + "code": "1769-9", + "display": "Holy Cross", + "definition": "Holy Cross" + }, + { + "code": "1770-7", + "display": "Hughes", + "definition": "Hughes" + }, + { + "code": "1771-5", + "display": "Huslia", + "definition": "Huslia" + }, + { + "code": "1772-3", + "display": "Iliamna", + "definition": "Iliamna" + }, + { + "code": "1773-1", + "display": "Kaltag", + "definition": "Kaltag" + }, + { + "code": "1774-9", + "display": "Kluti Kaah", + "definition": "Kluti Kaah" + }, + { + "code": "1775-6", + "display": "Knik", + "definition": "Knik" + }, + { + "code": "1776-4", + "display": "Koyukuk", + "definition": "Koyukuk" + }, + { + "code": "1777-2", + "display": "Lake Minchumina", + "definition": "Lake Minchumina" + }, + { + "code": "1778-0", + "display": "Lime", + "definition": "Lime" + }, + { + "code": "1779-8", + "display": "Mcgrath", + "definition": "Mcgrath" + }, + { + "code": "1780-6", + "display": "Manley Hot Springs", + "definition": "Manley Hot Springs" + }, + { + "code": "1781-4", + "display": "Mentasta Lake", + "definition": "Mentasta Lake" + }, + { + "code": "1782-2", + "display": "Minto", + "definition": "Minto" + }, + { + "code": "1783-0", + "display": "Nenana", + "definition": "Nenana" + }, + { + "code": "1784-8", + "display": "Nikolai", + "definition": "Nikolai" + }, + { + "code": "1785-5", + "display": "Ninilchik", + "definition": "Ninilchik" + }, + { + "code": "1786-3", + "display": "Nondalton", + "definition": "Nondalton" + }, + { + "code": "1787-1", + "display": "Northway", + "definition": "Northway" + }, + { + "code": "1788-9", + "display": "Nulato", + "definition": "Nulato" + }, + { + "code": "1789-7", + "display": "Pedro Bay", + "definition": "Pedro Bay" + }, + { + "code": "1790-5", + "display": "Rampart", + "definition": "Rampart" + }, + { + "code": "1791-3", + "display": "Ruby", + "definition": "Ruby" + }, + { + "code": "1792-1", + "display": "Salamatof", + "definition": "Salamatof" + }, + { + "code": "1793-9", + "display": "Seldovia", + "definition": "Seldovia" + }, + { + "code": "1794-7", + "display": "Slana", + "definition": "Slana" + }, + { + "code": "1795-4", + "display": "Shageluk", + "definition": "Shageluk" + }, + { + "code": "1796-2", + "display": "Stevens", + "definition": "Stevens" + }, + { + "code": "1797-0", + "display": "Stony River", + "definition": "Stony River" + }, + { + "code": "1798-8", + "display": "Takotna", + "definition": "Takotna" + }, + { + "code": "1799-6", + "display": "Tanacross", + "definition": "Tanacross" + }, + { + "code": "1800-2", + "display": "Tanaina", + "definition": "Tanaina" + }, + { + "code": "1801-0", + "display": "Tanana", + "definition": "Tanana" + }, + { + "code": "1802-8", + "display": "Tanana Chiefs", + "definition": "Tanana Chiefs" + }, + { + "code": "1803-6", + "display": "Tazlina", + "definition": "Tazlina" + }, + { + "code": "1804-4", + "display": "Telida", + "definition": "Telida" + }, + { + "code": "1805-1", + "display": "Tetlin", + "definition": "Tetlin" + }, + { + "code": "1806-9", + "display": "Tok", + "definition": "Tok" + }, + { + "code": "1807-7", + "display": "Tyonek", + "definition": "Tyonek" + }, + { + "code": "1808-5", + "display": "Venetie", + "definition": "Venetie" + }, + { + "code": "1809-3", + "display": "Wiseman", + "definition": "Wiseman" + }, + { + "code": "1813-5", + "display": "Tlingit-Haida", + "definition": "Tlingit-Haida" + }, + { + "code": "1837-4", + "display": "Tsimshian", + "definition": "Tsimshian" + }, + { + "code": "1814-3", + "display": "Angoon", + "definition": "Angoon" + }, + { + "code": "1815-0", + "display": "Central Council of Tlingit and Haida Tribes", + "definition": "Central Council of Tlingit and Haida Tribes" + }, + { + "code": "1816-8", + "display": "Chilkat", + "definition": "Chilkat" + }, + { + "code": "1817-6", + "display": "Chilkoot", + "definition": "Chilkoot" + }, + { + "code": "1818-4", + "display": "Craig", + "definition": "Craig" + }, + { + "code": "1819-2", + "display": "Douglas", + "definition": "Douglas" + }, + { + "code": "1820-0", + "display": "Haida", + "definition": "Haida" + }, + { + "code": "1821-8", + "display": "Hoonah", + "definition": "Hoonah" + }, + { + "code": "1822-6", + "display": "Hydaburg", + "definition": "Hydaburg" + }, + { + "code": "1823-4", + "display": "Kake", + "definition": "Kake" + }, + { + "code": "1824-2", + "display": "Kasaan", + "definition": "Kasaan" + }, + { + "code": "1825-9", + "display": "Kenaitze", + "definition": "Kenaitze" + }, + { + "code": "1826-7", + "display": "Ketchikan", + "definition": "Ketchikan" + }, + { + "code": "1827-5", + "display": "Klawock", + "definition": "Klawock" + }, + { + "code": "1828-3", + "display": "Pelican", + "definition": "Pelican" + }, + { + "code": "1829-1", + "display": "Petersburg", + "definition": "Petersburg" + }, + { + "code": "1830-9", + "display": "Saxman", + "definition": "Saxman" + }, + { + "code": "1831-7", + "display": "Sitka", + "definition": "Sitka" + }, + { + "code": "1832-5", + "display": "Tenakee Springs", + "definition": "Tenakee Springs" + }, + { + "code": "1833-3", + "display": "Tlingit", + "definition": "Tlingit" + }, + { + "code": "1834-1", + "display": "Wrangell", + "definition": "Wrangell" + }, + { + "code": "1835-8", + "display": "Yakutat", + "definition": "Yakutat" + }, + { + "code": "1838-2", + "display": "Metlakatla", + "definition": "Metlakatla" + }, + { + "code": "1842-4", + "display": "Greenland Eskimo", + "definition": "Greenland Eskimo" + }, + { + "code": "1844-0", + "display": "Inupiat Eskimo", + "definition": "Inupiat Eskimo" + }, + { + "code": "1891-1", + "display": "Siberian Eskimo", + "definition": "Siberian Eskimo" + }, + { + "code": "1896-0", + "display": "Yupik Eskimo", + "definition": "Yupik Eskimo" + }, + { + "code": "1845-7", + "display": "Ambler", + "definition": "Ambler" + }, + { + "code": "1846-5", + "display": "Anaktuvuk", + "definition": "Anaktuvuk" + }, + { + "code": "1847-3", + "display": "Anaktuvuk Pass", + "definition": "Anaktuvuk Pass" + }, + { + "code": "1848-1", + "display": "Arctic Slope Inupiat", + "definition": "Arctic Slope Inupiat" + }, + { + "code": "1849-9", + "display": "Arctic Slope Corporation", + "definition": "Arctic Slope Corporation" + }, + { + "code": "1850-7", + "display": "Atqasuk", + "definition": "Atqasuk" + }, + { + "code": "1851-5", + "display": "Barrow", + "definition": "Barrow" + }, + { + "code": "1852-3", + "display": "Bering Straits Inupiat", + "definition": "Bering Straits Inupiat" + }, + { + "code": "1853-1", + "display": "Brevig Mission", + "definition": "Brevig Mission" + }, + { + "code": "1854-9", + "display": "Buckland", + "definition": "Buckland" + }, + { + "code": "1855-6", + "display": "Chinik", + "definition": "Chinik" + }, + { + "code": "1856-4", + "display": "Council", + "definition": "Council" + }, + { + "code": "1857-2", + "display": "Deering", + "definition": "Deering" + }, + { + "code": "1858-0", + "display": "Elim", + "definition": "Elim" + }, + { + "code": "1859-8", + "display": "Golovin", + "definition": "Golovin" + }, + { + "code": "1860-6", + "display": "Inalik Diomede", + "definition": "Inalik Diomede" + }, + { + "code": "1861-4", + "display": "Inupiaq", + "definition": "Inupiaq" + }, + { + "code": "1862-2", + "display": "Kaktovik", + "definition": "Kaktovik" + }, + { + "code": "1863-0", + "display": "Kawerak", + "definition": "Kawerak" + }, + { + "code": "1864-8", + "display": "Kiana", + "definition": "Kiana" + }, + { + "code": "1865-5", + "display": "Kivalina", + "definition": "Kivalina" + }, + { + "code": "1866-3", + "display": "Kobuk", + "definition": "Kobuk" + }, + { + "code": "1867-1", + "display": "Kotzebue", + "definition": "Kotzebue" + }, + { + "code": "1868-9", + "display": "Koyuk", + "definition": "Koyuk" + }, + { + "code": "1869-7", + "display": "Kwiguk", + "definition": "Kwiguk" + }, + { + "code": "1870-5", + "display": "Mauneluk Inupiat", + "definition": "Mauneluk Inupiat" + }, + { + "code": "1871-3", + "display": "Nana Inupiat", + "definition": "Nana Inupiat" + }, + { + "code": "1872-1", + "display": "Noatak", + "definition": "Noatak" + }, + { + "code": "1873-9", + "display": "Nome", + "definition": "Nome" + }, + { + "code": "1874-7", + "display": "Noorvik", + "definition": "Noorvik" + }, + { + "code": "1875-4", + "display": "Nuiqsut", + "definition": "Nuiqsut" + }, + { + "code": "1876-2", + "display": "Point Hope", + "definition": "Point Hope" + }, + { + "code": "1877-0", + "display": "Point Lay", + "definition": "Point Lay" + }, + { + "code": "1878-8", + "display": "Selawik", + "definition": "Selawik" + }, + { + "code": "1879-6", + "display": "Shaktoolik", + "definition": "Shaktoolik" + }, + { + "code": "1880-4", + "display": "Shishmaref", + "definition": "Shishmaref" + }, + { + "code": "1881-2", + "display": "Shungnak", + "definition": "Shungnak" + }, + { + "code": "1882-0", + "display": "Solomon", + "definition": "Solomon" + }, + { + "code": "1883-8", + "display": "Teller", + "definition": "Teller" + }, + { + "code": "1884-6", + "display": "Unalakleet", + "definition": "Unalakleet" + }, + { + "code": "1885-3", + "display": "Wainwright", + "definition": "Wainwright" + }, + { + "code": "1886-1", + "display": "Wales", + "definition": "Wales" + }, + { + "code": "1887-9", + "display": "White Mountain", + "definition": "White Mountain" + }, + { + "code": "1888-7", + "display": "White Mountain Inupiat", + "definition": "White Mountain Inupiat" + }, + { + "code": "1889-5", + "display": "Mary's Igloo", + "definition": "Mary's Igloo" + }, + { + "code": "1892-9", + "display": "Gambell", + "definition": "Gambell" + }, + { + "code": "1893-7", + "display": "Savoonga", + "definition": "Savoonga" + }, + { + "code": "1894-5", + "display": "Siberian Yupik", + "definition": "Siberian Yupik" + }, + { + "code": "1897-8", + "display": "Akiachak", + "definition": "Akiachak" + }, + { + "code": "1898-6", + "display": "Akiak", + "definition": "Akiak" + }, + { + "code": "1899-4", + "display": "Alakanuk", + "definition": "Alakanuk" + }, + { + "code": "1900-0", + "display": "Aleknagik", + "definition": "Aleknagik" + }, + { + "code": "1901-8", + "display": "Andreafsky", + "definition": "Andreafsky" + }, + { + "code": "1902-6", + "display": "Aniak", + "definition": "Aniak" + }, + { + "code": "1903-4", + "display": "Atmautluak", + "definition": "Atmautluak" + }, + { + "code": "1904-2", + "display": "Bethel", + "definition": "Bethel" + }, + { + "code": "1905-9", + "display": "Bill Moore's Slough", + "definition": "Bill Moore's Slough" + }, + { + "code": "1906-7", + "display": "Bristol Bay Yupik", + "definition": "Bristol Bay Yupik" + }, + { + "code": "1907-5", + "display": "Calista Yupik", + "definition": "Calista Yupik" + }, + { + "code": "1908-3", + "display": "Chefornak", + "definition": "Chefornak" + }, + { + "code": "1909-1", + "display": "Chevak", + "definition": "Chevak" + }, + { + "code": "1910-9", + "display": "Chuathbaluk", + "definition": "Chuathbaluk" + }, + { + "code": "1911-7", + "display": "Clark's Point", + "definition": "Clark's Point" + }, + { + "code": "1912-5", + "display": "Crooked Creek", + "definition": "Crooked Creek" + }, + { + "code": "1913-3", + "display": "Dillingham", + "definition": "Dillingham" + }, + { + "code": "1914-1", + "display": "Eek", + "definition": "Eek" + }, + { + "code": "1915-8", + "display": "Ekuk", + "definition": "Ekuk" + }, + { + "code": "1916-6", + "display": "Ekwok", + "definition": "Ekwok" + }, + { + "code": "1917-4", + "display": "Emmonak", + "definition": "Emmonak" + }, + { + "code": "1918-2", + "display": "Goodnews Bay", + "definition": "Goodnews Bay" + }, + { + "code": "1919-0", + "display": "Hooper Bay", + "definition": "Hooper Bay" + }, + { + "code": "1920-8", + "display": "Iqurmuit (Russian Mission)", + "definition": "Iqurmuit (Russian Mission)" + }, + { + "code": "1921-6", + "display": "Kalskag", + "definition": "Kalskag" + }, + { + "code": "1922-4", + "display": "Kasigluk", + "definition": "Kasigluk" + }, + { + "code": "1923-2", + "display": "Kipnuk", + "definition": "Kipnuk" + }, + { + "code": "1924-0", + "display": "Koliganek", + "definition": "Koliganek" + }, + { + "code": "1925-7", + "display": "Kongiganak", + "definition": "Kongiganak" + }, + { + "code": "1926-5", + "display": "Kotlik", + "definition": "Kotlik" + }, + { + "code": "1927-3", + "display": "Kwethluk", + "definition": "Kwethluk" + }, + { + "code": "1928-1", + "display": "Kwigillingok", + "definition": "Kwigillingok" + }, + { + "code": "1929-9", + "display": "Levelock", + "definition": "Levelock" + }, + { + "code": "1930-7", + "display": "Lower Kalskag", + "definition": "Lower Kalskag" + }, + { + "code": "1931-5", + "display": "Manokotak", + "definition": "Manokotak" + }, + { + "code": "1932-3", + "display": "Marshall", + "definition": "Marshall" + }, + { + "code": "1933-1", + "display": "Mekoryuk", + "definition": "Mekoryuk" + }, + { + "code": "1934-9", + "display": "Mountain Village", + "definition": "Mountain Village" + }, + { + "code": "1935-6", + "display": "Naknek", + "definition": "Naknek" + }, + { + "code": "1936-4", + "display": "Napaumute", + "definition": "Napaumute" + }, + { + "code": "1937-2", + "display": "Napakiak", + "definition": "Napakiak" + }, + { + "code": "1938-0", + "display": "Napaskiak", + "definition": "Napaskiak" + }, + { + "code": "1939-8", + "display": "Newhalen", + "definition": "Newhalen" + }, + { + "code": "1940-6", + "display": "New Stuyahok", + "definition": "New Stuyahok" + }, + { + "code": "1941-4", + "display": "Newtok", + "definition": "Newtok" + }, + { + "code": "1942-2", + "display": "Nightmute", + "definition": "Nightmute" + }, + { + "code": "1943-0", + "display": "Nunapitchukv", + "definition": "Nunapitchukv" + }, + { + "code": "1944-8", + "display": "Oscarville", + "definition": "Oscarville" + }, + { + "code": "1945-5", + "display": "Pilot Station", + "definition": "Pilot Station" + }, + { + "code": "1946-3", + "display": "Pitkas Point", + "definition": "Pitkas Point" + }, + { + "code": "1947-1", + "display": "Platinum", + "definition": "Platinum" + }, + { + "code": "1948-9", + "display": "Portage Creek", + "definition": "Portage Creek" + }, + { + "code": "1949-7", + "display": "Quinhagak", + "definition": "Quinhagak" + }, + { + "code": "1950-5", + "display": "Red Devil", + "definition": "Red Devil" + }, + { + "code": "1951-3", + "display": "St. Michael", + "definition": "St. Michael" + }, + { + "code": "1952-1", + "display": "Scammon Bay", + "definition": "Scammon Bay" + }, + { + "code": "1953-9", + "display": "Sheldon's Point", + "definition": "Sheldon's Point" + }, + { + "code": "1954-7", + "display": "Sleetmute", + "definition": "Sleetmute" + }, + { + "code": "1955-4", + "display": "Stebbins", + "definition": "Stebbins" + }, + { + "code": "1956-2", + "display": "Togiak", + "definition": "Togiak" + }, + { + "code": "1957-0", + "display": "Toksook", + "definition": "Toksook" + }, + { + "code": "1958-8", + "display": "Tulukskak", + "definition": "Tulukskak" + }, + { + "code": "1959-6", + "display": "Tuntutuliak", + "definition": "Tuntutuliak" + }, + { + "code": "1960-4", + "display": "Tununak", + "definition": "Tununak" + }, + { + "code": "1961-2", + "display": "Twin Hills", + "definition": "Twin Hills" + }, + { + "code": "1962-0", + "display": "Georgetown (Yupik-Eskimo)", + "definition": "Georgetown (Yupik-Eskimo)" + }, + { + "code": "1963-8", + "display": "St. Mary's", + "definition": "St. Mary's" + }, + { + "code": "1964-6", + "display": "Umkumiate", + "definition": "Umkumiate" + }, + { + "code": "1968-7", + "display": "Alutiiq Aleut", + "definition": "Alutiiq Aleut" + }, + { + "code": "1972-9", + "display": "Bristol Bay Aleut", + "definition": "Bristol Bay Aleut" + }, + { + "code": "1984-4", + "display": "Chugach Aleut", + "definition": "Chugach Aleut" + }, + { + "code": "1990-1", + "display": "Eyak", + "definition": "Eyak" + }, + { + "code": "1992-7", + "display": "Koniag Aleut", + "definition": "Koniag Aleut" + }, + { + "code": "2002-4", + "display": "Sugpiaq", + "definition": "Sugpiaq" + }, + { + "code": "2004-0", + "display": "Suqpigaq", + "definition": "Suqpigaq" + }, + { + "code": "2006-5", + "display": "Unangan Aleut", + "definition": "Unangan Aleut" + }, + { + "code": "1969-5", + "display": "Tatitlek", + "definition": "Tatitlek" + }, + { + "code": "1970-3", + "display": "Ugashik", + "definition": "Ugashik" + }, + { + "code": "1973-7", + "display": "Chignik", + "definition": "Chignik" + }, + { + "code": "1974-5", + "display": "Chignik Lake", + "definition": "Chignik Lake" + }, + { + "code": "1975-2", + "display": "Egegik", + "definition": "Egegik" + }, + { + "code": "1976-0", + "display": "Igiugig", + "definition": "Igiugig" + }, + { + "code": "1977-8", + "display": "Ivanof Bay", + "definition": "Ivanof Bay" + }, + { + "code": "1978-6", + "display": "King Salmon", + "definition": "King Salmon" + }, + { + "code": "1979-4", + "display": "Kokhanok", + "definition": "Kokhanok" + }, + { + "code": "1980-2", + "display": "Perryville", + "definition": "Perryville" + }, + { + "code": "1981-0", + "display": "Pilot Point", + "definition": "Pilot Point" + }, + { + "code": "1982-8", + "display": "Port Heiden", + "definition": "Port Heiden" + }, + { + "code": "1985-1", + "display": "Chenega", + "definition": "Chenega" + }, + { + "code": "1986-9", + "display": "Chugach Corporation", + "definition": "Chugach Corporation" + }, + { + "code": "1987-7", + "display": "English Bay", + "definition": "English Bay" + }, + { + "code": "1988-5", + "display": "Port Graham", + "definition": "Port Graham" + }, + { + "code": "1993-5", + "display": "Akhiok", + "definition": "Akhiok" + }, + { + "code": "1994-3", + "display": "Agdaagux", + "definition": "Agdaagux" + }, + { + "code": "1995-0", + "display": "Karluk", + "definition": "Karluk" + }, + { + "code": "1996-8", + "display": "Kodiak", + "definition": "Kodiak" + }, + { + "code": "1997-6", + "display": "Larsen Bay", + "definition": "Larsen Bay" + }, + { + "code": "1998-4", + "display": "Old Harbor", + "definition": "Old Harbor" + }, + { + "code": "1999-2", + "display": "Ouzinkie", + "definition": "Ouzinkie" + }, + { + "code": "2000-8", + "display": "Port Lions", + "definition": "Port Lions" + }, + { + "code": "2007-3", + "display": "Akutan", + "definition": "Akutan" + }, + { + "code": "2008-1", + "display": "Aleut Corporation", + "definition": "Aleut Corporation" + }, + { + "code": "2009-9", + "display": "Aleutian", + "definition": "Aleutian" + }, + { + "code": "2010-7", + "display": "Aleutian Islander", + "definition": "Aleutian Islander" + }, + { + "code": "2011-5", + "display": "Atka", + "definition": "Atka" + }, + { + "code": "2012-3", + "display": "Belkofski", + "definition": "Belkofski" + }, + { + "code": "2013-1", + "display": "Chignik Lagoon", + "definition": "Chignik Lagoon" + }, + { + "code": "2014-9", + "display": "King Cove", + "definition": "King Cove" + }, + { + "code": "2015-6", + "display": "False Pass", + "definition": "False Pass" + }, + { + "code": "2016-4", + "display": "Nelson Lagoon", + "definition": "Nelson Lagoon" + }, + { + "code": "2017-2", + "display": "Nikolski", + "definition": "Nikolski" + }, + { + "code": "2018-0", + "display": "Pauloff Harbor", + "definition": "Pauloff Harbor" + }, + { + "code": "2019-8", + "display": "Qagan Toyagungin", + "definition": "Qagan Toyagungin" + }, + { + "code": "2020-6", + "display": "Qawalangin", + "definition": "Qawalangin" + }, + { + "code": "2021-4", + "display": "St. George", + "definition": "St. George" + }, + { + "code": "2022-2", + "display": "St. Paul", + "definition": "St. Paul" + }, + { + "code": "2023-0", + "display": "Sand Point", + "definition": "Sand Point" + }, + { + "code": "2024-8", + "display": "South Naknek", + "definition": "South Naknek" + }, + { + "code": "2025-5", + "display": "Unalaska", + "definition": "Unalaska" + }, + { + "code": "2026-3", + "display": "Unga", + "definition": "Unga" + } + ] + }, + { + "code": "2028-9", + "display": "Asian", + "definition": "Asian", + "concept": [ + { + "code": "2029-7", + "display": "Asian Indian", + "definition": "Asian Indian" + }, + { + "code": "2030-5", + "display": "Bangladeshi", + "definition": "Bangladeshi" + }, + { + "code": "2031-3", + "display": "Bhutanese", + "definition": "Bhutanese" + }, + { + "code": "2032-1", + "display": "Burmese", + "definition": "Burmese" + }, + { + "code": "2033-9", + "display": "Cambodian", + "definition": "Cambodian" + }, + { + "code": "2034-7", + "display": "Chinese", + "definition": "Chinese" + }, + { + "code": "2035-4", + "display": "Taiwanese", + "definition": "Taiwanese" + }, + { + "code": "2036-2", + "display": "Filipino", + "definition": "Filipino" + }, + { + "code": "2037-0", + "display": "Hmong", + "definition": "Hmong" + }, + { + "code": "2038-8", + "display": "Indonesian", + "definition": "Indonesian" + }, + { + "code": "2039-6", + "display": "Japanese", + "definition": "Japanese" + }, + { + "code": "2040-4", + "display": "Korean", + "definition": "Korean" + }, + { + "code": "2041-2", + "display": "Laotian", + "definition": "Laotian" + }, + { + "code": "2042-0", + "display": "Malaysian", + "definition": "Malaysian" + }, + { + "code": "2043-8", + "display": "Okinawan", + "definition": "Okinawan" + }, + { + "code": "2044-6", + "display": "Pakistani", + "definition": "Pakistani" + }, + { + "code": "2045-3", + "display": "Sri Lankan", + "definition": "Sri Lankan" + }, + { + "code": "2046-1", + "display": "Thai", + "definition": "Thai" + }, + { + "code": "2047-9", + "display": "Vietnamese", + "definition": "Vietnamese" + }, + { + "code": "2048-7", + "display": "Iwo Jiman", + "definition": "Iwo Jiman" + }, + { + "code": "2049-5", + "display": "Maldivian", + "definition": "Maldivian" + }, + { + "code": "2050-3", + "display": "Nepalese", + "definition": "Nepalese" + }, + { + "code": "2051-1", + "display": "Singaporean", + "definition": "Singaporean" + }, + { + "code": "2052-9", + "display": "Madagascar", + "definition": "Madagascar" + } + ] + }, + { + "code": "2054-5", + "display": "Black or African American", + "definition": "Black or African American", + "concept": [ + { + "code": "2056-0", + "display": "Black", + "definition": "Black" + }, + { + "code": "2058-6", + "display": "African American", + "definition": "African American" + }, + { + "code": "2060-2", + "display": "African", + "definition": "African" + }, + { + "code": "2067-7", + "display": "Bahamian", + "definition": "Bahamian" + }, + { + "code": "2068-5", + "display": "Barbadian", + "definition": "Barbadian" + }, + { + "code": "2069-3", + "display": "Dominican", + "definition": "Dominican" + }, + { + "code": "2070-1", + "display": "Dominica Islander", + "definition": "Dominica Islander" + }, + { + "code": "2071-9", + "display": "Haitian", + "definition": "Haitian" + }, + { + "code": "2072-7", + "display": "Jamaican", + "definition": "Jamaican" + }, + { + "code": "2073-5", + "display": "Tobagoan", + "definition": "Tobagoan" + }, + { + "code": "2074-3", + "display": "Trinidadian", + "definition": "Trinidadian" + }, + { + "code": "2075-0", + "display": "West Indian", + "definition": "West Indian" + }, + { + "code": "2061-0", + "display": "Botswanan", + "definition": "Botswanan" + }, + { + "code": "2062-8", + "display": "Ethiopian", + "definition": "Ethiopian" + }, + { + "code": "2063-6", + "display": "Liberian", + "definition": "Liberian" + }, + { + "code": "2064-4", + "display": "Namibian", + "definition": "Namibian" + }, + { + "code": "2065-1", + "display": "Nigerian", + "definition": "Nigerian" + }, + { + "code": "2066-9", + "display": "Zairean", + "definition": "Zairean" + } + ] + }, + { + "code": "2076-8", + "display": "Native Hawaiian or Other Pacific Islander", + "definition": "Native Hawaiian or Other Pacific Islander", + "concept": [ + { + "code": "2078-4", + "display": "Polynesian", + "definition": "Polynesian" + }, + { + "code": "2085-9", + "display": "Micronesian", + "definition": "Micronesian" + }, + { + "code": "2100-6", + "display": "Melanesian", + "definition": "Melanesian" + }, + { + "code": "2500-7", + "display": "Other Pacific Islander", + "definition": "Other Pacific Islander" + }, + { + "code": "2079-2", + "display": "Native Hawaiian", + "definition": "Native Hawaiian" + }, + { + "code": "2080-0", + "display": "Samoan", + "definition": "Samoan" + }, + { + "code": "2081-8", + "display": "Tahitian", + "definition": "Tahitian" + }, + { + "code": "2082-6", + "display": "Tongan", + "definition": "Tongan" + }, + { + "code": "2083-4", + "display": "Tokelauan", + "definition": "Tokelauan" + }, + { + "code": "2086-7", + "display": "Guamanian or Chamorro", + "definition": "Guamanian or Chamorro" + }, + { + "code": "2087-5", + "display": "Guamanian", + "definition": "Guamanian" + }, + { + "code": "2088-3", + "display": "Chamorro", + "definition": "Chamorro" + }, + { + "code": "2089-1", + "display": "Mariana Islander", + "definition": "Mariana Islander" + }, + { + "code": "2090-9", + "display": "Marshallese", + "definition": "Marshallese" + }, + { + "code": "2091-7", + "display": "Palauan", + "definition": "Palauan" + }, + { + "code": "2092-5", + "display": "Carolinian", + "definition": "Carolinian" + }, + { + "code": "2093-3", + "display": "Kosraean", + "definition": "Kosraean" + }, + { + "code": "2094-1", + "display": "Pohnpeian", + "definition": "Pohnpeian" + }, + { + "code": "2095-8", + "display": "Saipanese", + "definition": "Saipanese" + }, + { + "code": "2096-6", + "display": "Kiribati", + "definition": "Kiribati" + }, + { + "code": "2097-4", + "display": "Chuukese", + "definition": "Chuukese" + }, + { + "code": "2098-2", + "display": "Yapese", + "definition": "Yapese" + }, + { + "code": "2101-4", + "display": "Fijian", + "definition": "Fijian" + }, + { + "code": "2102-2", + "display": "Papua New Guinean", + "definition": "Papua New Guinean" + }, + { + "code": "2103-0", + "display": "Solomon Islander", + "definition": "Solomon Islander" + }, + { + "code": "2104-8", + "display": "New Hebrides", + "definition": "New Hebrides" + } + ] + }, + { + "code": "2106-3", + "display": "White", + "definition": "White", + "concept": [ + { + "code": "2108-9", + "display": "European", + "definition": "European" + }, + { + "code": "2118-8", + "display": "Middle Eastern or North African", + "definition": "Middle Eastern or North African" + }, + { + "code": "2129-5", + "display": "Arab", + "definition": "Arab" + }, + { + "code": "2109-7", + "display": "Armenian", + "definition": "Armenian" + }, + { + "code": "2110-5", + "display": "English", + "definition": "English" + }, + { + "code": "2111-3", + "display": "French", + "definition": "French" + }, + { + "code": "2112-1", + "display": "German", + "definition": "German" + }, + { + "code": "2113-9", + "display": "Irish", + "definition": "Irish" + }, + { + "code": "2114-7", + "display": "Italian", + "definition": "Italian" + }, + { + "code": "2115-4", + "display": "Polish", + "definition": "Polish" + }, + { + "code": "2116-2", + "display": "Scottish", + "definition": "Scottish" + }, + { + "code": "2119-6", + "display": "Assyrian", + "definition": "Assyrian" + }, + { + "code": "2120-4", + "display": "Egyptian", + "definition": "Egyptian" + }, + { + "code": "2121-2", + "display": "Iranian", + "definition": "Iranian" + }, + { + "code": "2122-0", + "display": "Iraqi", + "definition": "Iraqi" + }, + { + "code": "2123-8", + "display": "Lebanese", + "definition": "Lebanese" + }, + { + "code": "2124-6", + "display": "Palestinian", + "definition": "Palestinian" + }, + { + "code": "2125-3", + "display": "Syrian", + "definition": "Syrian" + }, + { + "code": "2126-1", + "display": "Afghanistani", + "definition": "Afghanistani" + }, + { + "code": "2127-9", + "display": "Israeili", + "definition": "Israeili" + } + ] + }, + { + "code": "2131-1", + "display": "Other Race", + "definition": "Note that this term remains in the table for completeness, even though within HL7, the notion of Other code is deprecated." + } + ] + }, + { + "code": "2133-7", + "display": "Ethnicity", + "definition": "Ethnicity Note that this is an abstract 'grouping' concept and not for use as a real concept", + "property": [ + { + "code": "abstract", + "valueBoolean": true + } + ], + "concept": [ + { + "code": "2135-2", + "display": "Hispanic or Latino", + "definition": "Hispanic or Latino", + "concept": [ + { + "code": "2137-8", + "display": "Spaniard", + "definition": "Spaniard" + }, + { + "code": "2148-5", + "display": "Mexican", + "definition": "Mexican" + }, + { + "code": "2155-0", + "display": "Central American", + "definition": "Central American" + }, + { + "code": "2165-9", + "display": "South American", + "definition": "South American" + }, + { + "code": "2178-2", + "display": "Latin American", + "definition": "Latin American" + }, + { + "code": "2180-8", + "display": "Puerto Rican", + "definition": "Puerto Rican" + }, + { + "code": "2182-4", + "display": "Cuban", + "definition": "Cuban" + }, + { + "code": "2184-0", + "display": "Dominican", + "definition": "Dominican" + }, + { + "code": "2138-6", + "display": "Andalusian", + "definition": "Andalusian" + }, + { + "code": "2139-4", + "display": "Asturian", + "definition": "Asturian" + }, + { + "code": "2140-2", + "display": "Castillian", + "definition": "Castillian" + }, + { + "code": "2141-0", + "display": "Catalonian", + "definition": "Catalonian" + }, + { + "code": "2142-8", + "display": "Belearic Islander", + "definition": "Belearic Islander" + }, + { + "code": "2143-6", + "display": "Gallego", + "definition": "Gallego" + }, + { + "code": "2144-4", + "display": "Valencian", + "definition": "Valencian" + }, + { + "code": "2145-1", + "display": "Canarian", + "definition": "Canarian" + }, + { + "code": "2146-9", + "display": "Spanish Basque", + "definition": "Spanish Basque" + }, + { + "code": "2149-3", + "display": "Mexican American", + "definition": "Mexican American" + }, + { + "code": "2150-1", + "display": "Mexicano", + "definition": "Mexicano" + }, + { + "code": "2151-9", + "display": "Chicano", + "definition": "Chicano" + }, + { + "code": "2152-7", + "display": "La Raza", + "definition": "La Raza" + }, + { + "code": "2153-5", + "display": "Mexican American Indian", + "definition": "Mexican American Indian" + }, + { + "code": "2156-8", + "display": "Costa Rican", + "definition": "Costa Rican" + }, + { + "code": "2157-6", + "display": "Guatemalan", + "definition": "Guatemalan" + }, + { + "code": "2158-4", + "display": "Honduran", + "definition": "Honduran" + }, + { + "code": "2159-2", + "display": "Nicaraguan", + "definition": "Nicaraguan" + }, + { + "code": "2160-0", + "display": "Panamanian", + "definition": "Panamanian" + }, + { + "code": "2161-8", + "display": "Salvadoran", + "definition": "Salvadoran" + }, + { + "code": "2162-6", + "display": "Central American Indian", + "definition": "Central American Indian" + }, + { + "code": "2163-4", + "display": "Canal Zone", + "definition": "Canal Zone" + }, + { + "code": "2166-7", + "display": "Argentinean", + "definition": "Argentinean" + }, + { + "code": "2167-5", + "display": "Bolivian", + "definition": "Bolivian" + }, + { + "code": "2168-3", + "display": "Chilean", + "definition": "Chilean" + }, + { + "code": "2169-1", + "display": "Colombian", + "definition": "Colombian" + }, + { + "code": "2170-9", + "display": "Ecuadorian", + "definition": "Ecuadorian" + }, + { + "code": "2171-7", + "display": "Paraguayan", + "definition": "Paraguayan" + }, + { + "code": "2172-5", + "display": "Peruvian", + "definition": "Peruvian" + }, + { + "code": "2173-3", + "display": "Uruguayan", + "definition": "Uruguayan" + }, + { + "code": "2174-1", + "display": "Venezuelan", + "definition": "Venezuelan" + }, + { + "code": "2175-8", + "display": "South American Indian", + "definition": "South American Indian" + }, + { + "code": "2176-6", + "display": "Criollo", + "definition": "Criollo" + } + ] + }, + { + "code": "2186-5", + "display": "Not Hispanic or Latino", + "definition": "Note that this term remains in the table for completeness, even though within HL7, the notion of \"not otherwise coded\" term is deprecated." + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CodeSystem-condition-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CodeSystem-condition-category.json new file mode 100644 index 00000000000..c7f7be58f57 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CodeSystem-condition-category.json @@ -0,0 +1,65 @@ +{ + "resourceType": "CodeSystem", + "id": "condition-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "version": "3.1.1", + "name": "USCoreConditionCategoryExtensionCodes", + "title": "US Core Condition Category Extension Codes", + "status": "active", + "date": "2020-08-28T10:54:27+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.\n", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "content": "complete", + "property": [ + { + "code": "status", + "uri": "http://hl7.org/fhir/concept-properties#status", + "description": "A property that indicates the status of the concept. One of active, experimental, deprecated, retired", + "type": "code" + } + ], + "concept": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby", + "valueCoding": { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + } + ], + "code": "problem", + "display": "Problem", + "definition": "The patients problems as identified by the provider(s). Items on the provider’s problem list", + "property": [ + { + "code": "status", + "valueCode": "deprecated" + } + ] + }, + { + "code": "health-concern", + "display": "Health Concern", + "definition": "Additional health concerns from other stakeholders which are outside the provider’s problem list." + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CodeSystem-us-core-documentreference-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CodeSystem-us-core-documentreference-category.json new file mode 100644 index 00000000000..134dec20475 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CodeSystem-us-core-documentreference-category.json @@ -0,0 +1,37 @@ +{ + "resourceType": "CodeSystem", + "id": "us-core-documentreference-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "version": "3.1.1", + "name": "USCoreDocumentReferencesCategoryCodes", + "title": "US Core DocumentReferences Category Codes", + "status": "active", + "date": "2019-05-21", + "description": "The US Core DocumentReferences Type Code System is a 'starter set' of categories supported for fetching and storing DocumentReference Resources.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category|3.1.1", + "content": "complete", + "count": 2, + "concept": [ + { + "code": "clinical-note", + "display": "Clinical Note", + "definition": "Part of health record where healthcare professionals record details to document a patient's clinical status or achievements during the course of a hospitalization or over the course of outpatient care ([Wikipedia](https://en.wikipedia.org/wiki/Progress_note))" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CodeSystem-us-core-provenance-participant-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CodeSystem-us-core-provenance-participant-type.json new file mode 100644 index 00000000000..ae1de20613a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/CodeSystem-us-core-provenance-participant-type.json @@ -0,0 +1,36 @@ +{ + "resourceType": "CodeSystem", + "id": "us-core-provenance-participant-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", + "version": "3.1.1", + "name": "USCoreProvenancePaticipantTypeExtensionCodes", + "title": "US Core Provenance Participant Type Extension Codes", + "status": "active", + "date": "2020-08-28T10:54:27+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.\n", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "transmitter", + "display": "Transmitter", + "definition": "The entity that provided the copy to your system." + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ConceptMap-ndc-cvx.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ConceptMap-ndc-cvx.json new file mode 100644 index 00000000000..9cfa532801a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ConceptMap-ndc-cvx.json @@ -0,0 +1,2961 @@ +{ + "resourceType": "ConceptMap", + "id": "ndc-cvx", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ConceptMap/ndc-cvx", + "version": "3.1.1", + "name": "USCoreNDCtoCVXCodeMapping", + "title": "US Core NDC to CVX Code Mapping", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "description": "Unit of Use [NDC code] (https://www2a.cdc.gov/vaccines/iis/iisstandards/ndc_crosswalk.asp) mapping to the [CVX Vaccine codes](https://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx). Note: source = NDC and target = CVX", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "Based upon the 2015 Edition Certification Requirements, the NDC vaccine codes SHOULD be supported as translations to the CVX vaccine codes.", + "sourceCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-ndc-vaccine-codes|3.1.1", + "targetCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-vaccines-cvx|3.1.1", + "group": [ + { + "element": [ + { + "code": "00005-0100-02", + "target": [ + { + "code": "162", + "equivalence": "wider" + } + ] + }, + { + "code": "00005-0100-05", + "target": [ + { + "code": "162", + "equivalence": "wider" + } + ] + }, + { + "code": "00005-0100-10", + "target": [ + { + "code": "162", + "equivalence": "wider" + } + ] + }, + { + "code": "00005-1970-50", + "target": [ + { + "code": "100", + "equivalence": "wider" + } + ] + }, + { + "code": "00005-1971-02", + "target": [ + { + "code": "133", + "equivalence": "wider" + } + ] + }, + { + "code": "00005-1971-04", + "target": [ + { + "code": "133", + "equivalence": "wider" + } + ] + }, + { + "code": "00005-1971-05", + "target": [ + { + "code": "133", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4045-00", + "target": [ + { + "code": "62", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4045-41", + "target": [ + { + "code": "62", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4047-20", + "target": [ + { + "code": "116", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4047-41", + "target": [ + { + "code": "116", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4093-02", + "target": [ + { + "code": "08", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4093-09", + "target": [ + { + "code": "08", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4094-02", + "target": [ + { + "code": "43", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4094-09", + "target": [ + { + "code": "43", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4095-02", + "target": [ + { + "code": "83", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4095-09", + "target": [ + { + "code": "83", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4096-02", + "target": [ + { + "code": "52", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4096-09", + "target": [ + { + "code": "52", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4109-02", + "target": [ + { + "code": "62", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4109-09", + "target": [ + { + "code": "62", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4119-02", + "target": [ + { + "code": "165", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4119-03", + "target": [ + { + "code": "165", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4121-02", + "target": [ + { + "code": "165", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4133-41", + "target": [ + { + "code": "09", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4171-00", + "target": [ + { + "code": "94", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4681-00", + "target": [ + { + "code": "03", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4739-00", + "target": [ + { + "code": "33", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4826-00", + "target": [ + { + "code": "21", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4827-00", + "target": [ + { + "code": "21", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4831-41", + "target": [ + { + "code": "83", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4837-02", + "target": [ + { + "code": "33", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4837-03", + "target": [ + { + "code": "33", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4841-00", + "target": [ + { + "code": "52", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4841-41", + "target": [ + { + "code": "52", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4897-00", + "target": [ + { + "code": "49", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4898-00", + "target": [ + { + "code": "51", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4943-00", + "target": [ + { + "code": "33", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4963-00", + "target": [ + { + "code": "121", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4963-41", + "target": [ + { + "code": "121", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4980-00", + "target": [ + { + "code": "08", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4981-00", + "target": [ + { + "code": "08", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4992-00", + "target": [ + { + "code": "44", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4995-00", + "target": [ + { + "code": "43", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4995-41", + "target": [ + { + "code": "43", + "equivalence": "wider" + } + ] + }, + { + "code": "00006-4999-00", + "target": [ + { + "code": "94", + "equivalence": "wider" + } + ] + }, + { + "code": "00052-0603-02", + "target": [ + { + "code": "19", + "equivalence": "wider" + } + ] + }, + { + "code": "13533-0131-01", + "target": [ + { + "code": "09", + "equivalence": "wider" + } + ] + }, + { + "code": "14362-0111-04", + "target": [ + { + "code": "09", + "equivalence": "wider" + } + ] + }, + { + "code": "17478-0131-01", + "target": [ + { + "code": "09", + "equivalence": "wider" + } + ] + }, + { + "code": "19515-0845-11", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "19515-0850-52", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "19515-0889-07", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "19515-0890-07", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "19515-0891-11", + "target": [ + { + "code": "158", + "equivalence": "wider" + } + ] + }, + { + "code": "19515-0893-07", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "19515-0894-52", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "19515-0895-11", + "target": [ + { + "code": "158", + "equivalence": "wider" + } + ] + }, + { + "code": "19515-0896-11", + "target": [ + { + "code": "158", + "equivalence": "wider" + } + ] + }, + { + "code": "19515-0898-11", + "target": [ + { + "code": "158", + "equivalence": "wider" + } + ] + }, + { + "code": "19515-0900-11", + "target": [ + { + "code": "158", + "equivalence": "wider" + } + ] + }, + { + "code": "19515-0901-52", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "19515-0903-11", + "target": [ + { + "code": "158", + "equivalence": "wider" + } + ] + }, + { + "code": "19515-0908-52", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "19515-0909-52", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "19515-0912-52", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "21695-0413-01", + "target": [ + { + "code": "09", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0010-01", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0013-01", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0014-01", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0015-01", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0016-01", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0017-01", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0018-01", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0110-10", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0113-10", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0114-10", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0115-10", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0116-10", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0117-10", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0118-10", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0316-01", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0317-01", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0318-01", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0416-10", + "target": [ + { + "code": "158", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0417-10", + "target": [ + { + "code": "158", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0418-10", + "target": [ + { + "code": "158", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0519-01", + "target": [ + { + "code": "126", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0519-25", + "target": [ + { + "code": "126", + "equivalence": "wider" + } + ] + }, + { + "code": "33332-0629-10", + "target": [ + { + "code": "127", + "equivalence": "wider" + } + ] + }, + { + "code": "42515-0001-01", + "target": [ + { + "code": "134", + "equivalence": "wider" + } + ] + }, + { + "code": "42515-0001-01", + "target": [ + { + "code": "134", + "equivalence": "wider" + } + ] + }, + { + "code": "42515-0001-01", + "target": [ + { + "code": "134", + "equivalence": "wider" + } + ] + }, + { + "code": "42515-0001-01", + "target": [ + { + "code": "134", + "equivalence": "wider" + } + ] + }, + { + "code": "42515-0002-01", + "target": [ + { + "code": "134", + "equivalence": "wider" + } + ] + }, + { + "code": "42874-0012-10", + "target": [ + { + "code": "155", + "equivalence": "wider" + } + ] + }, + { + "code": "42874-0013-10", + "target": [ + { + "code": "155", + "equivalence": "wider" + } + ] + }, + { + "code": "42874-0014-10", + "target": [ + { + "code": "155", + "equivalence": "wider" + } + ] + }, + { + "code": "42874-0015-10", + "target": [ + { + "code": "155", + "equivalence": "wider" + } + ] + }, + { + "code": "42874-0016-10", + "target": [ + { + "code": "155", + "equivalence": "wider" + } + ] + }, + { + "code": "42874-0017-10", + "target": [ + { + "code": "155", + "equivalence": "wider" + } + ] + }, + { + "code": "42874-0117-10", + "target": [ + { + "code": "185", + "equivalence": "wider" + } + ] + }, + { + "code": "43528-0002-05", + "target": [ + { + "code": "189", + "equivalence": "wider" + } + ] + }, + { + "code": "43528-0003-05", + "target": [ + { + "code": "189", + "equivalence": "wider" + } + ] + }, + { + "code": "46028-0114-01", + "target": [ + { + "code": "163", + "equivalence": "wider" + } + ] + }, + { + "code": "46028-0114-02", + "target": [ + { + "code": "163", + "equivalence": "wider" + } + ] + }, + { + "code": "46028-0208-01", + "target": [ + { + "code": "136", + "equivalence": "wider" + } + ] + }, + { + "code": "46028-0208-01", + "target": [ + { + "code": "136", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0010-10", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0010-25", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0010-50", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0011-10", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0011-50", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0012-10", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0012-50", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0013-10", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0013-50", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0014-50", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0111-25", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0112-25", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0113-25", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0215-10", + "target": [ + { + "code": "113", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0215-15", + "target": [ + { + "code": "113", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0225-10", + "target": [ + { + "code": "28", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0250-51", + "target": [ + { + "code": "175", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0278-10", + "target": [ + { + "code": "28", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0286-01", + "target": [ + { + "code": "106", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0286-05", + "target": [ + { + "code": "106", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0286-10", + "target": [ + { + "code": "106", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0291-10", + "target": [ + { + "code": "113", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0291-83", + "target": [ + { + "code": "113", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0298-10", + "target": [ + { + "code": "20", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0386-15", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0387-65", + "target": [ + { + "code": "135", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0388-15", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0389-65", + "target": [ + { + "code": "135", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0390-15", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0391-65", + "target": [ + { + "code": "135", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0392-15", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0393-65", + "target": [ + { + "code": "135", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0394-15", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0395-65", + "target": [ + { + "code": "135", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0396-15", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0397-65", + "target": [ + { + "code": "135", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0399-65", + "target": [ + { + "code": "135", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0400-05", + "target": [ + { + "code": "115", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0400-10", + "target": [ + { + "code": "115", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0400-15", + "target": [ + { + "code": "115", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0400-20", + "target": [ + { + "code": "115", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0401-65", + "target": [ + { + "code": "135", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0403-65", + "target": [ + { + "code": "135", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0413-10", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0413-50", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0414-10", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0414-50", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0415-10", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0416-10", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0416-50", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0417-10", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0417-50", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0418-10", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0418-50", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0489-01", + "target": [ + { + "code": "32", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0489-91", + "target": [ + { + "code": "32", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0510-05", + "target": [ + { + "code": "120", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0510-05", + "target": [ + { + "code": "120", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0513-25", + "target": [ + { + "code": "161", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0514-25", + "target": [ + { + "code": "161", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0516-25", + "target": [ + { + "code": "161", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0517-25", + "target": [ + { + "code": "161", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0518-25", + "target": [ + { + "code": "161", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0545-03", + "target": [ + { + "code": "48", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0545-05", + "target": [ + { + "code": "48", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0562-10", + "target": [ + { + "code": "130", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0589-05", + "target": [ + { + "code": "114", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0621-15", + "target": [ + { + "code": "158", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0625-15", + "target": [ + { + "code": "158", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0627-15", + "target": [ + { + "code": "158", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0629-15", + "target": [ + { + "code": "158", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0640-15", + "target": [ + { + "code": "127", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0650-10", + "target": [ + { + "code": "126", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0650-25", + "target": [ + { + "code": "126", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0650-50", + "target": [ + { + "code": "126", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0650-70", + "target": [ + { + "code": "126", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0650-90", + "target": [ + { + "code": "126", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0703-55", + "target": [ + { + "code": "144", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0705-55", + "target": [ + { + "code": "144", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0707-55", + "target": [ + { + "code": "144", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0708-40", + "target": [ + { + "code": "166", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0709-55", + "target": [ + { + "code": "144", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0710-40", + "target": [ + { + "code": "166", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0712-40", + "target": [ + { + "code": "166", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0718-10", + "target": [ + { + "code": "185", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0790-20", + "target": [ + { + "code": "101", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0790-51", + "target": [ + { + "code": "101", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0800-83", + "target": [ + { + "code": "35", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0820-10", + "target": [ + { + "code": "35", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0860-10", + "target": [ + { + "code": "10", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0860-10", + "target": [ + { + "code": "10", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0860-55", + "target": [ + { + "code": "10", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0913-01", + "target": [ + { + "code": "183", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0915-01", + "target": [ + { + "code": "37", + "equivalence": "wider" + } + ] + }, + { + "code": "49281-0915-05", + "target": [ + { + "code": "37", + "equivalence": "wider" + } + ] + }, + { + "code": "50090-1693-09", + "target": [ + { + "code": "10", + "equivalence": "wider" + } + ] + }, + { + "code": "50090-2883-00", + "target": [ + { + "code": "20", + "equivalence": "wider" + } + ] + }, + { + "code": "50090-3096-00", + "target": [ + { + "code": "176", + "equivalence": "wider" + } + ] + }, + { + "code": "50090-3469-00", + "target": [ + { + "code": "189", + "equivalence": "wider" + } + ] + }, + { + "code": "51285-0138-50", + "target": [ + { + "code": "143", + "equivalence": "wider" + } + ] + }, + { + "code": "51285-0138-50", + "target": [ + { + "code": "143", + "equivalence": "wider" + } + ] + }, + { + "code": "54868-0734-00", + "target": [ + { + "code": "43", + "equivalence": "wider" + } + ] + }, + { + "code": "54868-0980-00", + "target": [ + { + "code": "03", + "equivalence": "wider" + } + ] + }, + { + "code": "54868-2219-00", + "target": [ + { + "code": "43", + "equivalence": "wider" + } + ] + }, + { + "code": "54868-2219-01", + "target": [ + { + "code": "43", + "equivalence": "wider" + } + ] + }, + { + "code": "54868-3339-01", + "target": [ + { + "code": "33", + "equivalence": "wider" + } + ] + }, + { + "code": "54868-4320-00", + "target": [ + { + "code": "33", + "equivalence": "wider" + } + ] + }, + { + "code": "54868-6177-00", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "54868-6180-00", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "55045-3841-01", + "target": [ + { + "code": "52", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0801-11", + "target": [ + { + "code": "148", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0806-05", + "target": [ + { + "code": "48", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0808-15", + "target": [ + { + "code": "160", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0808-15", + "target": [ + { + "code": "160", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0809-05", + "target": [ + { + "code": "148", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0810-11", + "target": [ + { + "code": "20", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0810-52", + "target": [ + { + "code": "20", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0811-51", + "target": [ + { + "code": "110", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0811-52", + "target": [ + { + "code": "110", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0812-11", + "target": [ + { + "code": "130", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0812-52", + "target": [ + { + "code": "130", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0815-11", + "target": [ + { + "code": "104", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0815-34", + "target": [ + { + "code": "104", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0815-46", + "target": [ + { + "code": "104", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0815-48", + "target": [ + { + "code": "104", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0815-52", + "target": [ + { + "code": "104", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0816-05", + "target": [ + { + "code": "48", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0818-11", + "target": [ + { + "code": "48", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0819-12", + "target": [ + { + "code": "187", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0820-11", + "target": [ + { + "code": "08", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0820-52", + "target": [ + { + "code": "08", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0821-11", + "target": [ + { + "code": "43", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0821-34", + "target": [ + { + "code": "43", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0821-52", + "target": [ + { + "code": "43", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0823-11", + "target": [ + { + "code": "187", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0825-11", + "target": [ + { + "code": "83", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0825-52", + "target": [ + { + "code": "83", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0826-11", + "target": [ + { + "code": "52", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0826-34", + "target": [ + { + "code": "52", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0826-52", + "target": [ + { + "code": "52", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0830-34", + "target": [ + { + "code": "118", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0830-52", + "target": [ + { + "code": "118", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0842-11", + "target": [ + { + "code": "115", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0842-34", + "target": [ + { + "code": "115", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0842-51", + "target": [ + { + "code": "115", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0842-52", + "target": [ + { + "code": "115", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0854-52", + "target": [ + { + "code": "119", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0879-52", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0880-52", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0881-52", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0883-52", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0898-52", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0900-52", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0901-52", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0903-52", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0905-52", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0907-52", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0955-09", + "target": [ + { + "code": "136", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0955-09", + "target": [ + { + "code": "136", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0964-12", + "target": [ + { + "code": "176", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0964-12", + "target": [ + { + "code": "176", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0976-06", + "target": [ + { + "code": "163", + "equivalence": "wider" + } + ] + }, + { + "code": "58160-0976-20", + "target": [ + { + "code": "163", + "equivalence": "wider" + } + ] + }, + { + "code": "62195-0051-10", + "target": [ + { + "code": "134", + "equivalence": "wider" + } + ] + }, + { + "code": "62577-0613-01", + "target": [ + { + "code": "153", + "equivalence": "wider" + } + ] + }, + { + "code": "62577-0614-01", + "target": [ + { + "code": "153", + "equivalence": "wider" + } + ] + }, + { + "code": "63851-0501-01", + "target": [ + { + "code": "176", + "equivalence": "wider" + } + ] + }, + { + "code": "63851-0501-02", + "target": [ + { + "code": "176", + "equivalence": "wider" + } + ] + }, + { + "code": "63851-0612-01", + "target": [ + { + "code": "153", + "equivalence": "wider" + } + ] + }, + { + "code": "63851-0613-01", + "target": [ + { + "code": "153", + "equivalence": "wider" + } + ] + }, + { + "code": "64678-0211-01", + "target": [ + { + "code": "24", + "equivalence": "wider" + } + ] + }, + { + "code": "66019-0107-01", + "target": [ + { + "code": "111", + "equivalence": "wider" + } + ] + }, + { + "code": "66019-0108-10", + "target": [ + { + "code": "111", + "equivalence": "wider" + } + ] + }, + { + "code": "66019-0109-10", + "target": [ + { + "code": "111", + "equivalence": "wider" + } + ] + }, + { + "code": "66019-0110-10", + "target": [ + { + "code": "111", + "equivalence": "wider" + } + ] + }, + { + "code": "66019-0200-10", + "target": [ + { + "code": "125", + "equivalence": "wider" + } + ] + }, + { + "code": "66019-0300-10", + "target": [ + { + "code": "149", + "equivalence": "wider" + } + ] + }, + { + "code": "66019-0301-10", + "target": [ + { + "code": "149", + "equivalence": "wider" + } + ] + }, + { + "code": "66019-0302-10", + "target": [ + { + "code": "149", + "equivalence": "wider" + } + ] + }, + { + "code": "66019-0303-10", + "target": [ + { + "code": "149", + "equivalence": "wider" + } + ] + }, + { + "code": "66019-0304-10", + "target": [ + { + "code": "149", + "equivalence": "wider" + } + ] + }, + { + "code": "66019-0305-10", + "target": [ + { + "code": "149", + "equivalence": "wider" + } + ] + }, + { + "code": "66521-0000-01", + "target": [ + { + "code": "168", + "equivalence": "wider" + } + ] + }, + { + "code": "66521-0112-02", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "66521-0112-10", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "66521-0113-02", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "66521-0113-10", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "66521-0114-02", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "66521-0114-10", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "66521-0115-02", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "66521-0115-10", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "66521-0116-02", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "66521-0116-10", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "66521-0117-02", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "66521-0117-10", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "66521-0118-02", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "66521-0118-10", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "66521-0200-02", + "target": [ + { + "code": "127", + "equivalence": "wider" + } + ] + }, + { + "code": "66521-0200-10", + "target": [ + { + "code": "126", + "equivalence": "wider" + } + ] + }, + { + "code": "69401-0000-01", + "target": [ + { + "code": "25", + "equivalence": "wider" + } + ] + }, + { + "code": "69401-0000-02", + "target": [ + { + "code": "25", + "equivalence": "wider" + } + ] + }, + { + "code": "70460-0001-01", + "target": [ + { + "code": "174", + "equivalence": "wider" + } + ] + }, + { + "code": "70461-0001-01", + "target": [ + { + "code": "168", + "equivalence": "wider" + } + ] + }, + { + "code": "70461-0002-01", + "target": [ + { + "code": "168", + "equivalence": "wider" + } + ] + }, + { + "code": "70461-0018-03", + "target": [ + { + "code": "168", + "equivalence": "wider" + } + ] + }, + { + "code": "70461-0119-02", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "70461-0119-10", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "70461-0120-02", + "target": [ + { + "code": "140", + "equivalence": "wider" + } + ] + }, + { + "code": "70461-0120-10", + "target": [ + { + "code": "141", + "equivalence": "wider" + } + ] + }, + { + "code": "70461-0200-01", + "target": [ + { + "code": "171", + "equivalence": "wider" + } + ] + }, + { + "code": "70461-0201-01", + "target": [ + { + "code": "171", + "equivalence": "wider" + } + ] + }, + { + "code": "70461-0301-10", + "target": [ + { + "code": "186", + "equivalence": "wider" + } + ] + }, + { + "code": "70461-0318-03", + "target": [ + { + "code": "171", + "equivalence": "wider" + } + ] + }, + { + "code": "70461-0418-10", + "target": [ + { + "code": "186", + "equivalence": "wider" + } + ] + }, + { + "code": "76420-0482-01", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "76420-0483-01", + "target": [ + { + "code": "150", + "equivalence": "wider" + } + ] + }, + { + "code": "63361-0245-10", + "target": [ + { + "code": "146", + "equivalence": "wider" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ImplementationGuide-hl7.fhir.us.core.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ImplementationGuide-hl7.fhir.us.core.json new file mode 100644 index 00000000000..f1c8f8bc6e2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ImplementationGuide-hl7.fhir.us.core.json @@ -0,0 +1,4529 @@ +{ + "resourceType": "ImplementationGuide", + "id": "hl7.fhir.us.core", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core", + "version": "3.1.1", + "name": "USCore", + "title": "US Core", + "status": "active", + "date": "2020-08-28T10:54:27+10:00", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "packageId": "hl7.fhir.us.core", + "license": "CC0-1.0", + "fhirVersion": [ + "4.0.1" + ], + "definition": { + "grouping": [ + { + "name": "base" + } + ], + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-glucose.html" + } + ], + "reference": { + "reference": "Observation/urine-glucose" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Procedure" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Procedure-rehab.html" + } + ], + "reference": { + "reference": "Procedure/rehab" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CareTeam" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CareTeam-example.html" + } + ], + "reference": { + "reference": "CareTeam/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-leukocyte-esterase.html" + } + ], + "reference": { + "reference": "Observation/urine-leukocyte-esterase" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.html" + } + ], + "reference": { + "reference": "Bundle/66c8856b-ba11-4876-8aa8-467aad8c11a2" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-bilirubin.html" + } + ], + "reference": { + "reference": "Observation/urine-bilirubin" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Condition-hc1.html" + } + ], + "reference": { + "reference": "Condition/hc1" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-sediment.html" + } + ], + "reference": { + "reference": "Observation/urine-sediment" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Immunization" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Immunization-imm-1.html" + } + ], + "reference": { + "reference": "Immunization/imm-1" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-pediatric-wt-example.html" + } + ], + "reference": { + "reference": "Observation/pediatric-wt-example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Organization-saint-luke-w-endpoint.html" + } + ], + "reference": { + "reference": "Organization/saint-luke-w-endpoint" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-ph.html" + } + ], + "reference": { + "reference": "Observation/urine-ph" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Encounter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Encounter-example-1.html" + } + ], + "reference": { + "reference": "Encounter/example-1" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DiagnosticReport-chest-xray-report.html" + } + ], + "reference": { + "reference": "DiagnosticReport/chest-xray-report" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-sodium.html" + } + ], + "reference": { + "reference": "Observation/serum-sodium" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DiagnosticReport-cbc.html" + } + ], + "reference": { + "reference": "DiagnosticReport/cbc" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-potassium.html" + } + ], + "reference": { + "reference": "Observation/serum-potassium" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Encounter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Encounter-1036.html" + } + ], + "reference": { + "reference": "Encounter/1036" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-some-day-smoker.html" + } + ], + "reference": { + "reference": "Observation/some-day-smoker" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Location" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Location-hl7east.html" + } + ], + "reference": { + "reference": "Location/hl7east" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-co2.html" + } + ], + "reference": { + "reference": "Observation/serum-co2" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-protein.html" + } + ], + "reference": { + "reference": "Observation/urine-protein" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Procedure" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Procedure-defib-implant.html" + } + ], + "reference": { + "reference": "Procedure/defib-implant" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-usg.html" + } + ], + "reference": { + "reference": "Observation/usg" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-chloride.html" + } + ], + "reference": { + "reference": "Observation/serum-chloride" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-calcium.html" + } + ], + "reference": { + "reference": "Observation/serum-calcium" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-color.html" + } + ], + "reference": { + "reference": "Observation/urine-color" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-bp-data-absent.html" + } + ], + "reference": { + "reference": "Observation/bp-data-absent" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Patient-example.html" + } + ], + "reference": { + "reference": "Patient/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Patient-child-example.html" + } + ], + "reference": { + "reference": "Patient/child-example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Patient-infant-example.html" + } + ], + "reference": { + "reference": "Patient/infant-example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-temperature.html" + } + ], + "reference": { + "reference": "Observation/temperature" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-bmi.html" + } + ], + "reference": { + "reference": "Observation/bmi" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Medication" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Medication-uscore-med2.html" + } + ], + "reference": { + "reference": "Medication/uscore-med2" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-cells.html" + } + ], + "reference": { + "reference": "Observation/urine-cells" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-length.html" + } + ], + "reference": { + "reference": "Observation/length" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Device-udi-2.html" + } + ], + "reference": { + "reference": "Device/udi-2" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "MedicationRequest-uscore-mo1.html" + } + ], + "reference": { + "reference": "MedicationRequest/uscore-mo1" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Practitioner" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Practitioner-practitioner-2.html" + } + ], + "reference": { + "reference": "Practitioner/practitioner-2" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Goal" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Goal-goal-1.html" + } + ], + "reference": { + "reference": "Goal/goal-1" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-rbcs.html" + } + ], + "reference": { + "reference": "Observation/urine-rbcs" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urobilinogen.html" + } + ], + "reference": { + "reference": "Observation/urobilinogen" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Medication" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Medication-uscore-med1.html" + } + ], + "reference": { + "reference": "Medication/uscore-med1" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-bacteria.html" + } + ], + "reference": { + "reference": "Observation/urine-bacteria" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Bundle-uscore-mo3.html" + } + ], + "reference": { + "reference": "Bundle/uscore-mo3" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-ofc-percentile.html" + } + ], + "reference": { + "reference": "Observation/ofc-percentile" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "MedicationRequest-self-tylenol.html" + } + ], + "reference": { + "reference": "MedicationRequest/self-tylenol" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DiagnosticReport-metabolic-panel.html" + } + ], + "reference": { + "reference": "DiagnosticReport/metabolic-panel" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Device-udi-3.html" + } + ], + "reference": { + "reference": "Device/udi-3" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "MedicationRequest-uscore-mo2.html" + } + ], + "reference": { + "reference": "MedicationRequest/uscore-mo2" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.html" + } + ], + "reference": { + "reference": "Bundle/c887e62f-6166-419f-8268-b5ecd6c7b901" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-bun.html" + } + ], + "reference": { + "reference": "Observation/bun" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Practitioner" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Practitioner-practitioner-1.html" + } + ], + "reference": { + "reference": "Practitioner/practitioner-1" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-neutrophils.html" + } + ], + "reference": { + "reference": "Observation/neutrophils" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-nitrite.html" + } + ], + "reference": { + "reference": "Observation/urine-nitrite" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-oxygen-saturation.html" + } + ], + "reference": { + "reference": "Observation/oxygen-saturation" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DiagnosticReport-cardiology-report.html" + } + ], + "reference": { + "reference": "DiagnosticReport/cardiology-report" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-vitals-panel.html" + } + ], + "reference": { + "reference": "Observation/vitals-panel" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-blood-pressure.html" + } + ], + "reference": { + "reference": "Observation/blood-pressure" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-wbcs.html" + } + ], + "reference": { + "reference": "Observation/urine-wbcs" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-height.html" + } + ], + "reference": { + "reference": "Observation/height" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Organization-acme-lab.html" + } + ], + "reference": { + "reference": "Organization/acme-lab" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Device-udi-1.html" + } + ], + "reference": { + "reference": "Device/udi-1" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-hemoglobin.html" + } + ], + "reference": { + "reference": "Observation/hemoglobin" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DocumentReference" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DocumentReference-episode-summary.html" + } + ], + "reference": { + "reference": "DocumentReference/episode-summary" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-hemoglobin.html" + } + ], + "reference": { + "reference": "Observation/urine-hemoglobin" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-heart-rate.html" + } + ], + "reference": { + "reference": "Observation/heart-rate" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-epi-cells.html" + } + ], + "reference": { + "reference": "Observation/urine-epi-cells" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "AllergyIntolerance" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "AllergyIntolerance-example.html" + } + ], + "reference": { + "reference": "AllergyIntolerance/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-blood-glucose.html" + } + ], + "reference": { + "reference": "Observation/blood-glucose" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DiagnosticReport-urinalysis.html" + } + ], + "reference": { + "reference": "DiagnosticReport/urinalysis" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Condition-example.html" + } + ], + "reference": { + "reference": "Condition/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-creatinine.html" + } + ], + "reference": { + "reference": "Observation/serum-creatinine" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-satO2-fiO2.html" + } + ], + "reference": { + "reference": "Observation/satO2-fiO2" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-total-bilirubin.html" + } + ], + "reference": { + "reference": "Observation/serum-total-bilirubin" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-pediatric-bmi-example.html" + } + ], + "reference": { + "reference": "Observation/pediatric-bmi-example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Organization-example-organization-2.html" + } + ], + "reference": { + "reference": "Organization/example-organization-2" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-weight.html" + } + ], + "reference": { + "reference": "Observation/weight" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-mchc.html" + } + ], + "reference": { + "reference": "Observation/mchc" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-clarity.html" + } + ], + "reference": { + "reference": "Observation/urine-clarity" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CarePlan" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CarePlan-colonoscopy.html" + } + ], + "reference": { + "reference": "CarePlan/colonoscopy" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-erythrocytes.html" + } + ], + "reference": { + "reference": "Observation/erythrocytes" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-ketone.html" + } + ], + "reference": { + "reference": "Observation/urine-ketone" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-respiratory-rate.html" + } + ], + "reference": { + "reference": "Observation/respiratory-rate" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-medication-codes.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-medication-codes" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-immunization.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-immunization" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-location-address-state.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-state" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-practitionerrole-practitioner.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitionerrole-practitioner" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-observation-smokingstatus.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-smokingstatus" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-observation-smokingstatus-max.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-smokingstatus-max" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-omb-race-category.html" + } + ], + "reference": { + "reference": "ValueSet/omb-race-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-practitionerrole.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-practitionerrole" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-allergy-substance.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-allergy-substance" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-narrative-status.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-narrative-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-cdcrec.html" + } + ], + "reference": { + "reference": "CodeSystem/cdcrec" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-organization-name.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-organization-name" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-observation-lab.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-lab" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-diagnosticreport-code.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-code" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-pediatric-bmi-for-age.html" + } + ], + "reference": { + "reference": "StructureDefinition/pediatric-bmi-for-age" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-head-occipital-frontal-circumference-percentile.html" + } + ], + "reference": { + "reference": "StructureDefinition/head-occipital-frontal-circumference-percentile" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-allergyintolerance.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-allergyintolerance" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-goal-lifecycle-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-lifecycle-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-procedure-code.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-code" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-documentreference-type.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-documentreference-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-provenance-participant-type.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-provenance-participant-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-patient-gender.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-gender" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-practitioner.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-practitioner" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-diagnosticreport-note.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-diagnosticreport-note" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-omb-ethnicity-category.html" + } + ], + "reference": { + "reference": "ValueSet/omb-ethnicity-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-provenance.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-provenance" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "OperationDefinition" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "OperationDefinition-docref.html" + } + ], + "reference": { + "reference": "OperationDefinition/docref" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-condition-clinical-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-clinical-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-birthsex.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-birthsex" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-documentreference-id.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-id" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-careplan-category.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-encounter-class.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-class" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-medicationrequest-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CapabilityStatement" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CapabilityStatement-us-core-server.html" + } + ], + "reference": { + "reference": "CapabilityStatement/us-core-server" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-condition-category.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-condition-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-detailed-ethnicity.html" + } + ], + "reference": { + "reference": "ValueSet/detailed-ethnicity" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-documentreference-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-encounter.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-encounter" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-ndc-vaccine-codes.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-ndc-vaccine-codes" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-patient.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-diagnosticreport-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-procedure-icd10pcs.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-procedure-icd10pcs" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-provider-specialty.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-provider-specialty" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-procedure-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-vaccines-cvx.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-vaccines-cvx" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-pulse-oximetry.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-pulse-oximetry" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-allergyintolerance-clinical-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-allergyintolerance-clinical-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-documentreference-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-medicationrequest-intent.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-intent" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-location.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-location" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-location-address.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-observation-smoking-status-status.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-smoking-status-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-usps-state.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-usps-state" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-practitioner-name.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitioner-name" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-encounter-type.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-encounter-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-documentreference-period.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-period" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-observation-code.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-code" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-location-name.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-name" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-condition-onset-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-onset-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-patient-given.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-given" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-procedure.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-procedure" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-encounter-type.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-condition-code.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-condition-code" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-condition-category.html" + } + ], + "reference": { + "reference": "CodeSystem/condition-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-medicationrequest-encounter.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-encounter" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-encounter-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-organization-address.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-organization-address" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-observation-category.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-medication.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-medication" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-diagnosticreport-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-observation-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-birthsex.html" + } + ], + "reference": { + "reference": "ValueSet/birthsex" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-diagnosticreport-category.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-observation-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-diagnosticreport-report-and-note-codes.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-report-and-note-codes" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-provider-role.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-provider-role" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-ethnicity.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-ethnicity" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-documentreference.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-documentreference" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-direct.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-direct" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-smoking-status-observation-codes.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-smoking-status-observation-codes" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-careteam-provider-roles.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-careteam-provider-roles" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-documentreference-type.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-encounter-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-diagnosticreport-category.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-patient-birthdate.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-birthdate" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-careteam.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-careteam" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-procedure-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-clinical-note-type.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-clinical-note-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-encounter-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ConceptMap" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ConceptMap-ndc-cvx.html" + } + ], + "reference": { + "reference": "ConceptMap/ndc-cvx" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-ethnicity.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-ethnicity" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-careplan-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-careplan.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-careplan" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-condition-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-allergyintolerance-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-allergyintolerance-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-device-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-device-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-condition-code.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-code" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-observation-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-race.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-race" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-careplan-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-patient-family.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-family" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-smokingstatus.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-smokingstatus" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-medicationrequest-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-race.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-race" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-location-address-postalcode.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-postalcode" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-encounter-id.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-id" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-medicationrequest-authoredon.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-authoredon" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-documentreference-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-documentreference-category.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-documentreference-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-procedure-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-goal-target-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-target-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-diagnosticreport-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-careplan-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-careteam-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careteam-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-organization.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-organization" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-immunization-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-encounter-identifier.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-identifier" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-practitionerrole-specialty.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitionerrole-specialty" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-patient-name.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-name" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-device-type.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-device-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-procedure-code.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-procedure-code" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-diagnosticreport-lab.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-diagnosticreport-lab" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-goal-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-simple-language.html" + } + ], + "reference": { + "reference": "ValueSet/simple-language" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-immunization-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-condition.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-condition" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-pediatric-weight-for-height.html" + } + ], + "reference": { + "reference": "StructureDefinition/pediatric-weight-for-height" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-observation-value-codes.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-value-codes" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-patient-id.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-id" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-location-address-city.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-city" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-goal.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-goal" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-careteam-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careteam-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-us-core-documentreference-category.html" + } + ], + "reference": { + "reference": "CodeSystem/us-core-documentreference-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-us-core-provenance-participant-type.html" + } + ], + "reference": { + "reference": "CodeSystem/us-core-provenance-participant-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-diagnosticreport-lab-codes.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-lab-codes" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-careplan-category.html" + } + ], + "reference": { + "reference": "CodeSystem/careplan-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-documentreference-category.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CapabilityStatement" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CapabilityStatement-us-core-client.html" + } + ], + "reference": { + "reference": "CapabilityStatement/us-core-client" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-practitioner-identifier.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitioner-identifier" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-patient-identifier.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-identifier" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-condition-category.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-immunization-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-medicationrequest.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-medicationrequest" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-implantable-device.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-implantable-device" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-detailed-race.html" + } + ], + "reference": { + "reference": "ValueSet/detailed-race" + }, + "exampleBoolean": false + } + ], + "page": { + "nameUrl": "index.html", + "title": "Home", + "generation": "markdown", + "page": [ + { + "nameUrl": "guidance.html", + "title": "Guidance", + "generation": "markdown", + "page": [ + { + "nameUrl": "general-guidance.html", + "title": "General Guidance", + "generation": "markdown" + }, + { + "nameUrl": "clinical-notes-guidance.html", + "title": "Clinical Notes Guidance", + "generation": "markdown" + }, + { + "nameUrl": "all-meds.html", + "title": "Medication List Guidance", + "generation": "markdown" + }, + { + "nameUrl": "basic-provenance.html", + "title": "Basic Provenance", + "generation": "markdown" + }, + { + "nameUrl": "r2-r4-guidance.html", + "title": "DSTU2 to R4 Conversion", + "generation": "markdown" + }, + { + "nameUrl": "future-of-us-core.html", + "title": "Future of US Core", + "generation": "markdown" + } + ] + }, + { + "nameUrl": "profiles.html", + "title": "Profiles and Extensions", + "generation": "markdown", + "page": [ + { + "nameUrl": "StructureDefinition-us-core-immunization.html", + "title": "StructureDefinition US Core Immunization", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-practitionerrole.html", + "title": "StructureDefinition US Core PractitionerRole", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-observation-lab.html", + "title": "StructureDefinition US Core Observation Lab", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-pediatric-bmi-for-age.html", + "title": "StructureDefinition Pediatric BMI For Age", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-head-occipital-frontal-circumference-percentile.html", + "title": "StructureDefinition Pediatric Head Occipital-frontal Circumference Percentile", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-allergyintolerance.html", + "title": "StructureDefinition US Core AllergyIntolerance", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-practitioner.html", + "title": "StructureDefinition US Core Practitioner", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-diagnosticreport-note.html", + "title": "StructureDefinition US Core DiagnosticReport Note", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-provenance.html", + "title": "StructureDefinition US Core Provenance", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-birthsex.html", + "title": "StructureDefinition US Core Birthsex", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-encounter.html", + "title": "StructureDefinition US Core Encounter", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-patient.html", + "title": "StructureDefinition US Core Patient", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-pulse-oximetry.html", + "title": "StructureDefinition US Core Pulse Oximetry", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-location.html", + "title": "StructureDefinition US Core Location", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-procedure.html", + "title": "StructureDefinition US Core Procedure", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-medication.html", + "title": "StructureDefinition US Core Medication", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-documentreference.html", + "title": "StructureDefinition US Core DocumentReference", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-direct.html", + "title": "StructureDefinition US Core Direct", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-careteam.html", + "title": "StructureDefinition US Core CareTeam", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-ethnicity.html", + "title": "StructureDefinition US Core Ethnicity", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-careplan.html", + "title": "StructureDefinition US Core CarePlan", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-smokingstatus.html", + "title": "StructureDefinition US Core Smokingstatus", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-race.html", + "title": "StructureDefinition US Core Race", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-organization.html", + "title": "StructureDefinition US Core Organization", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-diagnosticreport-lab.html", + "title": "StructureDefinition US Core DiagnosticReport Lab", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-condition.html", + "title": "StructureDefinition US Core Condition", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-pediatric-weight-for-height.html", + "title": "StructureDefinition Pediatric Weight For Height", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-goal.html", + "title": "StructureDefinition US Core Goal", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-medicationrequest.html", + "title": "StructureDefinition US Core MedicationRequest", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-implantable-device.html", + "title": "StructureDefinition US Core Implantable Device", + "generation": "generated" + } + ] + }, + { + "nameUrl": "operations.html", + "title": "Operations", + "generation": "markdown", + "page": [ + { + "nameUrl": "OperationDefinition-docref.html", + "title": "OperationDefinition Docref", + "generation": "generated" + } + ] + }, + { + "nameUrl": "terminology.html", + "title": "Terminology", + "generation": "markdown", + "page": [ + { + "nameUrl": "ValueSet-us-core-medication-codes.html", + "title": "ValueSet US Core Medication Codes", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-observation-smokingstatus.html", + "title": "ValueSet US Core Observation Smokingstatus Preferred", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-observation-smokingstatus-max.html", + "title": "ValueSet US Core Observation Smokingstatus Max-Binding", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-omb-race-category.html", + "title": "ValueSet Omb Race Category", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-allergy-substance.html", + "title": "ValueSet US Core Allergy Substance", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-narrative-status.html", + "title": "ValueSet US Core Narrative Status", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-documentreference-type.html", + "title": "ValueSet US Core DocumentReference Type", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-omb-ethnicity-category.html", + "title": "ValueSet Omb Ethnicity Category", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-condition-category.html", + "title": "ValueSet US Core Condition Category", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-detailed-ethnicity.html", + "title": "ValueSet Detailed Ethnicity", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-ndc-vaccine-codes.html", + "title": "ValueSet US Core Ndc Vaccine Codes", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-procedure-icd10pcs.html", + "title": "ValueSet US Core Procedure Icd10pcs", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-provider-specialty.html", + "title": "ValueSet US Core Provider Specialty", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-vaccines-cvx.html", + "title": "ValueSet US Core Vaccines Cvx", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-observation-smoking-status-status.html", + "title": "ValueSet US Core Observation SmokingStatus Status", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-usps-state.html", + "title": "ValueSet US Core Usps State", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-encounter-type.html", + "title": "ValueSet US Core Encounter Type", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-condition-code.html", + "title": "ValueSet US Core Condition Code", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-birthsex.html", + "title": "ValueSet Birthsex", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-diagnosticreport-report-and-note-codes.html", + "title": "ValueSet US Core DiagnosticReport Report And Note Codes", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-provider-role.html", + "title": "ValueSet US Core Provider Role", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-smoking-status-observation-codes.html", + "title": "ValueSet US Core Smoking Status Observation Codes", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-careteam-provider-roles.html", + "title": "ValueSet US Core CareTeam Provider Roles", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-diagnosticreport-category.html", + "title": "ValueSet US Core DiagnosticReport Category", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-clinical-note-type.html", + "title": "ValueSet US Core Clinical Note Type", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-documentreference-category.html", + "title": "ValueSet US Core DocumentReference Category", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-procedure-code.html", + "title": "ValueSet US Core Procedure Code", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-simple-language.html", + "title": "ValueSet Simple Language", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-observation-value-codes.html", + "title": "ValueSet US Core Observation Value Codes", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-diagnosticreport-lab-codes.html", + "title": "ValueSet US Core DiagnosticReport Lab Codes", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-detailed-race.html", + "title": "ValueSet Detailed Race", + "generation": "generated" + }, + { + "nameUrl": "CodeSystem-cdcrec.html", + "title": "CodeSystem Cdcrec", + "generation": "generated" + }, + { + "nameUrl": "CodeSystem-condition-category.html", + "title": "CodeSystem Condition Category", + "generation": "generated" + }, + { + "nameUrl": "CodeSystem-us-core-documentreference-category.html", + "title": "CodeSystem US Core DocumentReference Category", + "generation": "generated" + }, + { + "nameUrl": "CodeSystem-careplan-category.html", + "title": "CodeSystem CarePlan Category", + "generation": "generated" + }, + { + "nameUrl": "ConceptMap-ndc-cvx.html", + "title": "ConceptMap Ndc Cvx", + "generation": "generated" + } + ] + }, + { + "nameUrl": "searchparameters.html", + "title": "Search Parameters", + "generation": "markdown", + "page": [ + { + "nameUrl": "SearchParameter-us-core-location-address-state.html", + "title": "SearchParameter US Core Location Address State", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-practitionerrole-practitioner.html", + "title": "SearchParameter US Core PractitionerRole Practitioner", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-organization-name.html", + "title": "SearchParameter US Core Organization Name", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-diagnosticreport-code.html", + "title": "SearchParameter US Core DiagnosticReport Code", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-goal-lifecycle-status.html", + "title": "SearchParameter US Core Goal Lifecycle Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-procedure-code.html", + "title": "SearchParameter US Core Procedure Code", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-patient-gender.html", + "title": "SearchParameter US Core Patient Gender", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-condition-clinical-status.html", + "title": "SearchParameter US Core Condition Clinical Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-documentreference-id.html", + "title": "SearchParameter US Core DocumentReference Id", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-careplan-category.html", + "title": "SearchParameter US Core CarePlan Category", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-encounter-class.html", + "title": "SearchParameter US Core Encounter Class", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-medicationrequest-patient.html", + "title": "SearchParameter US Core MedicationRequest Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-documentreference-patient.html", + "title": "SearchParameter US Core DocumentReference Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-diagnosticreport-date.html", + "title": "SearchParameter US Core DiagnosticReport Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-procedure-date.html", + "title": "SearchParameter US Core Procedure Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-allergyintolerance-clinical-status.html", + "title": "SearchParameter US Core AllergyIntolerance Clinical Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-documentreference-date.html", + "title": "SearchParameter US Core DocumentReference Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-medicationrequest-intent.html", + "title": "SearchParameter US Core MedicationRequest Intent", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-location-address.html", + "title": "SearchParameter US Core Location Address", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-practitioner-name.html", + "title": "SearchParameter US Core Practitioner Name", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-documentreference-period.html", + "title": "SearchParameter US Core DocumentReference Period", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-observation-code.html", + "title": "SearchParameter US Core Observation Code", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-location-name.html", + "title": "SearchParameter US Core Location Name", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-condition-onset-date.html", + "title": "SearchParameter US Core Condition Onset Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-patient-given.html", + "title": "SearchParameter US Core Patient Given", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-encounter-type.html", + "title": "SearchParameter US Core Encounter Type", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-medicationrequest-encounter.html", + "title": "SearchParameter US Core MedicationRequest Encounter", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-encounter-patient.html", + "title": "SearchParameter US Core Encounter Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-organization-address.html", + "title": "SearchParameter US Core Organization Address", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-observation-category.html", + "title": "SearchParameter US Core Observation Category", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-diagnosticreport-status.html", + "title": "SearchParameter US Core DiagnosticReport Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-observation-date.html", + "title": "SearchParameter US Core Observation Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-diagnosticreport-category.html", + "title": "SearchParameter US Core DiagnosticReport Category", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-observation-status.html", + "title": "SearchParameter US Core Observation Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-ethnicity.html", + "title": "SearchParameter US Core Ethnicity", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-documentreference-type.html", + "title": "SearchParameter US Core DocumentReference Type", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-encounter-date.html", + "title": "SearchParameter US Core Encounter Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-patient-birthdate.html", + "title": "SearchParameter US Core Patient Birthdate", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-procedure-status.html", + "title": "SearchParameter US Core Procedure Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-encounter-status.html", + "title": "SearchParameter US Core Encounter Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-careplan-status.html", + "title": "SearchParameter US Core CarePlan Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-condition-patient.html", + "title": "SearchParameter US Core Condition Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-allergyintolerance-patient.html", + "title": "SearchParameter US Core AllergyIntolerance Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-device-patient.html", + "title": "SearchParameter US Core Device Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-condition-code.html", + "title": "SearchParameter US Core Condition Code", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-observation-patient.html", + "title": "SearchParameter US Core Observation Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-race.html", + "title": "SearchParameter US Core Race", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-careplan-patient.html", + "title": "SearchParameter US Core CarePlan Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-patient-family.html", + "title": "SearchParameter US Core Patient Family", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-medicationrequest-status.html", + "title": "SearchParameter US Core MedicationRequest Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-location-address-postalcode.html", + "title": "SearchParameter US Core Location Address Postalcode", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-encounter-id.html", + "title": "SearchParameter US Core Encounter Id", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-medicationrequest-authoredon.html", + "title": "SearchParameter US Core MedicationRequest Authoredon", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-documentreference-status.html", + "title": "SearchParameter US Core DocumentReference Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-procedure-patient.html", + "title": "SearchParameter US Core Procedure Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-goal-target-date.html", + "title": "SearchParameter US Core Goal Target Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-diagnosticreport-patient.html", + "title": "SearchParameter US Core DiagnosticReport Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-careplan-date.html", + "title": "SearchParameter US Core CarePlan Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-careteam-patient.html", + "title": "SearchParameter US Core CareTeam Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-immunization-date.html", + "title": "SearchParameter US Core Immunization Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-encounter-identifier.html", + "title": "SearchParameter US Core Encounter Identifier", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-practitionerrole-specialty.html", + "title": "SearchParameter US Core PractitionerRole Specialty", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-patient-name.html", + "title": "SearchParameter US Core Patient Name", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-device-type.html", + "title": "SearchParameter US Core Device Type", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-goal-patient.html", + "title": "SearchParameter US Core Goal Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-immunization-patient.html", + "title": "SearchParameter US Core Immunization Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-patient-id.html", + "title": "SearchParameter US Core Patient Id", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-location-address-city.html", + "title": "SearchParameter US Core Location Address City", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-careteam-status.html", + "title": "SearchParameter US Core CareTeam Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-documentreference-category.html", + "title": "SearchParameter US Core DocumentReference Category", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-practitioner-identifier.html", + "title": "SearchParameter US Core Practitioner Identifier", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-patient-identifier.html", + "title": "SearchParameter US Core Patient Identifier", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-condition-category.html", + "title": "SearchParameter US Core Condition Category", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-immunization-status.html", + "title": "SearchParameter US Core Immunization Status", + "generation": "generated" + } + ] + }, + { + "nameUrl": "capstatements.html", + "title": "Capability Statements", + "generation": "markdown", + "page": [ + { + "nameUrl": "CapabilityStatement-us-core-server.html", + "title": "CapabilityStatement US Core Server", + "generation": "generated" + }, + { + "nameUrl": "CapabilityStatement-us-core-client.html", + "title": "CapabilityStatement US Core Client", + "generation": "generated" + } + ] + }, + { + "nameUrl": "security.html", + "title": "Security", + "generation": "markdown" + }, + { + "nameUrl": "downloads.html", + "title": "Downloads", + "generation": "markdown" + }, + { + "nameUrl": "all-examples.html", + "title": "All Examples", + "generation": "markdown" + }, + { + "nameUrl": "toc.html", + "title": "Table of Contents", + "generation": "html" + } + ] + } + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/OperationDefinition-docref.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/OperationDefinition-docref.json new file mode 100644 index 00000000000..97514ea4ca7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/OperationDefinition-docref.json @@ -0,0 +1,87 @@ +{ + "resourceType": "OperationDefinition", + "id": "docref", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/OperationDefinition/docref", + "version": "3.1.1", + "name": "USCoreFetchDocumentReferences", + "title": "US Core Fetch DocumentReferences", + "status": "active", + "kind": "operation", + "date": "2019-05-21", + "publisher": "US Core Project", + "description": "This operation is used to return all the references to documents related to a patient. \n\n The operation takes the optional input parameters: \n - patient id\n - start date\n - end date\n - document type \n\n and returns a [Bundle](http://hl7.org/fhir/bundle.html) of type \"searchset\" containing [US Core DocumentReference Profiles](http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference) for the patient. If the server has or can create documents that are related to the patient, and that are available for the given user, the server returns the DocumentReference profiles needed to support the records. The principle intended use for this operation is to provide a provider or patient with access to their available document information. \n\n This operation is *different* from a search by patient and type and date range because: \n\n 1. It is used to request a server *generate* a document based on the specified parameters. \n\n 1. If no parameters are specified, the server SHALL return a DocumentReference to the patient's most current CCD \n\n 1. If the server cannot *generate* a document based on the specified parameters, the operation will return an empty search bundle. \n\n This operation is the *same* as a FHIR RESTful search by patient,type and date range because: \n\n 1. References for *existing* documents that meet the requirements of the request SHOULD also be returned unless the client indicates they are only interested in 'on-demand' documents using the *on-demand* parameter.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "docref", + "comment": " - The server is responsible for determining what resources, if any, to return as [included](http://hl7.org/fhir/R4/search.html#revinclude) resources rather than the client specifying which ones. This frees the client from needing to determine what it could or should ask for. For example, the server may return the referenced document as an included FHIR Binary resource within the return bundle. The server's CapabilityStatement should document this behavior. \n\n - The document itself can be subsequently retrieved using the link provided in the `DocumentReference.content.attachment.url element`. The link could be a FHIR endpoint to a [Binary](http://hl7.org/fhir/R4/binary.html) Resource or some other document repository. \n\n - It is assumed that the server has identified and secured the context appropriately, and can either associate the authorization context with a single patient, or determine whether the context has the rights to the nominated patient, if there is one. If there is no nominated patient (e.g. the operation is invoked at the system level) and the context is not associated with a single patient record, then the server should return an error. Specifying the relationship between the context, a user and patient records is outside the scope of this specification", + "system": false, + "type": true, + "instance": false, + "parameter": [ + { + "name": "patient", + "use": "in", + "min": 1, + "max": "1", + "documentation": "The id of the patient resource located on the server on which this operation is executed. If there is no match, an empty Bundle is returned", + "type": "id" + }, + { + "name": "start", + "use": "in", + "min": 0, + "max": "1", + "documentation": "The date range relates to care dates, not record currency dates - e.g. all records relating to care provided in a certain date range. If no start date is provided, all documents prior to the end date are in scope. If neither a start date nor an end date is provided, the most recent or current document is in scope.", + "type": "date" + }, + { + "name": "end", + "use": "in", + "min": 0, + "max": "1", + "documentation": "The date range relates to care dates, not record currency dates - e.g. all records relating to care provided in a certain date range. If no end date is provided, all documents subsequent to the start date are in scope. If neither a start date nor an end date is provided, the most recent or current document is in scope", + "type": "date" + }, + { + "name": "type", + "use": "in", + "min": 0, + "max": "1", + "documentation": "The type relates to document type e.g. for the LOINC code for a C-CDA Clinical Summary of Care (CCD) is 34133-9 (Summary of episode note). If no type is provided, the CCD document, if available, SHALL be in scope and all other document types MAY be in scope", + "type": "CodeableConcept", + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/c80-doc-typecodes" + } + }, + { + "name": "on-demand", + "use": "in", + "min": 0, + "max": "1", + "documentation": "This on-demand parameter allows client to dictate whether they are requesting only ‘on-demand’ or both ‘on-demand’ and 'stable' documents (or delayed/deferred assembly) that meet the query parameters", + "type": "boolean" + }, + { + "name": "return", + "use": "out", + "min": 1, + "max": "1", + "documentation": "The bundle type is \"searchset\"containing [US Core DocumentReference Profiles](http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference)", + "type": "Bundle" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-allergyintolerance-clinical-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-allergyintolerance-clinical-status.json new file mode 100644 index 00000000000..913c1f059c6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-allergyintolerance-clinical-status.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-allergyintolerance-clinical-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status", + "version": "3.1.1", + "name": "USCoreAllergyintoleranceClinicalStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/AllergyIntolerance-clinical-status", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.193068Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "active | inactive | resolved
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "clinical-status", + "base": [ + "AllergyIntolerance" + ], + "type": "token", + "expression": "AllergyIntolerance.clinicalStatus", + "xpath": "f:AllergyIntolerance/f:clinicalStatus", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-allergyintolerance-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-allergyintolerance-patient.json new file mode 100644 index 00000000000..a59ed90823c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-allergyintolerance-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-allergyintolerance-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient", + "version": "3.1.1", + "name": "USCoreAllergyintolerancePatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.234110Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Who the sensitivity is for
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "patient", + "base": [ + "AllergyIntolerance" + ], + "type": "reference", + "expression": "AllergyIntolerance.patient", + "xpath": "f:AllergyIntolerance/f:patient", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careplan-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careplan-category.json new file mode 100644 index 00000000000..e1129e3811d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careplan-category.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-careplan-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category", + "version": "3.1.1", + "name": "USCoreCareplanCategory", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/CarePlan-category", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.240921Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Type of plan
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "category", + "base": [ + "CarePlan" + ], + "type": "token", + "expression": "CarePlan.category", + "xpath": "f:CarePlan/f:category", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careplan-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careplan-date.json new file mode 100644 index 00000000000..169b37eabc7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careplan-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-careplan-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date", + "version": "3.1.1", + "name": "USCoreCareplanDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.252955Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Time period plan covers
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "date", + "base": [ + "CarePlan" + ], + "type": "date", + "expression": "CarePlan.period", + "xpath": "f:CarePlan/f:period", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careplan-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careplan-patient.json new file mode 100644 index 00000000000..1fc76e9f160 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careplan-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-careplan-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient", + "version": "3.1.1", + "name": "USCoreCareplanPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.267188Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Who the care plan is for
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "patient", + "base": [ + "CarePlan" + ], + "type": "reference", + "expression": "CarePlan.subject.where(resolve() is Patient)", + "xpath": "f:CarePlan/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careplan-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careplan-status.json new file mode 100644 index 00000000000..7b85517e85a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careplan-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-careplan-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/request-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status", + "version": "3.1.1", + "name": "USCoreCareplanStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/CarePlan-status", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.282052Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "draft | active | on-hold | revoked | completed | entered-in-error | unknown
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "status", + "base": [ + "CarePlan" + ], + "type": "token", + "expression": "CarePlan.status", + "xpath": "f:CarePlan/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careteam-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careteam-patient.json new file mode 100644 index 00000000000..7abc0fd9605 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careteam-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-careteam-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient", + "version": "3.1.1", + "name": "USCoreCareteamPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.294355Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Who care team is for
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "patient", + "base": [ + "CareTeam" + ], + "type": "reference", + "expression": "CareTeam.subject.where(resolve() is Patient)", + "xpath": "f:CareTeam/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careteam-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careteam-status.json new file mode 100644 index 00000000000..741530d1660 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-careteam-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-careteam-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/care-team-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status", + "version": "3.1.1", + "name": "USCoreCareteamStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/CareTeam-status", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.330023Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "proposed | active | suspended | inactive | entered-in-error
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "status", + "base": [ + "CareTeam" + ], + "type": "token", + "expression": "CareTeam.status", + "xpath": "f:CareTeam/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-condition-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-condition-category.json new file mode 100644 index 00000000000..ffca5a52b7a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-condition-category.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category", + "version": "3.1.1", + "name": "USCoreConditionCategory", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Condition-category", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.252432Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The category of the condition
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "category", + "base": [ + "Condition" + ], + "type": "token", + "expression": "Condition.category", + "xpath": "f:Condition/f:category", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-condition-clinical-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-condition-clinical-status.json new file mode 100644 index 00000000000..bece8be017a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-condition-clinical-status.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-clinical-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status", + "version": "3.1.1", + "name": "USCoreConditionClinicalStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Condition-clinical-status", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.273619Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The clinical status of the condition
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "clinical-status", + "base": [ + "Condition" + ], + "type": "token", + "expression": "Condition.clinicalStatus", + "xpath": "f:Condition/f:clinicalStatus", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-condition-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-condition-code.json new file mode 100644 index 00000000000..df51526110e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-condition-code.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-code", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code", + "version": "3.1.1", + "name": "USCoreConditionCode", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-code", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.657922Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Code for the condition
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "code", + "base": [ + "Condition" + ], + "type": "token", + "expression": "Condition.code", + "xpath": "f:Condition/f:code", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-condition-onset-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-condition-onset-date.json new file mode 100644 index 00000000000..a9ece40aec8 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-condition-onset-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-onset-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date", + "version": "3.1.1", + "name": "USCoreConditionOnsetDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Condition-onset-date", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.644555Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Date related onsets (dateTime and Period)
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "onset-date", + "base": [ + "Condition" + ], + "type": "date", + "expression": "Condition.onset.as(dateTime)", + "xpath": "f:Condition/f:onsetDateTime", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-condition-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-condition-patient.json new file mode 100644 index 00000000000..233f84ead73 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-condition-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient", + "version": "3.1.1", + "name": "USCoreConditionPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.330539Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Who has the condition?
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "patient", + "base": [ + "Condition" + ], + "type": "reference", + "expression": "Condition.subject.where(resolve() is Patient)", + "xpath": "f:Condition/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-device-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-device-patient.json new file mode 100644 index 00000000000..e860f0d1a27 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-device-patient.json @@ -0,0 +1,67 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-device-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient", + "version": "3.1.1", + "name": "USCoreDevicePatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Device-patient", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.352744Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Patient information, if the resource is affixed to a person
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "patient", + "base": [ + "Device" + ], + "type": "reference", + "expression": "Device.patient", + "xpath": "f:Device/f:patient", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-device-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-device-type.json new file mode 100644 index 00000000000..53c7cad6890 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-device-type.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-device-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type", + "version": "3.1.1", + "name": "USCoreDeviceType", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Device-type", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.361965Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The type of the device
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "type", + "base": [ + "Device" + ], + "type": "token", + "expression": "Device.type", + "xpath": "f:Device/f:type", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-diagnosticreport-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-diagnosticreport-category.json new file mode 100644 index 00000000000..007776f67ec --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-diagnosticreport-category.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category", + "version": "3.1.1", + "name": "USCoreDiagnosticreportCategory", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/DiagnosticReport-category", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.911245Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Which diagnostic discipline/department created the report
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "category", + "base": [ + "DiagnosticReport" + ], + "type": "token", + "expression": "DiagnosticReport.category", + "xpath": "f:DiagnosticReport/f:category", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-diagnosticreport-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-diagnosticreport-code.json new file mode 100644 index 00000000000..6fde15fc70a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-diagnosticreport-code.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-code", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code", + "version": "3.1.1", + "name": "USCoreDiagnosticreportCode", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-code", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.929864Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "code", + "base": [ + "DiagnosticReport" + ], + "type": "token", + "expression": "DiagnosticReport.code", + "xpath": "f:DiagnosticReport/f:code", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-diagnosticreport-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-diagnosticreport-date.json new file mode 100644 index 00000000000..2b2b8cad586 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-diagnosticreport-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date", + "version": "3.1.1", + "name": "USCoreDiagnosticreportDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.939751Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The clinically relevant time of the report
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "date", + "base": [ + "DiagnosticReport" + ], + "type": "date", + "expression": "DiagnosticReport.effective", + "xpath": "f:DiagnosticReport/f:effectiveDateTime", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-diagnosticreport-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-diagnosticreport-patient.json new file mode 100644 index 00000000000..5d7e05c7b1a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-diagnosticreport-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient", + "version": "3.1.1", + "name": "USCoreDiagnosticreportPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.885499Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The subject of the report if a patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "patient", + "base": [ + "DiagnosticReport" + ], + "type": "reference", + "expression": "DiagnosticReport.subject.where(resolve() is Patient)", + "xpath": "f:DiagnosticReport/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-diagnosticreport-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-diagnosticreport-status.json new file mode 100644 index 00000000000..99251abe371 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-diagnosticreport-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/diagnostic-report-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status", + "version": "3.1.1", + "name": "USCoreDiagnosticreportStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/DiagnosticReport-status", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.843388Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The status of the report
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "status", + "base": [ + "DiagnosticReport" + ], + "type": "token", + "expression": "DiagnosticReport.status", + "xpath": "f:DiagnosticReport/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-category.json new file mode 100644 index 00000000000..8199091a626 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-category.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category", + "version": "3.1.1", + "name": "USCoreDocumentreferenceCategory", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/DocumentReference-category", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.745873Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Categorization of document
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "category", + "base": [ + "DocumentReference" + ], + "type": "token", + "expression": "DocumentReference.category", + "xpath": "f:DocumentReference/f:category", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-date.json new file mode 100644 index 00000000000..1522fe12507 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date", + "version": "3.1.1", + "name": "USCoreDocumentreferenceDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/DocumentReference-date", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.768751Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "When this document reference was created
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "date", + "base": [ + "DocumentReference" + ], + "type": "date", + "expression": "DocumentReference.date", + "xpath": "f:DocumentReference/f:date", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-id.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-id.json new file mode 100644 index 00000000000..6edb3522c1d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-id.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-id", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id", + "version": "3.1.1", + "name": "USCoreDocumentreferenceId", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Resource-id", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.702134Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Logical id of this artifact
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "_id", + "base": [ + "DocumentReference" + ], + "type": "token", + "expression": "DocumentReference.id", + "xpath": "DocumentReference.id", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-patient.json new file mode 100644 index 00000000000..e1a5ee2e8d8 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient", + "version": "3.1.1", + "name": "USCoreDocumentreferencePatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.735682Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Who/what is the subject of the document
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "patient", + "base": [ + "DocumentReference" + ], + "type": "reference", + "expression": "DocumentReference.subject.where(resolve() is Patient)", + "xpath": "f:DocumentReference/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-period.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-period.json new file mode 100644 index 00000000000..fe1d2c29d98 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-period.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-period", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period", + "version": "3.1.1", + "name": "USCoreDocumentreferencePeriod", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/DocumentReference-period", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.789454Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Time of service that is being documented
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "period", + "base": [ + "DocumentReference" + ], + "type": "date", + "expression": "DocumentReference.context.period", + "xpath": "f:DocumentReference/f:context/f:period", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-status.json new file mode 100644 index 00000000000..87cc402a88c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/document-reference-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status", + "version": "3.1.1", + "name": "USCoreDocumentreferenceStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/DocumentReference-status", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.721457Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "current | superseded | entered-in-error
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "status", + "base": [ + "DocumentReference" + ], + "type": "token", + "expression": "DocumentReference.status", + "xpath": "f:DocumentReference/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-type.json new file mode 100644 index 00000000000..965987ae08f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-documentreference-type.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type", + "version": "3.1.1", + "name": "USCoreDocumentreferenceType", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-type", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.753275Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Kind of document (LOINC if possible)
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "type", + "base": [ + "DocumentReference" + ], + "type": "token", + "expression": "DocumentReference.type", + "xpath": "f:DocumentReference/f:type", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-class.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-class.json new file mode 100644 index 00000000000..8d81d9a39ce --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-class.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-class", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class", + "version": "3.1.1", + "name": "USCoreEncounterClass", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Encounter-class", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.368583Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Classification of patient encounter
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "class", + "base": [ + "Encounter" + ], + "type": "token", + "expression": "Encounter.class", + "xpath": "f:Encounter/f:class", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-date.json new file mode 100644 index 00000000000..7298d26f1fa --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date", + "version": "3.1.1", + "name": "USCoreEncounterDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.385939Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "A date within the period the Encounter lasted
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "date", + "base": [ + "Encounter" + ], + "type": "date", + "expression": "Encounter.period", + "xpath": "f:Encounter/f:period", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-id.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-id.json new file mode 100644 index 00000000000..812dbb85c10 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-id.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-id", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id", + "version": "3.1.1", + "name": "USCoreEncounterId", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Resource-id", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.351982Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Logical id of this artifact
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "_id", + "base": [ + "Encounter" + ], + "type": "token", + "expression": "Encounter.id", + "xpath": "Encounter.id", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-identifier.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-identifier.json new file mode 100644 index 00000000000..3153f334275 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-identifier.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-identifier", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier", + "version": "3.1.1", + "name": "USCoreEncounterIdentifier", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-identifier", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.433157Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Identifier(s) by which this encounter is known
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "identifier", + "base": [ + "Encounter" + ], + "type": "token", + "expression": "Encounter.identifier", + "xpath": "f:Encounter/f:identifier", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-patient.json new file mode 100644 index 00000000000..cdff3070a1c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient", + "version": "3.1.1", + "name": "USCoreEncounterPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.446705Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The patient or group present at the encounter
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "patient", + "base": [ + "Encounter" + ], + "type": "reference", + "expression": "Encounter.subject.where(resolve() is Patient)", + "xpath": "f:Encounter/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-status.json new file mode 100644 index 00000000000..89fb1e0a07f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/encounter-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status", + "version": "3.1.1", + "name": "USCoreEncounterStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Encounter-status", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.457978Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "status", + "base": [ + "Encounter" + ], + "type": "token", + "expression": "Encounter.status", + "xpath": "f:Encounter/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-type.json new file mode 100644 index 00000000000..b31e1bbcbd3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-encounter-type.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type", + "version": "3.1.1", + "name": "USCoreEncounterType", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-type", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.478701Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Specific type of encounter
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "type", + "base": [ + "Encounter" + ], + "type": "token", + "expression": "Encounter.type", + "xpath": "f:Encounter/f:type", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-ethnicity.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-ethnicity.json new file mode 100644 index 00000000000..86f5526f658 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-ethnicity.json @@ -0,0 +1,44 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-ethnicity", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-ethnicity", + "version": "3.1.1", + "name": "USCoreEthnicity", + "status": "active", + "date": "2019-05-21", + "publisher": "US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://www.healthit.gov/" + } + ] + } + ], + "description": "Returns patients with an ethnicity extension matching the specified code.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "ethnicity", + "base": [ + "Patient" + ], + "type": "token", + "expression": "Patient.extension.where(url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity').extension.value.code", + "xpath": "f:Patient/f:extension[@url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity']/f:extension/f:valueCoding/f:code/@value", + "xpathUsage": "normal" +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-goal-lifecycle-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-goal-lifecycle-status.json new file mode 100644 index 00000000000..0d97f073f9c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-goal-lifecycle-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-goal-lifecycle-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/goal-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status", + "version": "3.1.1", + "name": "USCoreGoalLifecycleStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Goal-lifecycle-status", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.953637Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "lifecycle-status", + "base": [ + "Goal" + ], + "type": "token", + "expression": "Goal.lifecycleStatus", + "xpath": "f:Goal/f:lifecycleStatus", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-goal-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-goal-patient.json new file mode 100644 index 00000000000..c9ef4bf5939 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-goal-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-goal-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient", + "version": "3.1.1", + "name": "USCoreGoalPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.964712Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Who this goal is intended for
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "patient", + "base": [ + "Goal" + ], + "type": "reference", + "expression": "Goal.subject.where(resolve() is Patient)", + "xpath": "f:Goal/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-goal-target-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-goal-target-date.json new file mode 100644 index 00000000000..eeef2a4b1fb --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-goal-target-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-goal-target-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date", + "version": "3.1.1", + "name": "USCoreGoalTargetDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Goal-target-date", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.971462Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Reach goal on or before
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "target-date", + "base": [ + "Goal" + ], + "type": "date", + "expression": "(Goal.target.due as date)", + "xpath": "f:Goal/f:target/f:dueDate", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-immunization-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-immunization-date.json new file mode 100644 index 00000000000..e59a9fce5ff --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-immunization-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-immunization-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date", + "version": "3.1.1", + "name": "USCoreImmunizationDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.688565Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Vaccination (non)-Administration Date
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "date", + "base": [ + "Immunization" + ], + "type": "date", + "expression": "Immunization.occurrence", + "xpath": "f:Immunization/f:occurrenceDateTime", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-immunization-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-immunization-patient.json new file mode 100644 index 00000000000..66c8b690f5f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-immunization-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-immunization-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient", + "version": "3.1.1", + "name": "USCoreImmunizationPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.669969Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The patient for the vaccination record
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "patient", + "base": [ + "Immunization" + ], + "type": "reference", + "expression": "Immunization.patient", + "xpath": "f:Immunization/f:patient", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-immunization-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-immunization-status.json new file mode 100644 index 00000000000..fff5d255f6b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-immunization-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-immunization-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/event-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status", + "version": "3.1.1", + "name": "USCoreImmunizationStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Immunization-status", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.67909Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Immunization event status
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "status", + "base": [ + "Immunization" + ], + "type": "token", + "expression": "Immunization.status", + "xpath": "f:Immunization/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-location-address-city.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-location-address-city.json new file mode 100644 index 00000000000..a80be1cfb9b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-location-address-city.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-location-address-city", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city", + "version": "3.1.1", + "name": "USCoreLocationAddressCity", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Location-address-city", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.394960Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "A city specified in an address
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "address-city", + "base": [ + "Location" + ], + "type": "string", + "expression": "Location.address.city", + "xpath": "f:Location/f:address/f:city", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-location-address-postalcode.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-location-address-postalcode.json new file mode 100644 index 00000000000..330c0b221ea --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-location-address-postalcode.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-location-address-postalcode", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode", + "version": "3.1.1", + "name": "USCoreLocationAddressPostalcode", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Location-address-postalcode", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.437165Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "A postal code specified in an address
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "address-postalcode", + "base": [ + "Location" + ], + "type": "string", + "expression": "Location.address.postalCode", + "xpath": "f:Location/f:address/f:postalCode", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-location-address-state.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-location-address-state.json new file mode 100644 index 00000000000..d8777130b57 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-location-address-state.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-location-address-state", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state", + "version": "3.1.1", + "name": "USCoreLocationAddressState", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Location-address-state", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.406178Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "A state specified in an address
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "address-state", + "base": [ + "Location" + ], + "type": "string", + "expression": "Location.address.state", + "xpath": "f:Location/f:address/f:state", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-location-address.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-location-address.json new file mode 100644 index 00000000000..3d6090faf2f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-location-address.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-location-address", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address", + "version": "3.1.1", + "name": "USCoreLocationAddress", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Location-address", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.381612Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "A (part of the) address of the location
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "address", + "base": [ + "Location" + ], + "type": "string", + "expression": "Location.address", + "xpath": "f:Location/f:address", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-location-name.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-location-name.json new file mode 100644 index 00000000000..077499eaa1d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-location-name.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-location-name", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name", + "version": "3.1.1", + "name": "USCoreLocationName", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Location-name", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.373003Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "A portion of the location's name or alias
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "name", + "base": [ + "Location" + ], + "type": "string", + "expression": "Location.name", + "xpath": "f:Location/f:name", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-medicationrequest-authoredon.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-medicationrequest-authoredon.json new file mode 100644 index 00000000000..11c8e2d8146 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-medicationrequest-authoredon.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-authoredon", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon", + "version": "3.1.1", + "name": "USCoreMedicationrequestAuthoredon", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/MedicationRequest-authoredon", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.042729Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Return prescriptions written on this date
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "authoredon", + "base": [ + "MedicationRequest" + ], + "type": "date", + "expression": "MedicationRequest.authoredOn", + "xpath": "f:MedicationRequest/f:authoredOn", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-medicationrequest-encounter.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-medicationrequest-encounter.json new file mode 100644 index 00000000000..fd05f482e56 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-medicationrequest-encounter.json @@ -0,0 +1,67 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-encounter", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter", + "version": "3.1.1", + "name": "USCoreMedicationrequestEncounter", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/medications-encounter", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.028565Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Return prescriptions with this encounter identifier
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "encounter", + "base": [ + "MedicationRequest" + ], + "type": "reference", + "expression": "MedicationRequest.encounter", + "xpath": "f:MedicationRequest/f:encounter", + "xpathUsage": "normal", + "target": [ + "Encounter" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-medicationrequest-intent.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-medicationrequest-intent.json new file mode 100644 index 00000000000..888aae48342 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-medicationrequest-intent.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-intent", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/CodeSystem/medicationrequest-intent" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent", + "version": "3.1.1", + "name": "USCoreMedicationrequestIntent", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/MedicationRequest-intent", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.00284Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Returns prescriptions with different intents
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "intent", + "base": [ + "MedicationRequest" + ], + "type": "token", + "expression": "MedicationRequest.intent", + "xpath": "f:MedicationRequest/f:intent", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-medicationrequest-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-medicationrequest-patient.json new file mode 100644 index 00000000000..e5e7a48ecac --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-medicationrequest-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient", + "version": "3.1.1", + "name": "USCoreMedicationrequestPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.017219Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Returns prescriptions for a specific patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "patient", + "base": [ + "MedicationRequest" + ], + "type": "reference", + "expression": "MedicationRequest.subject.where(resolve() is Patient)", + "xpath": "f:MedicationRequest/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-medicationrequest-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-medicationrequest-status.json new file mode 100644 index 00000000000..7670394cf48 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-medicationrequest-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/CodeSystem/medicationrequest-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status", + "version": "3.1.1", + "name": "USCoreMedicationrequestStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/medications-status", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.986692Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Status of the prescription
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "status", + "base": [ + "MedicationRequest" + ], + "type": "token", + "expression": "MedicationRequest.status", + "xpath": "f:MedicationRequest/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-observation-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-observation-category.json new file mode 100644 index 00000000000..44c4f48df18 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-observation-category.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-observation-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category", + "version": "3.1.1", + "name": "USCoreObservationCategory", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Observation-category", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.120987Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The classification of the type of observation
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "category", + "base": [ + "Observation" + ], + "type": "token", + "expression": "Observation.category", + "xpath": "f:Observation/f:category", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-observation-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-observation-code.json new file mode 100644 index 00000000000..a6ad19b5422 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-observation-code.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-observation-code", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code", + "version": "3.1.1", + "name": "USCoreObservationCode", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-code", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.164665Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The code of the observation type
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "code", + "base": [ + "Observation" + ], + "type": "token", + "expression": "Observation.code", + "xpath": "f:Observation/f:code", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-observation-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-observation-date.json new file mode 100644 index 00000000000..aebb9d11d13 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-observation-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-observation-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date", + "version": "3.1.1", + "name": "USCoreObservationDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.206613Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Obtained date/time. If the obtained element is a period, a date that falls in the period
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "date", + "base": [ + "Observation" + ], + "type": "date", + "expression": "Observation.effective", + "xpath": "f:Observation/f:effectiveDateTime", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-observation-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-observation-patient.json new file mode 100644 index 00000000000..6462b702797 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-observation-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-observation-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient", + "version": "3.1.1", + "name": "USCoreObservationPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.226469Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The subject that the observation is about (if patient)
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "patient", + "base": [ + "Observation" + ], + "type": "reference", + "expression": "Observation.subject.where(resolve() is Patient)", + "xpath": "f:Observation/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-observation-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-observation-status.json new file mode 100644 index 00000000000..b8ab2128d62 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-observation-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-observation-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/observation-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status", + "version": "3.1.1", + "name": "USCoreObservationStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Observation-status", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.107167Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The status of the observation
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "status", + "base": [ + "Observation" + ], + "type": "token", + "expression": "Observation.status", + "xpath": "f:Observation/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-organization-address.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-organization-address.json new file mode 100644 index 00000000000..b239dd1b2a0 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-organization-address.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-organization-address", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address", + "version": "3.1.1", + "name": "USCoreOrganizationAddress", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Organization-address", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.461362Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "address", + "base": [ + "Organization" + ], + "type": "string", + "expression": "Organization.address", + "xpath": "f:Organization/f:address", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-organization-name.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-organization-name.json new file mode 100644 index 00000000000..322cb40560e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-organization-name.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-organization-name", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name", + "version": "3.1.1", + "name": "USCoreOrganizationName", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Organization-name", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.449104Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "A portion of the organization's name or alias
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "name", + "base": [ + "Organization" + ], + "type": "string", + "expression": "Organization.name", + "xpath": "f:Organization/f:name", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-birthdate.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-birthdate.json new file mode 100644 index 00000000000..7b2dacd4e37 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-birthdate.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-birthdate", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate", + "version": "3.1.1", + "name": "USCorePatientBirthdate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/individual-birthdate", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.536352Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The patient's date of birth
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "birthdate", + "base": [ + "Patient" + ], + "type": "date", + "expression": "Patient.birthDate", + "xpath": "f:Patient/f:birthDate", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-family.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-family.json new file mode 100644 index 00000000000..d9f18dcce6e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-family.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-family", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family", + "version": "3.1.1", + "name": "USCorePatientFamily", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/individual-family", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.548525Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "A portion of the family name of the patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "family", + "base": [ + "Patient" + ], + "type": "string", + "expression": "Patient.name.family", + "xpath": "f:Patient/f:name/f:family", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-gender.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-gender.json new file mode 100644 index 00000000000..372c1ff2a5a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-gender.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-gender", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/administrative-gender" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender", + "version": "3.1.1", + "name": "USCorePatientGender", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/individual-gender", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.567529Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Gender of the patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "gender", + "base": [ + "Patient" + ], + "type": "token", + "expression": "Patient.gender", + "xpath": "f:Patient/f:gender", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-given.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-given.json new file mode 100644 index 00000000000..f777206b44a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-given.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-given", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given", + "version": "3.1.1", + "name": "USCorePatientGiven", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/individual-given", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.585406Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "A portion of the given name of the patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "given", + "base": [ + "Patient" + ], + "type": "string", + "expression": "Patient.name.given", + "xpath": "f:Patient/f:name/f:given", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-id.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-id.json new file mode 100644 index 00000000000..cb123dff232 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-id.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-id", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id", + "version": "3.1.1", + "name": "USCorePatientId", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Resource-id", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.493962Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Logical id of this artifact
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "_id", + "base": [ + "Patient" + ], + "type": "token", + "expression": "Patient.id", + "xpath": "Patient.id", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-identifier.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-identifier.json new file mode 100644 index 00000000000..c8d18522814 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-identifier.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-identifier", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier", + "version": "3.1.1", + "name": "USCorePatientIdentifier", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.604969Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "A patient identifier
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "identifier", + "base": [ + "Patient" + ], + "type": "token", + "expression": "Patient.identifier", + "xpath": "f:Patient/f:identifier", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-name.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-name.json new file mode 100644 index 00000000000..3c9b0356f3f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-patient-name.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-name", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name", + "version": "3.1.1", + "name": "USCorePatientName", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Patient-name", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:57.634221Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "name", + "base": [ + "Patient" + ], + "type": "string", + "expression": "Patient.name", + "xpath": "f:Patient/f:name", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-practitioner-identifier.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-practitioner-identifier.json new file mode 100644 index 00000000000..33a16cbbbb6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-practitioner-identifier.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-practitioner-identifier", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier", + "version": "3.1.1", + "name": "USCorePractitionerIdentifier", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Practitioner-identifier", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.483046Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "A practitioner's Identifier
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "identifier", + "base": [ + "Practitioner" + ], + "type": "token", + "expression": "Practitioner.identifier", + "xpath": "f:Practitioner/f:identifier", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-practitioner-name.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-practitioner-name.json new file mode 100644 index 00000000000..36bd79f8a0c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-practitioner-name.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-practitioner-name", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name", + "version": "3.1.1", + "name": "USCorePractitionerName", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Practitioner-name", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.473510Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "name", + "base": [ + "Practitioner" + ], + "type": "string", + "expression": "Practitioner.name", + "xpath": "f:Practitioner/f:name", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-practitionerrole-practitioner.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-practitionerrole-practitioner.json new file mode 100644 index 00000000000..76d1e328ad2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-practitionerrole-practitioner.json @@ -0,0 +1,89 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-practitionerrole-practitioner", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner", + "version": "3.1.1", + "name": "USCorePractitionerrolePractitioner", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/PractitionerRole-practitioner", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.507650Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Practitioner that is able to provide the defined services for the organization
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "practitioner", + "base": [ + "PractitionerRole" + ], + "type": "reference", + "expression": "PractitionerRole.practitioner", + "xpath": "f:PractitionerRole/f:practitioner", + "xpathUsage": "normal", + "target": [ + "Practitioner" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "chain": [ + "identifier", + "name" + ], + "_chain": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-practitionerrole-specialty.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-practitionerrole-specialty.json new file mode 100644 index 00000000000..ac8aa1ff7ff --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-practitionerrole-specialty.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-practitionerrole-specialty", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty", + "version": "3.1.1", + "name": "USCorePractitionerroleSpecialty", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/PractitionerRole-specialty", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.492949Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The practitioner has this specialty at an organization
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "specialty", + "base": [ + "PractitionerRole" + ], + "type": "token", + "expression": "PractitionerRole.specialty", + "xpath": "f:PractitionerRole/f:specialty", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-procedure-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-procedure-code.json new file mode 100644 index 00000000000..b76581155f0 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-procedure-code.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-procedure-code", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code", + "version": "3.1.1", + "name": "USCoreProcedureCode", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-code", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.092434Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "A code to identify a procedure
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "code", + "base": [ + "Procedure" + ], + "type": "token", + "expression": "Procedure.code", + "xpath": "f:Procedure/f:code", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-procedure-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-procedure-date.json new file mode 100644 index 00000000000..57a4f197a3a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-procedure-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-procedure-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date", + "version": "3.1.1", + "name": "USCoreProcedureDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.073325Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "When the procedure was performed
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "date", + "base": [ + "Procedure" + ], + "type": "date", + "expression": "Procedure.performed", + "xpath": "f:Procedure/f:performedDateTime", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-procedure-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-procedure-patient.json new file mode 100644 index 00000000000..d3f3b7fb36f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-procedure-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-procedure-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient", + "version": "3.1.1", + "name": "USCoreProcedurePatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.063354Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Search by subject - a patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "patient", + "base": [ + "Procedure" + ], + "type": "reference", + "expression": "Procedure.subject.where(resolve() is Patient)", + "xpath": "f:Procedure/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-procedure-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-procedure-status.json new file mode 100644 index 00000000000..9addc8d1665 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-procedure-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-procedure-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/event-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status", + "version": "3.1.1", + "name": "USCoreProcedureStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Procedure-status", + "status": "active", + "experimental": false, + "date": "2020-07-01T21:51:58.057158Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "status", + "base": [ + "Procedure" + ], + "type": "token", + "expression": "Procedure.status", + "xpath": "f:Procedure/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-race.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-race.json new file mode 100644 index 00000000000..ec160ab21cd --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-us-core-race.json @@ -0,0 +1,44 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-race", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-race", + "version": "3.1.1", + "name": "USCoreRace", + "status": "active", + "date": "2019-05-21", + "publisher": "US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://www.healthit.gov/" + } + ] + } + ], + "description": "Returns patients with a race extension matching the specified code.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "code": "race", + "base": [ + "Patient" + ], + "type": "token", + "expression": "Patient.extension.where(url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race').extension.value.code", + "xpath": "f:Patient/f:extension[@url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-race']/f:extension/f:valueCoding/f:code/@value", + "xpathUsage": "normal" +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-head-occipital-frontal-circumference-percentile.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-head-occipital-frontal-circumference-percentile.json new file mode 100644 index 00000000000..fad3d4126f3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-head-occipital-frontal-circumference-percentile.json @@ -0,0 +1,3823 @@ +{ + "resourceType": "StructureDefinition", + "id": "head-occipital-frontal-circumference-percentile", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile", + "version": "3.1.1", + "name": "UsCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile", + "title": "US Core Pediatric Head Occipital-frontal Circumference Percentile Profile", + "status": "active", + "experimental": false, + "date": "2020-07-01", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the Observation resource for use in querying and retrieving pediatric Pediatric Head Occipital-frontal Circumference Percentile observations.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "FHIR Vital Signs Profile", + "definition": "This profile defines how to represent head occipital-frontal circumference percentile for patients from birth to 36 months of age in FHIR using a standard LOINC code and UCUM units of measure.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.extension", + "path": "Observation.category.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Head Occipital-frontal circumference Percentile", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "additional codes that translate or map to this code are allowed. For example a more granular LOINC code or code that is used locally in a system.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name", + "Test" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8289-1" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "VitalSigns" + } + ], + "strength": "extensible", + "description": "This identifies the vital sign result type.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "definition": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "definition": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Used when reporting systolic and diastolic blood pressure.", + "definition": "Used when reporting systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "VitalSigns" + } + ], + "strength": "extensible", + "description": "This identifies the vital sign result type.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Value recorded with UCUM", + "definition": "Vital Sign Value recorded with UCUM.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "VitalSignsUnits" + } + ], + "strength": "required", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "definition": "This profile defines how to represent head occipital-frontal circumference percentile for patients from birth to 36 months of age in FHIR using a standard LOINC code and UCUM units of measure.", + "mustSupport": false + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Head Occipital-frontal circumference Percentile", + "comment": "additional codes that translate or map to this code are allowed. For example a more granular LOINC code or code that is used locally in a system.", + "alias": [ + "Test", + "Name" + ], + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8289-1" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-pediatric-bmi-for-age.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-pediatric-bmi-for-age.json new file mode 100644 index 00000000000..83ca89e9ac1 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-pediatric-bmi-for-age.json @@ -0,0 +1,3821 @@ +{ + "resourceType": "StructureDefinition", + "id": "pediatric-bmi-for-age", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", + "version": "3.1.1", + "name": "USCorePediatricBMIforAgeObservationProfile", + "title": "US Core Pediatric BMI for Age Observation Profile", + "status": "active", + "experimental": false, + "date": "2020-06-27", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the Observation resource for use in querying and retrieving pediatric BMI observations.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "FHIR Vital Signs Profile", + "definition": "This profile defines how to represent BMI percentile per age and sex for youth 2-20 observations in FHIR using a standard LOINC code and UCUM units of measure.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.extension", + "path": "Observation.category.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "BMI percentile per age and sex for youth 2-20", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "additional codes that translate or map to this code are allowed. For example a more granular LOINC code or code that is used locally in a system.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name", + "Test" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59576-9" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "VitalSigns" + } + ], + "strength": "extensible", + "description": "This identifies the vital sign result type.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "definition": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "definition": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Used when reporting systolic and diastolic blood pressure.", + "definition": "Used when reporting systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "VitalSigns" + } + ], + "strength": "extensible", + "description": "This identifies the vital sign result type.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Value recorded with UCUM", + "definition": "Vital Sign Value recorded with UCUM.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "VitalSignsUnits" + } + ], + "strength": "required", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "definition": "This profile defines how to represent BMI percentile per age and sex for youth 2-20 observations in FHIR using a standard LOINC code and UCUM units of measure.", + "mustSupport": false + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "BMI percentile per age and sex for youth 2-20", + "comment": "additional codes that translate or map to this code are allowed. For example a more granular LOINC code or code that is used locally in a system.", + "alias": [ + "Test", + "Name" + ], + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59576-9" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-pediatric-weight-for-height.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-pediatric-weight-for-height.json new file mode 100644 index 00000000000..cdc610ffd64 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-pediatric-weight-for-height.json @@ -0,0 +1,3825 @@ +{ + "resourceType": "StructureDefinition", + "id": "pediatric-weight-for-height", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height", + "version": "3.1.1", + "name": "USCorePediatricWeightForHeightObservationProfile", + "title": "US Core Pediatric Weight for Height Observation Profile", + "status": "active", + "experimental": false, + "date": "2020-06-27", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the Observation resource for use in querying and retrieving pediatric Weight-for-length per age and gender observations.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "FHIR Vital Signs Profile", + "definition": "This profile defines how to represent Weight-for-length per age and gender observations in FHIR using a standard LOINC code and UCUM units of measure.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.extension", + "path": "Observation.category.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Weight-for-length per age and gender", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "additional codes that translate or map to this code are allowed. For example a more granular LOINC code or code that is used locally in a system.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name", + "Test" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "77606-2" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "VitalSigns" + } + ], + "strength": "extensible", + "description": "This identifies the vital sign result type.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "definition": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "definition": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Used when reporting systolic and diastolic blood pressure.", + "definition": "Used when reporting systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "VitalSigns" + } + ], + "strength": "extensible", + "description": "This identifies the vital sign result type.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Value recorded with UCUM", + "definition": "Vital Sign Value recorded with UCUM.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "VitalSignsUnits" + } + ], + "strength": "required", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "definition": "This profile defines how to represent Weight-for-length per age and gender observations in FHIR using a standard LOINC code and UCUM units of measure.", + "mustSupport": false + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Weight-for-length per age and gender", + "comment": "additional codes that translate or map to this code are allowed. For example a more granular LOINC code or code that is used locally in a system.", + "alias": [ + "Test", + "Name" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "77606-2" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-allergyintolerance.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-allergyintolerance.json new file mode 100644 index 00000000000..231185e5d37 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-allergyintolerance.json @@ -0,0 +1,1852 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-allergyintolerance", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance", + "version": "3.1.1", + "name": "USCoreAllergyIntolerance", + "title": "US Core AllergyIntolerance Profile", + "status": "active", + "experimental": false, + "date": "2020-06-29", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the AllergyIntolerance resource for the minimal set of data to query and retrieve allergy information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "uri": "http://unknown.org/Argonaut-DQ-DSTU2", + "name": "Argonaut-DQ-DSTU2" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "AllergyIntolerance", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "AllergyIntolerance", + "path": "AllergyIntolerance", + "short": "Allergy or Intolerance (generally: Risk of adverse reaction to a substance)", + "definition": "The US Core Allergies Profile is based upon the core FHIR AllergyIntolerance Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medical allergies' requirements.", + "comment": "Substances include, but are not limited to: a therapeutic substance administered correctly at an appropriate dosage for the individual; food; material derived from plants or animals; or venom from insect stings.", + "alias": [ + "Allergy", + "Intolerance", + "Adverse Reaction" + ], + "min": 0, + "max": "*", + "base": { + "path": "AllergyIntolerance", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "ait-1", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.", + "expression": "verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()", + "xpath": "f:verificationStatus/f:coding/f:code/@value='entered-in-error' or exists(f:clinicalStatus)", + "source": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance" + }, + { + "key": "ait-2", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error", + "expression": "verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()", + "xpath": "not(f:verificationStatus/f:coding/f:code/@value='entered-in-error') or not(exists(f:clinicalStatus))", + "source": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance" + }, + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance" + } + ] + }, + { + "id": "AllergyIntolerance.id", + "path": "AllergyIntolerance.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "AllergyIntolerance.meta", + "path": "AllergyIntolerance.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "AllergyIntolerance.implicitRules", + "path": "AllergyIntolerance.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "AllergyIntolerance.language", + "path": "AllergyIntolerance.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "AllergyIntolerance.text", + "path": "AllergyIntolerance.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "AllergyIntolerance.contained", + "path": "AllergyIntolerance.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance.extension", + "path": "AllergyIntolerance.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance.modifierExtension", + "path": "AllergyIntolerance.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance.identifier", + "path": "AllergyIntolerance.identifier", + "short": "External ids for this item", + "definition": "Business identifiers assigned to this AllergyIntolerance by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", + "comment": "This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.", + "requirements": "Allows identification of the AllergyIntolerance as it is known by various participating systems and in a way that remains consistent across servers.", + "min": 0, + "max": "*", + "base": { + "path": "AllergyIntolerance.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "IAM-7" + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "AllergyIntolerance.clinicalStatus", + "path": "AllergyIntolerance.clinicalStatus", + "short": "active | inactive | resolved", + "definition": "The clinical status of the allergy or intolerance.", + "comment": "Refer to [discussion](http://hl7.org/fhir/R4/extensibility.html#Special-Case) if clincalStatus is missing data.\nThe data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.clinicalStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "ait-1", + "ait-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the status contains the codes inactive and resolved that mark the AllergyIntolerance as no longer active.", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"clinicalStatus\", moodCode=EVN].value" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.status" + } + ] + }, + { + "id": "AllergyIntolerance.verificationStatus", + "path": "AllergyIntolerance.verificationStatus", + "short": "unconfirmed | confirmed | refuted | entered-in-error", + "definition": "Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product).", + "comment": "The data type is CodeableConcept because verificationStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.verificationStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "ait-1", + "ait-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the status contains the codes refuted and entered-in-error that mark the AllergyIntolerance as not currently valid.", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-verification" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"verificationStatus\", moodCode=EVN].value" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.status" + } + ] + }, + { + "id": "AllergyIntolerance.type", + "path": "AllergyIntolerance.type", + "short": "allergy | intolerance - Underlying mechanism (if known)", + "definition": "Identification of the underlying physiological mechanism for the reaction risk.", + "comment": "Allergic (typically immune-mediated) reactions have been traditionally regarded as an indicator for potential escalation to significant future risk. Contemporary knowledge suggests that some reactions previously thought to be immune-mediated are, in fact, non-immune, but in some cases can still pose a life threatening risk. It is acknowledged that many clinicians might not be in a position to distinguish the mechanism of a particular reaction. Often the term \"allergy\" is used rather generically and may overlap with the use of \"intolerance\" - in practice the boundaries between these two concepts might not be well-defined or understood. This data element is included nevertheless, because many legacy systems have captured this attribute. Immunologic testing may provide supporting evidence for the basis of the reaction and the causative substance, but no tests are 100% sensitive or specific for sensitivity to a particular substance. If, as is commonly the case, it is unclear whether the reaction is due to an allergy or an intolerance, then the type element should be omitted from the resource.", + "alias": [ + "Category", + "Class" + ], + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AllergyIntoleranceType" + } + ], + "strength": "required", + "description": "Identification of the underlying physiological mechanism for a Reaction Risk.", + "valueSet": "http://hl7.org/fhir/ValueSet/allergy-intolerance-type|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "IAM-9" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "AllergyIntolerance.category", + "path": "AllergyIntolerance.category", + "short": "food | medication | environment | biologic", + "definition": "Category of the identified substance.", + "comment": "This data element has been included because it is currently being captured in some clinical systems. This data can be derived from the substance where coding systems are used, and is effectively redundant in that situation. When searching on category, consider the implications of AllergyIntolerance resources without a category. For example, when searching on category = medication, medication allergies that don't have a category valued will not be returned. Refer to [search](http://hl7.org/fhir/R4/search.html) for more information on how to search category with a :missing modifier to get allergies that don't have a category. Additionally, category should be used with caution because category can be subjective based on the sender.", + "alias": [ + "Category", + "Type", + "Reaction Type", + "Class" + ], + "min": 0, + "max": "*", + "base": { + "path": "AllergyIntolerance.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AllergyIntoleranceCategory" + } + ], + "strength": "required", + "description": "Category of an identified substance associated with allergies or intolerances.", + "valueSet": "http://hl7.org/fhir/ValueSet/allergy-intolerance-category|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "AL1-2" + }, + { + "identity": "rim", + "map": "value < IntoleranceValue (Agent)" + } + ] + }, + { + "id": "AllergyIntolerance.criticality", + "path": "AllergyIntolerance.criticality", + "short": "low | high | unable-to-assess", + "definition": "Estimate of the potential clinical harm, or seriousness, of the reaction to the identified substance.", + "comment": "The default criticality value for any propensity to an adverse reaction should be 'Low Risk', indicating at the very least a relative contraindication to deliberate or voluntary exposure to the substance. 'High Risk' is flagged if the clinician has identified a propensity for a more serious or potentially life-threatening reaction, such as anaphylaxis, and implies an absolute contraindication to deliberate or voluntary exposure to the substance. If this element is missing, the criticality is unknown (though it may be known elsewhere). Systems that capture a severity at the condition level are actually representing the concept of criticality whereas the severity documented at the reaction level is representing the true reaction severity. Existing systems that are capturing both condition criticality and reaction severity may use the term \"severity\" to represent both. Criticality is the worst it could be in the future (i.e. situation-agnostic) whereas severity is situation-dependent.", + "alias": [ + "Severity", + "Seriousness", + "Contra-indication", + "Risk" + ], + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.criticality", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AllergyIntoleranceCriticality" + } + ], + "strength": "required", + "description": "Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.", + "valueSet": "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.grade" + }, + { + "identity": "v2", + "map": "AL1-4" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + } + ] + }, + { + "id": "AllergyIntolerance.code", + "path": "AllergyIntolerance.code", + "short": "Code that identifies the allergy or intolerance", + "definition": "Code for an allergy or intolerance statement (either a positive or a negated/excluded statement). This may be a code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk (e.g., \"Latex\"), an allergy or intolerance condition (e.g., \"Latex allergy\"), or a negated/excluded code for a specific substance or class (e.g., \"No latex allergy\") or a general or categorical negated statement (e.g., \"No known allergy\", \"No known drug allergies\"). Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'. If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance.", + "comment": "It is strongly recommended that this element be populated using a terminology, where possible. For example, some terminologies used include RxNorm, SNOMED CT, DM+D, NDFRT, ICD-9, IDC-10, UNII, and ATC. Plain text should only be used if there is no appropriate terminology available. Additional details can be specified in the text.\r\rWhen a substance or product code is specified for the 'code' element, the \"default\" semantic context is that this is a positive statement of an allergy or intolerance (depending on the value of the 'type' element, if present) condition to the specified substance/product. In the corresponding SNOMED CT allergy model, the specified substance/product is the target (destination) of the \"Causative agent\" relationship.\r\rThe 'substanceExposureRisk' extension is available as a structured and more flexible alternative to the 'code' element for making positive or negative allergy or intolerance statements. This extension provides the capability to make \"no known allergy\" (or \"no risk of adverse reaction\") statements regarding any coded substance/product (including cases when a pre-coordinated \"no allergy to x\" concept for that substance/product does not exist). If the 'substanceExposureRisk' extension is present, the AllergyIntolerance.code element SHALL be omitted.", + "alias": [ + "Code" + ], + "min": 1, + "max": "1", + "base": { + "path": "AllergyIntolerance.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-allergy-substance|3.1.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "AL1-3 / IAM-3" + }, + { + "identity": "rim", + "map": "substance/product:\r\r.participation[typeCode=CAGNT].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]\r\rnegated/excluded substance/product:\r\r.participation[typeCode=CAGNT, negationInd=true].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]\r\rpositive or negated/excluded condition/situation:\r\rObservation.code=ASSERTION; Observation.value" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.substance" + } + ] + }, + { + "id": "AllergyIntolerance.patient", + "path": "AllergyIntolerance.patient", + "short": "Who the sensitivity is for", + "definition": "The patient who has the allergy or intolerance.", + "alias": [ + "Patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "AllergyIntolerance.patient", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "(PID-3)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.patient" + } + ] + }, + { + "id": "AllergyIntolerance.encounter", + "path": "AllergyIntolerance.encounter", + "short": "Encounter when the allergy or intolerance was asserted", + "definition": "The encounter when the allergy or intolerance was asserted.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "AllergyIntolerance.onset[x]", + "path": "AllergyIntolerance.onset[x]", + "short": "When allergy or intolerance was identified", + "definition": "Estimated or actual date, date-time, or age when allergy or intolerance was identified.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.onset[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.init" + }, + { + "identity": "rim", + "map": "effectiveTime.low" + } + ] + }, + { + "id": "AllergyIntolerance.recordedDate", + "path": "AllergyIntolerance.recordedDate", + "short": "Date first version of the resource instance was recorded", + "definition": "The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.recordedDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "IAM-13" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + } + ] + }, + { + "id": "AllergyIntolerance.recorder", + "path": "AllergyIntolerance.recorder", + "short": "Who recorded the sensitivity", + "definition": "Individual who recorded the record and takes responsibility for its content.", + "alias": [ + "Author" + ], + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.recorder", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.author" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + } + ] + }, + { + "id": "AllergyIntolerance.asserter", + "path": "AllergyIntolerance.asserter", + "short": "Source of the information about the allergy", + "definition": "The source of the information about the allergy that is recorded.", + "comment": "The recorder takes responsibility for the content, but can reference the source from where they got it.", + "alias": [ + "Source", + "Informant" + ], + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.asserter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + }, + { + "identity": "v2", + "map": "IAM-14 (if patient) / IAM-18 (if practitioner)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role" + } + ] + }, + { + "id": "AllergyIntolerance.lastOccurrence", + "path": "AllergyIntolerance.lastOccurrence", + "short": "Date(/time) of last known occurrence of a reaction", + "definition": "Represents the date and/or time of the last known occurrence of a reaction event.", + "comment": "This date may be replicated by one of the Onset of Reaction dates. Where a textual representation of the date of last occurrence is required e.g. 'In Childhood, '10 years ago' the Comment element should be used.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.lastOccurrence", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)].effectiveTime" + } + ] + }, + { + "id": "AllergyIntolerance.note", + "path": "AllergyIntolerance.note", + "short": "Additional text not captured in other fields", + "definition": "Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.", + "comment": "For example: including reason for flagging a seriousness of 'High Risk'; and instructions related to future exposure or administration of the substance, such as administration within an Intensive Care Unit or under corticosteroid cover. The notes should be related to an allergy or intolerance as a condition in general and not related to any particular episode of it. For episode notes and descriptions, use AllergyIntolerance.event.description and AllergyIntolerance.event.notes.", + "min": 0, + "max": "*", + "base": { + "path": "AllergyIntolerance.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "AllergyIntolerance.reaction", + "path": "AllergyIntolerance.reaction", + "short": "Adverse Reaction Events linked to exposure to substance", + "definition": "Details about each adverse reaction event linked to exposure to the identified substance.", + "min": 0, + "max": "*", + "base": { + "path": "AllergyIntolerance.reaction", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.id", + "path": "AllergyIntolerance.reaction.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.extension", + "path": "AllergyIntolerance.reaction.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.modifierExtension", + "path": "AllergyIntolerance.reaction.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.substance", + "path": "AllergyIntolerance.reaction.substance", + "short": "Specific substance or pharmaceutical product considered to be responsible for event", + "definition": "Identification of the specific substance (or pharmaceutical product) considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'. If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance.", + "comment": "Coding of the specific substance (or pharmaceutical product) with a terminology capable of triggering decision support should be used wherever possible. The 'code' element allows for the use of a specific substance or pharmaceutical product, or a group or class of substances. In the case of an allergy or intolerance to a class of substances, (for example, \"penicillins\"), the 'reaction.substance' element could be used to code the specific substance that was identified as having caused the reaction (for example, \"amoxycillin\"). Duplication of the value in the 'code' and 'reaction.substance' elements is acceptable when a specific substance has been recorded in 'code'.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.reaction.substance", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "SubstanceCode" + } + ], + "strength": "example", + "description": "Codes defining the type of the substance (including pharmaceutical products).", + "valueSet": "http://hl7.org/fhir/ValueSet/substance-code" + }, + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].participation[typeCode=CSM].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.manifestation", + "path": "AllergyIntolerance.reaction.manifestation", + "short": "Clinical symptoms/signs associated with the Event", + "definition": "Clinical symptoms and/or signs that are observed or associated with the adverse reaction event.", + "comment": "Manifestation can be expressed as a single word, phrase or brief description. For example: nausea, rash or no reaction. It is preferable that manifestation should be coded with a terminology, where possible. The values entered here may be used to display on an application screen as part of a list of adverse reactions, as recommended in the UK NHS CUI guidelines. Terminologies commonly used include, but are not limited to, SNOMED CT or ICD10.", + "alias": [ + "Symptoms", + "Signs" + ], + "min": 1, + "max": "*", + "base": { + "path": "AllergyIntolerance.reaction.manifestation", + "min": 1, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-5" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.description", + "path": "AllergyIntolerance.reaction.description", + "short": "Description of the event as a whole", + "definition": "Text description about the reaction as a whole, including details of the manifestation if required.", + "comment": "Use the description to provide any details of a particular event of the occurred reaction such as circumstances, reaction specifics, what happened before/after. Information, related to the event, but not describing a particular care should be captured in the comment field. For example: at the age of four, the patient was given penicillin for strep throat and subsequently developed severe hives.", + "alias": [ + "Narrative", + "Text" + ], + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.reaction.description", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "text" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.onset", + "path": "AllergyIntolerance.reaction.onset", + "short": "Date(/time) when manifestations showed", + "definition": "Record of the date and/or time of the onset of the Reaction.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.reaction.onset", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "AL1-6" + }, + { + "identity": "rim", + "map": "effectiveTime.low" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.severity", + "path": "AllergyIntolerance.reaction.severity", + "short": "mild | moderate | severe (of event as a whole)", + "definition": "Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations.", + "comment": "It is acknowledged that this assessment is very subjective. There may be some specific practice domains where objective scales have been applied. Objective scales can be included in this model as extensions.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.reaction.severity", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AllergyIntoleranceSeverity" + } + ], + "strength": "required", + "description": "Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.", + "valueSet": "http://hl7.org/fhir/ValueSet/reaction-event-severity|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.exposureRoute", + "path": "AllergyIntolerance.reaction.exposureRoute", + "short": "How the subject was exposed to the substance", + "definition": "Identification of the route by which the subject was exposed to the substance.", + "comment": "Coding of the route of exposure with a terminology should be used wherever possible.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.reaction.exposureRoute", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "RouteOfAdministration" + } + ], + "strength": "example", + "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.", + "valueSet": "http://hl7.org/fhir/ValueSet/route-codes" + }, + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].routeCode" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.note", + "path": "AllergyIntolerance.reaction.note", + "short": "Text about event not captured in other fields", + "definition": "Additional text about the adverse reaction event not captured in other fields.", + "comment": "Use this field to record information indirectly related to a particular event and not captured in the description. For example: Clinical records are no longer available, recorded based on information provided to the patient by her mother and her mother is deceased.", + "min": 0, + "max": "*", + "base": { + "path": "AllergyIntolerance.reaction.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "AllergyIntolerance", + "path": "AllergyIntolerance", + "definition": "The US Core Allergies Profile is based upon the core FHIR AllergyIntolerance Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medical allergies' requirements.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance" + } + ] + }, + { + "id": "AllergyIntolerance.clinicalStatus", + "path": "AllergyIntolerance.clinicalStatus", + "min": 0, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.status" + } + ] + }, + { + "id": "AllergyIntolerance.verificationStatus", + "path": "AllergyIntolerance.verificationStatus", + "min": 0, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-verification" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.status" + } + ] + }, + { + "id": "AllergyIntolerance.code", + "path": "AllergyIntolerance.code", + "min": 1, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-allergy-substance|3.1.1" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.substance" + } + ] + }, + { + "id": "AllergyIntolerance.patient", + "path": "AllergyIntolerance.patient", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.patient" + } + ] + }, + { + "id": "AllergyIntolerance.reaction", + "path": "AllergyIntolerance.reaction", + "min": 0, + "max": "*", + "mustSupport": true + }, + { + "id": "AllergyIntolerance.reaction.manifestation", + "path": "AllergyIntolerance.reaction.manifestation", + "min": 1, + "max": "*", + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + } + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-birthsex.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-birthsex.json new file mode 100644 index 00000000000..227b14163f6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-birthsex.json @@ -0,0 +1,369 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-birthsex", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "version": "3.1.1", + "name": "USCoreBirthSexExtension", + "title": "US Core Birth Sex Extension", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc). This extension aligns with the C-CDA Birth Sex Observation (LOINC 76689-9).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Patient" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Extension", + "definition": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc).", + "comment": "The codes required are intended to present birth sex (i.e., the sex recorded on the patient’s birth certificate) and not gender identity or reassigned sex.", + "min": 0, + "max": "1", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "iso11179", + "map": ".patient.administrativeGenderCode" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]:valueCode", + "path": "Extension.value[x]", + "sliceName": "valueCode", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Code for sex assigned at birth", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/birthsex|3.1.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "definition": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc).", + "comment": "The codes required are intended to present birth sex (i.e., the sex recorded on the patient’s birth certificate) and not gender identity or reassigned sex.", + "min": 0, + "max": "1", + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "iso11179", + "map": ".patient.administrativeGenderCode" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" + }, + { + "id": "Extension.valueCode", + "path": "Extension.valueCode", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Code for sex assigned at birth", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/birthsex|3.1.1" + } + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-careplan.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-careplan.json new file mode 100644 index 00000000000..cf98ffca4e9 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-careplan.json @@ -0,0 +1,3322 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-careplan", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan", + "version": "3.1.1", + "name": "USCoreCarePlanProfile", + "title": "US Core CarePlan Profile", + "status": "active", + "experimental": false, + "date": "2019-08-29", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the CarePlan resource for the minimal set of data to query and retrieve a patient's Care Plan.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "uri": "http://unknown.org/Argonaut-DQ-DSTU2", + "name": "Argonaut-DQ-DSTU2" + }, + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "CarePlan", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CarePlan", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "CarePlan", + "path": "CarePlan", + "short": "Healthcare plan for patient or group", + "definition": "The US Core CarePlan Profile is based upon the core FHIR CarePlan Resource and created to meet the 2015 Edition Common Clinical Data Set 'Assessment and Plan of Treatment requirements.", + "alias": [ + "Care Team" + ], + "min": 0, + "max": "*", + "base": { + "path": "CarePlan", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Request" + }, + { + "identity": "rim", + "map": "Act[classCode=PCPR, moodCode=INT]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan" + } + ] + }, + { + "id": "CarePlan.id", + "path": "CarePlan.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CarePlan.meta", + "path": "CarePlan.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CarePlan.implicitRules", + "path": "CarePlan.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "CarePlan.language", + "path": "CarePlan.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "CarePlan.text", + "path": "CarePlan.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.text" + } + ] + }, + { + "id": "CarePlan.text.id", + "path": "CarePlan.text.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan.text.extension", + "path": "CarePlan.text.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan.text.status", + "path": "CarePlan.text.status", + "short": "generated | extensions | additional | empty", + "definition": "generated | additional.", + "min": 1, + "max": "1", + "base": { + "path": "Narrative.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Constrained value set of narrative statuses.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status|3.1.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.text.status" + } + ] + }, + { + "id": "CarePlan.text.div", + "path": "CarePlan.text.div", + "short": "Limited xhtml content", + "definition": "The actual narrative content, a stripped down version of XHTML.", + "comment": "The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.", + "min": 1, + "max": "1", + "base": { + "path": "Narrative.div", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "xhtml" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "txt-1", + "severity": "error", + "human": "The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, elements (either name or href), images and internally contained style attributes", + "expression": "htmlChecks()", + "xpath": "not(descendant-or-self::*[not(local-name(.)=('a', 'abbr', 'acronym', 'b', 'big', 'blockquote', 'br', 'caption', 'cite', 'code', 'col', 'colgroup', 'dd', 'dfn', 'div', 'dl', 'dt', 'em', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'li', 'ol', 'p', 'pre', 'q', 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'ul', 'var'))]) and not(descendant-or-self::*/@*[not(name(.)=('abbr', 'accesskey', 'align', 'alt', 'axis', 'bgcolor', 'border', 'cellhalign', 'cellpadding', 'cellspacing', 'cellvalign', 'char', 'charoff', 'charset', 'cite', 'class', 'colspan', 'compact', 'coords', 'dir', 'frame', 'headers', 'height', 'href', 'hreflang', 'hspace', 'id', 'lang', 'longdesc', 'name', 'nowrap', 'rel', 'rev', 'rowspan', 'rules', 'scope', 'shape', 'span', 'src', 'start', 'style', 'summary', 'tabindex', 'title', 'type', 'valign', 'value', 'vspace', 'width'))])" + }, + { + "key": "txt-2", + "severity": "error", + "human": "The narrative SHALL have some non-whitespace content", + "expression": "htmlChecks()", + "xpath": "descendant::text()[normalize-space(.)!=''] or descendant::h:img[@src]" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan.contained", + "path": "CarePlan.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan.extension", + "path": "CarePlan.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan.modifierExtension", + "path": "CarePlan.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan.identifier", + "path": "CarePlan.identifier", + "short": "External Ids for this plan", + "definition": "Business identifiers assigned to this care plan by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", + "comment": "This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.", + "requirements": "Allows identification of the care plan as it is known by various participating systems and in a way that remains consistent across servers.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "PTH-3" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "CarePlan.instantiatesCanonical", + "path": "CarePlan.instantiatesCanonical", + "short": "Instantiates FHIR protocol or definition", + "definition": "The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.instantiatesCanonical", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "canonical", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/PlanDefinition", + "http://hl7.org/fhir/StructureDefinition/Questionnaire", + "http://hl7.org/fhir/StructureDefinition/Measure", + "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", + "http://hl7.org/fhir/StructureDefinition/OperationDefinition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.instantiatesCanonical" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "CarePlan.instantiatesUri", + "path": "CarePlan.instantiatesUri", + "short": "Instantiates external protocol or definition", + "definition": "The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.", + "comment": "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.instantiatesUri", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.instantiatesUri" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "CarePlan.basedOn", + "path": "CarePlan.basedOn", + "short": "Fulfills CarePlan", + "definition": "A care plan that is fulfilled in whole or in part by this care plan.", + "requirements": "Allows tracing of the care plan and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.basedOn" + } + ] + }, + { + "id": "CarePlan.replaces", + "path": "CarePlan.replaces", + "short": "CarePlan replaced by this CarePlan", + "definition": "Completed or terminated care plan whose function is taken by this new care plan.", + "comment": "The replacement could be because the initial care plan was immediately rejected (due to an issue) or because the previous care plan was completed, but the need for the action described by the care plan remains ongoing.", + "requirements": "Allows tracing the continuation of a therapy or administrative process instantiated through multiple care plans.", + "alias": [ + "supersedes" + ], + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.replaces", + "min": 0, + "max": "*" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.replaces" + } + ] + }, + { + "id": "CarePlan.partOf", + "path": "CarePlan.partOf", + "short": "Part of referenced CarePlan", + "definition": "A larger care plan of which this particular care plan is a component or step.", + "comment": "Each care plan is an independent request, such that having a care plan be part of another care plan can cause issues with cascading statuses. As such, this element is still being discussed.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CarePlan.status", + "path": "CarePlan.status", + "short": "draft | active | on-hold | revoked | completed | entered-in-error | unknown", + "definition": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "comment": "The unknown code is not to be used to convey other statuses. The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the care plan.\n\nThis element is labeled as a modifier because the status contains the code entered-in-error that marks the plan as not currently valid.", + "requirements": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "min": 1, + "max": "1", + "base": { + "path": "CarePlan.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "valueSet": "http://hl7.org/fhir/ValueSet/request-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.status {uses different ValueSet}" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "PTH-5" + }, + { + "identity": "rim", + "map": ".statusCode planned = new active = active completed = completed" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.status" + } + ] + }, + { + "id": "CarePlan.intent", + "path": "CarePlan.intent", + "short": "proposal | plan | order | option", + "definition": "Indicates the level of authority/intentionality associated with the care plan and where the care plan fits into the workflow chain.", + "comment": "This element is labeled as a modifier because the intent alters when and how the resource is actually applicable.", + "requirements": "Proposals/recommendations, plans and orders all use the same structure and can exist in the same fulfillment chain.", + "min": 1, + "max": "1", + "base": { + "path": "CarePlan.intent", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element changes the interpretation of all descriptive attributes. For example \"the time the request is recommended to occur\" vs. \"the time the request is authorized to occur\" or \"who is recommended to perform the request\" vs. \"who is authorized to perform the request\"", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes indicating the degree of authority/intentionality associated with a care plan", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-intent" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.intent" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (new element in STU3)" + } + ] + }, + { + "id": "CarePlan.category", + "path": "CarePlan.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Type of plan", + "definition": "Type of plan.", + "comment": "There may be multiple axes of categorization and one plan may serve multiple purposes. In some cases, this may be redundant with references to CarePlan.concern.", + "requirements": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.", + "min": 1, + "max": "*", + "base": { + "path": "CarePlan.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanCategory" + } + ], + "strength": "example", + "description": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", etc.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.category" + } + ] + }, + { + "id": "CarePlan.category:AssessPlan", + "path": "CarePlan.category", + "sliceName": "AssessPlan", + "short": "Type of plan", + "definition": "Type of plan.", + "comment": "There may be multiple axes of categorization and one plan may serve multiple purposes. In some cases, this may be redundant with references to CarePlan.concern.", + "requirements": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.", + "min": 1, + "max": "1", + "base": { + "path": "CarePlan.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanCategory" + } + ], + "strength": "example", + "description": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", etc.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.category" + } + ] + }, + { + "id": "CarePlan.title", + "path": "CarePlan.title", + "short": "Human-friendly name for the care plan", + "definition": "Human-friendly name for the care plan.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.title", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CarePlan.description", + "path": "CarePlan.description", + "short": "Summary of nature of plan", + "definition": "A description of the scope and nature of the plan.", + "requirements": "Provides more detail than conveyed by category.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.description", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + } + ] + }, + { + "id": "CarePlan.subject", + "path": "CarePlan.subject", + "short": "Who the care plan is for", + "definition": "Who care plan is for.", + "requirements": "Identifies the patient or group whose intended care is described by the plan.", + "alias": [ + "patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "CarePlan.subject", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PAT].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.subject" + } + ] + }, + { + "id": "CarePlan.encounter", + "path": "CarePlan.encounter", + "short": "Encounter created as part of", + "definition": "The Encounter during which this CarePlan was created or to which the creation of this record is tightly associated.", + "comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter. CarePlan activities conducted as a result of the care plan may well occur as part of other encounters.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "Associated PV1" + }, + { + "identity": "rim", + "map": "." + } + ] + }, + { + "id": "CarePlan.period", + "path": "CarePlan.period", + "short": "Time period plan covers", + "definition": "Indicates when the plan did (or is intended to) come into effect and end.", + "comment": "Any activities scheduled as part of the plan should be constrained to the specified period regardless of whether the activities are planned within a single encounter/episode or across multiple encounters/episodes (e.g. the longitudinal management of a chronic condition).", + "requirements": "Allows tracking what plan(s) are in effect at a particular time.", + "alias": [ + "timing" + ], + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.planned" + }, + { + "identity": "v2", + "map": "GOL-7 / GOL-8" + }, + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "CarePlan.created", + "path": "CarePlan.created", + "short": "Date record was first recorded", + "definition": "Represents when this particular CarePlan record was created in the system, which is often a system-generated date.", + "alias": [ + "authoredOn" + ], + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.created", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.authoredOn" + }, + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + } + ] + }, + { + "id": "CarePlan.author", + "path": "CarePlan.author", + "short": "Who is the designated responsible party", + "definition": "When populated, the author is responsible for the care plan. The care plan is attributed to the author.", + "comment": "The author may also be a contributor. For example, an organization can be an author, but not listed as a contributor.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.author", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.requester" + }, + { + "identity": "w5", + "map": "FiveWs.author" + } + ] + }, + { + "id": "CarePlan.contributor", + "path": "CarePlan.contributor", + "short": "Who provided the content of the care plan", + "definition": "Identifies the individual(s) or organization who provided the contents of the care plan.", + "comment": "Collaborative care plans may have multiple contributors.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.contributor", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "CarePlan.careTeam", + "path": "CarePlan.careTeam", + "short": "Who's involved in plan?", + "definition": "Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.", + "requirements": "Allows representation of care teams, helps scope care plan. In some cases may be a determiner of access permissions.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.careTeam", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.performer {similar but does not entail CareTeam}" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + } + ] + }, + { + "id": "CarePlan.addresses", + "path": "CarePlan.addresses", + "short": "Health issues this plan addresses", + "definition": "Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.", + "comment": "When the diagnosis is related to an allergy or intolerance, the Condition and AllergyIntolerance resources can both be used. However, to be actionable for decision support, using Condition alone is not sufficient as the allergy or intolerance condition needs to be represented as an AllergyIntolerance.", + "requirements": "Links plan to the conditions it manages. The element can identify risks addressed by the plan as well as active conditions. (The Condition resource can include things like \"at risk for hypertension\" or \"fall risk\".) Also scopes plans - multiple plans may exist addressing different concerns.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.addresses", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.reasonReference" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "v2", + "map": "PRB-4" + }, + { + "identity": "rim", + "map": ".actRelationship[typeCode=SUBJ].target[classCode=CONC, moodCode=EVN]" + } + ] + }, + { + "id": "CarePlan.supportingInfo", + "path": "CarePlan.supportingInfo", + "short": "Information considered as part of plan", + "definition": "Identifies portions of the patient's record that specifically influenced the formation of the plan. These might include comorbidities, recent procedures, limitations, recent assessments, etc.", + "comment": "Use \"concern\" to identify specific conditions addressed by the care plan.", + "requirements": "Identifies barriers and other considerations associated with the care plan.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.supportingInfo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.supportingInfo" + } + ] + }, + { + "id": "CarePlan.goal", + "path": "CarePlan.goal", + "short": "Desired outcome of plan", + "definition": "Describes the intended objective(s) of carrying out the care plan.", + "comment": "Goal can be achieving a particular change or merely maintaining a current state or even slowing a decline.", + "requirements": "Provides context for plan. Allows plan effectiveness to be evaluated by clinicians.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.goal", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Goal" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "GOL.1" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode<=OBJ]." + } + ] + }, + { + "id": "CarePlan.activity", + "path": "CarePlan.activity", + "short": "Action to occur as part of plan", + "definition": "Identifies a planned action to occur as part of the plan. For example, a medication to be used, lab tests to perform, self-monitoring, education, etc.", + "requirements": "Allows systems to prompt for performance of planned activities, and validate plans against best practice.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "cpl-3", + "severity": "error", + "human": "Provide a reference or detail, not both", + "expression": "detail.empty() or reference.empty()", + "xpath": "not(exists(f:detail)) or not(exists(f:reference))" + }, + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "{no mapping\nNOTE: This is a list of contained Request-Event tuples!}" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "CarePlan.activity.id", + "path": "CarePlan.activity.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan.activity.extension", + "path": "CarePlan.activity.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan.activity.modifierExtension", + "path": "CarePlan.activity.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan.activity.outcomeCodeableConcept", + "path": "CarePlan.activity.outcomeCodeableConcept", + "short": "Results of the activity", + "definition": "Identifies the outcome at the point when the status of the activity is assessed. For example, the outcome of an education activity could be patient understands (or not).", + "comment": "Note that this should not duplicate the activity status (e.g. completed or in progress).", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.outcomeCodeableConcept", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanActivityOutcome" + } + ], + "strength": "example", + "description": "Identifies the results of the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-activity-outcome" + } + }, + { + "id": "CarePlan.activity.outcomeReference", + "path": "CarePlan.activity.outcomeReference", + "short": "Appointment, Encounter, Procedure, etc.", + "definition": "Details of the outcome or action resulting from the activity. The reference to an \"event\" resource, such as Procedure or Encounter or Observation, is the result/outcome of the activity itself. The activity can be conveyed using CarePlan.activity.detail OR using the CarePlan.activity.reference (a reference to a “request” resource).", + "comment": "The activity outcome is independent of the outcome of the related goal(s). For example, if the goal is to achieve a target body weight of 150 lbs and an activity is defined to diet, then the activity outcome could be calories consumed whereas the goal outcome is an observation for the actual body weight measured.", + "requirements": "Links plan to resulting actions.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.outcomeReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "{Event that is outcome of Request in activity.reference}" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=FLFS].source" + } + ] + }, + { + "id": "CarePlan.activity.progress", + "path": "CarePlan.activity.progress", + "short": "Comments about the activity status/progress", + "definition": "Notes about the adherence/status/progress of the activity.", + "comment": "This element should NOT be used to describe the activity to be performed - that occurs either within the resource pointed to by activity.detail.reference or in activity.detail.description.", + "requirements": "Can be used to capture information about adherence, progress, concerns, etc.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.progress", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE?" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "CarePlan.activity.reference", + "path": "CarePlan.activity.reference", + "short": "Activity details defined in specific resource", + "definition": "The details of the proposed activity represented in a specific resource.", + "comment": "Standard extension exists ([resource-pertainsToGoal](http://hl7.org/fhir/R4/extension-resource-pertainstogoal.html)) that allows goals to be referenced from any of the referenced resources in CarePlan.activity.reference. \rThe goal should be visible when the resource referenced by CarePlan.activity.reference is viewed independently from the CarePlan. Requests that are pointed to by a CarePlan using this element should *not* point to this CarePlan using the \"basedOn\" element. i.e. Requests that are part of a CarePlan are not \"based on\" the CarePlan.", + "requirements": "Details in a form consistent with other applications and contexts of use.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.reference", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Appointment", + "http://hl7.org/fhir/StructureDefinition/CommunicationRequest", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/Task", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest", + "http://hl7.org/fhir/StructureDefinition/VisionPrescription", + "http://hl7.org/fhir/StructureDefinition/RequestGroup" + ] + } + ], + "condition": [ + "cpl-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "{Request that resulted in Event in activity.actionResulting}" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "CarePlan.activity.detail", + "path": "CarePlan.activity.detail", + "short": "In-line definition of activity", + "definition": "A simple summary of a planned activity suitable for a general care plan system (e.g. form driven) that doesn't know about specific resources such as procedure etc.", + "requirements": "Details in a simple form for generic care plan systems.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "condition": [ + "cpl-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP, subsetCode=SUMM].target" + } + ] + }, + { + "id": "CarePlan.activity.detail.id", + "path": "CarePlan.activity.detail.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan.activity.detail.extension", + "path": "CarePlan.activity.detail.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan.activity.detail.modifierExtension", + "path": "CarePlan.activity.detail.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan.activity.detail.kind", + "path": "CarePlan.activity.detail.kind", + "short": "Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription", + "definition": "A description of the kind of resource the in-line definition of a care plan activity is representing. The CarePlan.activity.detail is an in-line definition when a resource is not referenced using CarePlan.activity.reference. For example, a MedicationRequest, a ServiceRequest, or a CommunicationRequest.", + "requirements": "May determine what types of extensions are permitted.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.kind", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanActivityKind" + } + ], + "strength": "required", + "description": "Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-activity-kind|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=LIST].code" + } + ] + }, + { + "id": "CarePlan.activity.detail.instantiatesCanonical", + "path": "CarePlan.activity.detail.instantiatesCanonical", + "short": "Instantiates FHIR protocol or definition", + "definition": "The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity.", + "requirements": "Allows Questionnaires that the patient (or practitioner) should fill in to fulfill the care plan activity.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.instantiatesCanonical", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "canonical", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/PlanDefinition", + "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", + "http://hl7.org/fhir/StructureDefinition/Questionnaire", + "http://hl7.org/fhir/StructureDefinition/Measure", + "http://hl7.org/fhir/StructureDefinition/OperationDefinition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.instantiatesCanonical" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "CarePlan.activity.detail.instantiatesUri", + "path": "CarePlan.activity.detail.instantiatesUri", + "short": "Instantiates external protocol or definition", + "definition": "The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity.", + "comment": "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.", + "requirements": "Allows Questionnaires that the patient (or practitioner) should fill in to fulfill the care plan activity.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.instantiatesUri", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.instantiatesUri" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "CarePlan.activity.detail.code", + "path": "CarePlan.activity.detail.code", + "short": "Detail type of activity", + "definition": "Detailed description of the type of planned activity; e.g. what lab test, what procedure, what kind of encounter.", + "comment": "Tends to be less relevant for activities involving particular products. Codes should not convey negation - use \"prohibited\" instead.", + "requirements": "Allows matching performed to planned as well as validation against protocols.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanActivityType" + } + ], + "strength": "example", + "description": "Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-code" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.code" + }, + { + "identity": "v2", + "map": "OBR-4 / RXE-2 / RXO-1 / RXD-2" + }, + { + "identity": "rim", + "map": ".code" + } + ] + }, + { + "id": "CarePlan.activity.detail.reasonCode", + "path": "CarePlan.activity.detail.reasonCode", + "short": "Why activity should be done or why activity was prohibited", + "definition": "Provides the rationale that drove the inclusion of this particular activity as part of the plan or the reason why the activity was prohibited.", + "comment": "This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonCondition instead.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.reasonCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanActivityReason" + } + ], + "strength": "example", + "description": "Identifies why a care plan activity is needed. Can include any health condition codes as well as such concepts as \"general wellness\", prophylaxis, surgical preparation, etc.", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.reasonCode" + } + ] + }, + { + "id": "CarePlan.activity.detail.reasonReference", + "path": "CarePlan.activity.detail.reasonReference", + "short": "Why activity is needed", + "definition": "Indicates another resource, such as the health condition(s), whose existence justifies this request and drove the inclusion of this particular activity as part of the plan.", + "comment": "Conditions can be identified at the activity level that are not identified as reasons for the overall plan.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.reasonReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "http://hl7.org/fhir/StructureDefinition/DocumentReference" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.reasonReference" + } + ] + }, + { + "id": "CarePlan.activity.detail.goal", + "path": "CarePlan.activity.detail.goal", + "short": "Goals this activity relates to", + "definition": "Internal reference that identifies the goals that this activity is intended to contribute towards meeting.", + "requirements": "So that participants know the link explicitly.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.goal", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Goal" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode<=OBJ]." + } + ] + }, + { + "id": "CarePlan.activity.detail.status", + "path": "CarePlan.activity.detail.status", + "short": "not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error", + "definition": "Identifies what progress is being made for the specific activity.", + "comment": "Some aspects of status can be inferred based on the resources linked in actionTaken. Note that \"status\" is only as current as the plan was most recently updated. \nThe unknown code is not to be used to convey other statuses. The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the activity.", + "requirements": "Indicates progress against the plan, whether the activity is still relevant for the plan.", + "min": 1, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the activity should not be treated as valid", + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanActivityStatus" + } + ], + "strength": "required", + "description": "Codes that reflect the current state of a care plan activity within its overall life cycle.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.status" + }, + { + "identity": "v2", + "map": "ORC-5?" + }, + { + "identity": "rim", + "map": ".statusCode not-started = new scheduled = not-started (and fulfillment relationship to appointent) in-progress = active on-hold = suspended completed = completed cancelled = aborted" + } + ] + }, + { + "id": "CarePlan.activity.detail.statusReason", + "path": "CarePlan.activity.detail.statusReason", + "short": "Reason for current status", + "definition": "Provides reason why the activity isn't yet started, is on hold, was cancelled, etc.", + "comment": "Will generally not be present if status is \"complete\". Be sure to prompt to update this (or at least remove the existing value) if the status is changed.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.statusReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.statusReason" + } + ] + }, + { + "id": "CarePlan.activity.detail.doNotPerform", + "path": "CarePlan.activity.detail.doNotPerform", + "short": "If true, activity is prohibiting action", + "definition": "If true, indicates that the described activity is one that must NOT be engaged in when following the plan. If false, or missing, indicates that the described activity is one that should be engaged in when following the plan.", + "comment": "This element is labeled as a modifier because it marks an activity as an activity that is not to be performed.", + "requirements": "Captures intention to not do something that may have been previously typical.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.doNotPerform", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "If missing indicates that the described activity is one that should be engaged in when following the plan.", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "If true this element negates the specified action. For example, instead of a request for a procedure, it is a request for the procedure to not occur.", + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.doNotPerform" + }, + { + "identity": "rim", + "map": "actionNegationInd" + } + ] + }, + { + "id": "CarePlan.activity.detail.scheduled[x]", + "path": "CarePlan.activity.detail.scheduled[x]", + "short": "When activity is to occur", + "definition": "The period, timing or frequency upon which the described activity is to occur.", + "requirements": "Allows prompting for activities and detection of missed planned activities.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.scheduled[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Timing" + }, + { + "code": "Period" + }, + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.occurrence[x]" + }, + { + "identity": "v2", + "map": "TQ1" + }, + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "CarePlan.activity.detail.location", + "path": "CarePlan.activity.detail.location", + "short": "Where it should happen", + "definition": "Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.", + "comment": "May reference a specific clinical location or may identify a type of location.", + "requirements": "Helps in planning of activity.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.location", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBR-24(???!!)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=LOC].role" + } + ] + }, + { + "id": "CarePlan.activity.detail.performer", + "path": "CarePlan.activity.detail.performer", + "short": "Who will be responsible?", + "definition": "Identifies who's expected to be involved in the activity.", + "comment": "A performer MAY also be a participant in the care plan.", + "requirements": "Helps in planning of activity.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/HealthcareService", + "http://hl7.org/fhir/StructureDefinition/Device" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.performer" + }, + { + "identity": "v2", + "map": "PRT-5 : ( PRV-4 = (provider participations)); PRT-5 : ( PRV-4 = (non-provider person participations )) ; PRT-5 : ( PRV-4 = (patient non-subject of care) ) ; PRT-8" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PFM]" + } + ] + }, + { + "id": "CarePlan.activity.detail.product[x]", + "path": "CarePlan.activity.detail.product[x]", + "short": "What is to be administered/supplied", + "definition": "Identifies the food, drug or other product to be consumed or supplied in the activity.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.product[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Medication", + "http://hl7.org/fhir/StructureDefinition/Substance" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanProduct" + } + ], + "strength": "example", + "description": "A product supplied or administered as part of a care plan activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/medication-codes" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXE-2 / RXO-1 / RXD-2" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRD].role" + } + ] + }, + { + "id": "CarePlan.activity.detail.dailyAmount", + "path": "CarePlan.activity.detail.dailyAmount", + "short": "How to consume/day?", + "definition": "Identifies the quantity expected to be consumed in a given day.", + "requirements": "Allows rough dose checking.", + "alias": [ + "daily dose" + ], + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.dailyAmount", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "RXO-23 / RXE-19 / RXD-12" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP][classCode=SBADM].doseQuantity" + } + ] + }, + { + "id": "CarePlan.activity.detail.quantity", + "path": "CarePlan.activity.detail.quantity", + "short": "How much to administer/supply/consume", + "definition": "Identifies the quantity expected to be supplied, administered or consumed by the subject.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.quantity", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "RXO-11 / RXE-10 / RXD-4 / RXG-5 / RXA-6 / TQ1-2.1 *and* RXO-12 / RXE-11 / RXD-5 / RXG-7 / RXA-7 / TQ1-2.2" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP][classCode=SPLY].quantity" + } + ] + }, + { + "id": "CarePlan.activity.detail.description", + "path": "CarePlan.activity.detail.description", + "short": "Extra info describing activity to perform", + "definition": "This provides a textual description of constraints on the intended activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.description", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE?" + }, + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "CarePlan.note", + "path": "CarePlan.note", + "short": "Comments about the plan", + "definition": "General notes about the care plan not covered elsewhere.", + "requirements": "Used to capture information that applies to the plan as a whole that doesn't fit into discrete elements.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.note" + }, + { + "identity": "v2", + "map": "NTE?" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "CarePlan", + "path": "CarePlan", + "definition": "The US Core CarePlan Profile is based upon the core FHIR CarePlan Resource and created to meet the 2015 Edition Common Clinical Data Set 'Assessment and Plan of Treatment requirements.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan" + } + ] + }, + { + "id": "CarePlan.text", + "path": "CarePlan.text", + "min": 1, + "max": "1", + "type": [ + { + "code": "Narrative" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.text" + } + ] + }, + { + "id": "CarePlan.text.status", + "path": "CarePlan.text.status", + "definition": "generated | additional.", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "description": "Constrained value set of narrative statuses.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status|3.1.1" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.text.status" + } + ] + }, + { + "id": "CarePlan.status", + "path": "CarePlan.status", + "requirements": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "description": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "valueSet": "http://hl7.org/fhir/ValueSet/request-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.status" + } + ] + }, + { + "id": "CarePlan.intent", + "path": "CarePlan.intent", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "description": "Codes indicating the degree of authority/intentionality associated with a care plan", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-intent" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (new element in STU3)" + } + ] + }, + { + "id": "CarePlan.category", + "path": "CarePlan.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "definition": "Type of plan.", + "requirements": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.category" + } + ] + }, + { + "id": "CarePlan.category:AssessPlan", + "path": "CarePlan.category", + "sliceName": "AssessPlan", + "definition": "Type of plan.", + "requirements": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + }, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.category" + } + ] + }, + { + "id": "CarePlan.subject", + "path": "CarePlan.subject", + "definition": "Who care plan is for.", + "requirements": "Identifies the patient or group whose intended care is described by the plan.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.subject" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-careteam.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-careteam.json new file mode 100644 index 00000000000..88dfde1ad90 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-careteam.json @@ -0,0 +1,1419 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-careteam", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "version": "3.1.1", + "name": "USCoreCareTeam", + "title": "US Core CareTeam Profile", + "status": "active", + "experimental": false, + "date": "2020-06-26", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the CareTeam resource for the minimal set of data to query and retrieve a patient's Care Team.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "uri": "http://unknown.org/Argonaut-DQ-DSTU2", + "name": "Argonaut-DQ-DSTU2" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "CareTeam", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CareTeam", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "CareTeam", + "path": "CareTeam", + "short": "Planned participants in the coordination and delivery of care for a patient or group", + "definition": "The US Core CareTeam Profile is based upon the core FHIR CareTeam Resource and created to meet the 2015 Edition Common Clinical Data Set 'Care team member(s)' requirements.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan" + } + ] + }, + { + "id": "CareTeam.id", + "path": "CareTeam.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CareTeam.meta", + "path": "CareTeam.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CareTeam.implicitRules", + "path": "CareTeam.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "CareTeam.language", + "path": "CareTeam.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "CareTeam.text", + "path": "CareTeam.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "CareTeam.contained", + "path": "CareTeam.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam.extension", + "path": "CareTeam.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam.modifierExtension", + "path": "CareTeam.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam.identifier", + "path": "CareTeam.identifier", + "short": "External Ids for this team", + "definition": "Business identifiers assigned to this care team by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", + "comment": "This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.", + "requirements": "Allows identification of the care team as it is known by various participating systems and in a way that remains consistent across servers.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + } + ] + }, + { + "id": "CareTeam.status", + "path": "CareTeam.status", + "short": "proposed | active | suspended | inactive | entered-in-error", + "definition": "Indicates the current state of the care team.", + "comment": "This element is labeled as a modifier because the status contains the code entered-in-error that marks the care team as not currently valid.", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.status", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Indicates whether the team is current , represents future intentions or is now a historical record.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-team-status" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.status" + } + ] + }, + { + "id": "CareTeam.category", + "path": "CareTeam.category", + "short": "Type of team", + "definition": "Identifies what kind of team. This is to support differentiation between multiple co-existing teams, such as care plan team, episode of care team, longitudinal care team.", + "comment": "There may be multiple axis of categorization and one team may serve multiple purposes.", + "requirements": "Used for filtering what teams(s) are retrieved and displayed to different types of users.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CareTeamCategory" + } + ], + "strength": "example", + "description": "Indicates the type of care team.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-team-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + } + ] + }, + { + "id": "CareTeam.name", + "path": "CareTeam.name", + "short": "Name of the team, such as crisis assessment team", + "definition": "A label for human use intended to distinguish like teams. E.g. the \"red\" vs. \"green\" trauma teams.", + "comment": "The meaning/purpose of the team is conveyed in CareTeam.category. This element may also convey semantics of the team (e.g. \"Red trauma team\"), but its primary purpose is to distinguish between identical teams in a human-friendly way. (\"Team 18735\" isn't as friendly.).", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.name", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CareTeam.subject", + "path": "CareTeam.subject", + "short": "Who care team is for", + "definition": "Identifies the patient or group whose intended care is handled by the team.", + "requirements": "Allows the team to care for a group (e.g. marriage) therapy. \nAllows for an organization to designate a team such as the PICC line team.", + "alias": [ + "patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "CareTeam.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.subject" + } + ] + }, + { + "id": "CareTeam.encounter", + "path": "CareTeam.encounter", + "short": "Encounter created as part of", + "definition": "The Encounter during which this CareTeam was created or to which the creation of this record is tightly associated.", + "comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.context" + } + ] + }, + { + "id": "CareTeam.period", + "path": "CareTeam.period", + "short": "Time period team covers", + "definition": "Indicates when the team did (or is intended to) come into effect and end.", + "requirements": "Allows tracking what team(s) are in effect at a particular time.", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.init" + } + ] + }, + { + "id": "CareTeam.participant", + "path": "CareTeam.participant", + "short": "Members of the team", + "definition": "Identifies all people and organizations who are expected to be involved in the care team.", + "min": 1, + "max": "*", + "base": { + "path": "CareTeam.participant", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "condition": [ + "ctm-1" + ], + "constraint": [ + { + "key": "ctm-1", + "severity": "error", + "human": "CareTeam.participant.onBehalfOf can only be populated when CareTeam.participant.member is a Practitioner", + "expression": "onBehalfOf.exists() implies (member.resolve().iif(empty(), true, ofType(Practitioner).exists()))", + "xpath": "starts-with(f:member/f:reference/@value, 'Practitioner/') or contains(f:member/f:reference/@value, '/Practitioner/') or exists(ancestor::*/f:contains/f:Practitioner/f:id[@value=substring-after(current()/f:member/f:reference/@value, '#')]) or not(exists(f:onBehalfOf))", + "source": "http://hl7.org/fhir/StructureDefinition/CareTeam" + }, + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "REL (REL.4 is always the Patient) ( or PRT?)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant" + } + ] + }, + { + "id": "CareTeam.participant.id", + "path": "CareTeam.participant.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CareTeam.participant.extension", + "path": "CareTeam.participant.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CareTeam.participant.modifierExtension", + "path": "CareTeam.participant.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam.participant.role", + "path": "CareTeam.participant.role", + "short": "Type of involvement", + "definition": "Indicates specific responsibility of an individual within the care team, such as \"Primary care physician\", \"Trained social worker counselor\", \"Caregiver\", etc.", + "comment": "Roles may sometimes be inferred by type of Practitioner. These are relationships that hold only within the context of the care team. General relationships should be handled as properties of the Patient resource directly.", + "min": 1, + "max": "1", + "base": { + "path": "CareTeam.participant.role", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-provider-roles|3.1.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "REL.2 (or PRT-4?)" + }, + { + "identity": "rim", + "map": ".functionCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant.role" + } + ] + }, + { + "id": "CareTeam.participant.member", + "path": "CareTeam.participant.member", + "short": "Who is involved", + "definition": "The specific person or organization who is participating/expected to participate in the care team.", + "comment": "Patient only needs to be listed if they have a role other than \"subject of care\".\n\nMember is optional because some participants may be known only by their role, particularly in draft plans.", + "min": 1, + "max": "1", + "base": { + "path": "CareTeam.participant.member", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "REL.5 (or PRT-5 : ( PRV-4 {provider participations} ) / PRT-5 : ( PRV-4 {non-provider person participations} ) / PRT-5 : ( PRV-4 = (patient non-subject of care) ) / PRT-8?)" + }, + { + "identity": "rim", + "map": ".role" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant.member" + } + ] + }, + { + "id": "CareTeam.participant.onBehalfOf", + "path": "CareTeam.participant.onBehalfOf", + "short": "Organization of the practitioner", + "definition": "The organization of the practitioner.", + "requirements": "Practitioners can be associated with multiple organizations. This element indicates which organization they were acting on behalf of.", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.participant.onBehalfOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CareTeam.participant.period", + "path": "CareTeam.participant.period", + "short": "Time period of participant", + "definition": "Indicates when the specific member or organization did (or is intended to) come into effect and end.", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.participant.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "CareTeam.reasonCode", + "path": "CareTeam.reasonCode", + "short": "Why the care team exists", + "definition": "Describes why the care team exists.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.reasonCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CareTeamReason" + } + ], + "strength": "example", + "description": "Indicates the reason for the care team.", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.why[x]" + } + ] + }, + { + "id": "CareTeam.reasonReference", + "path": "CareTeam.reasonReference", + "short": "Why the care team exists", + "definition": "Condition(s) that this care team addresses.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.reasonReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.why[x]" + } + ] + }, + { + "id": "CareTeam.managingOrganization", + "path": "CareTeam.managingOrganization", + "short": "Organization responsible for the care team", + "definition": "The organization responsible for the care team.", + "requirements": "Allows for multiple organizations to collaboratively manage cross-organizational, longitudinal care plan.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.managingOrganization", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CareTeam.telecom", + "path": "CareTeam.telecom", + "short": "A contact detail for the care team (that applies to all members)", + "definition": "A central contact detail for the care team (that applies to all members).", + "comment": "The ContactPoint.use code of home is not appropriate to use. These contacts are not the contact details of individual care team members.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "CareTeam.note", + "path": "CareTeam.note", + "short": "Comments made about the CareTeam", + "definition": "Comments made about the CareTeam.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + } + ] + }, + "differential": { + "element": [ + { + "id": "CareTeam", + "path": "CareTeam", + "definition": "The US Core CareTeam Profile is based upon the core FHIR CareTeam Resource and created to meet the 2015 Edition Common Clinical Data Set 'Care team member(s)' requirements.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan" + } + ] + }, + { + "id": "CareTeam.status", + "path": "CareTeam.status", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "description": "Indicates whether the team is current , represents future intentions or is now a historical record.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-team-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.status" + } + ] + }, + { + "id": "CareTeam.subject", + "path": "CareTeam.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.subject" + } + ] + }, + { + "id": "CareTeam.participant", + "path": "CareTeam.participant", + "min": 1, + "max": "*", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant" + } + ] + }, + { + "id": "CareTeam.participant.role", + "path": "CareTeam.participant.role", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-provider-roles|3.1.1" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant.role" + } + ] + }, + { + "id": "CareTeam.participant.member", + "path": "CareTeam.participant.member", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant.member" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-condition.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-condition.json new file mode 100644 index 00000000000..2e302b3bb79 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-condition.json @@ -0,0 +1,2154 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-condition", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition", + "version": "3.1.1", + "name": "USCoreCondition", + "title": "US Core Condition Profile", + "status": "active", + "experimental": false, + "date": "2020-06-27", + "publisher": "Health Level Seven International (Infrastructure and Messaging - Data Access Framework)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the Condition resource for the minimal set of data to query and retrieve problems and health concerns information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "uri": "http://unknown.org/Argonaut-DQ-DSTU2", + "name": "Argonaut-DQ-DSTU2" + }, + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Condition", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Condition", + "path": "Condition", + "short": "Detailed information about conditions, problems or diagnoses", + "definition": "The US Core Condition Profile is based upon the core FHIR Condition Resource and created to meet the 2015 Edition Common Clinical Data Set 'Problems' and 'Health Concerns' requirements.", + "min": 0, + "max": "*", + "base": { + "path": "Condition", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "Most systems will expect a clinicalStatus to be valued for problem-list-items that are managed over time, but might not need a clinicalStatus for point in time encounter-diagnosis." + } + ], + "key": "con-3", + "severity": "warning", + "human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item", + "expression": "clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()", + "xpath": "exists(f:clinicalStatus) or exists(f:verificationStatus/f:coding/f:code/@value='entered-in-error') or not(exists(category[@value='problem-list-item']))", + "source": "http://hl7.org/fhir/StructureDefinition/Condition" + }, + { + "key": "con-4", + "severity": "error", + "human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission", + "expression": "abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()", + "xpath": "not(exists(*[starts-with(local-name(.), 'abatement')])) or exists(f:clinicalStatus/f:coding[f:system/@value='http://terminology.hl7.org/CodeSystem/condition-clinical' and f:code/@value=('resolved', 'remission', 'inactive')])", + "source": "http://hl7.org/fhir/StructureDefinition/Condition" + }, + { + "key": "con-5", + "severity": "error", + "human": "Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error", + "expression": "verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()", + "xpath": "not(exists(f:verificationStatus/f:coding[f:system/@value='http://terminology.hl7.org/CodeSystem/condition-ver-status' and f:code/@value='entered-in-error'])) or not(exists(f:clinicalStatus))", + "source": "http://hl7.org/fhir/StructureDefinition/Condition" + }, + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "us-core-1", + "severity": "warning", + "human": "A code in Condition.category SHOULD be from US Core Condition Category Codes value set.", + "expression": "where(category.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category|3.1.1')).exists()", + "xpath": "(no xpath equivalent)" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 243796009 |Situation with explicit context| : 246090004 |Associated finding| = ( ( < 404684003 |Clinical finding| MINUS ( << 420134006 |Propensity to adverse reactions| OR << 473010000 |Hypersensitivity condition| OR << 79899007 |Drug interaction| OR << 69449002 |Drug action| OR << 441742003 |Evaluation finding| OR << 307824009 |Administrative status| OR << 385356007 |Tumor stage finding|)) OR < 272379006 |Event|)" + }, + { + "identity": "v2", + "map": "PPR message" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Condition.implicitRules", + "path": "Condition.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Condition.language", + "path": "Condition.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Condition.text", + "path": "Condition.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Condition.contained", + "path": "Condition.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition.extension", + "path": "Condition.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition.modifierExtension", + "path": "Condition.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition.identifier", + "path": "Condition.identifier", + "short": "External Ids for this condition", + "definition": "Business identifiers assigned to this condition by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", + "comment": "This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.", + "requirements": "Allows identification of the condition as it is known by various participating systems and in a way that remains consistent across servers.", + "min": 0, + "max": "*", + "base": { + "path": "Condition.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Condition.clinicalStatus", + "path": "Condition.clinicalStatus", + "short": "active | recurrence | relapse | inactive | remission | resolved", + "definition": "The clinical status of the condition.", + "comment": "The data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.clinicalStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "con-3", + "con-4", + "con-5" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the status contains codes that mark the condition as no longer active.", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-clinical" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 303105007 |Disease phases|" + }, + { + "identity": "v2", + "map": "PRB-14" + }, + { + "identity": "rim", + "map": "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"clinicalStatus\", moodCode=EVN].value" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.clinicalStatus" + } + ] + }, + { + "id": "Condition.verificationStatus", + "path": "Condition.verificationStatus", + "short": "unconfirmed | provisional | differential | confirmed | refuted | entered-in-error", + "definition": "The verification status to support the clinical status of the condition.", + "comment": "verificationStatus is not required. For example, when a patient has abdominal pain in the ED, there is not likely going to be a verification status.\nThe data type is CodeableConcept because verificationStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.verificationStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "con-3", + "con-5" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the status contains the code refuted and entered-in-error that mark the Condition as not currently valid.", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-ver-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 410514004 |Finding context value|" + }, + { + "identity": "v2", + "map": "PRB-13" + }, + { + "identity": "rim", + "map": "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"verificationStatus\", moodCode=EVN].value" + }, + { + "identity": "sct-attr", + "map": "408729009" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.verificationStatus" + } + ] + }, + { + "id": "Condition.category", + "path": "Condition.category", + "short": "problem-list-item | encounter-diagnosis | health-concern", + "definition": "A category assigned to the condition.", + "comment": "The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts.", + "min": 1, + "max": "*", + "base": { + "path": "Condition.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "us-core-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category|3.1.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "sct-concept", + "map": "< 404684003 |Clinical finding|" + }, + { + "identity": "v2", + "map": "'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.category" + } + ] + }, + { + "id": "Condition.severity", + "path": "Condition.severity", + "short": "Subjective severity of condition", + "definition": "A subjective assessment of the severity of the condition as evaluated by the clinician.", + "comment": "Coding of the severity with a terminology is preferred, where possible.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.severity", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ConditionSeverity" + } + ], + "strength": "preferred", + "description": "A subjective assessment of the severity of the condition as evaluated by the clinician.", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-severity" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.grade" + }, + { + "identity": "sct-concept", + "map": "< 272141005 |Severities|" + }, + { + "identity": "v2", + "map": "PRB-26 / ABS-3" + }, + { + "identity": "rim", + "map": "Can be pre/post-coordinated into value. Or ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"severity\"].value" + }, + { + "identity": "sct-attr", + "map": "246112005" + } + ] + }, + { + "id": "Condition.code", + "path": "Condition.code", + "short": "Identification of the condition, problem or diagnosis", + "definition": "Identification of the condition, problem or diagnosis.", + "requirements": "0..1 to account for primarily narrative only resources.", + "alias": [ + "type" + ], + "min": 1, + "max": "1", + "base": { + "path": "Condition.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Valueset to describe the actual problem experienced by the patient", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code|3.1.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "code 246090004 |Associated finding| (< 404684003 |Clinical finding| MINUS\n<< 420134006 |Propensity to adverse reactions| MINUS \n<< 473010000 |Hypersensitivity condition| MINUS \n<< 79899007 |Drug interaction| MINUS\n<< 69449002 |Drug action| MINUS \n<< 441742003 |Evaluation finding| MINUS \n<< 307824009 |Administrative status| MINUS \n<< 385356007 |Tumor stage finding|) \nOR < 413350009 |Finding with explicit context|\nOR < 272379006 |Event|" + }, + { + "identity": "v2", + "map": "PRB-3" + }, + { + "identity": "rim", + "map": ".value" + }, + { + "identity": "sct-attr", + "map": "246090004" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.code" + } + ] + }, + { + "id": "Condition.bodySite", + "path": "Condition.bodySite", + "short": "Anatomical location, if relevant", + "definition": "The anatomical location where this condition manifests itself.", + "comment": "Only used if not implicit in code found in Condition.code. If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](http://hl7.org/fhir/R4/extension-bodysite.html). May be a summary code, or a reference to a very precise definition of the location, or both.", + "min": 0, + "max": "*", + "base": { + "path": "Condition.bodySite", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 442083009 |Anatomical or acquired body structure|" + }, + { + "identity": "rim", + "map": ".targetBodySiteCode" + }, + { + "identity": "sct-attr", + "map": "363698007" + } + ] + }, + { + "id": "Condition.subject", + "path": "Condition.subject", + "short": "Who has the condition?", + "definition": "Indicates the patient or group who the condition record is associated with.", + "requirements": "Group is typically used for veterinary or public health use cases.", + "alias": [ + "patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "Condition.subject", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.patient" + } + ] + }, + { + "id": "Condition.encounter", + "path": "Condition.encounter", + "short": "Encounter created as part of", + "definition": "The Encounter during which this Condition was created or to which the creation of this record is tightly associated.", + "comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter. This record indicates the encounter this particular record is associated with. In the case of a \"new\" diagnosis reflecting ongoing/revised information about the condition, this might be distinct from the first encounter in which the underlying condition was first \"known\".", + "min": 0, + "max": "1", + "base": { + "path": "Condition.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1-19 (+PV1-54)" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Condition.onset[x]", + "path": "Condition.onset[x]", + "short": "Estimated or actual date, date-time, or age", + "definition": "Estimated or actual date or date-time the condition began, in the opinion of the clinician.", + "comment": "Age is generally used when the patient reports an age at which the Condition began to occur.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.onset[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.init" + }, + { + "identity": "v2", + "map": "PRB-16" + }, + { + "identity": "rim", + "map": ".effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at onset\"].value" + } + ] + }, + { + "id": "Condition.abatement[x]", + "path": "Condition.abatement[x]", + "short": "When in resolution/remission", + "definition": "The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate.", + "comment": "There is no explicit distinction between resolution and remission because in many cases the distinction is not clear. Age is generally used when the patient reports an age at which the Condition abated. If there is no abatement element, it is unknown whether the condition has resolved or entered remission; applications and users should generally assume that the condition is still valid. When abatementString exists, it implies the condition is abated.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.abatement[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "condition": [ + "con-4" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "rim", + "map": ".effectiveTime.high or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at remission\"].value or .inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed" + } + ] + }, + { + "id": "Condition.recordedDate", + "path": "Condition.recordedDate", + "short": "Date record was first recorded", + "definition": "The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.recordedDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "REL-11" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Condition.recorder", + "path": "Condition.recorder", + "short": "Who recorded the condition", + "definition": "Individual who recorded the record and takes responsibility for its content.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.recorder", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.author" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + } + ] + }, + { + "id": "Condition.asserter", + "path": "Condition.asserter", + "short": "Person who asserts this condition", + "definition": "Individual who is making the condition statement.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.asserter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + }, + { + "identity": "v2", + "map": "REL-7.1 identifier + REL-7.12 type code" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role" + } + ] + }, + { + "id": "Condition.stage", + "path": "Condition.stage", + "short": "Stage/grade, usually assessed formally", + "definition": "Clinical stage or grade of a condition. May include formal severity assessments.", + "min": 0, + "max": "*", + "base": { + "path": "Condition.stage", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "con-1", + "severity": "error", + "human": "Stage SHALL have summary or assessment", + "expression": "summary.exists() or assessment.exists()", + "xpath": "exists(f:summary) or exists(f:assessment)" + }, + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]" + } + ] + }, + { + "id": "Condition.stage.id", + "path": "Condition.stage.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition.stage.extension", + "path": "Condition.stage.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition.stage.modifierExtension", + "path": "Condition.stage.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition.stage.summary", + "path": "Condition.stage.summary", + "short": "Simple summary (disease specific)", + "definition": "A simple summary of the stage such as \"Stage 3\". The determination of the stage is disease-specific.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.stage.summary", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "con-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ConditionStage" + } + ], + "strength": "example", + "description": "Codes describing condition stages (e.g. Cancer stages).", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-stage" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 254291000 |Staging and scales|" + }, + { + "identity": "v2", + "map": "PRB-14" + }, + { + "identity": "rim", + "map": ".value" + } + ] + }, + { + "id": "Condition.stage.assessment", + "path": "Condition.stage.assessment", + "short": "Formal record of assessment", + "definition": "Reference to a formal record of the evidence on which the staging assessment is based.", + "min": 0, + "max": "*", + "base": { + "path": "Condition.stage.assessment", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/ClinicalImpression", + "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "http://hl7.org/fhir/StructureDefinition/Observation" + ] + } + ], + "condition": [ + "con-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition.stage.type", + "path": "Condition.stage.type", + "short": "Kind of staging", + "definition": "The kind of staging, such as pathological or clinical staging.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.stage.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ConditionStageType" + } + ], + "strength": "example", + "description": "Codes describing the kind of condition staging (e.g. clinical or pathological).", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-stage-type" + }, + "mapping": [ + { + "identity": "rim", + "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage type\"]" + } + ] + }, + { + "id": "Condition.evidence", + "path": "Condition.evidence", + "short": "Supporting evidence", + "definition": "Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.", + "comment": "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.", + "min": 0, + "max": "*", + "base": { + "path": "Condition.evidence", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "con-2", + "severity": "error", + "human": "evidence SHALL have code or details", + "expression": "code.exists() or detail.exists()", + "xpath": "exists(f:code) or exists(f:detail)" + }, + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Condition.evidence.id", + "path": "Condition.evidence.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition.evidence.extension", + "path": "Condition.evidence.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition.evidence.modifierExtension", + "path": "Condition.evidence.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition.evidence.code", + "path": "Condition.evidence.code", + "short": "Manifestation/symptom", + "definition": "A manifestation or symptom that led to the recording of this condition.", + "min": 0, + "max": "*", + "base": { + "path": "Condition.evidence.code", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "con-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ManifestationOrSymptom" + } + ], + "strength": "example", + "description": "Codes that describe the manifestation or symptoms of a condition.", + "valueSet": "http://hl7.org/fhir/ValueSet/manifestation-or-symptom" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonCode" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "sct-concept", + "map": "< 404684003 |Clinical finding|" + }, + { + "identity": "rim", + "map": "[code=\"diagnosis\"].value" + } + ] + }, + { + "id": "Condition.evidence.detail", + "path": "Condition.evidence.detail", + "short": "Supporting information found elsewhere", + "definition": "Links to other relevant information, including pathology reports.", + "min": 0, + "max": "*", + "base": { + "path": "Condition.evidence.detail", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "condition": [ + "con-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition.note", + "path": "Condition.note", + "short": "Additional information about the Condition", + "definition": "Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.", + "min": 0, + "max": "*", + "base": { + "path": "Condition.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.note" + }, + { + "identity": "v2", + "map": "NTE child of PRB" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Condition", + "path": "Condition", + "definition": "The US Core Condition Profile is based upon the core FHIR Condition Resource and created to meet the 2015 Edition Common Clinical Data Set 'Problems' and 'Health Concerns' requirements.", + "constraint": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "us-core-1", + "severity": "warning", + "human": "A code in Condition.category SHOULD be from US Core Condition Category Codes value set.", + "expression": "where(category.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category|3.1.1')).exists()", + "xpath": "(no xpath equivalent)" + } + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition" + } + ] + }, + { + "id": "Condition.clinicalStatus", + "path": "Condition.clinicalStatus", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-clinical" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.clinicalStatus" + } + ] + }, + { + "id": "Condition.verificationStatus", + "path": "Condition.verificationStatus", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-ver-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.verificationStatus" + } + ] + }, + { + "id": "Condition.category", + "path": "Condition.category", + "short": "problem-list-item | encounter-diagnosis | health-concern", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "us-core-1" + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category|3.1.1" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.category" + } + ] + }, + { + "id": "Condition.code", + "path": "Condition.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Valueset to describe the actual problem experienced by the patient", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code|3.1.1" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.code" + } + ] + }, + { + "id": "Condition.subject", + "path": "Condition.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.patient" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-diagnosticreport-lab.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-diagnosticreport-lab.json new file mode 100644 index 00000000000..300178e40b2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-diagnosticreport-lab.json @@ -0,0 +1,1915 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-diagnosticreport-lab", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab", + "version": "3.1.1", + "name": "USCoreDiagnosticReportProfileLaboratoryReporting", + "title": "US Core DiagnosticReport Profile for Laboratory Results Reporting", + "status": "active", + "experimental": false, + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the DiagnosticReport resource for the minimal set of data to query and retrieve diagnostic reports associated with laboratory results for a patient", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "DiagnosticReport", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DiagnosticReport", + "path": "DiagnosticReport", + "short": "A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports", + "definition": "The US Core Diagnostic Report Profile is based upon the core FHIR DiagnosticReport Resource and created to meet the 2015 Edition Common Clinical Data Set 'Laboratory test(s) and Laboratory value(s)/result(s)' requirements.", + "comment": "This is intended to capture a single report and is not suitable for use in displaying summary information that covers multiple reports. For example, this resource has not been designed for laboratory cumulative reporting formats nor detailed structured reports for sequencing.", + "alias": [ + "Report", + "Test", + "Result", + "Results", + "Labs", + "Laboratory", + "Lab Result", + "Lab Report" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "v2", + "map": "ORU -> OBR" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.id", + "path": "DiagnosticReport.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "DiagnosticReport.meta", + "path": "DiagnosticReport.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "DiagnosticReport.implicitRules", + "path": "DiagnosticReport.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "DiagnosticReport.language", + "path": "DiagnosticReport.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "DiagnosticReport.text", + "path": "DiagnosticReport.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DiagnosticReport.contained", + "path": "DiagnosticReport.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport.extension", + "path": "DiagnosticReport.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport.modifierExtension", + "path": "DiagnosticReport.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport.identifier", + "path": "DiagnosticReport.identifier", + "short": "Business identifier for report", + "definition": "Identifiers assigned to this report by the performer or other systems.", + "comment": "Usually assigned by the Information System of the diagnostic service provider (filler id).", + "requirements": "Need to know what identifier to use when making queries about this report from the source laboratory, and for linking to the report outside FHIR context.", + "alias": [ + "ReportID", + "Filler ID", + "Placer ID" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBR-51/ for globally unique filler ID - OBR-3 , For non-globally unique filler-id the flller/placer number must be combined with the universal service Id - OBR-2(if present)+OBR-3+OBR-4" + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "DiagnosticReport.basedOn", + "path": "DiagnosticReport.basedOn", + "short": "What was requested", + "definition": "Details concerning a service requested.", + "comment": "Note: Usually there is one test request for each result, however in some circumstances multiple test requests may be represented using a single test result resource. Note that there are also cases where one request leads to multiple reports.", + "requirements": "This allows tracing of authorization for the report and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Request" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC? OBR-2/3?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "DiagnosticReport.status", + "path": "DiagnosticReport.status", + "short": "registered | partial | preliminary | final +", + "definition": "The status of the diagnostic report.", + "requirements": "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.", + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "OBR-25 (not 1:1 mapping)" + }, + { + "identity": "rim", + "map": "statusCode Note: final and amended are distinguished by whether observation is the subject of a ControlAct event of type \"revise\"" + } + ] + }, + { + "id": "DiagnosticReport.category", + "path": "DiagnosticReport.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Service category", + "definition": "A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.", + "comment": "Multiple categories are allowed using various categorization schemes. The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code.", + "alias": [ + "Department", + "Sub-department", + "Service", + "Discipline" + ], + "min": 1, + "max": "*", + "base": { + "path": "DiagnosticReport.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DiagnosticServiceSection" + } + ], + "strength": "example", + "description": "Codes for diagnostic service sections.", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-service-sections" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + } + ] + }, + { + "id": "DiagnosticReport.category:LaboratorySlice", + "path": "DiagnosticReport.category", + "sliceName": "LaboratorySlice", + "short": "Service category", + "definition": "A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.", + "comment": "Multiple categories are allowed using various categorization schemes. The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code.", + "alias": [ + "Department", + "Sub-department", + "Service", + "Discipline" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DiagnosticServiceSection" + } + ], + "strength": "example", + "description": "Codes for diagnostic service sections.", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-service-sections" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + } + ] + }, + { + "id": "DiagnosticReport.code", + "path": "DiagnosticReport.code", + "short": "US Core Laboratory Report Order Code", + "definition": "The test, panel or battery that was ordered.", + "comment": "UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.", + "alias": [ + "Type" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes|3.1.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "OBR-4 (HL7 v2 doesn't provide an easy way to indicate both the ordered test and the performed panel)" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "DiagnosticReport.subject", + "path": "DiagnosticReport.subject", + "short": "The subject of the report - usually, but not always, the patient", + "definition": "The subject of the report. Usually, but not always, this is a patient. However, diagnostic services also perform analyses on specimens collected from a variety of other sources.", + "requirements": "SHALL know the subject context.", + "alias": [ + "Patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3 (no HL7 v2 mapping for Group or Device)" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "DiagnosticReport.encounter", + "path": "DiagnosticReport.encounter", + "short": "Health care event when test ordered", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) which this DiagnosticReport is about.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "Links the request to the Encounter context.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.encounter" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.effective[x]", + "path": "DiagnosticReport.effective[x]", + "short": "Specimen Collection Datetime or Period", + "definition": "This is the Specimen Collection Datetime or Period which is the physically relevent dateTime for laboratory tests.", + "comment": "If the diagnostic procedure was performed on the patient, this is the time it was performed. If there are specimens, the diagnostically relevant time can be derived from the specimen collection times, but the specimen information is not always available, and the exact relationship between the specimens and the diagnostically relevant time is not always automatic.", + "requirements": "Need to know where in the patient history to file/present this report.", + "alias": [ + "Observation time", + "Effective Time", + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "DiagnosticReport.issued", + "path": "DiagnosticReport.issued", + "short": "DateTime this version was made", + "definition": "The date and time that this version of the report was made available to providers, typically after the report was reviewed and verified.", + "comment": "May be different from the update time of the resource itself, because that is the status of the record (potentially a secondary copy), not the actual release time of the report.", + "requirements": "Clinicians need to be able to check the date that the report was released.", + "alias": [ + "Date published", + "Date Issued", + "Date Verified" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR-22" + }, + { + "identity": "rim", + "map": "participation[typeCode=VRF or AUT].time" + } + ] + }, + { + "id": "DiagnosticReport.performer", + "path": "DiagnosticReport.performer", + "short": "Responsible Diagnostic Service", + "definition": "The diagnostic service that is responsible for issuing the report.", + "comment": "This is not necessarily the source of the atomic data items or the entity that interpreted the results. It is the entity that takes responsibility for the clinical report.", + "requirements": "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.", + "alias": [ + "Laboratory", + "Service", + "Practitioner", + "Department", + "Company", + "Authorized by", + "Director" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "PRT-8 (where this PRT-4-Participation = \"PO\")" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF]" + } + ] + }, + { + "id": "DiagnosticReport.resultsInterpreter", + "path": "DiagnosticReport.resultsInterpreter", + "short": "Primary result interpreter", + "definition": "The practitioner or organization that is responsible for the report's conclusions and interpretations.", + "comment": "Might not be the same entity that takes responsibility for the clinical report.", + "requirements": "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.", + "alias": [ + "Analyzed by", + "Reported by" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.resultsInterpreter", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBR-32, PRT-8 (where this PRT-4-Participation = \"PI\")" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF]" + } + ] + }, + { + "id": "DiagnosticReport.specimen", + "path": "DiagnosticReport.specimen", + "short": "Specimens this report is based on", + "definition": "Details about the specimens on which this diagnostic report is based.", + "comment": "If the specimen is sufficiently specified with a code in the test result name, then this additional data may be redundant. If there are multiple specimens, these may be represented per observation or group.", + "requirements": "Need to be able to report information about the collected specimens on which the report is based.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.specimen", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "SPM" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + } + ] + }, + { + "id": "DiagnosticReport.result", + "path": "DiagnosticReport.result", + "short": "Observations", + "definition": "[Observations](http://hl7.org/fhir/R4/observation.html) that are part of this diagnostic report.", + "comment": "Observations can contain observations.", + "requirements": "Need to support individual results, or groups of results, where the result grouping is arbitrary, but meaningful.", + "alias": [ + "Data", + "Atomic Value", + "Result", + "Atomic result", + "Data", + "Test", + "Analyte", + "Battery", + "Organizer" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.result", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBXs" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport.imagingStudy", + "path": "DiagnosticReport.imagingStudy", + "short": "Reference to full details of imaging associated with the diagnostic report", + "definition": "One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.", + "comment": "ImagingStudy and the image element are somewhat overlapping - typically, the list of image references in the image element will also be found in one of the imaging study resources. However, each caters to different types of displays for different types of purposes. Neither, either, or both may be provided.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.imagingStudy", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.media", + "path": "DiagnosticReport.media", + "short": "Key images associated with this report", + "definition": "A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).", + "requirements": "Many diagnostic services include images in the report as part of their service.", + "alias": [ + "DICOM", + "Slides", + "Scans" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.media", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport.media.id", + "path": "DiagnosticReport.media.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport.media.extension", + "path": "DiagnosticReport.media.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport.media.modifierExtension", + "path": "DiagnosticReport.media.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport.media.comment", + "path": "DiagnosticReport.media.comment", + "short": "Comment about the image (e.g. explanation)", + "definition": "A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features.", + "comment": "The comment should be displayed with the image. It would be common for the report to include additional discussion of the image contents in other sections such as the conclusion.", + "requirements": "The provider of the report should make a comment about each image included in the report.", + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.media.comment", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "DiagnosticReport.media.link", + "path": "DiagnosticReport.media.link", + "short": "Reference to the image source", + "definition": "Reference to the image source.", + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.media.link", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Media" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".value.reference" + } + ] + }, + { + "id": "DiagnosticReport.conclusion", + "path": "DiagnosticReport.conclusion", + "short": "Clinical conclusion (interpretation) of test results", + "definition": "Concise and clinically contextualized summary conclusion (interpretation/impression) of the diagnostic report.", + "requirements": "Need to be able to provide a conclusion that is not lost among the basic result data.", + "alias": [ + "Report" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.conclusion", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=\"SPRT\"].source[classCode=OBS, moodCode=EVN, code=LOINC:48767-8].value (type=ST)" + } + ] + }, + { + "id": "DiagnosticReport.conclusionCode", + "path": "DiagnosticReport.conclusionCode", + "short": "Codes for the clinical conclusion of test results", + "definition": "One or more codes that represent the summary conclusion (interpretation/impression) of the diagnostic report.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.conclusionCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AdjunctDiagnosis" + } + ], + "strength": "example", + "description": "Diagnosis codes provided as adjuncts to the report.", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SPRT].source[classCode=OBS, moodCode=EVN, code=LOINC:54531-9].value (type=CD)" + } + ] + }, + { + "id": "DiagnosticReport.presentedForm", + "path": "DiagnosticReport.presentedForm", + "short": "Entire report as issued", + "definition": "Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.", + "comment": "\"application/pdf\" is recommended as the most reliable and interoperable in this context.", + "requirements": "Gives laboratory the ability to provide its own fully formatted report for clinical fidelity.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.presentedForm", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "text (type=ED)" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DiagnosticReport", + "path": "DiagnosticReport", + "definition": "The US Core Diagnostic Report Profile is based upon the core FHIR DiagnosticReport Resource and created to meet the 2015 Edition Common Clinical Data Set 'Laboratory test(s) and Laboratory value(s)/result(s)' requirements.", + "alias": [ + "Lab Result", + "Lab Report" + ], + "mustSupport": false, + "isModifier": false + }, + { + "id": "DiagnosticReport.status", + "path": "DiagnosticReport.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + } + }, + { + "id": "DiagnosticReport.category", + "path": "DiagnosticReport.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.category:LaboratorySlice", + "path": "DiagnosticReport.category", + "sliceName": "LaboratorySlice", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB" + } + ] + }, + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.code", + "path": "DiagnosticReport.code", + "short": "US Core Laboratory Report Order Code", + "definition": "The test, panel or battery that was ordered.", + "comment": "UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes|3.1.1" + } + }, + { + "id": "DiagnosticReport.subject", + "path": "DiagnosticReport.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.effective[x]", + "path": "DiagnosticReport.effective[x]", + "short": "Specimen Collection Datetime or Period", + "definition": "This is the Specimen Collection Datetime or Period which is the physically relevent dateTime for laboratory tests.", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.issued", + "path": "DiagnosticReport.issued", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.performer", + "path": "DiagnosticReport.performer", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.result", + "path": "DiagnosticReport.result", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|3.1.1" + ] + } + ], + "mustSupport": true, + "isModifier": false + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-diagnosticreport-note.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-diagnosticreport-note.json new file mode 100644 index 00000000000..1d9dad9aa91 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-diagnosticreport-note.json @@ -0,0 +1,1831 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-diagnosticreport-note", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note", + "version": "3.1.1", + "name": "USCoreDiagnosticReportProfileNoteExchange", + "title": "US Core DiagnosticReport Profile for Report and Note exchange", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the DiagnosticReport resource for the minimal set of data to query and retrieve diagnostic reports associated with clinical notes for a patient", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "DiagnosticReport", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DiagnosticReport", + "path": "DiagnosticReport", + "short": "US Core Diagnostic Report Profile for Report and Note exchange", + "definition": "The US Core Diagnostic Report Profile for Report and Note exchange is based upon the requirements of the Argonauts to exchang imaginge reports.", + "comment": "This is intended to capture a single report and is not suitable for use in displaying summary information that covers multiple reports. For example, this resource has not been designed for laboratory cumulative reporting formats nor detailed structured reports for sequencing.", + "alias": [ + "Report", + "Test", + "Result", + "Results", + "Labs", + "Laboratory", + "Imaging Report", + "Radiology Report" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "v2", + "map": "ORU -> OBR" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.id", + "path": "DiagnosticReport.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "DiagnosticReport.meta", + "path": "DiagnosticReport.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "DiagnosticReport.implicitRules", + "path": "DiagnosticReport.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "DiagnosticReport.language", + "path": "DiagnosticReport.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "DiagnosticReport.text", + "path": "DiagnosticReport.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DiagnosticReport.contained", + "path": "DiagnosticReport.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport.extension", + "path": "DiagnosticReport.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport.modifierExtension", + "path": "DiagnosticReport.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport.identifier", + "path": "DiagnosticReport.identifier", + "short": "Business identifier for report", + "definition": "Identifiers assigned to this report by the performer or other systems.", + "comment": "Usually assigned by the Information System of the diagnostic service provider (filler id).", + "requirements": "Need to know what identifier to use when making queries about this report from the source laboratory, and for linking to the report outside FHIR context.", + "alias": [ + "ReportID", + "Filler ID", + "Placer ID" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBR-51/ for globally unique filler ID - OBR-3 , For non-globally unique filler-id the flller/placer number must be combined with the universal service Id - OBR-2(if present)+OBR-3+OBR-4" + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "DiagnosticReport.basedOn", + "path": "DiagnosticReport.basedOn", + "short": "What was requested", + "definition": "Details concerning a service requested.", + "comment": "Note: Usually there is one test request for each result, however in some circumstances multiple test requests may be represented using a single test result resource. Note that there are also cases where one request leads to multiple reports.", + "requirements": "This allows tracing of authorization for the report and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Request" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC? OBR-2/3?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "DiagnosticReport.status", + "path": "DiagnosticReport.status", + "short": "registered | partial | preliminary | final +", + "definition": "The status of the diagnostic report.", + "requirements": "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.", + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "OBR-25 (not 1:1 mapping)" + }, + { + "identity": "rim", + "map": "statusCode Note: final and amended are distinguished by whether observation is the subject of a ControlAct event of type \"revise\"" + } + ] + }, + { + "id": "DiagnosticReport.category", + "path": "DiagnosticReport.category", + "short": "Service category", + "definition": "A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.", + "comment": "Multiple categories are allowed using various categorization schemes. The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code.", + "alias": [ + "Department", + "Sub-department", + "Service", + "Discipline", + "service", + "discipline" + ], + "min": 1, + "max": "*", + "base": { + "path": "DiagnosticReport.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category|3.1.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + } + ] + }, + { + "id": "DiagnosticReport.code", + "path": "DiagnosticReport.code", + "short": "US Core Report Code", + "definition": "The test, panel, report, or note that was ordered.", + "comment": "UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.", + "alias": [ + "Type" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes|3.1.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "OBR-4 (HL7 v2 doesn't provide an easy way to indicate both the ordered test and the performed panel)" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "DiagnosticReport.subject", + "path": "DiagnosticReport.subject", + "short": "The subject of the report - usually, but not always, the patient", + "definition": "The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources.", + "requirements": "SHALL know the subject context.", + "alias": [ + "Patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3 (no HL7 v2 mapping for Group or Device)" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "DiagnosticReport.encounter", + "path": "DiagnosticReport.encounter", + "short": "Health care event when test ordered", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) which this DiagnosticReport is about.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "Links the request to the Encounter context.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.encounter" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.effective[x]", + "path": "DiagnosticReport.effective[x]", + "short": "Time of the report or note", + "definition": "This is the Datetime or Period when the report or note was written.", + "comment": "If the diagnostic procedure was performed on the patient, this is the time it was performed. If there are specimens, the diagnostically relevant time can be derived from the specimen collection times, but the specimen information is not always available, and the exact relationship between the specimens and the diagnostically relevant time is not always automatic.", + "requirements": "Need to know where in the patient history to file/present this report.", + "alias": [ + "Observation time", + "Effective Time", + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "DiagnosticReport.issued", + "path": "DiagnosticReport.issued", + "short": "DateTime this version was made", + "definition": "The date and time that this version of the report was made available to providers, typically after the report was reviewed and verified.", + "comment": "May be different from the update time of the resource itself, because that is the status of the record (potentially a secondary copy), not the actual release time of the report.", + "requirements": "Clinicians need to be able to check the date that the report was released.", + "alias": [ + "Date published", + "Date Issued", + "Date Verified" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR-22" + }, + { + "identity": "rim", + "map": "participation[typeCode=VRF or AUT].time" + } + ] + }, + { + "id": "DiagnosticReport.performer", + "path": "DiagnosticReport.performer", + "short": "Responsible Diagnostic Service", + "definition": "The diagnostic service that is responsible for issuing the report.", + "comment": "This is not necessarily the source of the atomic data items or the entity that interpreted the results. It is the entity that takes responsibility for the clinical report.", + "requirements": "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.", + "alias": [ + "Laboratory", + "Service", + "Practitioner", + "Department", + "Company", + "Authorized by", + "Director" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "PRT-8 (where this PRT-4-Participation = \"PO\")" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF]" + } + ] + }, + { + "id": "DiagnosticReport.resultsInterpreter", + "path": "DiagnosticReport.resultsInterpreter", + "short": "Primary result interpreter", + "definition": "The practitioner or organization that is responsible for the report's conclusions and interpretations.", + "comment": "Might not be the same entity that takes responsibility for the clinical report.", + "requirements": "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.", + "alias": [ + "Analyzed by", + "Reported by" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.resultsInterpreter", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBR-32, PRT-8 (where this PRT-4-Participation = \"PI\")" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF]" + } + ] + }, + { + "id": "DiagnosticReport.specimen", + "path": "DiagnosticReport.specimen", + "short": "Specimens this report is based on", + "definition": "Details about the specimens on which this diagnostic report is based.", + "comment": "If the specimen is sufficiently specified with a code in the test result name, then this additional data may be redundant. If there are multiple specimens, these may be represented per observation or group.", + "requirements": "Need to be able to report information about the collected specimens on which the report is based.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.specimen", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "SPM" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + } + ] + }, + { + "id": "DiagnosticReport.result", + "path": "DiagnosticReport.result", + "short": "Observations", + "definition": "[Observations](http://hl7.org/fhir/R4/observation.html) that are part of this diagnostic report.", + "comment": "Observations can contain observations.", + "requirements": "Need to support individual results, or groups of results, where the result grouping is arbitrary, but meaningful.", + "alias": [ + "Data", + "Atomic Value", + "Result", + "Atomic result", + "Data", + "Test", + "Analyte", + "Battery", + "Organizer" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.result", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Observation" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBXs" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport.imagingStudy", + "path": "DiagnosticReport.imagingStudy", + "short": "Reference to full details of imaging associated with the diagnostic report", + "definition": "One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.", + "comment": "ImagingStudy and the image element are somewhat overlapping - typically, the list of image references in the image element will also be found in one of the imaging study resources. However, each caters to different types of displays for different types of purposes. Neither, either, or both may be provided.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.imagingStudy", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.media", + "path": "DiagnosticReport.media", + "short": "Key images associated with this report", + "definition": "A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).", + "requirements": "Many diagnostic services include images in the report as part of their service.", + "alias": [ + "DICOM", + "Slides", + "Scans" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.media", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport.media.id", + "path": "DiagnosticReport.media.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport.media.extension", + "path": "DiagnosticReport.media.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport.media.modifierExtension", + "path": "DiagnosticReport.media.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport.media.comment", + "path": "DiagnosticReport.media.comment", + "short": "Comment about the image (e.g. explanation)", + "definition": "A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features.", + "comment": "The comment should be displayed with the image. It would be common for the report to include additional discussion of the image contents in other sections such as the conclusion.", + "requirements": "The provider of the report should make a comment about each image included in the report.", + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.media.comment", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "DiagnosticReport.media.link", + "path": "DiagnosticReport.media.link", + "short": "Reference to the image source", + "definition": "Reference to the image source.", + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.media.link", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Media" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".value.reference" + } + ] + }, + { + "id": "DiagnosticReport.conclusion", + "path": "DiagnosticReport.conclusion", + "short": "Clinical conclusion (interpretation) of test results", + "definition": "Concise and clinically contextualized summary conclusion (interpretation/impression) of the diagnostic report.", + "requirements": "Need to be able to provide a conclusion that is not lost among the basic result data.", + "alias": [ + "Report" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.conclusion", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=\"SPRT\"].source[classCode=OBS, moodCode=EVN, code=LOINC:48767-8].value (type=ST)" + } + ] + }, + { + "id": "DiagnosticReport.conclusionCode", + "path": "DiagnosticReport.conclusionCode", + "short": "Codes for the clinical conclusion of test results", + "definition": "One or more codes that represent the summary conclusion (interpretation/impression) of the diagnostic report.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.conclusionCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AdjunctDiagnosis" + } + ], + "strength": "example", + "description": "Diagnosis codes provided as adjuncts to the report.", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SPRT].source[classCode=OBS, moodCode=EVN, code=LOINC:54531-9].value (type=CD)" + } + ] + }, + { + "id": "DiagnosticReport.presentedForm", + "path": "DiagnosticReport.presentedForm", + "short": "Entire report as issued", + "definition": "Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.", + "comment": "\"application/pdf\" is recommended as the most reliable and interoperable in this context.", + "requirements": "Gives laboratory the ability to provide its own fully formatted report for clinical fidelity.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.presentedForm", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "text (type=ED)" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DiagnosticReport", + "path": "DiagnosticReport", + "short": "US Core Diagnostic Report Profile for Report and Note exchange", + "definition": "The US Core Diagnostic Report Profile for Report and Note exchange is based upon the requirements of the Argonauts to exchang imaginge reports.", + "alias": [ + "Imaging Report", + "Radiology Report" + ], + "mustSupport": false, + "isModifier": false + }, + { + "id": "DiagnosticReport.status", + "path": "DiagnosticReport.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + } + }, + { + "id": "DiagnosticReport.category", + "path": "DiagnosticReport.category", + "alias": [ + "Department", + "Sub-department", + "service", + "discipline" + ], + "min": 1, + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category|3.1.1" + } + }, + { + "id": "DiagnosticReport.code", + "path": "DiagnosticReport.code", + "short": "US Core Report Code", + "definition": "The test, panel, report, or note that was ordered.", + "comment": "UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes|3.1.1" + } + }, + { + "id": "DiagnosticReport.subject", + "path": "DiagnosticReport.subject", + "short": "The subject of the report - usually, but not always, the patient", + "definition": "The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources.", + "requirements": "SHALL know the subject context.", + "alias": [ + "Patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true + }, + { + "id": "DiagnosticReport.encounter", + "path": "DiagnosticReport.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.effective[x]", + "path": "DiagnosticReport.effective[x]", + "short": "Time of the report or note", + "definition": "This is the Datetime or Period when the report or note was written.", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.issued", + "path": "DiagnosticReport.issued", + "min": 0, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.performer", + "path": "DiagnosticReport.performer", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.presentedForm", + "path": "DiagnosticReport.presentedForm", + "min": 0, + "max": "*", + "type": [ + { + "code": "Attachment" + } + ], + "mustSupport": true, + "isModifier": false + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-direct.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-direct.json new file mode 100644 index 00000000000..6722263a6b0 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-direct.json @@ -0,0 +1,360 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-direct", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "version": "3.1.1", + "name": "USCoreDirectEmailExtension", + "title": "US Core Direct email Extension", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "This email address is associated with a [direct](http://wiki.directproject.org/Addressing+Specification) service. This extension can only be used on contact points where the system = 'email'", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "ContactPoint" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Email is a \"direct\" email", + "definition": "This email address is associated with a \"direct\" service - e.g. http://wiki.directproject.org/Addressing+Specification. This extension can only be used on contact points where the system = 'email'", + "comment": "This extension can only be used on contact points where the system = 'email'.", + "min": 0, + "max": "1", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "v2", + "map": "No v2 equivalent" + }, + { + "identity": "rim", + "map": "No RIM equivalent" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]:valueBoolean", + "path": "Extension.value[x]", + "sliceName": "valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Email is a \"direct\" email", + "definition": "This email address is associated with a \"direct\" service - e.g. http://wiki.directproject.org/Addressing+Specification. This extension can only be used on contact points where the system = 'email'", + "comment": "This extension can only be used on contact points where the system = 'email'.", + "min": 0, + "max": "1", + "isModifier": false, + "mapping": [ + { + "identity": "v2", + "map": "No v2 equivalent" + }, + { + "identity": "rim", + "map": "No RIM equivalent" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct" + }, + { + "id": "Extension.valueBoolean", + "path": "Extension.valueBoolean", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-documentreference.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-documentreference.json new file mode 100644 index 00000000000..223bb2ea61b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-documentreference.json @@ -0,0 +1,3079 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-documentreference", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference", + "version": "3.1.1", + "name": "USCoreDocumentReferenceProfile", + "title": "US Core DocumentReference Profile", + "status": "active", + "experimental": false, + "date": "2020-07-02", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "The document reference profile used in US Core.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "fhircomposition", + "uri": "http://hl7.org/fhir/composition", + "name": "FHIR Composition" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "cda", + "uri": "http://hl7.org/v3/cda", + "name": "CDA (R2)" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "xds", + "uri": "http://ihe.net/xds", + "name": "XDS metadata equivalent" + } + ], + "kind": "resource", + "abstract": false, + "type": "DocumentReference", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DocumentReference", + "path": "DocumentReference", + "short": "A reference to a document", + "definition": "This is a basic constraint on DocumentRefernce for use in the US Core IG.", + "comment": "Usually, this is used for documents other than those defined by FHIR.", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "fhircomposition", + "map": "when describing a Composition" + }, + { + "identity": "rim", + "map": "Document[classCode=\"DOC\" and moodCode=\"EVN\"]" + }, + { + "identity": "cda", + "map": "when describing a CDA" + } + ] + }, + { + "id": "DocumentReference.id", + "path": "DocumentReference.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "DocumentReference.meta", + "path": "DocumentReference.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "DocumentReference.implicitRules", + "path": "DocumentReference.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "DocumentReference.language", + "path": "DocumentReference.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "DocumentReference.text", + "path": "DocumentReference.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DocumentReference.contained", + "path": "DocumentReference.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DocumentReference.extension", + "path": "DocumentReference.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DocumentReference.modifierExtension", + "path": "DocumentReference.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DocumentReference.masterIdentifier", + "path": "DocumentReference.masterIdentifier", + "short": "Master Version Specific Identifier", + "definition": "Document identifier as assigned by the source of the document. This identifier is specific to this version of the document. This unique identifier may be used elsewhere to identify this version of the document.", + "comment": "CDA Document Id extension and root.", + "requirements": "The structure and format of this Id shall be consistent with the specification corresponding to the formatCode attribute. (e.g. for a DICOM standard document a 64-character numeric UID, for an HL7 CDA format a serialization of the CDA Document Id extension and root in the form \"oid^extension\", where OID is a 64 digits max, and the Id is a 16 UTF-8 char max. If the OID is coded without the extension then the '^' character shall not be included.).", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.masterIdentifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "fhircomposition", + "map": "Composition.identifier" + }, + { + "identity": "v2", + "map": "TXA-12" + }, + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "xds", + "map": "DocumentEntry.uniqueId" + }, + { + "identity": "cda", + "map": "ClinicalDocument/id" + } + ] + }, + { + "id": "DocumentReference.identifier", + "path": "DocumentReference.identifier", + "short": "Other identifiers for the document", + "definition": "Other identifiers associated with the document, including version independent identifiers.", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "TXA-16?" + }, + { + "identity": "rim", + "map": ".id / .setId" + }, + { + "identity": "xds", + "map": "DocumentEntry.entryUUID" + } + ] + }, + { + "id": "DocumentReference.status", + "path": "DocumentReference.status", + "short": "current | superseded | entered-in-error", + "definition": "The status of this document reference.", + "comment": "This is the status of the DocumentReference object, which might be independent from the docStatus element.\n\nThis element is labeled as a modifier because the status contains the codes that mark the document or reference as not currently valid.", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/document-reference-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "TXA-19" + }, + { + "identity": "rim", + "map": "interim: .completionCode=\"IN\" & ./statusCode[isNormalDatatype()]=\"active\"; final: .completionCode=\"AU\" && ./statusCode[isNormalDatatype()]=\"complete\" and not(./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseDocument\", code) and isNormalAct()]); amended: .completionCode=\"AU\" && ./statusCode[isNormalDatatype()]=\"complete\" and ./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseDocument\", code) and isNormalAct() and statusCode=\"completed\"]; withdrawn : .completionCode=NI && ./statusCode[isNormalDatatype()]=\"obsolete\"" + }, + { + "identity": "xds", + "map": "DocumentEntry.availabilityStatus" + } + ] + }, + { + "id": "DocumentReference.docStatus", + "path": "DocumentReference.docStatus", + "short": "preliminary | final | amended | entered-in-error", + "definition": "The status of the underlying document.", + "comment": "The document that is pointed to might be in various lifecycle states.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.docStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ReferredDocumentStatus" + } + ], + "strength": "required", + "description": "Status of the underlying document.", + "valueSet": "http://hl7.org/fhir/ValueSet/composition-status|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "fhircomposition", + "map": "Composition.status" + }, + { + "identity": "v2", + "map": "TXA-17" + }, + { + "identity": "rim", + "map": ".statusCode" + } + ] + }, + { + "id": "DocumentReference.type", + "path": "DocumentReference.type", + "short": "Kind of document (LOINC if possible)", + "definition": "Specifies the particular kind of document referenced (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced.", + "comment": "Key metadata element describing the document that describes he exact type of document. Helps humans to assess whether the document is of interest when viewing a list of documents.", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet", + "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type|3.1.1" + } + ], + "strength": "required", + "description": "All LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type|3.1.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "fhircomposition", + "map": "Composition.type" + }, + { + "identity": "v2", + "map": "TXA-2" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "xds", + "map": "DocumentEntry.type" + }, + { + "identity": "cda", + "map": "ClinicalDocument/code/@code \n\nThe typeCode should be mapped from the ClinicalDocument/code element to a set of document type codes configured in the affinity domain. One suggested coding system to use for typeCode is LOINC, in which case the mapping step can be omitted." + } + ] + }, + { + "id": "DocumentReference.category", + "path": "DocumentReference.category", + "short": "Categorization of document", + "definition": "A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type.", + "comment": "Key metadata element describing the the category or classification of the document. This is a broader perspective that groups similar documents based on how they would be used. This is a primary key used in searching.", + "alias": [ + "claxs" + ], + "min": 1, + "max": "*", + "base": { + "path": "DocumentReference.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The US Core DocumentReferences Type Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category|3.1.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "fhircomposition", + "map": "Composition.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "xds", + "map": "DocumentEntry.class" + }, + { + "identity": "cda", + "map": "Derived from a mapping of /ClinicalDocument/code/@code to an Affinity Domain specified coded value to use and coding system. Affinity Domains are encouraged to use the appropriate value for Type of Service, based on the LOINC Type of Service (see Page 53 of the LOINC User's Manual). Must be consistent with /ClinicalDocument/code/@code" + } + ] + }, + { + "id": "DocumentReference.subject", + "path": "DocumentReference.subject", + "short": "Who/what is the subject of the document", + "definition": "Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure).", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "fhircomposition", + "map": "Composition.subject" + }, + { + "identity": "v2", + "map": "PID-3 (No standard way to define a Practitioner or Group subject in HL7 v2 MDM message)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" + }, + { + "identity": "xds", + "map": "DocumentEntry.patientId" + }, + { + "identity": "cda", + "map": "ClinicalDocument/recordTarget/" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "DocumentReference.date", + "path": "DocumentReference.date", + "short": "When this document reference was created", + "definition": "When the document reference was created.", + "comment": "Referencing/indexing time is used for tracking, organizing versions and searching.", + "alias": [ + "indexed" + ], + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.date", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "fhircomposition", + "map": "Composition.date" + }, + { + "identity": "rim", + "map": ".availabilityTime[type=\"TS\"]" + } + ] + }, + { + "id": "DocumentReference.author", + "path": "DocumentReference.author", + "short": "Who and/or what authored the document", + "definition": "Identifies who is responsible for adding the information to the document.", + "comment": "Not necessarily who did the actual data entry (i.e. typist) or who was the source (informant).", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.author", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "fhircomposition", + "map": "Composition.author" + }, + { + "identity": "v2", + "map": "TXA-9 (No standard way to indicate a Device in HL7 v2 MDM message)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]" + }, + { + "identity": "xds", + "map": "DocumentEntry.author" + }, + { + "identity": "cda", + "map": "ClinicalDocument/author" + } + ] + }, + { + "id": "DocumentReference.authenticator", + "path": "DocumentReference.authenticator", + "short": "Who/what authenticated the document", + "definition": "Which person or organization authenticates that this document is valid.", + "comment": "Represents a participant within the author institution who has legally authenticated or attested the document. Legal authentication implies that a document has been signed manually or electronically by the legal Authenticator.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.authenticator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.witness" + }, + { + "identity": "fhircomposition", + "map": "Composition.attester" + }, + { + "identity": "v2", + "map": "TXA-10" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"AUTHEN\"].role[classCode=\"ASSIGNED\"]" + }, + { + "identity": "xds", + "map": "DocumentEntry.legalAuthenticator" + }, + { + "identity": "cda", + "map": "ClinicalDocument/legalAuthenticator" + } + ] + }, + { + "id": "DocumentReference.custodian", + "path": "DocumentReference.custodian", + "short": "Organization which maintains the document", + "definition": "Identifies the organization or group who is responsible for ongoing maintenance of and access to the document.", + "comment": "Identifies the logical organization (software system, vendor, or department) to go to find the current version, where to report issues, etc. This is different from the physical location (URL, disk drive, or server) of the document, which is the technical location of the document, which host may be delegated to the management of some other organization.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.custodian", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "fhircomposition", + "map": "Composition.custodian" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"RCV\"].role[classCode=\"CUST\"].scoper[classCode=\"ORG\" and determinerCode=\"INST\"]" + } + ] + }, + { + "id": "DocumentReference.relatesTo", + "path": "DocumentReference.relatesTo", + "short": "Relationships to other documents", + "definition": "Relationships that this document has with other document references that already exist.", + "comment": "This element is labeled as a modifier because documents that append to other documents are incomplete on their own.", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.relatesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.relatesTo" + }, + { + "identity": "rim", + "map": ".outboundRelationship" + }, + { + "identity": "xds", + "map": "DocumentEntry Associations" + } + ] + }, + { + "id": "DocumentReference.relatesTo.id", + "path": "DocumentReference.relatesTo.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DocumentReference.relatesTo.extension", + "path": "DocumentReference.relatesTo.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DocumentReference.relatesTo.modifierExtension", + "path": "DocumentReference.relatesTo.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DocumentReference.relatesTo.code", + "path": "DocumentReference.relatesTo.code", + "short": "replaces | transforms | signs | appends", + "definition": "The type of relationship that this document has with anther document.", + "comment": "If this document appends another document, then the document cannot be fully understood without also accessing the referenced document.", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.relatesTo.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DocumentRelationshipType" + } + ], + "strength": "required", + "description": "The type of relationship between documents.", + "valueSet": "http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.relatesTo.code" + }, + { + "identity": "rim", + "map": ".outboundRelationship.typeCode" + }, + { + "identity": "xds", + "map": "DocumentEntry Associations type" + } + ] + }, + { + "id": "DocumentReference.relatesTo.target", + "path": "DocumentReference.relatesTo.target", + "short": "Target of the relationship", + "definition": "The target document of this relationship.", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.relatesTo.target", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.relatesTo.target" + }, + { + "identity": "rim", + "map": ".target[classCode=\"DOC\", moodCode=\"EVN\"].id" + }, + { + "identity": "xds", + "map": "DocumentEntry Associations reference" + } + ] + }, + { + "id": "DocumentReference.description", + "path": "DocumentReference.description", + "short": "Human-readable description", + "definition": "Human-readable description of the source document.", + "comment": "What the document is about, a terse summary of the document.", + "requirements": "Helps humans to assess whether the document is of interest.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.description", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "TXA-25" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"SUBJ\"].target.text" + }, + { + "identity": "xds", + "map": "DocumentEntry.comments" + } + ] + }, + { + "id": "DocumentReference.securityLabel", + "path": "DocumentReference.securityLabel", + "short": "Document security-tags", + "definition": "A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the \"reference\" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to.", + "comment": "The confidentiality codes can carry multiple vocabulary items. HL7 has developed an understanding of security and privacy tags that might be desirable in a Document Sharing environment, called HL7 Healthcare Privacy and Security Classification System (HCS). The following specification is recommended but not mandated, as the vocabulary bindings are an administrative domain responsibility. The use of this method is up to the policy domain such as the XDS Affinity Domain or other Trust Domain where all parties including sender and recipients are trusted to appropriately tag and enforce. \n\nIn the HL7 Healthcare Privacy and Security Classification (HCS) there are code systems specific to Confidentiality, Sensitivity, Integrity, and Handling Caveats. Some values would come from a local vocabulary as they are related to workflow roles and special projects.", + "requirements": "Use of the Health Care Privacy/Security Classification (HCS) system of security-tag use is recommended.", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.securityLabel", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "SecurityLabels" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "Security Labels from the Healthcare Privacy and Security Classification System.", + "valueSet": "http://hl7.org/fhir/ValueSet/security-labels" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.confidentiality, Composition.meta.security" + }, + { + "identity": "v2", + "map": "TXA-18" + }, + { + "identity": "rim", + "map": ".confidentialityCode" + }, + { + "identity": "xds", + "map": "DocumentEntry.confidentialityCode" + }, + { + "identity": "cda", + "map": "ClinicalDocument/confidentialityCode/@code" + } + ] + }, + { + "id": "DocumentReference.content", + "path": "DocumentReference.content", + "short": "Document referenced", + "definition": "The document and format referenced. There may be multiple content element repetitions, each with a different format.", + "min": 1, + "max": "*", + "base": { + "path": "DocumentReference.content", + "min": 1, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Bundle(Composition+*)" + }, + { + "identity": "rim", + "map": "document.text" + } + ] + }, + { + "id": "DocumentReference.content.id", + "path": "DocumentReference.content.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DocumentReference.content.extension", + "path": "DocumentReference.content.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DocumentReference.content.modifierExtension", + "path": "DocumentReference.content.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DocumentReference.content.attachment", + "path": "DocumentReference.content.attachment", + "short": "Where to access the document", + "definition": "The document or URL of the document along with critical metadata to prove content has integrity.", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.content.attachment", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "us-core-6", + "severity": "error", + "human": "DocumentReference.content.attachment.url or DocumentReference.content.attachment.data or both SHALL be present.", + "expression": "url.exists() or data.exists()", + "xpath": "f:url or f:content" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.language, \nComposition.title, \nComposition.date" + }, + { + "identity": "v2", + "map": "TXA-3 for mime type" + }, + { + "identity": "rim", + "map": "document.text" + }, + { + "identity": "xds", + "map": "DocumentEntry.mimeType, DocumentEntry.languageCode, DocumentEntry.URI, DocumentEntry.size, DocumentEntry.hash, DocumentEntry.title, DocumentEntry.creationTime" + }, + { + "identity": "cda", + "map": "ClinicalDocument/languageCode, ClinicalDocument/title, ClinicalDocument/date" + } + ] + }, + { + "id": "DocumentReference.content.attachment.id", + "path": "DocumentReference.content.attachment.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DocumentReference.content.attachment.extension", + "path": "DocumentReference.content.attachment.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DocumentReference.content.attachment.contentType", + "path": "DocumentReference.content.attachment.contentType", + "short": "Mime type of the content, with charset etc.", + "definition": "Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.", + "requirements": "Processors of the data need to be able to know how to interpret the data.", + "min": 1, + "max": "1", + "base": { + "path": "Attachment.contentType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "text/plain; charset=UTF-8, image/png" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MimeType" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "required", + "description": "The mime type of an attachment. Any valid mime type is allowed.", + "valueSet": "http://hl7.org/fhir/ValueSet/mimetypes|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used" + }, + { + "identity": "rim", + "map": "./mediaType, ./charset" + } + ] + }, + { + "id": "DocumentReference.content.attachment.language", + "path": "DocumentReference.content.attachment.language", + "short": "Human language of the content (BCP-47)", + "definition": "The human language of the content. The value can be any valid value according to BCP 47.", + "requirements": "Users need to be able to choose between the languages in a set of attachments.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "en-AU" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + }, + "mapping": [ + { + "identity": "rim", + "map": "./language" + } + ] + }, + { + "id": "DocumentReference.content.attachment.data", + "path": "DocumentReference.content.attachment.data", + "short": "Data inline, base64ed", + "definition": "The actual data of the attachment - a sequence of bytes, base64 encoded.", + "comment": "The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON.", + "requirements": "The data needs to able to be transmitted inline.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.data", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + } + ], + "condition": [ + "us-core-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "ED.5" + }, + { + "identity": "rim", + "map": "./data" + } + ] + }, + { + "id": "DocumentReference.content.attachment.url", + "path": "DocumentReference.content.attachment.url", + "short": "Uri where the data can be found", + "definition": "A location where the data can be accessed.", + "comment": "If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data.", + "requirements": "The data needs to be transmitted by reference.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.url", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "url" + } + ], + "example": [ + { + "label": "General", + "valueUrl": "http://www.acme.com/logo-small.png" + } + ], + "condition": [ + "us-core-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RP.1+RP.2 - if they refer to a URL (see v2.6)" + }, + { + "identity": "rim", + "map": "./reference/literal" + } + ] + }, + { + "id": "DocumentReference.content.attachment.size", + "path": "DocumentReference.content.attachment.size", + "short": "Number of bytes of content (if url provided)", + "definition": "The number of bytes of data that make up this attachment (before base64 encoding, if that is done).", + "comment": "The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference.", + "requirements": "Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.size", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "unsignedInt" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A (needs data type R3 proposal)" + } + ] + }, + { + "id": "DocumentReference.content.attachment.hash", + "path": "DocumentReference.content.attachment.hash", + "short": "Hash of the data (sha-1, base64ed)", + "definition": "The calculated hash of the data using SHA-1. Represented using base64.", + "comment": "The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](http://hl7.org/fhir/R4/provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature.", + "requirements": "Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version).", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.hash", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".integrityCheck[parent::ED/integrityCheckAlgorithm=\"SHA-1\"]" + } + ] + }, + { + "id": "DocumentReference.content.attachment.title", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "DocumentReference.content.attachment.title", + "short": "Label to display in place of the data", + "definition": "A label or set of text to display in place of the data.", + "requirements": "Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.title", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Official Corporate Logo" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./title/data" + } + ] + }, + { + "id": "DocumentReference.content.attachment.creation", + "path": "DocumentReference.content.attachment.creation", + "short": "Date attachment was first created", + "definition": "The date that the attachment was first created.", + "requirements": "This is often tracked as an integrity issue for use of the attachment.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.creation", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A (needs data type R3 proposal)" + } + ] + }, + { + "id": "DocumentReference.content.format", + "path": "DocumentReference.content.format", + "short": "Format/content rules for the document", + "definition": "An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType.", + "comment": "Note that while IHE mostly issues URNs for format types, not all documents can be identified by a URI.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.content.format", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/formatcodes" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.meta.profile" + }, + { + "identity": "rim", + "map": "document.text" + }, + { + "identity": "xds", + "map": "DocumentEntry.formatCode" + }, + { + "identity": "cda", + "map": "derived from the IHE Profile or Implementation Guide templateID" + } + ] + }, + { + "id": "DocumentReference.context", + "path": "DocumentReference.context", + "short": "Clinical context of document", + "definition": "The clinical context in which the document was prepared.", + "comment": "These values are primarily added to help with searching for interesting/relevant documents.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=\"SUBJ\"].target[classCode<'ACT']" + } + ] + }, + { + "id": "DocumentReference.context.id", + "path": "DocumentReference.context.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DocumentReference.context.extension", + "path": "DocumentReference.context.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DocumentReference.context.modifierExtension", + "path": "DocumentReference.context.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DocumentReference.context.encounter", + "path": "DocumentReference.context.encounter", + "short": "Context of the document content", + "definition": "Describes the clinical encounter or type of care that the document content is associated with.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context.encounter", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "fhircomposition", + "map": "Composition.encounter" + }, + { + "identity": "rim", + "map": "unique(highest(./outboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()], priorityNumber)/target[moodCode=\"EVN\" and classCode=(\"ENC\", \"PCPR\") and isNormalAct])" + } + ] + }, + { + "id": "DocumentReference.context.event", + "path": "DocumentReference.context.event", + "short": "Main clinical acts documented", + "definition": "This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the type Code, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.", + "comment": "An event can further specialize the act inherent in the type, such as where it is simply \"Procedure Report\" and the procedure was a \"colonoscopy\". If one or more event codes are included, they shall not conflict with the values inherent in the class or type elements as such a conflict would create an ambiguous situation.", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.context.event", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DocumentEventType" + } + ], + "strength": "example", + "description": "This list of codes represents the main clinical acts being documented.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActCode" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.event.code" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "xds", + "map": "DocumentEntry.eventCodeList" + } + ] + }, + { + "id": "DocumentReference.context.period", + "path": "DocumentReference.context.period", + "short": "Time of service that is being documented", + "definition": "The time period over which the service that is described by the document was provided.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.event.period" + }, + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "xds", + "map": "DocumentEntry.serviceStartTime, DocumentEntry.serviceStopTime" + }, + { + "identity": "cda", + "map": "ClinicalDocument/documentationOf/\nserviceEvent/effectiveTime/low/\n@value --> ClinicalDocument/documentationOf/\nserviceEvent/effectiveTime/high/\n@value" + } + ] + }, + { + "id": "DocumentReference.context.facilityType", + "path": "DocumentReference.context.facilityType", + "short": "Kind of facility where patient was seen", + "definition": "The kind of facility where the patient was seen.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context.facilityType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DocumentC80FacilityType" + } + ], + "strength": "example", + "description": "XDS Facility Type.", + "valueSet": "http://hl7.org/fhir/ValueSet/c80-facilitycodes" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "usually from a mapping to a local ValueSet" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" + }, + { + "identity": "xds", + "map": "DocumentEntry.healthcareFacilityTypeCode" + }, + { + "identity": "cda", + "map": "usually a mapping to a local ValueSet. Must be consistent with /clinicalDocument/code" + } + ] + }, + { + "id": "DocumentReference.context.practiceSetting", + "path": "DocumentReference.context.practiceSetting", + "short": "Additional details about where the content was created (e.g. clinical specialty)", + "definition": "This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty.", + "comment": "This element should be based on a coarse classification system for the class of specialty practice. Recommend the use of the classification system for Practice Setting, such as that described by the Subject Matter Domain in LOINC.", + "requirements": "This is an important piece of metadata that providers often rely upon to quickly sort and/or filter out to find specific content.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context.practiceSetting", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DocumentC80PracticeSetting" + } + ], + "strength": "example", + "description": "Additional details about where the content was created (e.g. clinical specialty).", + "valueSet": "http://hl7.org/fhir/ValueSet/c80-practice-codes" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "usually from a mapping to a local ValueSet" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" + }, + { + "identity": "xds", + "map": "DocumentEntry.practiceSettingCode" + }, + { + "identity": "cda", + "map": "usually from a mapping to a local ValueSet" + } + ] + }, + { + "id": "DocumentReference.context.sourcePatientInfo", + "path": "DocumentReference.context.sourcePatientInfo", + "short": "Patient demographics from source", + "definition": "The Patient Information as known when the document was published. May be a reference to a version specific, or contained.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context.sourcePatientInfo", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.subject" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" + }, + { + "identity": "xds", + "map": "DocumentEntry.sourcePatientInfo, DocumentEntry.sourcePatientId" + }, + { + "identity": "cda", + "map": "ClinicalDocument/recordTarget/" + } + ] + }, + { + "id": "DocumentReference.context.related", + "path": "DocumentReference.context.related", + "short": "Related identifiers or resources", + "definition": "Related identifiers or resources associated with the DocumentReference.", + "comment": "May be identifiers or resources that caused the DocumentReference or referenced Document to be created.", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.context.related", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.event.detail" + }, + { + "identity": "rim", + "map": "./outboundRelationship[typeCode=\"PERT\" and isNormalActRelationship()] / target[isNormalAct]" + }, + { + "identity": "xds", + "map": "DocumentEntry.referenceIdList" + }, + { + "identity": "cda", + "map": "ClinicalDocument/relatedDocument" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DocumentReference", + "path": "DocumentReference", + "definition": "This is a basic constraint on DocumentRefernce for use in the US Core IG.", + "mustSupport": false + }, + { + "id": "DocumentReference.identifier", + "path": "DocumentReference.identifier", + "min": 0, + "max": "*", + "mustSupport": true + }, + { + "id": "DocumentReference.status", + "path": "DocumentReference.status", + "min": 1, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/document-reference-status" + } + }, + { + "id": "DocumentReference.type", + "path": "DocumentReference.type", + "min": 1, + "max": "1", + "mustSupport": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet", + "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type|3.1.1" + } + ], + "strength": "required", + "description": "All LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type|3.1.1" + } + }, + { + "id": "DocumentReference.category", + "path": "DocumentReference.category", + "min": 1, + "max": "*", + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "The US Core DocumentReferences Type Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category|3.1.1" + } + }, + { + "id": "DocumentReference.subject", + "path": "DocumentReference.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true + }, + { + "id": "DocumentReference.date", + "path": "DocumentReference.date", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "DocumentReference.author", + "path": "DocumentReference.author", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true + }, + { + "id": "DocumentReference.custodian", + "path": "DocumentReference.custodian", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "mustSupport": true + }, + { + "id": "DocumentReference.content", + "path": "DocumentReference.content", + "min": 1, + "max": "*", + "mustSupport": true + }, + { + "id": "DocumentReference.content.attachment", + "path": "DocumentReference.content.attachment", + "min": 1, + "max": "1", + "constraint": [ + { + "key": "us-core-6", + "severity": "error", + "human": "DocumentReference.content.attachment.url or DocumentReference.content.attachment.data or both SHALL be present.", + "expression": "url.exists() or data.exists()", + "xpath": "f:url or f:content" + } + ], + "mustSupport": true + }, + { + "id": "DocumentReference.content.attachment.contentType", + "path": "DocumentReference.content.attachment.contentType", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "DocumentReference.content.attachment.data", + "path": "DocumentReference.content.attachment.data", + "min": 0, + "max": "1", + "condition": [ + "us-core-6" + ], + "mustSupport": true + }, + { + "id": "DocumentReference.content.attachment.url", + "path": "DocumentReference.content.attachment.url", + "min": 0, + "max": "1", + "condition": [ + "us-core-6" + ], + "mustSupport": true + }, + { + "id": "DocumentReference.content.format", + "path": "DocumentReference.content.format", + "min": 0, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/formatcodes" + } + }, + { + "id": "DocumentReference.context", + "path": "DocumentReference.context", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "DocumentReference.context.encounter", + "path": "DocumentReference.context.encounter", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + } + ], + "mustSupport": true + }, + { + "id": "DocumentReference.context.period", + "path": "DocumentReference.context.period", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-encounter.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-encounter.json new file mode 100644 index 00000000000..0bf3b5a38bf --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-encounter.json @@ -0,0 +1,4122 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-encounter", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter", + "version": "3.1.1", + "name": "USCoreEncounterProfile", + "title": "US Core Encounter Profile", + "status": "active", + "experimental": false, + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "The Encounter referenced in the US Core profiles.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Encounter", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Encounter", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Encounter", + "path": "Encounter", + "short": "An interaction during which services are provided to the patient", + "definition": "This is basic constraint on Encounter for use in US Core resources.", + "alias": [ + "Visit" + ], + "min": 0, + "max": "*", + "base": { + "path": "Encounter", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "rim", + "map": "Encounter[@moodCode='EVN']" + } + ] + }, + { + "id": "Encounter.id", + "path": "Encounter.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Encounter.meta", + "path": "Encounter.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Encounter.implicitRules", + "path": "Encounter.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Encounter.language", + "path": "Encounter.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Encounter.text", + "path": "Encounter.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Encounter.contained", + "path": "Encounter.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.extension", + "path": "Encounter.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.modifierExtension", + "path": "Encounter.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.identifier", + "path": "Encounter.identifier", + "short": "Identifier(s) by which this encounter is known", + "definition": "Identifier(s) by which this encounter is known.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Encounter.identifier.id", + "path": "Encounter.identifier.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.identifier.extension", + "path": "Encounter.identifier.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.identifier.use", + "path": "Encounter.identifier.use", + "short": "usual | official | temp | secondary | old (If known)", + "definition": "The purpose of this identifier.", + "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.", + "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierUse" + } + ], + "strength": "required", + "description": "Identifies the purpose for this identifier, if known .", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Encounter.identifier.type", + "path": "Encounter.identifier.type", + "short": "Description of identifier", + "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.", + "comment": "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.", + "requirements": "Allows users to make use of identifiers when the identifier system is not known.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierType" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-type" + }, + "mapping": [ + { + "identity": "v2", + "map": "CX.5" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Encounter.identifier.system", + "path": "Encounter.identifier.system", + "short": "The namespace for the identifier value", + "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.", + "comment": "Identifier.system is always case sensitive.", + "requirements": "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "example": [ + { + "label": "General", + "valueUri": "http://www.acme.com/identifiers/patient" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / EI-2-4" + }, + { + "identity": "rim", + "map": "II.root or Role.id.root" + }, + { + "identity": "servd", + "map": "./IdentifierType" + } + ] + }, + { + "id": "Encounter.identifier.value", + "path": "Encounter.identifier.value", + "short": "The value that is unique", + "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.", + "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "123456" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.1 / EI.1" + }, + { + "identity": "rim", + "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "Encounter.identifier.period", + "path": "Encounter.identifier.period", + "short": "Time period when id is/was valid for use", + "definition": "Time period during which identifier is/was valid for use.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.7 + CX.8" + }, + { + "identity": "rim", + "map": "Role.effectiveTime or implied by context" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Encounter.identifier.assigner", + "path": "Encounter.identifier.assigner", + "short": "Organization that issued id (may be just text)", + "definition": "Organization that issued/manages the identifier.", + "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.assigner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / (CX.4,CX.9,CX.10)" + }, + { + "identity": "rim", + "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" + }, + { + "identity": "servd", + "map": "./IdentifierIssuingAuthority" + } + ] + }, + { + "id": "Encounter.status", + "path": "Encounter.status", + "short": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +", + "definition": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +.", + "comment": "Note that internal business rules will determine the appropriate transitions that may occur between statuses (and also classes).", + "min": 1, + "max": "1", + "base": { + "path": "Encounter.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "EncounterStatus" + } + ], + "strength": "required", + "description": "Current state of the encounter.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "No clear equivalent in HL7 v2; active/finished could be inferred from PV1-44, PV1-45, PV2-24; inactive could be inferred from PV2-16" + }, + { + "identity": "rim", + "map": ".statusCode" + } + ] + }, + { + "id": "Encounter.statusHistory", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + "valueString": "StatusHistory" + } + ], + "path": "Encounter.statusHistory", + "short": "List of past encounter statuses", + "definition": "The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them.", + "comment": "The current status is always found in the current version of the resource, not the status history.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.statusHistory", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.statusHistory.id", + "path": "Encounter.statusHistory.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.statusHistory.extension", + "path": "Encounter.statusHistory.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.statusHistory.modifierExtension", + "path": "Encounter.statusHistory.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.statusHistory.status", + "path": "Encounter.statusHistory.status", + "short": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +", + "definition": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +.", + "min": 1, + "max": "1", + "base": { + "path": "Encounter.statusHistory.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "EncounterStatus" + } + ], + "strength": "required", + "description": "Current state of the encounter.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-status|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.statusHistory.period", + "path": "Encounter.statusHistory.period", + "short": "The time that the episode was in the specified status", + "definition": "The time that the episode was in the specified status.", + "min": 1, + "max": "1", + "base": { + "path": "Encounter.statusHistory.period", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.class", + "path": "Encounter.class", + "short": "Classification of patient encounter", + "definition": "Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.", + "min": 1, + "max": "1", + "base": { + "path": "Encounter.class", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "EncounterClass" + } + ], + "strength": "extensible", + "description": "Classification of the encounter.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActEncounterCode" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "PV1-2" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code" + } + ] + }, + { + "id": "Encounter.classHistory", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + "valueString": "ClassHistory" + } + ], + "path": "Encounter.classHistory", + "short": "List of past encounter classes", + "definition": "The class history permits the tracking of the encounters transitions without needing to go through the resource history. This would be used for a case where an admission starts of as an emergency encounter, then transitions into an inpatient scenario. Doing this and not restarting a new encounter ensures that any lab/diagnostic results can more easily follow the patient and not require re-processing and not get lost or cancelled during a kind of discharge from emergency to inpatient.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.classHistory", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.classHistory.id", + "path": "Encounter.classHistory.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.classHistory.extension", + "path": "Encounter.classHistory.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.classHistory.modifierExtension", + "path": "Encounter.classHistory.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.classHistory.class", + "path": "Encounter.classHistory.class", + "short": "inpatient | outpatient | ambulatory | emergency +", + "definition": "inpatient | outpatient | ambulatory | emergency +.", + "min": 1, + "max": "1", + "base": { + "path": "Encounter.classHistory.class", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "EncounterClass" + } + ], + "strength": "extensible", + "description": "Classification of the encounter.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActEncounterCode" + }, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.classHistory.period", + "path": "Encounter.classHistory.period", + "short": "The time that the episode was in the specified class", + "definition": "The time that the episode was in the specified class.", + "min": 1, + "max": "1", + "base": { + "path": "Encounter.classHistory.period", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.type", + "path": "Encounter.type", + "short": "Specific type of encounter", + "definition": "Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation).", + "comment": "Since there are many ways to further classify encounters, this element is 0..*.", + "min": 1, + "max": "*", + "base": { + "path": "Encounter.type", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Valueset to describe the Encounter Type", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type|3.1.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "PV1-4 / PV1-18" + }, + { + "identity": "rim", + "map": ".code" + } + ] + }, + { + "id": "Encounter.serviceType", + "path": "Encounter.serviceType", + "short": "Specific type of service", + "definition": "Broad categorization of the service that is to be provided (e.g. cardiology).", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.serviceType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "EncounterServiceType" + } + ], + "strength": "example", + "description": "Broad categorization of the service that is to be provided.", + "valueSet": "http://hl7.org/fhir/ValueSet/service-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "v2", + "map": "PV1-10" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.priority", + "path": "Encounter.priority", + "short": "Indicates the urgency of the encounter", + "definition": "Indicates the urgency of the encounter.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.priority", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Priority" + } + ], + "strength": "example", + "description": "Indicates the urgency of the encounter.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActPriority" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.grade" + }, + { + "identity": "v2", + "map": "PV2-25" + }, + { + "identity": "rim", + "map": ".priorityCode" + } + ] + }, + { + "id": "Encounter.subject", + "path": "Encounter.subject", + "short": "The patient or group present at the encounter", + "definition": "The patient or group present at the encounter.", + "comment": "While the encounter is always about the patient, the patient might not actually be known in all contexts of use, and there may be a group of patients that could be anonymous (such as in a group therapy for Alcoholics Anonymous - where the recording of the encounter could be used for billing on the number of people/staff and not important to the context of the specific patients) or alternately in veterinary care a herd of sheep receiving treatment (where the animals are not individually tracked).", + "alias": [ + "patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "Encounter.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ]/role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Encounter.episodeOfCare", + "path": "Encounter.episodeOfCare", + "short": "Episode(s) of care that this encounter should be recorded against", + "definition": "Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem. The association is recorded on the encounter as these are typically created after the episode of care and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.episodeOfCare", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1-54, PV1-53" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.basedOn", + "path": "Encounter.basedOn", + "short": "The ServiceRequest that initiated this encounter", + "definition": "The request this encounter satisfies (e.g. incoming referral or procedure request).", + "alias": [ + "incomingReferral" + ], + "min": 0, + "max": "*", + "base": { + "path": "Encounter.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "rim", + "map": ".reason.ClinicalDocument" + } + ] + }, + { + "id": "Encounter.participant", + "path": "Encounter.participant", + "short": "List of participants involved in the encounter", + "definition": "The list of people responsible for providing the service.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.participant", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer" + }, + { + "identity": "v2", + "map": "ROL" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PFM]" + } + ] + }, + { + "id": "Encounter.participant.id", + "path": "Encounter.participant.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.participant.extension", + "path": "Encounter.participant.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.participant.modifierExtension", + "path": "Encounter.participant.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.participant.type", + "path": "Encounter.participant.type", + "short": "Role of participant in encounter", + "definition": "Role of participant in encounter.", + "comment": "The participant type indicates how an individual participates in an encounter. It includes non-practitioner participants, and for practitioners this is to describe the action type in the context of this encounter (e.g. Admitting Dr, Attending Dr, Translator, Consulting Dr). This is different to the practitioner roles which are functional roles, derived from terms of employment, education, licensing, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.participant.type", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ParticipantType" + } + ], + "strength": "extensible", + "description": "Role of participant in encounter.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-participant-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.function" + }, + { + "identity": "v2", + "map": "ROL-3 (or maybe PRT-4)" + }, + { + "identity": "rim", + "map": ".functionCode" + } + ] + }, + { + "id": "Encounter.participant.period", + "path": "Encounter.participant.period", + "short": "Period of time during the encounter that the participant participated", + "definition": "The period of time that the specified participant participated in the encounter. These can overlap or be sub-sets of the overall encounter's period.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.participant.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "ROL-5, ROL-6 (or maybe PRT-5)" + }, + { + "identity": "rim", + "map": ".time" + } + ] + }, + { + "id": "Encounter.participant.individual", + "path": "Encounter.participant.individual", + "short": "Persons involved in the encounter other than the patient", + "definition": "Persons involved in the encounter other than the patient.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.participant.individual", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.who" + }, + { + "identity": "v2", + "map": "ROL-4" + }, + { + "identity": "rim", + "map": ".role" + } + ] + }, + { + "id": "Encounter.appointment", + "path": "Encounter.appointment", + "short": "The appointment that scheduled this encounter", + "definition": "The appointment that scheduled this encounter.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.appointment", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Appointment" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "SCH-1 / SCH-2" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target[classCode=ENC, moodCode=APT]" + } + ] + }, + { + "id": "Encounter.period", + "path": "Encounter.period", + "short": "The start and end time of the encounter", + "definition": "The start and end time of the encounter.", + "comment": "If not (yet) known, the end of the Period may be omitted.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "PV1-44, PV1-45" + }, + { + "identity": "rim", + "map": ".effectiveTime (low & high)" + } + ] + }, + { + "id": "Encounter.length", + "path": "Encounter.length", + "short": "Quantity of time the encounter lasted (less time absent)", + "definition": "Quantity of time the encounter lasted. This excludes the time during leaves of absence.", + "comment": "May differ from the time the Encounter.period lasted because of leave of absence.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.length", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Duration" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "v2", + "map": "(PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes" + }, + { + "identity": "rim", + "map": ".lengthOfStayQuantity" + } + ] + }, + { + "id": "Encounter.reasonCode", + "path": "Encounter.reasonCode", + "short": "Coded reason the encounter takes place", + "definition": "Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.", + "comment": "For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).", + "alias": [ + "Indication", + "Admission diagnosis" + ], + "min": 0, + "max": "*", + "base": { + "path": "Encounter.reasonCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "EncounterReason" + } + ], + "strength": "preferred", + "description": "Reason why the encounter takes place.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-reason" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonCode" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "v2", + "map": "EVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )" + }, + { + "identity": "rim", + "map": ".reasonCode" + } + ] + }, + { + "id": "Encounter.reasonReference", + "path": "Encounter.reasonReference", + "short": "Reason the encounter takes place (reference)", + "definition": "Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.", + "comment": "For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).", + "alias": [ + "Indication", + "Admission diagnosis" + ], + "min": 0, + "max": "*", + "base": { + "path": "Encounter.reasonReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonCode" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "v2", + "map": "EVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )" + }, + { + "identity": "rim", + "map": ".reasonCode" + } + ] + }, + { + "id": "Encounter.diagnosis", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + "valueString": "Diagnosis" + } + ], + "path": "Encounter.diagnosis", + "short": "The list of diagnosis relevant to this encounter", + "definition": "The list of diagnosis relevant to this encounter.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.diagnosis", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=RSON]" + } + ] + }, + { + "id": "Encounter.diagnosis.id", + "path": "Encounter.diagnosis.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.diagnosis.extension", + "path": "Encounter.diagnosis.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.diagnosis.modifierExtension", + "path": "Encounter.diagnosis.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.diagnosis.condition", + "path": "Encounter.diagnosis.condition", + "short": "The diagnosis or procedure relevant to the encounter", + "definition": "Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.", + "comment": "For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).", + "alias": [ + "Admission diagnosis", + "discharge diagnosis", + "indication" + ], + "min": 1, + "max": "1", + "base": { + "path": "Encounter.diagnosis.condition", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition", + "http://hl7.org/fhir/StructureDefinition/Procedure" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonReference" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "v2", + "map": "Resources that would commonly referenced at Encounter.indication would be Condition and/or Procedure. These most closely align with DG1/PRB and PR1 respectively." + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=RSON].target" + } + ] + }, + { + "id": "Encounter.diagnosis.use", + "path": "Encounter.diagnosis.use", + "short": "Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)", + "definition": "Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …).", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.diagnosis.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DiagnosisRole" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "The type of diagnosis this condition represents.", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnosis-role" + }, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.diagnosis.rank", + "path": "Encounter.diagnosis.rank", + "short": "Ranking of the diagnosis (for each role type)", + "definition": "Ranking of the diagnosis (for each role type).", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.diagnosis.rank", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=RSON].priority" + } + ] + }, + { + "id": "Encounter.account", + "path": "Encounter.account", + "short": "The set of accounts that may be used for billing for this Encounter", + "definition": "The set of accounts that may be used for billing for this Encounter.", + "comment": "The billing system may choose to allocate billable items associated with the Encounter to different referenced Accounts based on internal business rules.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.account", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Account" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".pertains.A_Account" + } + ] + }, + { + "id": "Encounter.hospitalization", + "path": "Encounter.hospitalization", + "short": "Details about the admission to a healthcare service", + "definition": "Details about the admission to a healthcare service.", + "comment": "An Encounter may cover more than just the inpatient stay. Contexts such as outpatients, community clinics, and aged care facilities are also included.\r\rThe duration recorded in the period of this encounter covers the entire scope of this hospitalization record.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.hospitalization", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Encounter.hospitalization.id", + "path": "Encounter.hospitalization.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.hospitalization.extension", + "path": "Encounter.hospitalization.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.hospitalization.modifierExtension", + "path": "Encounter.hospitalization.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.hospitalization.preAdmissionIdentifier", + "path": "Encounter.hospitalization.preAdmissionIdentifier", + "short": "Pre-admission identifier", + "definition": "Pre-admission identifier.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.hospitalization.preAdmissionIdentifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PV1-5" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Encounter.hospitalization.origin", + "path": "Encounter.hospitalization.origin", + "short": "The location/organization from which the patient came before admission", + "definition": "The location/organization from which the patient came before admission.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.hospitalization.origin", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location", + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=ORG].role" + } + ] + }, + { + "id": "Encounter.hospitalization.admitSource", + "path": "Encounter.hospitalization.admitSource", + "short": "From where patient was admitted (physician referral, transfer)", + "definition": "From where patient was admitted (physician referral, transfer).", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.hospitalization.admitSource", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AdmitSource" + } + ], + "strength": "preferred", + "description": "From where the patient was admitted.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-admit-source" + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-14" + }, + { + "identity": "rim", + "map": ".admissionReferralSourceCode" + } + ] + }, + { + "id": "Encounter.hospitalization.reAdmission", + "path": "Encounter.hospitalization.reAdmission", + "short": "The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission", + "definition": "Whether this hospitalization is a readmission and why if known.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.hospitalization.reAdmission", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ReAdmissionType" + } + ], + "strength": "example", + "description": "The reason for re-admission of this hospitalization encounter.", + "valueSet": "http://terminology.hl7.org/ValueSet/v2-0092" + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-13" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.hospitalization.dietPreference", + "path": "Encounter.hospitalization.dietPreference", + "short": "Diet preferences reported by the patient", + "definition": "Diet preferences reported by the patient.", + "comment": "For example, a patient may request both a dairy-free and nut-free diet preference (not mutually exclusive).", + "requirements": "Used to track patient's diet restrictions and/or preference. For a complete description of the nutrition needs of a patient during their stay, one should use the nutritionOrder resource which links to Encounter.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.hospitalization.dietPreference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "PatientDiet" + } + ], + "strength": "example", + "description": "Medical, cultural or ethical food preferences to help with catering requirements.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-diet" + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-38" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=EVN, code=\"diet\"]" + } + ] + }, + { + "id": "Encounter.hospitalization.specialCourtesy", + "path": "Encounter.hospitalization.specialCourtesy", + "short": "Special courtesies (VIP, board member)", + "definition": "Special courtesies (VIP, board member).", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.hospitalization.specialCourtesy", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Courtesies" + } + ], + "strength": "preferred", + "description": "Special courtesies.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-special-courtesy" + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-16" + }, + { + "identity": "rim", + "map": ".specialCourtesiesCode" + } + ] + }, + { + "id": "Encounter.hospitalization.specialArrangement", + "path": "Encounter.hospitalization.specialArrangement", + "short": "Wheelchair, translator, stretcher, etc.", + "definition": "Any special requests that have been made for this hospitalization encounter, such as the provision of specific equipment or other things.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.hospitalization.specialArrangement", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Arrangements" + } + ], + "strength": "preferred", + "description": "Special arrangements.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-special-arrangements" + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-15 / OBR-30 / OBR-43" + }, + { + "identity": "rim", + "map": ".specialArrangementCode" + } + ] + }, + { + "id": "Encounter.hospitalization.destination", + "path": "Encounter.hospitalization.destination", + "short": "Location/organization to which the patient is discharged", + "definition": "Location/organization to which the patient is discharged.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.hospitalization.destination", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location", + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PV1-37" + }, + { + "identity": "rim", + "map": ".participation[typeCode=DST]" + } + ] + }, + { + "id": "Encounter.hospitalization.dischargeDisposition", + "path": "Encounter.hospitalization.dischargeDisposition", + "short": "Category or kind of location after discharge", + "definition": "Category or kind of location after discharge.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.hospitalization.dischargeDisposition", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DischargeDisp" + } + ], + "strength": "example", + "description": "Discharge Disposition.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-discharge-disposition" + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-36" + }, + { + "identity": "rim", + "map": ".dischargeDispositionCode" + } + ] + }, + { + "id": "Encounter.location", + "path": "Encounter.location", + "short": "List of locations where the patient has been", + "definition": "List of locations where the patient has been during this encounter.", + "comment": "Virtual encounters can be recorded in the Encounter by specifying a location reference to a location of type \"kind\" such as \"client's home\" and an encounter.class = \"virtual\".", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.location", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=LOC]" + } + ] + }, + { + "id": "Encounter.location.id", + "path": "Encounter.location.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.location.extension", + "path": "Encounter.location.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.location.modifierExtension", + "path": "Encounter.location.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.location.location", + "path": "Encounter.location.location", + "short": "Location the encounter takes place", + "definition": "The location where the encounter takes place.", + "min": 1, + "max": "1", + "base": { + "path": "Encounter.location.location", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.location" + }, + { + "identity": "w5", + "map": "FiveWs.where[x]" + }, + { + "identity": "v2", + "map": "PV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43" + }, + { + "identity": "rim", + "map": ".role" + } + ] + }, + { + "id": "Encounter.location.status", + "path": "Encounter.location.status", + "short": "planned | active | reserved | completed", + "definition": "The status of the participants' presence at the specified location during the period specified. If the participant is no longer at the location, then the period will have an end date/time.", + "comment": "When the patient is no longer active at a location, then the period end date is entered, and the status may be changed to completed.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.location.status", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "EncounterLocationStatus" + } + ], + "strength": "required", + "description": "The status of the location.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-location-status|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": ".role.statusCode" + } + ] + }, + { + "id": "Encounter.location.physicalType", + "path": "Encounter.location.physicalType", + "short": "The physical type of the location (usually the level in the location hierachy - bed room ward etc.)", + "definition": "This will be used to specify the required levels (bed/ward/room/etc.) desired to be recorded to simplify either messaging or query.", + "comment": "This information is de-normalized from the Location resource to support the easier understanding of the encounter resource and processing in messaging or query.\n\nThere may be many levels in the hierachy, and this may only pic specific levels that are required for a specific usage scenario.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.location.physicalType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "PhysicalType" + } + ], + "strength": "example", + "description": "Physical form of the location.", + "valueSet": "http://hl7.org/fhir/ValueSet/location-physical-type" + } + }, + { + "id": "Encounter.location.period", + "path": "Encounter.location.period", + "short": "Time period during which the patient was present at the location", + "definition": "Time period during which the patient was present at the location.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.location.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".time" + } + ] + }, + { + "id": "Encounter.serviceProvider", + "path": "Encounter.serviceProvider", + "short": "The organization (facility) responsible for this encounter", + "definition": "The organization that is primarily responsible for this Encounter's services. This MAY be the same as the organization on the Patient record, however it could be different, such as if the actor performing the services was from an external organization (which may be billed seperately) for an external consultation. Refer to the example bundle showing an abbreviated set of Encounters for a colonoscopy.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.serviceProvider", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "v2", + "map": "PL.6 & PL.1" + }, + { + "identity": "rim", + "map": ".particiaption[typeCode=PFM].role" + } + ] + }, + { + "id": "Encounter.partOf", + "path": "Encounter.partOf", + "short": "Another Encounter this encounter is part of", + "definition": "Another Encounter of which this encounter is a part of (administratively or in time).", + "comment": "This is also used for associating a child's encounter back to the mother's encounter.\r\rRefer to the Notes section in the Patient resource for further details.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.partOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=COMP, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Encounter", + "path": "Encounter", + "definition": "This is basic constraint on Encounter for use in US Core resources.", + "alias": [ + "Visit" + ], + "mustSupport": false + }, + { + "id": "Encounter.identifier", + "path": "Encounter.identifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.identifier.system", + "path": "Encounter.identifier.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.identifier.value", + "path": "Encounter.identifier.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.status", + "path": "Encounter.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.class", + "path": "Encounter.class", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.type", + "path": "Encounter.type", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Valueset to describe the Encounter Type", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type|3.1.1" + } + }, + { + "id": "Encounter.subject", + "path": "Encounter.subject", + "alias": [ + "patient" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true + }, + { + "id": "Encounter.participant", + "path": "Encounter.participant", + "min": 0, + "max": "*", + "mustSupport": true + }, + { + "id": "Encounter.participant.type", + "path": "Encounter.participant.type", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.participant.period", + "path": "Encounter.participant.period", + "min": 0, + "max": "1", + "type": [ + { + "code": "Period" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.participant.individual", + "path": "Encounter.participant.individual", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1" + ] + } + ], + "mustSupport": true + }, + { + "id": "Encounter.period", + "path": "Encounter.period", + "min": 0, + "max": "1", + "type": [ + { + "code": "Period" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.reasonCode", + "path": "Encounter.reasonCode", + "alias": [ + "Indication", + "Admission diagnosis" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.hospitalization", + "path": "Encounter.hospitalization", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Encounter.hospitalization.dischargeDisposition", + "path": "Encounter.hospitalization.dischargeDisposition", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.location", + "path": "Encounter.location", + "min": 0, + "max": "*", + "mustSupport": true + }, + { + "id": "Encounter.location.location", + "path": "Encounter.location.location", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-ethnicity.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-ethnicity.json new file mode 100644 index 00000000000..ebe1e11ba14 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-ethnicity.json @@ -0,0 +1,2133 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-ethnicity", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "version": "3.1.1", + "name": "USCoreEthnicityExtension", + "title": "US Core Ethnicity Extension", + "status": "active", + "date": "2019-05-21T00:00:00-04:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "Complies with 2015 Edition Common Clinical Data Set for patient race.", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Patient" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "US Core ethnicity Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.", + "min": 0, + "max": "1", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory", + "path": "Extension.extension", + "sliceName": "ombCategory", + "short": "Hispanic or Latino|Not Hispanic or Latino", + "definition": "The 2 ethnicity category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/ethnicGroupCode" + } + ] + }, + { + "id": "Extension.extension:ombCategory.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension.value[x]", + "path": "Extension.extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:ombCategory.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "ombCategory", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:ombCategory.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "The 2 ethnicity category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category|3.1.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed", + "path": "Extension.extension", + "sliceName": "detailed", + "short": "Extended ethnicity codes", + "definition": "The 41 CDC ethnicity codes that are grouped under one of the 2 OMB ethnicity category codes.", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:ethnicGroupCode" + } + ] + }, + { + "id": "Extension.extension:detailed.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:detailed.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:detailed.extension.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:detailed.extension.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:detailed.extension.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed.extension.value[x]", + "path": "Extension.extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "detailed", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "The 41 [CDC ethnicity codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 2 OMB ethnicity category codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity|3.1.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text", + "path": "Extension.extension", + "sliceName": "text", + "short": "ethnicity Text", + "definition": "Plain text representation of the ethnicity concept(s).", + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Extension.extension:text.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:text.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:text.extension.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:text.extension.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:text.extension.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text.extension.value[x]", + "path": "Extension.extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "text", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "US Core ethnicity Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.", + "min": 0, + "max": "1" + }, + { + "id": "Extension.extension:ombCategory", + "path": "Extension.extension", + "sliceName": "ombCategory", + "short": "Hispanic or Latino|Not Hispanic or Latino", + "definition": "The 2 ethnicity category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/ethnicGroupCode" + } + ] + }, + { + "id": "Extension.extension:ombCategory.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "ombCategory" + }, + { + "id": "Extension.extension:ombCategory.value[x]", + "path": "Extension.extension.value[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "binding": { + "strength": "required", + "description": "The 2 ethnicity category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category|3.1.1" + } + }, + { + "id": "Extension.extension:detailed", + "path": "Extension.extension", + "sliceName": "detailed", + "short": "Extended ethnicity codes", + "definition": "The 41 CDC ethnicity codes that are grouped under one of the 2 OMB ethnicity category codes.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:ethnicGroupCode" + } + ] + }, + { + "id": "Extension.extension:detailed.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "detailed" + }, + { + "id": "Extension.extension:detailed.value[x]", + "path": "Extension.extension.value[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "binding": { + "strength": "required", + "description": "The 41 [CDC ethnicity codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 2 OMB ethnicity category codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity|3.1.1" + } + }, + { + "id": "Extension.extension:text", + "path": "Extension.extension", + "sliceName": "text", + "short": "ethnicity Text", + "definition": "Plain text representation of the ethnicity concept(s).", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension" + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:text.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "text" + }, + { + "id": "Extension.extension:text.value[x]", + "path": "Extension.extension.value[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "min": 1, + "max": "1", + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-goal.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-goal.json new file mode 100644 index 00000000000..06d888fd185 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-goal.json @@ -0,0 +1,1630 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-goal", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal", + "version": "3.1.1", + "name": "USCoreGoalProfile", + "title": "US Core Goal Profile", + "status": "active", + "experimental": false, + "date": "2020-07-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the Goal resource for the minimal set of data to query and retrieve a patient's goal(s).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "uri": "http://unknown.org/Argonaut-DQ-DSTU2", + "name": "Argonaut-DQ-DSTU2" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Goal", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Goal", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Goal", + "path": "Goal", + "short": "Describes the intended objective(s) for a patient, group or organization", + "definition": "The US Core Goal Profile is based upon the core FHIR Goal Resource and created to meet the 2015 Edition Common Clinical Data Set 'Goals' requirements.", + "comment": "Goal can be achieving a particular change or merely maintaining a current state or even slowing a decline.", + "min": 0, + "max": "*", + "base": { + "path": "Goal", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "GOL.1" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode<=OBJ]." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Goal" + } + ] + }, + { + "id": "Goal.id", + "path": "Goal.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Goal.meta", + "path": "Goal.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Goal.implicitRules", + "path": "Goal.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Goal.language", + "path": "Goal.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Goal.text", + "path": "Goal.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Goal.contained", + "path": "Goal.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Goal.extension", + "path": "Goal.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Goal.modifierExtension", + "path": "Goal.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Goal.identifier", + "path": "Goal.identifier", + "short": "External Ids for this goal", + "definition": "Business identifiers assigned to this goal by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", + "comment": "This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.", + "requirements": "Allows identification of the goal as it is known by various participating systems and in a way that remains consistent across servers.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Goal.lifecycleStatus", + "path": "Goal.lifecycleStatus", + "short": "proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected", + "definition": "The state of the goal throughout its lifecycle.", + "comment": "This element is labeled as a modifier because the lifecycleStatus contains codes that mark the resource as not currently valid.", + "requirements": "Allows knowing whether goal needs to be further tracked.", + "min": 1, + "max": "1", + "base": { + "path": "Goal.lifecycleStatus", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-status" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "GOL-18-goal life cycle status" + }, + { + "identity": "rim", + "map": ".statusCode in-progress = active (classCode = OBJ) cancelled = aborted" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.status" + } + ] + }, + { + "id": "Goal.achievementStatus", + "path": "Goal.achievementStatus", + "short": "in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable", + "definition": "Describes the progression, or lack thereof, towards the goal against the target.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.achievementStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalAchievementStatus" + } + ], + "strength": "preferred", + "description": "Indicates the progression, or lack thereof, towards the goal against the target.", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-achievement" + }, + "mapping": [ + { + "identity": "rim", + "map": ".statusCode achieved = complete sustaining = active" + } + ] + }, + { + "id": "Goal.category", + "path": "Goal.category", + "short": "E.g. Treatment, dietary, behavioral, etc.", + "definition": "Indicates a category the goal falls within.", + "requirements": "Allows goals to be filtered and sorted.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalCategory" + } + ], + "strength": "example", + "description": "Codes for grouping and sorting goals.", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + } + ] + }, + { + "id": "Goal.priority", + "path": "Goal.priority", + "short": "high-priority | medium-priority | low-priority", + "definition": "Identifies the mutually agreed level of importance associated with reaching/sustaining the goal.", + "comment": "Extensions are available to track priorities as established by each participant (i.e. Priority from the patient's perspective, different practitioners' perspectives, family member's perspectives)\r\rThe ordinal extension on Coding can be used to convey a numerically comparable ranking to priority. (Keep in mind that different coding systems may use a \"low value=important\".", + "requirements": "Used for sorting and presenting goals.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.priority", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalPriority" + } + ], + "strength": "preferred", + "description": "The level of importance associated with a goal.", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-priority" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.grade" + }, + { + "identity": "rim", + "map": ".priorityCode" + } + ] + }, + { + "id": "Goal.description", + "path": "Goal.description", + "short": "Code or text describing goal", + "definition": "Human-readable and/or coded description of a specific desired objective of care, such as \"control blood pressure\" or \"negotiate an obstacle course\" or \"dance with child at wedding\".", + "comment": "If no code is available, use CodeableConcept.text.", + "requirements": "Without a description of what's trying to be achieved, element has no purpose.", + "min": 1, + "max": "1", + "base": { + "path": "Goal.description", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalDescription" + } + ], + "strength": "example", + "description": "Codes providing the details of a particular goal. This will generally be system or implementation guide-specific. In many systems, only the text element will be used.", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "GOL-3.2-goal ID.text" + }, + { + "identity": "rim", + "map": ".text" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.description" + } + ] + }, + { + "id": "Goal.subject", + "path": "Goal.subject", + "short": "Who this goal is intended for", + "definition": "Identifies the patient, group or organization for whom the goal is being established.", + "requirements": "Subject is optional to support annonymized reporting.", + "min": 1, + "max": "1", + "base": { + "path": "Goal.subject", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3-patient ID list" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PAT].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.subject" + } + ] + }, + { + "id": "Goal.start[x]", + "path": "Goal.start[x]", + "short": "When goal pursuit begins", + "definition": "The date or event after which the goal should begin being pursued.", + "requirements": "Goals can be established prior to there being an intention to start pursuing them; e.g. Goals for post-surgical recovery established prior to surgery.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.start[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + }, + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalStartEvent" + } + ], + "strength": "example", + "description": "Codes describing events that can trigger the initiation of a goal.", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-start-event" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.planned" + } + ] + }, + { + "id": "Goal.target", + "path": "Goal.target", + "short": "Target outcome for the goal", + "definition": "Indicates what should be done by when.", + "comment": "When multiple targets are present for a single goal instance, all targets must be met for the overall goal to be met.", + "requirements": "Allows the progress of the goal to be monitored against an observation or due date. Target is 0..* to support Observations with multiple components, such as blood pressure goals with both a systolic and diastolic target.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.target", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "condition": [ + "gol-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "gol-1", + "severity": "error", + "human": "Goal.target.measure is required if Goal.target.detail is populated", + "expression": "(detail.exists() and measure.exists()) or detail.exists().not()", + "xpath": "(exists(f:*[starts-with(local-name(.), 'detail')]) and exists(f:measure)) or not(exists(f:*[starts-with(local-name(.), 'detail')]))", + "source": "http://hl7.org/fhir/StructureDefinition/Goal" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Goal.target.id", + "path": "Goal.target.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Goal.target.extension", + "path": "Goal.target.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Goal.target.modifierExtension", + "path": "Goal.target.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Goal.target.measure", + "path": "Goal.target.measure", + "short": "The parameter whose value is being tracked", + "definition": "The parameter whose value is being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.target.measure", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "gol-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalTargetMeasure" + } + ], + "strength": "example", + "description": "Codes to identify the value being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + { + "id": "Goal.target.detail[x]", + "path": "Goal.target.detail[x]", + "short": "The target value to be achieved", + "definition": "The target value of the focus to be achieved to signify the fulfillment of the goal, e.g. 150 pounds, 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any focus value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any focus value at or above the low value.", + "comment": "A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Goal.target.measure defines a coded value.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.target.detail[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Ratio" + } + ], + "condition": [ + "gol-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalTargetDetail" + } + ], + "strength": "example", + "description": "Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal." + } + }, + { + "id": "Goal.target.due[x]", + "path": "Goal.target.due[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Reach goal on or before", + "definition": "Indicates either the date or the duration after start by which the goal should be met.", + "requirements": "Identifies when the goal should be evaluated.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.target.due[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.done[x]" + } + ] + }, + { + "id": "Goal.target.due[x]:dueDate", + "path": "Goal.target.due[x]", + "sliceName": "dueDate", + "short": "Reach goal on or before", + "definition": "Indicates either the date or the duration after start by which the goal should be met.", + "requirements": "Identifies when the goal should be evaluated.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.target.due[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.done[x]" + } + ] + }, + { + "id": "Goal.statusDate", + "path": "Goal.statusDate", + "short": "When goal status took effect", + "definition": "Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc.", + "comment": "To see the date for past statuses, query history.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.statusDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + } + ] + }, + { + "id": "Goal.statusReason", + "path": "Goal.statusReason", + "short": "Reason for current status", + "definition": "Captures the reason for the current status.", + "comment": "This will typically be captured for statuses such as rejected, on-hold or cancelled, but could be present for others.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.statusReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Goal.expressedBy", + "path": "Goal.expressedBy", + "short": "Who's responsible for creating Goal?", + "definition": "Indicates whose goal this is - patient goal, practitioner goal, etc.", + "comment": "This is the individual responsible for establishing the goal, not necessarily who recorded it. (For that, use the Provenance resource.).", + "min": 0, + "max": "1", + "base": { + "path": "Goal.expressedBy", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + } + ] + }, + { + "id": "Goal.addresses", + "path": "Goal.addresses", + "short": "Issues addressed by this goal", + "definition": "The identified conditions and other health record elements that are intended to be addressed by the goal.", + "requirements": "Allows specific goals to explicitly linked to the concerns they're dealing with - makes the goal more understandable.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.addresses", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest", + "http://hl7.org/fhir/StructureDefinition/RiskAssessment" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SUBJ].target[classCode=CONC]" + } + ] + }, + { + "id": "Goal.note", + "path": "Goal.note", + "short": "Comments about the goal", + "definition": "Any comments related to the goal.", + "comment": "May be used for progress notes, concerns or other related information that doesn't actually describe the goal itself.", + "requirements": "There's a need to capture information about the goal that doesn't actually describe the goal.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "GOL-16-goal evaluation + NTE?" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "Goal.outcomeCode", + "path": "Goal.outcomeCode", + "short": "What result was achieved regarding the goal?", + "definition": "Identifies the change (or lack of change) at the point when the status of the goal is assessed.", + "comment": "Note that this should not duplicate the goal status.", + "requirements": "Outcome tracking is a key aspect of care planning.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.outcomeCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalOutcome" + } + ], + "strength": "example", + "description": "The result of the goal; e.g. \"25% increase in shoulder mobility\", \"Anxiety reduced to moderate levels\". \"15 kg weight loss sustained over 6 months\".", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + } + }, + { + "id": "Goal.outcomeReference", + "path": "Goal.outcomeReference", + "short": "Observation that resulted from goal", + "definition": "Details of what's changed (or not changed).", + "comment": "The goal outcome is independent of the outcome of the related activities. For example, if the Goal is to achieve a target body weight of 150 lb and a care plan activity is defined to diet, then the care plan’s activity outcome could be calories consumed whereas goal outcome is an observation for the actual body weight measured.", + "requirements": "Outcome tracking is a key aspect of care planning.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.outcomeReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Observation" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + } + ] + }, + "differential": { + "element": [ + { + "id": "Goal", + "path": "Goal", + "definition": "The US Core Goal Profile is based upon the core FHIR Goal Resource and created to meet the 2015 Edition Common Clinical Data Set 'Goals' requirements.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Goal" + } + ] + }, + { + "id": "Goal.lifecycleStatus", + "path": "Goal.lifecycleStatus", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.status" + } + ] + }, + { + "id": "Goal.description", + "path": "Goal.description", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.description" + } + ] + }, + { + "id": "Goal.subject", + "path": "Goal.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.subject" + } + ] + }, + { + "id": "Goal.target", + "path": "Goal.target", + "min": 0, + "max": "*", + "mustSupport": true + }, + { + "id": "Goal.target.dueDate", + "path": "Goal.target.dueDate", + "min": 0, + "max": "1", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-immunization.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-immunization.json new file mode 100644 index 00000000000..ef7ee8e0d6a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-immunization.json @@ -0,0 +1,3216 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-immunization", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization", + "version": "3.1.1", + "name": "USCoreImmunizationProfile", + "title": "US Core Immunization Profile", + "status": "active", + "experimental": false, + "date": "2019-08-26", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the Immunization resource for the minimal set of data to query and retrieve patient's immunization information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "quick", + "uri": "http://unknown.org/QUICK", + "name": "QUICK" + }, + { + "identity": "argonaut-dq-dstu2", + "uri": "http://unknown.org/Argonaut-DQ-DSTU2", + "name": "Argonaut-DQ-DSTU2" + }, + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "cda", + "uri": "http://hl7.org/v3/cda", + "name": "CDA (R2)" + } + ], + "kind": "resource", + "abstract": false, + "type": "Immunization", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Immunization", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Immunization", + "path": "Immunization", + "short": "Immunization event information", + "definition": "The US Core Immunization Profile is based upon the core FHIR Immunization Resource and created to meet the 2015 Edition Common Clinical Data Set 'Immunizations' requirements.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "v2", + "map": "VXU_V04" + }, + { + "identity": "rim", + "map": "SubstanceAdministration" + }, + { + "identity": "quick", + "map": "ImmunizationPerformanceOccurrence" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization" + } + ] + }, + { + "id": "Immunization.id", + "path": "Immunization.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Immunization.meta", + "path": "Immunization.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Immunization.implicitRules", + "path": "Immunization.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Immunization.language", + "path": "Immunization.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Immunization.text", + "path": "Immunization.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Immunization.contained", + "path": "Immunization.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.extension", + "path": "Immunization.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.modifierExtension", + "path": "Immunization.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.identifier", + "path": "Immunization.identifier", + "short": "Business identifier", + "definition": "A unique identifier assigned to this immunization record.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/id" + } + ] + }, + { + "id": "Immunization.status", + "path": "Immunization.status", + "short": "completed | entered-in-error | not-done", + "definition": "Indicates the current status of the immunization event.", + "comment": "Will generally be set to show that the immunization has been completed or not done. This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "min": 1, + "max": "1", + "base": { + "path": "Immunization.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains statuses entered-in-error and not-done which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Constrained list of immunizaiotn status", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.status" + } + ] + }, + { + "id": "Immunization.statusReason", + "path": "Immunization.statusReason", + "short": "Reason not done", + "definition": "Indicates the reason the immunization event was not performed.", + "comment": "This is generally only used for the status of \"not-done\". The reason for performing the immunization event is captured in reasonCode, not here.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.statusReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "example", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-status-reason" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.statusReason" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.wasNotGiven" + } + ] + }, + { + "id": "Immunization.vaccineCode", + "path": "Immunization.vaccineCode", + "short": "Vaccine Product Type (bind to CVX)", + "definition": "Vaccine that was administered or was to be administered.", + "min": 1, + "max": "1", + "base": { + "path": "Immunization.vaccineCode", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "us-core-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "us-core-1", + "severity": "warning", + "human": "SHOULD have a translation to the NDC value set", + "expression": "coding.where(system='http://hl7.org/fhir/sid/ndc').empty()", + "xpath": "not(exists(f:coding/f:system[@value='http://hl7.org/fhir/sid/ndc']))" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The CVX (vaccine administered) code system", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vaccines-cvx|3.1.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "RXA-5" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacturedMaterial/realmCode/code" + }, + { + "identity": "quick", + "map": "vaccine" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.vaccineCode" + } + ] + }, + { + "id": "Immunization.patient", + "path": "Immunization.patient", + "short": "Who was immunized", + "definition": "The patient who either received or did not receive the immunization.", + "alias": [ + "Patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "Immunization.patient", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".partipication[ttypeCode=].role" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "quick", + "map": "subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.patient" + } + ] + }, + { + "id": "Immunization.encounter", + "path": "Immunization.encounter", + "short": "Encounter immunization was part of", + "definition": "The visit or admission or other contact between patient and health care provider the immunization was performed as part of.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "component->EncounterEvent" + } + ] + }, + { + "id": "Immunization.occurrence[x]", + "path": "Immunization.occurrence[x]", + "short": "Vaccine administration date", + "definition": "Date vaccine administered or was to be administered.", + "comment": "When immunizations are given a specific date and time should always be known. When immunizations are patient reported, a specific date might not be known. Although partial dates are allowed, an adult patient might not be able to recall the year a childhood immunization was given. An exact date is always preferable, but the use of the String data type is acceptable when an exact date is not known. A small number of vaccines (e.g. live oral typhoid vaccine) are given as a series of patient self-administered dose over a span of time. In cases like this, often, only the first dose (typically a provider supervised dose) is recorded with the occurrence indicating the date/time of the first dose.", + "min": 1, + "max": "1", + "base": { + "path": "Immunization.occurrence[x]", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "RXA-3" + }, + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/effectiveTime/value" + }, + { + "identity": "quick", + "map": "performanceTime" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.date" + } + ] + }, + { + "id": "Immunization.recorded", + "path": "Immunization.recorded", + "short": "When the immunization was first captured in the subject's record", + "definition": "The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.recorded", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Immunization.primarySource", + "path": "Immunization.primarySource", + "short": "Indicates context the data was recorded in", + "definition": "An indication that the content of the record is based on information from the person who administered the vaccine. This reflects the context under which the data was originally recorded.", + "comment": "Reflects the “reliability” of the content.", + "min": 1, + "max": "1", + "base": { + "path": "Immunization.primarySource", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + }, + { + "identity": "v2", + "map": "RXA-9" + }, + { + "identity": "rim", + "map": "immunization.uncertaintycode (if primary source=false, uncertainty=U)" + }, + { + "identity": "quick", + "map": "reported" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.reported" + } + ] + }, + { + "id": "Immunization.reportOrigin", + "path": "Immunization.reportOrigin", + "short": "Indicates the source of a secondarily reported record", + "definition": "The source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.", + "comment": "Should not be populated if primarySource = True, not required even if primarySource = False.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.reportOrigin", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ImmunizationReportOrigin" + } + ], + "strength": "example", + "description": "The source of the data for a record which is not from a primary source.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-origin" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + }, + { + "identity": "v2", + "map": "RXA-9" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported) .participation[typeCode=INF].role[classCode=LIC] (this syntax for health care professional) .participation[typeCode=INF].role[classCode=PRS] (this syntax for family member)" + } + ] + }, + { + "id": "Immunization.location", + "path": "Immunization.location", + "short": "Where immunization occurred", + "definition": "The service delivery location where the vaccine administration occurred.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.location", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.location" + }, + { + "identity": "w5", + "map": "FiveWs.where[x]" + }, + { + "identity": "v2", + "map": "RXA-27 (or RXA-11, deprecated as of v2.7)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=LOC].COCT_MT240000UV" + } + ] + }, + { + "id": "Immunization.manufacturer", + "path": "Immunization.manufacturer", + "short": "Vaccine manufacturer", + "definition": "Name of vaccine manufacturer.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.manufacturer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "RXA-17" + }, + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=ORG]" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacuturerOrganization/name" + } + ] + }, + { + "id": "Immunization.lotNumber", + "path": "Immunization.lotNumber", + "short": "Vaccine lot number", + "definition": "Lot number of the vaccine product.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.lotNumber", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "RXA-15" + }, + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].id" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacturedMaterial/lotNumberText" + } + ] + }, + { + "id": "Immunization.expirationDate", + "path": "Immunization.expirationDate", + "short": "Vaccine expiration date", + "definition": "Date vaccine batch expires.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.expirationDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "RXA-16" + }, + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime" + } + ] + }, + { + "id": "Immunization.site", + "path": "Immunization.site", + "short": "Body site vaccine was administered", + "definition": "Body site where vaccine was administered.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.site", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ImmunizationSite" + } + ], + "strength": "example", + "description": "The site at which the vaccine was administered.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-site" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXR-2" + }, + { + "identity": "rim", + "map": "observation.targetSiteCode" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/approachSiteCode/code" + } + ] + }, + { + "id": "Immunization.route", + "path": "Immunization.route", + "short": "How vaccine entered body", + "definition": "The path by which the vaccine product is taken into the body.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.route", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ImmunizationRoute" + } + ], + "strength": "example", + "description": "The route by which the vaccine was administered.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-route" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXR-1" + }, + { + "identity": "rim", + "map": ".routeCode" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/routeCode/code" + } + ] + }, + { + "id": "Immunization.doseQuantity", + "path": "Immunization.doseQuantity", + "short": "Amount of vaccine administered", + "definition": "The quantity of vaccine product that was administered.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.doseQuantity", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "RXA-6 / RXA-7" + }, + { + "identity": "rim", + "map": ".doseQuantity" + } + ] + }, + { + "id": "Immunization.performer", + "path": "Immunization.performer", + "short": "Who performed event", + "definition": "Indicates who performed the immunization event.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer" + }, + { + "identity": "v2", + "map": "ORC-12 / RXA-10" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" + } + ] + }, + { + "id": "Immunization.performer.id", + "path": "Immunization.performer.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization.performer.extension", + "path": "Immunization.performer.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization.performer.modifierExtension", + "path": "Immunization.performer.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.performer.function", + "path": "Immunization.performer.function", + "short": "What type of performance was done", + "definition": "Describes the type of performance (e.g. ordering provider, administering provider, etc.).", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.performer.function", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ImmunizationFunction" + } + ], + "strength": "extensible", + "description": "The role a practitioner or organization plays in the immunization event.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-function" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.function" + }, + { + "identity": "rim", + "map": ".participation.functionCode" + } + ] + }, + { + "id": "Immunization.performer.actor", + "path": "Immunization.performer.actor", + "short": "Individual or organization who was performing", + "definition": "The practitioner or organization who performed the action.", + "comment": "When the individual practitioner who performed the action is known, it is best to send.", + "min": 1, + "max": "1", + "base": { + "path": "Immunization.performer.actor", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "rim", + "map": ".player" + } + ] + }, + { + "id": "Immunization.note", + "path": "Immunization.note", + "short": "Additional immunization notes", + "definition": "Extra information about the immunization that is not conveyed by the other attributes.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.note" + }, + { + "identity": "v2", + "map": "OBX-5 : OBX-3 = 48767-8" + }, + { + "identity": "rim", + "map": "note" + } + ] + }, + { + "id": "Immunization.reasonCode", + "path": "Immunization.reasonCode", + "short": "Why immunization occurred", + "definition": "Reasons why the vaccine was administered.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.reasonCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ImmunizationReason" + } + ], + "strength": "example", + "description": "The reason why a vaccine was administered.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-reason" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonCode" + }, + { + "identity": "rim", + "map": "[actionNegationInd=false].reasonCode" + } + ] + }, + { + "id": "Immunization.reasonReference", + "path": "Immunization.reasonReference", + "short": "Why immunization occurred", + "definition": "Condition, Observation or DiagnosticReport that supports why the immunization was administered.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.reasonReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonReference" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.isSubpotent", + "path": "Immunization.isSubpotent", + "short": "Dose potency", + "definition": "Indication if a dose is considered to be subpotent. By default, a dose should be considered to be potent.", + "comment": "Typically, the recognition of the dose being sub-potent is retrospective, after the administration (ex. notification of a manufacturer recall after administration). However, in the case of a partial administration (the patient moves unexpectedly and only some of the dose is actually administered), subpotency may be recognized immediately, but it is still important to record the event.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.isSubpotent", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "By default, a dose should be considered to be potent.", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because an immunization event with a subpotent vaccine doesn't protect the patient the same way as a potent dose.", + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RXA-20 = PA (partial administration)" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.subpotentReason", + "path": "Immunization.subpotentReason", + "short": "Reason for being subpotent", + "definition": "Reason why a dose is considered to be subpotent.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.subpotentReason", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "SubpotentReason" + } + ], + "strength": "example", + "description": "The reason why a dose is considered to be subpotent.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-subpotent-reason" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.education", + "path": "Immunization.education", + "short": "Educational material presented to patient", + "definition": "Educational material presented to the patient (or guardian) at the time of vaccine administration.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.education", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "imm-1", + "severity": "error", + "human": "One of documentType or reference SHALL be present", + "expression": "documentType.exists() or reference.exists()", + "xpath": "exists(f:documentType) or exists(f:reference)" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.education.id", + "path": "Immunization.education.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization.education.extension", + "path": "Immunization.education.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization.education.modifierExtension", + "path": "Immunization.education.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.education.documentType", + "path": "Immunization.education.documentType", + "short": "Educational material document identifier", + "definition": "Identifier of the material presented to the patient.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.education.documentType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-5 : OBX-3 = 69764-9" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.education.reference", + "path": "Immunization.education.reference", + "short": "Educational material reference pointer", + "definition": "Reference pointer to the educational material given to the patient if the information was on line.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.education.reference", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.education.publicationDate", + "path": "Immunization.education.publicationDate", + "short": "Educational material publication date", + "definition": "Date the educational material was published.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.education.publicationDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-5 : OBX-3 = 29768-9" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.education.presentationDate", + "path": "Immunization.education.presentationDate", + "short": "Educational material presentation date", + "definition": "Date the educational material was given to the patient.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.education.presentationDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-5 : OBX-3 = 29769-7" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.programEligibility", + "path": "Immunization.programEligibility", + "short": "Patient eligibility for a vaccination program", + "definition": "Indicates a patient's eligibility for a funding program.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.programEligibility", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProgramEligibility" + } + ], + "strength": "example", + "description": "The patient's eligibility for a vaccation program.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-program-eligibility" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-5 : OBX-3 = 64994-7" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.fundingSource", + "path": "Immunization.fundingSource", + "short": "Funding source for the vaccine", + "definition": "Indicates the source of the vaccine actually administered. This may be different than the patient eligibility (e.g. the patient may be eligible for a publically purchased vaccine but due to inventory issues, vaccine purchased with private funds was actually administered).", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.fundingSource", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FundingSource" + } + ], + "strength": "example", + "description": "The source of funding used to purchase the vaccine administered.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-funding-source" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.reaction", + "path": "Immunization.reaction", + "short": "Details of a reaction that follows immunization", + "definition": "Categorical data indicating that an adverse event is associated in time to an immunization.", + "comment": "A reaction may be an indication of an allergy or intolerance and, if this is determined to be the case, it should be recorded as a new AllergyIntolerance resource instance as most systems will not query against past Immunization.reaction elements.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.reaction", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "Observation[classCode=obs].code" + } + ] + }, + { + "id": "Immunization.reaction.id", + "path": "Immunization.reaction.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization.reaction.extension", + "path": "Immunization.reaction.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization.reaction.modifierExtension", + "path": "Immunization.reaction.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.reaction.date", + "path": "Immunization.reaction.date", + "short": "When reaction started", + "definition": "Date of reaction to the immunization.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.reaction.date", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14 (ideally this would be reported in an IAM segment, but IAM is not part of the HL7 v2 VXU message - most likely would appear in OBX segments if at all)" + }, + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "Immunization.reaction.detail", + "path": "Immunization.reaction.detail", + "short": "Additional information on reaction", + "definition": "Details of the reaction.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.reaction.detail", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Observation" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-5" + }, + { + "identity": "rim", + "map": ".value" + } + ] + }, + { + "id": "Immunization.reaction.reported", + "path": "Immunization.reaction.reported", + "short": "Indicates self-reported reaction", + "definition": "Self-reported indicator.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.reaction.reported", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "(HL7 v2 doesn't seem to provide for this)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported=true)" + } + ] + }, + { + "id": "Immunization.protocolApplied", + "path": "Immunization.protocolApplied", + "short": "Protocol followed by the provider", + "definition": "The protocol (set of recommendations) being followed by the provider who administered the dose.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.protocolApplied", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.protocolApplied.id", + "path": "Immunization.protocolApplied.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization.protocolApplied.extension", + "path": "Immunization.protocolApplied.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization.protocolApplied.modifierExtension", + "path": "Immunization.protocolApplied.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.protocolApplied.series", + "path": "Immunization.protocolApplied.series", + "short": "Name of vaccine series", + "definition": "One possible path to achieve presumed immunity against a disease - within the context of an authority.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.protocolApplied.series", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.protocolApplied.authority", + "path": "Immunization.protocolApplied.authority", + "short": "Who is responsible for publishing the recommendations", + "definition": "Indicates the authority who published the protocol (e.g. ACIP) that is being followed.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.protocolApplied.authority", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.protocolApplied.targetDisease", + "path": "Immunization.protocolApplied.targetDisease", + "short": "Vaccine preventatable disease being targetted", + "definition": "The vaccine preventable disease the dose is being administered against.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.protocolApplied.targetDisease", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "TargetDisease" + } + ], + "strength": "example", + "description": "The vaccine preventable disease the dose is being administered for.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-target-disease" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.protocolApplied.doseNumber[x]", + "path": "Immunization.protocolApplied.doseNumber[x]", + "short": "Dose number within series", + "definition": "Nominal position in a series.", + "comment": "The use of an integer is preferred if known. A string should only be used in cases where an integer is not available (such as when documenting a recurring booster dose).", + "min": 1, + "max": "1", + "base": { + "path": "Immunization.protocolApplied.doseNumber[x]", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + }, + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.protocolApplied.seriesDoses[x]", + "path": "Immunization.protocolApplied.seriesDoses[x]", + "short": "Recommended number of doses for immunity", + "definition": "The recommended number of doses to achieve immunity.", + "comment": "The use of an integer is preferred if known. A string should only be used in cases where an integer is not available (such as when documenting a recurring booster dose).", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.protocolApplied.seriesDoses[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + }, + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Immunization", + "path": "Immunization", + "definition": "The US Core Immunization Profile is based upon the core FHIR Immunization Resource and created to meet the 2015 Edition Common Clinical Data Set 'Immunizations' requirements.", + "mustSupport": false, + "mapping": [ + { + "identity": "quick", + "map": "ImmunizationPerformanceOccurrence" + }, + { + "identity": "quick", + "map": "ImmunizationPerformanceOccurrence" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization" + } + ] + }, + { + "id": "Immunization.status", + "path": "Immunization.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "description": "Constrained list of immunizaiotn status", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.status" + } + ] + }, + { + "id": "Immunization.statusReason", + "path": "Immunization.statusReason", + "min": 0, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "example", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-status-reason" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.wasNotGiven" + } + ] + }, + { + "id": "Immunization.vaccineCode", + "path": "Immunization.vaccineCode", + "short": "Vaccine Product Type (bind to CVX)", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "us-core-1" + ], + "constraint": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "us-core-1", + "severity": "warning", + "human": "SHOULD have a translation to the NDC value set", + "expression": "coding.where(system='http://hl7.org/fhir/sid/ndc').empty()", + "xpath": "not(exists(f:coding/f:system[@value='http://hl7.org/fhir/sid/ndc']))" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "The CVX (vaccine administered) code system", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vaccines-cvx|3.1.1" + }, + "mapping": [ + { + "identity": "quick", + "map": "vaccine" + }, + { + "identity": "quick", + "map": "vaccine" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.vaccineCode" + } + ] + }, + { + "id": "Immunization.patient", + "path": "Immunization.patient", + "alias": [ + "Patient" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "quick", + "map": "subject" + }, + { + "identity": "quick", + "map": "subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.patient" + } + ] + }, + { + "id": "Immunization.occurrence[x]", + "path": "Immunization.occurrence[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "string" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "quick", + "map": "performanceTime" + }, + { + "identity": "quick", + "map": "performanceTime" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.date" + } + ] + }, + { + "id": "Immunization.primarySource", + "path": "Immunization.primarySource", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "quick", + "map": "reported" + }, + { + "identity": "quick", + "map": "reported" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.reported" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-implantable-device.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-implantable-device.json new file mode 100644 index 00000000000..ba4a494ce4a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-implantable-device.json @@ -0,0 +1,3115 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-implantable-device", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device", + "version": "3.1.1", + "name": "USCoreImplantableDeviceProfile", + "title": "US Core Implantable Device Profile", + "status": "active", + "experimental": false, + "date": "2019-09-17", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the Device resource for the minimal set of data to query and retrieve a patient's implantable device(s).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "uri": "http://unknown.org/Argonaut-DQ-DSTU2", + "name": "Argonaut-DQ-DSTU2" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "udi", + "uri": "http://fda.gov/UDI", + "name": "UDI Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Device", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Device", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Device", + "path": "Device", + "short": "Item used in healthcare", + "definition": "The US Core Implantable Device Profile is based upon the core FHIR Device Resource and created to meet the 2015 Edition Common Clinical Data Set 'Unique device identifier(s) for a patient’s implantable device(s)' requirements.", + "min": 0, + "max": "*", + "base": { + "path": "Device", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "us-core-12", + "severity": "error", + "human": "Implantable medical devices that have UDI information SHALL represent this information in either carrierAIDC or carrierHRF.", + "expression": "udiCarrier.empty() or (udiCarrier.carrierAIDC.exists() or udiCarrier.carrierHRF.exists())", + "xpath": "not(f:udiCarrier) or (f:carrierHRF or f:carrierAIDC)" + }, + { + "key": "us-core-9", + "severity": "error", + "human": "For implantable medical devices that have UDI information, at least one of the Production Identifiers (UDI-PI) SHALL be present.", + "expression": "udiCarrier.empty() or (manufactureDate.exists() or expirationDate.exists() or lotNumber.exists() or serialNumber.exists() or distinctIdentifier.exists())", + "xpath": "not(f:udiCarrier) or (f:manufactureDate or f:expirationDate or f:lotNumber or f:serialNumber or f:distinctIdentifier)" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Device" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Device" + } + ] + }, + { + "id": "Device.id", + "path": "Device.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Device.meta", + "path": "Device.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Device.implicitRules", + "path": "Device.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Device.language", + "path": "Device.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Device.text", + "path": "Device.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Device.contained", + "path": "Device.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device.extension", + "path": "Device.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device.modifierExtension", + "path": "Device.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device.identifier", + "path": "Device.identifier", + "short": "Instance identifier", + "definition": "Unique instance identifiers assigned to a device by manufacturers other organizations or owners.", + "comment": "The barcode string from a barcode present on a device label or package may identify the instance, include names given to the device in local usage, or may identify the type of device. If the identifier identifies the type of device, Device.type element should be used.", + "min": 0, + "max": "*", + "base": { + "path": "Device.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "udi", + "map": "The serial number which is a component of the production identifier (PI), a conditional, variable portion of a UDI. The identifier.type code should be set to “SNO”(Serial Number) and the system left empty." + } + ] + }, + { + "id": "Device.definition", + "path": "Device.definition", + "short": "The reference to the definition for the device", + "definition": "The reference to the definition for the device.", + "min": 0, + "max": "1", + "base": { + "path": "Device.definition", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DeviceDefinition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.udiCarrier", + "path": "Device.udiCarrier", + "short": "Unique Device Identifier (UDI) Barcode string", + "definition": "Unique device identifier (UDI) assigned to device label or package. Note that the Device may include multiple udiCarriers as it either may include just the udiCarrier for the jurisdiction it is sold, or for multiple jurisdictions it could have been sold.", + "comment": "Some devices may not have UDI information (for example. historical data or patient reported data).", + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id and .code" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Device.udi" + } + ] + }, + { + "id": "Device.udiCarrier.id", + "path": "Device.udiCarrier.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.udiCarrier.extension", + "path": "Device.udiCarrier.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.udiCarrier.modifierExtension", + "path": "Device.udiCarrier.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device.udiCarrier.deviceIdentifier", + "path": "Device.udiCarrier.deviceIdentifier", + "short": "Mandatory fixed portion of UDI", + "definition": "The device identifier (DI) is a mandatory, fixed portion of a UDI that identifies the labeler and the specific version or model of a device.", + "alias": [ + "DI" + ], + "min": 1, + "max": "1", + "base": { + "path": "Device.udiCarrier.deviceIdentifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": "Role.id.extension" + }, + { + "identity": "udi", + "map": "The device identifier (DI), a mandatory, fixed portion of a UDI that identifies the labeler and the specific version or model of a device." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.udiCarrier.issuer", + "path": "Device.udiCarrier.issuer", + "short": "UDI Issuing Organization", + "definition": "Organization that is charged with issuing UDIs for devices. For example, the US FDA issuers include :\n1) GS1: \nhttp://hl7.org/fhir/NamingSystem/gs1-di, \n2) HIBCC:\nhttp://hl7.org/fhir/NamingSystem/hibcc-dI, \n3) ICCBBA for blood containers:\nhttp://hl7.org/fhir/NamingSystem/iccbba-blood-di, \n4) ICCBA for other devices:\nhttp://hl7.org/fhir/NamingSystem/iccbba-other-di.", + "alias": [ + "Barcode System" + ], + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier.issuer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Role.id.root" + }, + { + "identity": "udi", + "map": "All UDIs are to be issued under a system operated by an Jurisdiction-accredited issuing agency.\nGS1 DIs: \n http://hl7.org/fhir/NamingSystem/gs1\nHIBCC DIs:\n http://hl7.org/fhir/NamingSystem/hibcc\nICCBBA DIs for blood containers:\n http://hl7.org/fhir/NamingSystem/iccbba-blood\nICCBA DIs for other devices:\n http://hl7.org/fhir/NamingSystem/iccbba-other" + } + ] + }, + { + "id": "Device.udiCarrier.jurisdiction", + "path": "Device.udiCarrier.jurisdiction", + "short": "Regional UDI authority", + "definition": "The identity of the authoritative source for UDI generation within a jurisdiction. All UDIs are globally unique within a single namespace with the appropriate repository uri as the system. For example, UDIs of devices managed in the U.S. by the FDA, the value is http://hl7.org/fhir/NamingSystem/fda-udi.", + "requirements": "Allows a recipient of a UDI to know which database will contain the UDI-associated metadata.", + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier.jurisdiction", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Role.scoper" + } + ] + }, + { + "id": "Device.udiCarrier.carrierAIDC", + "path": "Device.udiCarrier.carrierAIDC", + "short": "UDI Machine Readable Barcode String", + "definition": "The full UDI carrier of the Automatic Identification and Data Capture (AIDC) technology representation of the barcode string as printed on the packaging of the device - e.g., a barcode or RFID. Because of limitations on character sets in XML and the need to round-trip JSON data through XML, AIDC Formats *SHALL* be base64 encoded.", + "comment": "The AIDC form of UDIs should be scanned or otherwise used for the identification of the device whenever possible to minimize errors in records resulting from manual transcriptions. If separate barcodes for DI and PI are present, concatenate the string with DI first and in order of human readable expression on label.", + "alias": [ + "Automatic Identification and Data Capture", + "UDI", + "Barcode String" + ], + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier.carrierAIDC", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + } + ], + "condition": [ + "us-core-12" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "Role.id.extension" + }, + { + "identity": "udi", + "map": "A unique device identifier (UDI) on a device label a form that uses automatic identification and data capture (AIDC) technology." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.udiCarrier.carrierHRF", + "path": "Device.udiCarrier.carrierHRF", + "short": "UDI Human Readable Barcode String", + "definition": "The full UDI carrier as the human readable form (HRF) representation of the barcode string as printed on the packaging of the device.", + "comment": "If separate barcodes for DI and PI are present, concatenate the string with DI first and in order of human readable expression on label.", + "alias": [ + "Human Readable Form", + "UDI", + "Barcode String" + ], + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier.carrierHRF", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "us-core-12" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "Role.id.extension" + }, + { + "identity": "udi", + "map": "A unique device identifier (UDI) on a device label in plain text" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Device.udi" + } + ] + }, + { + "id": "Device.udiCarrier.entryType", + "path": "Device.udiCarrier.entryType", + "short": "barcode | rfid | manual +", + "definition": "A coded entry to indicate how the data was entered.", + "requirements": "Supports a way to distinguish hand entered from machine read data.", + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier.entryType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "UDIEntryType" + } + ], + "strength": "required", + "description": "Codes to identify how UDI data was entered.", + "valueSet": "http://hl7.org/fhir/ValueSet/udi-entry-type|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "NA" + } + ] + }, + { + "id": "Device.status", + "path": "Device.status", + "short": "active | inactive | entered-in-error | unknown", + "definition": "Status of the Device availability.", + "comment": "This element is labeled as a modifier because the status contains the codes inactive and entered-in-error that mark the device (record)as not currently valid.", + "min": 0, + "max": "1", + "base": { + "path": "Device.status", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRDeviceStatus" + } + ], + "strength": "required", + "description": "The availability status of the device.", + "valueSet": "http://hl7.org/fhir/ValueSet/device-status|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": ".statusCode" + } + ] + }, + { + "id": "Device.statusReason", + "path": "Device.statusReason", + "short": "online | paused | standby | offline | not-ready | transduc-discon | hw-discon | off", + "definition": "Reason for the dtatus of the Device availability.", + "min": 0, + "max": "*", + "base": { + "path": "Device.statusReason", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRDeviceStatusReason" + } + ], + "strength": "extensible", + "description": "The availability status reason of the device.", + "valueSet": "http://hl7.org/fhir/ValueSet/device-status-reason" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + } + ] + }, + { + "id": "Device.distinctIdentifier", + "path": "Device.distinctIdentifier", + "short": "The distinct identification string", + "definition": "The distinct identification string as required by regulation for a human cell, tissue, or cellular and tissue-based product.", + "comment": "For example, this applies to devices in the United States regulated under *Code of Federal Regulation 21CFR§1271.290(c)*.", + "alias": [ + "Distinct Identification Code (DIC)" + ], + "min": 0, + "max": "1", + "base": { + "path": "Device.distinctIdentifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "us-core-9" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".lotNumberText" + }, + { + "identity": "udi", + "map": "The lot or batch number within which a device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.manufacturer", + "path": "Device.manufacturer", + "short": "Name of device manufacturer", + "definition": "A name of the manufacturer.", + "min": 0, + "max": "1", + "base": { + "path": "Device.manufacturer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].scoper.name" + }, + { + "identity": "udi", + "map": "N/A" + } + ] + }, + { + "id": "Device.manufactureDate", + "path": "Device.manufactureDate", + "short": "Date when the device was made", + "definition": "The date and time when the device was manufactured.", + "min": 0, + "max": "1", + "base": { + "path": "Device.manufactureDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "condition": [ + "us-core-9" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".existenceTime.low" + }, + { + "identity": "udi", + "map": "The date a specific device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI. For FHIR, The datetime syntax must converted to YYYY-MM-DD[THH:MM:SS]. If hour is present, the minutes and seconds should both be set to “00”." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.expirationDate", + "path": "Device.expirationDate", + "short": "Date and time of expiry of this device (if applicable)", + "definition": "The date and time beyond which this device is no longer valid or should not be used (if applicable).", + "min": 0, + "max": "1", + "base": { + "path": "Device.expirationDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "condition": [ + "us-core-9" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".expirationTime" + }, + { + "identity": "udi", + "map": "the expiration date of a specific device - which is a component of the production identifier (PI), a conditional, variable portion of a UDI. For FHIR, The datetime syntax must converted to YYYY-MM-DD[THH:MM:SS]. If hour is present, the minutes and seconds should both be set to “00”." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.lotNumber", + "path": "Device.lotNumber", + "short": "Lot number of manufacture", + "definition": "Lot number assigned by the manufacturer.", + "min": 0, + "max": "1", + "base": { + "path": "Device.lotNumber", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "us-core-9" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".lotNumberText" + }, + { + "identity": "udi", + "map": "The lot or batch number within which a device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.serialNumber", + "path": "Device.serialNumber", + "short": "Serial number assigned by the manufacturer", + "definition": "The serial number assigned by the organization when the device was manufactured.", + "comment": "Alphanumeric Maximum 20.", + "min": 0, + "max": "1", + "base": { + "path": "Device.serialNumber", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "us-core-9" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].id" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.deviceName", + "path": "Device.deviceName", + "short": "The name of the device as given by the manufacturer", + "definition": "This represents the manufacturer's name of the device as provided by the device, from a UDI label, or by a person describing the Device. This typically would be used when a person provides the name(s) or when the device represents one of the names available from DeviceDefinition.", + "min": 0, + "max": "*", + "base": { + "path": "Device.deviceName", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.deviceName.id", + "path": "Device.deviceName.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.deviceName.extension", + "path": "Device.deviceName.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.deviceName.modifierExtension", + "path": "Device.deviceName.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device.deviceName.name", + "path": "Device.deviceName.name", + "short": "The name of the device", + "definition": "The name of the device.", + "alias": [ + "Σ" + ], + "min": 1, + "max": "1", + "base": { + "path": "Device.deviceName.name", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.deviceName.type", + "path": "Device.deviceName.type", + "short": "udi-label-name | user-friendly-name | patient-reported-name | manufacturer-name | model-name | other", + "definition": "The type of deviceName.\nUDILabelName | UserFriendlyName | PatientReportedName | ManufactureDeviceName | ModelName.", + "min": 1, + "max": "1", + "base": { + "path": "Device.deviceName.type", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DeviceNameType" + } + ], + "strength": "required", + "description": "The type of name the device is referred by.", + "valueSet": "http://hl7.org/fhir/ValueSet/device-nametype|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].code" + } + ] + }, + { + "id": "Device.modelNumber", + "path": "Device.modelNumber", + "short": "The model number for the device", + "definition": "The model number for the device.", + "min": 0, + "max": "1", + "base": { + "path": "Device.modelNumber", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".softwareName (included as part)" + } + ] + }, + { + "id": "Device.partNumber", + "path": "Device.partNumber", + "short": "The part number of the device", + "definition": "The part number of the device.", + "comment": "Alphanumeric Maximum 20.", + "min": 0, + "max": "1", + "base": { + "path": "Device.partNumber", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].id" + } + ] + }, + { + "id": "Device.type", + "path": "Device.type", + "short": "The kind or type of device", + "definition": "The kind or type of device.", + "min": 1, + "max": "1", + "base": { + "path": "Device.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Codes to identify medical devices", + "valueSet": "http://hl7.org/fhir/ValueSet/device-kind" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device.type" + } + ] + }, + { + "id": "Device.specialization", + "path": "Device.specialization", + "short": "The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication", + "definition": "The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication.", + "min": 0, + "max": "*", + "base": { + "path": "Device.specialization", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.specialization.id", + "path": "Device.specialization.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.specialization.extension", + "path": "Device.specialization.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.specialization.modifierExtension", + "path": "Device.specialization.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device.specialization.systemType", + "path": "Device.specialization.systemType", + "short": "The standard that is used to operate and communicate", + "definition": "The standard that is used to operate and communicate.", + "alias": [ + "Σ" + ], + "min": 1, + "max": "1", + "base": { + "path": "Device.specialization.systemType", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.specialization.version", + "path": "Device.specialization.version", + "short": "The version of the standard that is used to operate and communicate", + "definition": "The version of the standard that is used to operate and communicate.", + "min": 0, + "max": "1", + "base": { + "path": "Device.specialization.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + } + ] + }, + { + "id": "Device.version", + "path": "Device.version", + "short": "The actual design of the device or software version running on the device", + "definition": "The actual design of the device or software version running on the device.", + "min": 0, + "max": "*", + "base": { + "path": "Device.version", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.version.id", + "path": "Device.version.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.version.extension", + "path": "Device.version.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.version.modifierExtension", + "path": "Device.version.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device.version.type", + "path": "Device.version.type", + "short": "The type of the device version", + "definition": "The type of the device version.", + "alias": [ + "Σ" + ], + "min": 0, + "max": "1", + "base": { + "path": "Device.version.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.version.component", + "path": "Device.version.component", + "short": "A single component of the device version", + "definition": "A single component of the device version.", + "min": 0, + "max": "1", + "base": { + "path": "Device.version.component", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + } + ] + }, + { + "id": "Device.version.value", + "path": "Device.version.value", + "short": "The version text", + "definition": "The version text.", + "min": 1, + "max": "1", + "base": { + "path": "Device.version.value", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.property", + "path": "Device.property", + "short": "The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties", + "definition": "The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.", + "min": 0, + "max": "*", + "base": { + "path": "Device.property", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.property.id", + "path": "Device.property.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.property.extension", + "path": "Device.property.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.property.modifierExtension", + "path": "Device.property.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device.property.type", + "path": "Device.property.type", + "short": "Code that specifies the property DeviceDefinitionPropetyCode (Extensible)", + "definition": "Code that specifies the property DeviceDefinitionPropetyCode (Extensible).", + "min": 1, + "max": "1", + "base": { + "path": "Device.property.type", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.property.valueQuantity", + "path": "Device.property.valueQuantity", + "short": "Property value as a quantity", + "definition": "Property value as a quantity.", + "min": 0, + "max": "*", + "base": { + "path": "Device.property.valueQuantity", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Quantity" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.property.valueCode", + "path": "Device.property.valueCode", + "short": "Property value as a code, e.g., NTP4 (synced to NTP)", + "definition": "Property value as a code, e.g., NTP4 (synced to NTP).", + "min": 0, + "max": "*", + "base": { + "path": "Device.property.valueCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.patient", + "path": "Device.patient", + "short": "Patient to whom Device is affixed", + "definition": "Patient information, If the device is affixed to a person.", + "requirements": "If the device is implanted in a patient, then need to associate the device to the patient.", + "min": 1, + "max": "1", + "base": { + "path": "Device.patient", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=USED].scoper.playedRole[typeCode=PAT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Device.patient" + } + ] + }, + { + "id": "Device.owner", + "path": "Device.owner", + "short": "Organization responsible for device", + "definition": "An organization that is responsible for the provision and ongoing maintenance of the device.", + "min": 0, + "max": "1", + "base": { + "path": "Device.owner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=OWN].scoper" + } + ] + }, + { + "id": "Device.contact", + "path": "Device.contact", + "short": "Details for human/organization for support", + "definition": "Contact details for an organization or a particular human that is responsible for the device.", + "comment": "used for troubleshooting etc.", + "min": 0, + "max": "*", + "base": { + "path": "Device.contact", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + }, + { + "identity": "rim", + "map": ".scopedRole[typeCode=CON].player" + } + ] + }, + { + "id": "Device.location", + "path": "Device.location", + "short": "Where the device is found", + "definition": "The place where the device can be found.", + "requirements": "Device.location can be used to track device location.", + "min": 0, + "max": "1", + "base": { + "path": "Device.location", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.where[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=LOCE].scoper" + } + ] + }, + { + "id": "Device.url", + "path": "Device.url", + "short": "Network address to contact device", + "definition": "A network address on which the device may be contacted directly.", + "comment": "If the device is running a FHIR server, the network address should be the Base URL from which a conformance statement may be retrieved.", + "min": 0, + "max": "1", + "base": { + "path": "Device.url", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.where[x]" + }, + { + "identity": "rim", + "map": ".telecom" + } + ] + }, + { + "id": "Device.note", + "path": "Device.note", + "short": "Device notes and comments", + "definition": "Descriptive information, usage information or implantation information that is not captured in an existing element.", + "min": 0, + "max": "*", + "base": { + "path": "Device.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "Device.safety", + "path": "Device.safety", + "short": "Safety Characteristics of Device", + "definition": "Provides additional safety characteristics about a medical device. For example devices containing latex.", + "min": 0, + "max": "*", + "base": { + "path": "Device.safety", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "NA" + } + ] + }, + { + "id": "Device.parent", + "path": "Device.parent", + "short": "The parent device", + "definition": "The parent device.", + "min": 0, + "max": "1", + "base": { + "path": "Device.parent", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + } + ] + }, + "differential": { + "element": [ + { + "id": "Device", + "path": "Device", + "definition": "The US Core Implantable Device Profile is based upon the core FHIR Device Resource and created to meet the 2015 Edition Common Clinical Data Set 'Unique device identifier(s) for a patient’s implantable device(s)' requirements.", + "constraint": [ + { + "key": "us-core-12", + "severity": "error", + "human": "Implantable medical devices that have UDI information SHALL represent this information in either carrierAIDC or carrierHRF.", + "expression": "udiCarrier.empty() or (udiCarrier.carrierAIDC.exists() or udiCarrier.carrierHRF.exists())", + "xpath": "not(f:udiCarrier) or (f:carrierHRF or f:carrierAIDC)" + }, + { + "key": "us-core-9", + "severity": "error", + "human": "For implantable medical devices that have UDI information, at least one of the Production Identifiers (UDI-PI) SHALL be present.", + "expression": "udiCarrier.empty() or (manufactureDate.exists() or expirationDate.exists() or lotNumber.exists() or serialNumber.exists() or distinctIdentifier.exists())", + "xpath": "not(f:udiCarrier) or (f:manufactureDate or f:expirationDate or f:lotNumber or f:serialNumber or f:distinctIdentifier)" + } + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device" + } + ] + }, + { + "id": "Device.udiCarrier", + "path": "Device.udiCarrier", + "comment": "Some devices may not have UDI information (for example. historical data or patient reported data).", + "min": 0, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device.udi" + } + ] + }, + { + "id": "Device.udiCarrier.deviceIdentifier", + "path": "Device.udiCarrier.deviceIdentifier", + "alias": [ + "DI" + ], + "min": 1, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.udiCarrier.carrierAIDC", + "path": "Device.udiCarrier.carrierAIDC", + "alias": [ + "UDI", + "Barcode String" + ], + "min": 0, + "max": "1", + "condition": [ + "us-core-12" + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.udiCarrier.carrierHRF", + "path": "Device.udiCarrier.carrierHRF", + "alias": [ + "UDI", + "Barcode String" + ], + "min": 0, + "max": "1", + "condition": [ + "us-core-12" + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device.udi" + } + ] + }, + { + "id": "Device.distinctIdentifier", + "path": "Device.distinctIdentifier", + "min": 0, + "max": "1", + "condition": [ + "us-core-9" + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.manufactureDate", + "path": "Device.manufactureDate", + "min": 0, + "max": "1", + "condition": [ + "us-core-9" + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.expirationDate", + "path": "Device.expirationDate", + "min": 0, + "max": "1", + "condition": [ + "us-core-9" + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.lotNumber", + "path": "Device.lotNumber", + "min": 0, + "max": "1", + "condition": [ + "us-core-9" + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.serialNumber", + "path": "Device.serialNumber", + "min": 0, + "max": "1", + "condition": [ + "us-core-9" + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.type", + "path": "Device.type", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Codes to identify medical devices", + "valueSet": "http://hl7.org/fhir/ValueSet/device-kind" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device.type" + } + ] + }, + { + "id": "Device.patient", + "path": "Device.patient", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device.patient" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-location.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-location.json new file mode 100644 index 00000000000..59e7e5490e6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-location.json @@ -0,0 +1,2541 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-location", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location", + "version": "3.1.1", + "name": "USCoreLocation", + "title": "US Core Location Profile", + "status": "active", + "experimental": false, + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines basic constraints and extensions on the Location resource for use with other US Core resources", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "servd", + "uri": "http://www.omg.org/spec/ServD/1.0/", + "name": "ServD" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Location", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Location", + "path": "Location", + "short": "Details and position information for a physical place", + "definition": "Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained, or accommodated.", + "min": 0, + "max": "*", + "base": { + "path": "Location", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": ".Role[classCode=SDLC]" + }, + { + "identity": "servd", + "map": "Organization" + } + ] + }, + { + "id": "Location.id", + "path": "Location.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Location.meta", + "path": "Location.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Location.implicitRules", + "path": "Location.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Location.language", + "path": "Location.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Location.text", + "path": "Location.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Location.contained", + "path": "Location.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location.extension", + "path": "Location.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location.modifierExtension", + "path": "Location.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location.identifier", + "path": "Location.identifier", + "short": "Unique code or number identifying the location to its users", + "definition": "Unique code or number identifying the location to its users.", + "requirements": "Organization label locations in registries, need to keep track of those.", + "min": 0, + "max": "*", + "base": { + "path": "Location.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Location.status", + "path": "Location.status", + "short": "active | suspended | inactive", + "definition": "The status property covers the general availability of the resource, not the current value which may be covered by the operationStatus, or by a schedule/slots if they are configured for the location.", + "min": 0, + "max": "1", + "base": { + "path": "Location.status", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "LocationStatus" + } + ], + "strength": "required", + "description": "Indicates whether the location is still in use.", + "valueSet": "http://hl7.org/fhir/ValueSet/location-status|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": ".statusCode" + } + ] + }, + { + "id": "Location.operationalStatus", + "path": "Location.operationalStatus", + "short": "The operational status of the location (typically only for a bed/room)", + "definition": "The operational status covers operation values most relevant to beds (but can also apply to rooms/units/chairs/etc. such as an isolation unit/dialysis chair). This typically covers concepts such as contamination, housekeeping, and other activities like maintenance.", + "min": 0, + "max": "1", + "base": { + "path": "Location.operationalStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "OperationalStatus" + } + ], + "strength": "preferred", + "description": "The operational status if the location (where typically a bed/room).", + "valueSet": "http://terminology.hl7.org/ValueSet/v2-0116" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.name", + "path": "Location.name", + "short": "Name of the location as used by humans", + "definition": "Name of the location as used by humans. Does not need to be unique.", + "comment": "If the name of a location changes, consider putting the old name in the alias column so that it can still be located through searches.", + "min": 1, + "max": "1", + "base": { + "path": "Location.name", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".name" + }, + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + } + ] + }, + { + "id": "Location.alias", + "path": "Location.alias", + "short": "A list of alternate names that the location is known as, or was known as, in the past", + "definition": "A list of alternate names that the location is known as, or was known as, in the past.", + "comment": "There are no dates associated with the alias/historic names, as this is not intended to track when names were used, but to assist in searching so that older names can still result in identifying the location.", + "requirements": "Over time locations and organizations go through many changes and can be known by different names.\n\nFor searching knowing previous names that the location was known by can be very useful.", + "min": 0, + "max": "*", + "base": { + "path": "Location.alias", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".name" + } + ] + }, + { + "id": "Location.description", + "path": "Location.description", + "short": "Additional details about the location that could be displayed as further information to identify the location beyond its name", + "definition": "Description of the Location, which helps in finding or referencing the place.", + "requirements": "Humans need additional information to verify a correct location has been identified.", + "min": 0, + "max": "1", + "base": { + "path": "Location.description", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity[classCode=PLC determinerCode=INSTANCE].desc" + } + ] + }, + { + "id": "Location.mode", + "path": "Location.mode", + "short": "instance | kind", + "definition": "Indicates whether a resource instance represents a specific location or a class of locations.", + "comment": "This is labeled as a modifier because whether or not the location is a class of locations changes how it can be used and understood.", + "requirements": "When using a Location resource for scheduling or orders, we need to be able to refer to a class of Locations instead of a specific Location.", + "min": 0, + "max": "1", + "base": { + "path": "Location.mode", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "LocationMode" + } + ], + "strength": "required", + "description": "Indicates whether a resource instance represents a specific location or a class of locations.", + "valueSet": "http://hl7.org/fhir/ValueSet/location-mode|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".playingEntity[classCode=PLC].determinerCode" + } + ] + }, + { + "id": "Location.type", + "path": "Location.type", + "short": "Type of function performed", + "definition": "Indicates the type of function performed at the location.", + "min": 0, + "max": "*", + "base": { + "path": "Location.type", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "LocationType" + } + ], + "strength": "extensible", + "description": "Indicates the type of function performed at the location.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".code" + } + ] + }, + { + "id": "Location.telecom", + "path": "Location.telecom", + "short": "Contact details of the location", + "definition": "The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites.", + "min": 0, + "max": "*", + "base": { + "path": "Location.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".telecom" + } + ] + }, + { + "id": "Location.address", + "path": "Location.address", + "short": "Physical location", + "definition": "Physical location.", + "comment": "Additional addresses should be recorded using another instance of the Location resource, or via the Organization.", + "requirements": "If locations can be visited, we need to keep track of their address.", + "min": 0, + "max": "1", + "base": { + "path": "Location.address", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Address" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".addr" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Location.address.id", + "path": "Location.address.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.address.extension", + "path": "Location.address.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.address.use", + "path": "Location.address.use", + "short": "home | work | temp | old | billing - purpose of this address", + "definition": "The purpose of this address.", + "comment": "Applications can assume that an address is current unless it explicitly says that it is temporary or old.", + "requirements": "Allows an appropriate address to be chosen from a list of many.", + "min": 0, + "max": "1", + "base": { + "path": "Address.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "home" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AddressUse" + } + ], + "strength": "required", + "description": "The use of an address.", + "valueSet": "http://hl7.org/fhir/ValueSet/address-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.7" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./AddressPurpose" + } + ] + }, + { + "id": "Location.address.type", + "path": "Location.address.type", + "short": "postal | physical | both", + "definition": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.", + "comment": "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R4/location.html#) resource).", + "min": 0, + "max": "1", + "base": { + "path": "Address.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "both" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AddressType" + } + ], + "strength": "required", + "description": "The type of an address (physical / postal).", + "valueSet": "http://hl7.org/fhir/ValueSet/address-type|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.18" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "vcard", + "map": "address type parameter" + } + ] + }, + { + "id": "Location.address.text", + "path": "Location.address.text", + "short": "Text representation of the address", + "definition": "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.", + "comment": "Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "Address.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street, Erewhon 9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6" + }, + { + "identity": "rim", + "map": "./formatted" + }, + { + "identity": "vcard", + "map": "address label parameter" + } + ] + }, + { + "id": "Location.address.line", + "path": "Location.address.line", + "short": "Street name, number, direction & P.O. Box etc.", + "definition": "This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.", + "min": 0, + "max": "*", + "base": { + "path": "Address.line", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "The order in which lines should appear in an address label", + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)" + }, + { + "identity": "rim", + "map": "AD.part[parttype = AL]" + }, + { + "identity": "vcard", + "map": "street" + }, + { + "identity": "servd", + "map": "./StreetAddress (newline delimitted)" + } + ] + }, + { + "id": "Location.address.city", + "path": "Location.address.city", + "short": "Name of city, town etc.", + "definition": "The name of the city, town, suburb, village or other community or delivery center.", + "alias": [ + "Municpality" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.city", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Erewhon" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.3" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CTY]" + }, + { + "identity": "vcard", + "map": "locality" + }, + { + "identity": "servd", + "map": "./Jurisdiction" + } + ] + }, + { + "id": "Location.address.district", + "path": "Location.address.district", + "short": "District name (aka county)", + "definition": "The name of the administrative area (county).", + "comment": "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.", + "alias": [ + "County" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.district", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Madison" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.9" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT | CPA]" + } + ] + }, + { + "id": "Location.address.state", + "path": "Location.address.state", + "short": "Sub-unit of country (abbreviations ok)", + "definition": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).", + "alias": [ + "Province", + "Territory" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.state", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Two letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state|3.1.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.4" + }, + { + "identity": "rim", + "map": "AD.part[parttype = STA]" + }, + { + "identity": "vcard", + "map": "region" + }, + { + "identity": "servd", + "map": "./Region" + }, + { + "identity": "servd", + "map": "./Sites" + } + ] + }, + { + "id": "Location.address.postalCode", + "path": "Location.address.postalCode", + "short": "US Zip Codes", + "definition": "A postal code designating a region defined by the postal service.", + "alias": [ + "Zip" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.postalCode", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.5" + }, + { + "identity": "rim", + "map": "AD.part[parttype = ZIP]" + }, + { + "identity": "vcard", + "map": "code" + }, + { + "identity": "servd", + "map": "./PostalIdentificationCode" + } + ] + }, + { + "id": "Location.address.country", + "path": "Location.address.country", + "short": "Country (e.g. can be ISO 3166 2 or 3 letter code)", + "definition": "Country - a nation as commonly understood or generally accepted.", + "comment": "ISO 3166 3 letter codes can be used in place of a human readable country name.", + "min": 0, + "max": "1", + "base": { + "path": "Address.country", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.6" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT]" + }, + { + "identity": "vcard", + "map": "country" + }, + { + "identity": "servd", + "map": "./Country" + } + ] + }, + { + "id": "Location.address.period", + "path": "Location.address.period", + "short": "Time period when address was/is in use", + "definition": "Time period when address was/is in use.", + "requirements": "Allows addresses to be placed in historical context.", + "min": 0, + "max": "1", + "base": { + "path": "Address.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "example": [ + { + "label": "General", + "valuePeriod": { + "start": "2010-03-23", + "end": "2010-07-01" + } + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.12 / XAD.13 + XAD.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Location.physicalType", + "path": "Location.physicalType", + "short": "Physical form of the location", + "definition": "Physical form of the location, e.g. building, room, vehicle, road.", + "requirements": "For purposes of showing relevant locations in queries, we need to categorize locations.", + "min": 0, + "max": "1", + "base": { + "path": "Location.physicalType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "PhysicalType" + } + ], + "strength": "example", + "description": "Physical form of the location.", + "valueSet": "http://hl7.org/fhir/ValueSet/location-physical-type" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".playingEntity [classCode=PLC].code" + } + ] + }, + { + "id": "Location.position", + "path": "Location.position", + "short": "The absolute geographic location", + "definition": "The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).", + "requirements": "For mobile applications and automated route-finding knowing the exact location of the Location is required.", + "min": 0, + "max": "1", + "base": { + "path": "Location.position", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity [classCode=PLC determinerCode=INSTANCE].positionText" + } + ] + }, + { + "id": "Location.position.id", + "path": "Location.position.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.position.extension", + "path": "Location.position.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.position.modifierExtension", + "path": "Location.position.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location.position.longitude", + "path": "Location.position.longitude", + "short": "Longitude with WGS84 datum", + "definition": "Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below).", + "min": 1, + "max": "1", + "base": { + "path": "Location.position.longitude", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)" + } + ] + }, + { + "id": "Location.position.latitude", + "path": "Location.position.latitude", + "short": "Latitude with WGS84 datum", + "definition": "Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below).", + "min": 1, + "max": "1", + "base": { + "path": "Location.position.latitude", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)" + } + ] + }, + { + "id": "Location.position.altitude", + "path": "Location.position.altitude", + "short": "Altitude with WGS84 datum", + "definition": "Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below).", + "min": 0, + "max": "1", + "base": { + "path": "Location.position.altitude", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)" + } + ] + }, + { + "id": "Location.managingOrganization", + "path": "Location.managingOrganization", + "short": "Organization responsible for provisioning and upkeep", + "definition": "The organization responsible for the provisioning and upkeep of the location.", + "comment": "This can also be used as the part of the organization hierarchy where this location provides services. These services can be defined through the HealthcareService resource.", + "requirements": "Need to know who manages the location.", + "min": 0, + "max": "1", + "base": { + "path": "Location.managingOrganization", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".scopingEntity[classCode=ORG determinerKind=INSTANCE]" + } + ] + }, + { + "id": "Location.partOf", + "path": "Location.partOf", + "short": "Another Location this one is physically a part of", + "definition": "Another Location of which this Location is physically a part of.", + "requirements": "For purposes of location, display and identification, knowing which locations are located within other locations is important.", + "min": 0, + "max": "1", + "base": { + "path": "Location.partOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".inboundLink[typeCode=PART].source[classCode=SDLC]" + } + ] + }, + { + "id": "Location.hoursOfOperation", + "path": "Location.hoursOfOperation", + "short": "What days/times during a week is this location usually open", + "definition": "What days/times during a week is this location usually open.", + "comment": "This type of information is commonly found published in directories and on websites informing customers when the facility is available.\n\nSpecific services within the location may have their own hours which could be shorter (or longer) than the locations hours.", + "min": 0, + "max": "*", + "base": { + "path": "Location.hoursOfOperation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "Location.hoursOfOperation.id", + "path": "Location.hoursOfOperation.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.hoursOfOperation.extension", + "path": "Location.hoursOfOperation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.hoursOfOperation.modifierExtension", + "path": "Location.hoursOfOperation.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location.hoursOfOperation.daysOfWeek", + "path": "Location.hoursOfOperation.daysOfWeek", + "short": "mon | tue | wed | thu | fri | sat | sun", + "definition": "Indicates which days of the week are available between the start and end Times.", + "min": 0, + "max": "*", + "base": { + "path": "Location.hoursOfOperation.daysOfWeek", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DaysOfWeek" + } + ], + "strength": "required", + "description": "The days of the week.", + "valueSet": "http://hl7.org/fhir/ValueSet/days-of-week|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "Location.hoursOfOperation.allDay", + "path": "Location.hoursOfOperation.allDay", + "short": "The Location is open all day", + "definition": "The Location is open all day.", + "min": 0, + "max": "1", + "base": { + "path": "Location.hoursOfOperation.allDay", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "Location.hoursOfOperation.openingTime", + "path": "Location.hoursOfOperation.openingTime", + "short": "Time that the Location opens", + "definition": "Time that the Location opens.", + "min": 0, + "max": "1", + "base": { + "path": "Location.hoursOfOperation.openingTime", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "time" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "Location.hoursOfOperation.closingTime", + "path": "Location.hoursOfOperation.closingTime", + "short": "Time that the Location closes", + "definition": "Time that the Location closes.", + "min": 0, + "max": "1", + "base": { + "path": "Location.hoursOfOperation.closingTime", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "time" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "Location.availabilityExceptions", + "path": "Location.availabilityExceptions", + "short": "Description of availability exceptions", + "definition": "A description of when the locations opening ours are different to normal, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as detailed in the opening hours Times.", + "min": 0, + "max": "1", + "base": { + "path": "Location.availabilityExceptions", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.endpoint", + "path": "Location.endpoint", + "short": "Technical endpoints providing access to services operated for the location", + "definition": "Technical endpoints providing access to services operated for the location.", + "requirements": "Organizations may have different systems at different locations that provide various services and need to be able to define the technical connection details for how to connect to them, and for what purpose.", + "min": 0, + "max": "*", + "base": { + "path": "Location.endpoint", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Endpoint" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Location", + "path": "Location", + "mustSupport": false, + "mapping": [ + { + "identity": "servd", + "map": "Organization" + } + ] + }, + { + "id": "Location.status", + "path": "Location.status", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true + }, + { + "id": "Location.name", + "path": "Location.name", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + } + ] + }, + { + "id": "Location.telecom", + "path": "Location.telecom", + "min": 0, + "max": "*", + "type": [ + { + "code": "ContactPoint" + } + ], + "mustSupport": true + }, + { + "id": "Location.address", + "path": "Location.address", + "min": 0, + "max": "1", + "type": [ + { + "code": "Address" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Location.address.line", + "path": "Location.address.line", + "min": 0, + "max": "*", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Location.address.city", + "path": "Location.address.city", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Location.address.state", + "path": "Location.address.state", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Two letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state|3.1.1" + }, + "mapping": [ + { + "identity": "servd", + "map": "./Sites" + } + ] + }, + { + "id": "Location.address.postalCode", + "path": "Location.address.postalCode", + "short": "US Zip Codes", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Location.managingOrganization", + "path": "Location.managingOrganization", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-medication.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-medication.json new file mode 100644 index 00000000000..228828cdb36 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-medication.json @@ -0,0 +1,1371 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-medication", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication", + "version": "3.1.1", + "name": "USCoreMedicationProfile", + "title": "US Core Medication Profile", + "status": "active", + "experimental": false, + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the Medication resource for the minimal set of data to query and retrieve patient retrieving patient's medication information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "uri": "http://unknown.org/Argonaut-DQ-DSTU2", + "name": "Argonaut-DQ-DSTU2" + }, + { + "identity": "script10.6", + "uri": "http://ncpdp.org/SCRIPT10_6", + "name": "Mapping to NCPDP SCRIPT 10.6" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Medication", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Medication", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Medication", + "path": "Medication", + "short": "Definition of a Medication", + "definition": "The US Core Medication Profile is based upon the core FHIR Medication Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements.", + "min": 0, + "max": "*", + "base": { + "path": "Medication", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "script10.6", + "map": "NewRx/MedicationPrescribed\r-or-\rRxFill/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationPrescribed" + }, + { + "identity": "rim", + "map": "ManufacturedProduct[classCode=ADMM]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Medication" + } + ] + }, + { + "id": "Medication.id", + "path": "Medication.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Medication.meta", + "path": "Medication.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Medication.implicitRules", + "path": "Medication.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Medication.language", + "path": "Medication.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Medication.text", + "path": "Medication.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Medication.contained", + "path": "Medication.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication.extension", + "path": "Medication.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication.modifierExtension", + "path": "Medication.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication.identifier", + "path": "Medication.identifier", + "short": "Business identifier for this medication", + "definition": "Business identifier for this medication.", + "comment": "The serial number could be included as an identifier.", + "min": 0, + "max": "*", + "base": { + "path": "Medication.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Medication.code", + "path": "Medication.code", + "short": "Codes that identify this medication", + "definition": "A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.", + "comment": "Depending on the context of use, the code that was actually selected by the user (prescriber, dispenser, etc.) will have the coding.userSelected set to true. As described in the coding datatype: \"A coding may be marked as a \"userSelected\" if a user selected the particular coded value in a user interface (e.g. the user selects an item in a pick-list). If a user selected coding exists, it is the preferred choice for performing translations etc. Other codes can only be literal translations to alternative code systems, or codes at a lower level of granularity (e.g. a generic code for a vendor-specific primary one).", + "min": 1, + "max": "1", + "base": { + "path": "Medication.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Prescribable medications", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes|3.1.1" + }, + "mapping": [ + { + "identity": "script10.6", + "map": "coding.code = //element(*,MedicationType)/DrugCoded/ProductCode\r\rcoding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier\r\rcoding.display = //element(*,MedicationType)/DrugDescription" + }, + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "RXO-1.1-Requested Give Code.code / RXE-2.1-Give Code.code / RXD-2.1-Dispense/Give Code.code / RXG-4.1-Give Code.code /RXA-5.1-Administered Code.code / RXC-2.1 Component Code" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Medication.code" + } + ] + }, + { + "id": "Medication.status", + "path": "Medication.status", + "short": "active | inactive | entered-in-error", + "definition": "A code to indicate if the medication is in active use.", + "comment": "This status is intended to identify if the medication in a local system is in active use within a drug database or inventory. For example, a pharmacy system may create a new drug file record for a compounded product \"ABC Hospital Special Cream\" with an active status. At some point in the future, it may be determined that the drug record was created with an error and the status is changed to \"entered in error\". This status is not intended to specify if a medication is part of a particular formulary. It is possible that the drug record may be referenced by multiple formularies or catalogues and each of those entries would have a separate status.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.status", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element changes the interpretation of all descriptive attributes.", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationStatus" + } + ], + "strength": "required", + "description": "A coded concept defining if the medication is in active use.", + "valueSet": "http://hl7.org/fhir/ValueSet/medication-status|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": ".statusCode" + } + ] + }, + { + "id": "Medication.manufacturer", + "path": "Medication.manufacturer", + "short": "Manufacturer of the item", + "definition": "Describes the details of the manufacturer of the medication product. This is not intended to represent the distributor of a medication product.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.manufacturer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "RXD-20-Substance Manufacturer Name / RXG-21-Substance Manufacturer Name / RXA-17-Substance Manufacturer Name" + }, + { + "identity": "rim", + "map": ".player.scopingRole[typeCode=MANU].scoper" + } + ] + }, + { + "id": "Medication.form", + "path": "Medication.form", + "short": "powder | tablets | capsule +", + "definition": "Describes the form of the item. Powder; tablets; capsule.", + "comment": "When Medication is referenced from MedicationRequest, this is the ordered form. When Medication is referenced within MedicationDispense, this is the dispensed form. When Medication is referenced within MedicationAdministration, this is administered form.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.form", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationForm" + } + ], + "strength": "example", + "description": "A coded concept defining the form of a medication.", + "valueSet": "http://hl7.org/fhir/ValueSet/medication-form-codes" + }, + "mapping": [ + { + "identity": "script10.6", + "map": "coding.code = //element(*,DrugCodedType)/FormCode\r\rcoding.system = //element(*,DrugCodedType)/FormSourceCode" + }, + { + "identity": "v2", + "map": "RXO-5-Requested Dosage Form / RXE-6-Give Dosage Form / RXD-6-Actual Dosage Form / RXG-8-Give Dosage Form / RXA-8-Administered Dosage Form" + }, + { + "identity": "rim", + "map": ".formCode" + } + ] + }, + { + "id": "Medication.amount", + "path": "Medication.amount", + "short": "Amount of drug in package", + "definition": "Specific amount of the drug in the packaged product. For example, when specifying a product that has the same strength (For example, Insulin glargine 100 unit per mL solution for injection), this attribute provides additional clarification of the package amount (For example, 3 mL, 10mL, etc.).", + "min": 0, + "max": "1", + "base": { + "path": "Medication.amount", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Ratio" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".quantity" + } + ] + }, + { + "id": "Medication.ingredient", + "path": "Medication.ingredient", + "short": "Active or inactive ingredient", + "definition": "Identifies a particular constituent of interest in the product.", + "comment": "The ingredients need not be a complete list. If an ingredient is not specified, this does not indicate whether an ingredient is present or absent. If an ingredient is specified it does not mean that all ingredients are specified. It is possible to specify both inactive and active ingredients.", + "min": 0, + "max": "*", + "base": { + "path": "Medication.ingredient", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".scopesRole[typeCode=INGR]" + } + ] + }, + { + "id": "Medication.ingredient.id", + "path": "Medication.ingredient.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication.ingredient.extension", + "path": "Medication.ingredient.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication.ingredient.modifierExtension", + "path": "Medication.ingredient.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication.ingredient.item[x]", + "path": "Medication.ingredient.item[x]", + "short": "The actual ingredient or content", + "definition": "The actual ingredient - either a substance (simple ingredient) or another medication of a medication.", + "requirements": "The ingredient may reference a substance (for example, amoxicillin) or another medication (for example in the case of a compounded product, Glaxal Base).", + "min": 1, + "max": "1", + "base": { + "path": "Medication.ingredient.item[x]", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Substance", + "http://hl7.org/fhir/StructureDefinition/Medication" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "coding.code = //element(*,MedicationType)/DrugCoded/ProductCode\r\rcoding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier\r\rcoding.display = //element(*,MedicationType)/DrugDescription" + }, + { + "identity": "v2", + "map": "RXC-2-Component Code if medication: RXO-1-Requested Give Code / RXE-2-Give Code / RXD-2-Dispense/Give Code / RXG-4-Give Code / RXA-5-Administered Code" + }, + { + "identity": "rim", + "map": ".player" + } + ] + }, + { + "id": "Medication.ingredient.isActive", + "path": "Medication.ingredient.isActive", + "short": "Active ingredient indicator", + "definition": "Indication of whether this ingredient affects the therapeutic action of the drug.", + "requirements": "True indicates that the ingredient affects the therapeutic action of the drug (i.e. active). \rFalse indicates that the ingredient does not affect the therapeutic action of the drug (i.e. inactive).", + "min": 0, + "max": "1", + "base": { + "path": "Medication.ingredient.isActive", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "NA" + } + ] + }, + { + "id": "Medication.ingredient.strength", + "path": "Medication.ingredient.strength", + "short": "Quantity of ingredient present", + "definition": "Specifies how many (or how much) of the items there are in this Medication. For example, 250 mg per tablet. This is expressed as a ratio where the numerator is 250mg and the denominator is 1 tablet.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.ingredient.strength", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Ratio" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "//element(*,DrugCodedType)/Strength" + }, + { + "identity": "v2", + "map": "RXC-3-Component Amount & RXC-4-Component Units if medication: RXO-2-Requested Give Amount - Minimum & RXO-4-Requested Give Units / RXO-3-Requested Give Amount - Maximum & RXO-4-Requested Give Units / RXO-11-Requested Dispense Amount & RXO-12-Requested Dispense Units / RXE-3-Give Amount - Minimum & RXE-5-Give Units / RXE-4-Give Amount - Maximum & RXE-5-Give Units / RXE-10-Dispense Amount & RXE-10-Dispense Units" + }, + { + "identity": "rim", + "map": ".quantity" + } + ] + }, + { + "id": "Medication.batch", + "path": "Medication.batch", + "short": "Details about packaged medications", + "definition": "Information that only applies to packages (not products).", + "min": 0, + "max": "1", + "base": { + "path": "Medication.batch", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": ".player[classCode=CONT]" + } + ] + }, + { + "id": "Medication.batch.id", + "path": "Medication.batch.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication.batch.extension", + "path": "Medication.batch.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication.batch.modifierExtension", + "path": "Medication.batch.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication.batch.lotNumber", + "path": "Medication.batch.lotNumber", + "short": "Identifier assigned to batch", + "definition": "The assigned lot number of a batch of the specified product.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.batch.lotNumber", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "v2", + "map": "RXA-15 Substance Lot Number / RXG-19 Substance Lot Number" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Medication.batch.expirationDate", + "path": "Medication.batch.expirationDate", + "short": "When batch will expire", + "definition": "When this specific batch of product will expire.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.batch.expirationDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "v2", + "map": "RXA-16 Substance Expiration Date / RXG-20 Substance Expiration Date" + }, + { + "identity": "rim", + "map": "participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Medication", + "path": "Medication", + "definition": "The US Core Medication Profile is based upon the core FHIR Medication Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Medication" + } + ] + }, + { + "id": "Medication.code", + "path": "Medication.code", + "min": 1, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Prescribable medications", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes|3.1.1" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Medication.code" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-medicationrequest.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-medicationrequest.json new file mode 100644 index 00000000000..09a743dc265 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-medicationrequest.json @@ -0,0 +1,4136 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-medicationrequest", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest", + "version": "3.1.1", + "name": "USCoreMedicationRequestProfile", + "title": "US Core MedicationRequest Profile", + "status": "active", + "experimental": false, + "date": "2020-06-26", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the MedicationRequest resource for the minimal set of data to query and retrieve prescription information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "uri": "http://unknown.org/Argonaut-DQ-DSTU2", + "name": "Argonaut-DQ-DSTU2" + }, + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "script10.6", + "uri": "http://ncpdp.org/SCRIPT10_6", + "name": "Mapping to NCPDP SCRIPT 10.6" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "MedicationRequest", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "MedicationRequest", + "path": "MedicationRequest", + "short": "Ordering of medication for patient or group", + "definition": "The US Core Medication Request (Order) Profile is based upon the core FHIR MedicationRequest Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements.", + "alias": [ + "Prescription", + "Order" + ], + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Request" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx" + }, + { + "identity": "rim", + "map": "CombinedMedicationRequest" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder" + } + ] + }, + { + "id": "MedicationRequest.id", + "path": "MedicationRequest.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "MedicationRequest.meta", + "path": "MedicationRequest.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "MedicationRequest.implicitRules", + "path": "MedicationRequest.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "MedicationRequest.language", + "path": "MedicationRequest.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "MedicationRequest.text", + "path": "MedicationRequest.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "MedicationRequest.contained", + "path": "MedicationRequest.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.extension", + "path": "MedicationRequest.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.modifierExtension", + "path": "MedicationRequest.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.identifier", + "path": "MedicationRequest.identifier", + "short": "External ids for this request", + "definition": "Identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.", + "comment": "This is a business identifier, not a resource identifier.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.identifier" + }, + { + "identity": "script10.6", + "map": "Message/Header/PrescriberOrderNumber" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "ORC-2-Placer Order Number / ORC-3-Filler Order Number" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "MedicationRequest.status", + "path": "MedicationRequest.status", + "short": "active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown", + "definition": "A code specifying the current state of the order. Generally, this will be active or completed state.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "description": "A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.status" + }, + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": ".statusCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.statusReason", + "path": "MedicationRequest.statusReason", + "short": "Reason for current status", + "definition": "Captures the reason for the current state of the MedicationRequest.", + "comment": "This is generally only used for \"exception\" statuses such as \"suspended\" or \"cancelled\". The reason why the MedicationRequest was created at all is captured in reasonCode, not here.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.statusReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestStatusReason" + } + ], + "strength": "example", + "description": "Identifies the reasons for a given status.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-status-reason" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.statusReason" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde" + } + ] + }, + { + "id": "MedicationRequest.intent", + "path": "MedicationRequest.intent", + "short": "proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option", + "definition": "Whether the request is a proposal, plan, or an original order.", + "comment": "It is expected that the type of requester will be restricted for different stages of a MedicationRequest. For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device. Plans can be created by Practitioners, Patients, RelatedPersons and Devices. Original orders can be created by a Practitioner only.\r\rAn instance-order is an instantiation of a request or order and may be used to populate Medication Administration Record.\r\rThis element is labeled as a modifier because the intent alters when and how the resource is actually applicable.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.intent", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element changes the interpretation of all descriptive attributes. For example \"the time the request is recommended to occur\" vs. \"the time the request is authorized to occur\" or \"who is recommended to perform the request\" vs. \"who is authorized to perform the request", + "isSummary": true, + "binding": { + "strength": "required", + "description": "The kind of medication order.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-intent" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.intent" + }, + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.category", + "path": "MedicationRequest.category", + "short": "Type of medication usage", + "definition": "Indicates the type of medication request (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)).", + "comment": "The category can be used to include where the medication is expected to be consumed or other types of requests.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestCategory" + } + ], + "strength": "example", + "description": "A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-category" + }, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Directions\r\ror \r\rMessage/Body/NewRx/MedicationPrescribed/StructuredSIG" + }, + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"type of medication usage\"].value" + } + ] + }, + { + "id": "MedicationRequest.priority", + "path": "MedicationRequest.priority", + "short": "routine | urgent | asap | stat", + "definition": "Indicates how quickly the Medication Request should be addressed with respect to other requests.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.priority", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestPriority" + } + ], + "strength": "required", + "description": "Identifies the level of importance to be assigned to actioning the request.", + "valueSet": "http://hl7.org/fhir/ValueSet/request-priority|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.priority" + }, + { + "identity": "w5", + "map": "FiveWs.grade" + }, + { + "identity": "rim", + "map": ".priorityCode" + } + ] + }, + { + "id": "MedicationRequest.doNotPerform", + "path": "MedicationRequest.doNotPerform", + "short": "True if request is prohibiting action", + "definition": "If true indicates that the provider is asking for the medication request not to occur.", + "comment": "If do not perform is not specified, the request is a positive request e.g. \"do perform\".", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.doNotPerform", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because this element negates the request to occur (ie, this is a request for the medication not to be ordered or prescribed, etc)", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration.actionNegationInd" + } + ] + }, + { + "id": "MedicationRequest.reported[x]", + "path": "MedicationRequest.reported[x]", + "short": "Reported rather than primary record", + "definition": "Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.reported[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + }, + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=INF].role" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.medication[x]", + "path": "MedicationRequest.medication[x]", + "short": "Medication to be taken", + "definition": "Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.", + "comment": "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the Medication resource is recommended. For example, if you require form or lot number or if the medication is compounded or extemporaneously prepared, then you must reference the Medication resource.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.medication[x]", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Prescribable medications", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes|3.1.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.code" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed\r\rMedication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode\r\rMedication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier\r\rMedication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code" + }, + { + "identity": "rim", + "map": "consumable.administrableMedication" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.medication[x]" + } + ] + }, + { + "id": "MedicationRequest.subject", + "path": "MedicationRequest.subject", + "short": "Who or group medication request is for", + "definition": "A link to a resource representing the person or set of individuals to whom the medication will be given.", + "comment": "The subject on a medication request is mandatory. For the secondary use case where the actual subject is not provided, there still must be an anonymized subject specified.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.subject", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.subject" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx/Patient\r\r(need detail to link to specific patient … Patient.Identification in SCRIPT)" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3-Patient ID List" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.patient" + } + ] + }, + { + "id": "MedicationRequest.encounter", + "path": "MedicationRequest.encounter", + "short": "Encounter created as part of encounter/admission/stay", + "definition": "The Encounter during which this [x] was created or to which the creation of this record is tightly associated.", + "comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.\" If there is a need to link to episodes of care they will be handled with an extension.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.context" + }, + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1-19-Visit Number" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code=\"type of encounter or episode\"]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.patient" + } + ] + }, + { + "id": "MedicationRequest.supportingInformation", + "path": "MedicationRequest.supportingInformation", + "short": "Information to support ordering of the medication", + "definition": "Include additional information (for example, patient height and weight) that supports the ordering of the medication.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.supportingInformation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.supportingInfo" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=PERT].target[A_SupportingClinicalStatement CMET minimal with many different choices of classCodes(ORG, ENC, PROC, SPLY, SBADM, OBS) and each of the act class codes draws from one or more of the following moodCodes (EVN, DEF, INT PRMS, RQO, PRP, APT, ARQ, GOL)]" + } + ] + }, + { + "id": "MedicationRequest.authoredOn", + "path": "MedicationRequest.authoredOn", + "short": "When request was initially authored", + "definition": "The date (and perhaps time) when the prescription was initially written or authored on.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.authoredOn", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.authoredOn" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/WrittenDate" + }, + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction" + }, + { + "identity": "rim", + "map": "author.time" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.dateWritten" + } + ] + }, + { + "id": "MedicationRequest.requester", + "path": "MedicationRequest.requester", + "short": "Who/What requested the Request", + "definition": "The individual, organization, or device that initiated the request and has responsibility for its activation.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.requester", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.requester" + }, + { + "identity": "w5", + "map": "FiveWs.author" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.prescriber" + } + ] + }, + { + "id": "MedicationRequest.performer", + "path": "MedicationRequest.performer", + "short": "Intended performer of administration", + "definition": "The specified desired performer of the medication treatment (e.g. the performer of the medication administration).", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.performer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.performer" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" + } + ] + }, + { + "id": "MedicationRequest.performerType", + "path": "MedicationRequest.performerType", + "short": "Desired kind of performer of the medication administration", + "definition": "Indicates the type of performer of the administration of the medication.", + "comment": "If specified without indicating a performer, this indicates that the performer must be of the specified type. If specified with a performer then it indicates the requirements of the performer if the designated performer is not available.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.performerType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestPerformerType" + } + ], + "strength": "example", + "description": "Identifies the type of individual that is desired to administer the medication.", + "valueSet": "http://hl7.org/fhir/ValueSet/performer-role" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.performerType" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF].role[scoper.determinerCode=KIND].code" + } + ] + }, + { + "id": "MedicationRequest.recorder", + "path": "MedicationRequest.recorder", + "short": "Person who entered the request", + "definition": "The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.recorder", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.who" + }, + { + "identity": "rim", + "map": ".participation[typeCode=TRANS].role[classCode=ASSIGNED].code (HealthcareProviderType)" + } + ] + }, + { + "id": "MedicationRequest.reasonCode", + "path": "MedicationRequest.reasonCode", + "short": "Reason or indication for ordering or not ordering the medication", + "definition": "The reason or the indication for ordering or not ordering the medication.", + "comment": "This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonReference.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.reasonCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestReason" + } + ], + "strength": "example", + "description": "A coded concept indicating why the medication was ordered.", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-code" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.reasonCode" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Diagnosis/Primary/Value" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "v2", + "map": "ORC-16-Order Control Code Reason /RXE-27-Give Indication/RXO-20-Indication / RXD-21-Indication / RXG-22-Indication / RXA-19-Indication" + }, + { + "identity": "rim", + "map": "reason.observation.reasonCode" + } + ] + }, + { + "id": "MedicationRequest.reasonReference", + "path": "MedicationRequest.reasonReference", + "short": "Condition or observation that supports why the prescription is being written", + "definition": "Condition or observation that supports why the medication was ordered.", + "comment": "This is a reference to a condition or observation that is the reason for the medication order. If only a code exists, use reasonCode.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.reasonReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition", + "http://hl7.org/fhir/StructureDefinition/Observation" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.reasonReference" + }, + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": "reason.observation[code=ASSERTION].value" + } + ] + }, + { + "id": "MedicationRequest.instantiatesCanonical", + "path": "MedicationRequest.instantiatesCanonical", + "short": "Instantiates FHIR protocol or definition", + "definition": "The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.instantiatesCanonical", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "canonical" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.instantiates" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "MedicationRequest.instantiatesUri", + "path": "MedicationRequest.instantiatesUri", + "short": "Instantiates external protocol or definition", + "definition": "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.instantiatesUri", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "MedicationRequest.basedOn", + "path": "MedicationRequest.basedOn", + "short": "What request fulfills", + "definition": "A plan or request that is fulfilled in whole or in part by this medication request.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.basedOn" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP]" + } + ] + }, + { + "id": "MedicationRequest.groupIdentifier", + "path": "MedicationRequest.groupIdentifier", + "short": "Composite request this is part of", + "definition": "A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.", + "requirements": "Requests are linked either by a \"basedOn\" relationship (i.e. one request is fulfilling another) or by having a common requisition. Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.groupIdentifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.groupIdentifier" + }, + { + "identity": "rim", + "map": ".outboundRelationship(typeCode=COMP].target[classCode=SBADM, moodCode=INT].id" + } + ] + }, + { + "id": "MedicationRequest.courseOfTherapyType", + "path": "MedicationRequest.courseOfTherapyType", + "short": "Overall pattern of medication administration", + "definition": "The description of the overall patte3rn of the administration of the medication to the patient.", + "comment": "This attribute should not be confused with the protocol of the medication.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.courseOfTherapyType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestCourseOfTherapy" + } + ], + "strength": "example", + "description": "Identifies the overall pattern of medication administratio.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy" + }, + "mapping": [ + { + "identity": "rim", + "map": "Act.code where classCode = LIST and moodCode = EVN" + } + ] + }, + { + "id": "MedicationRequest.insurance", + "path": "MedicationRequest.insurance", + "short": "Associated insurance coverage", + "definition": "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.insurance", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Coverage", + "http://hl7.org/fhir/StructureDefinition/ClaimResponse" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.insurance" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COVBY].target" + } + ] + }, + { + "id": "MedicationRequest.note", + "path": "MedicationRequest.note", + "short": "Information about the prescription", + "definition": "Extra information about the prescription that could not be conveyed by the other attributes.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.note" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Note" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code=\"annotation\"].value" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction", + "path": "MedicationRequest.dosageInstruction", + "short": "How the medication should be taken", + "definition": "Indicates how the medication is to be used by the patient.", + "comment": "There are examples where a medication request may include the option of an oral dose or an Intravenous or Intramuscular dose. For example, \"Ondansetron 8mg orally or IV twice a day as needed for nausea\" or \"Compazine® (prochlorperazine) 5-10mg PO or 25mg PR bid prn nausea or vomiting\". In these cases, two medication requests would be created that could be grouped together. The decision on which dose and route of administration to use is based on the patient's condition at the time the dose is needed.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.dosageInstruction", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Dosage" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.occurrence[x]" + }, + { + "identity": "rim", + "map": "see dosageInstruction mapping" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.id", + "path": "MedicationRequest.dosageInstruction.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.extension", + "path": "MedicationRequest.dosageInstruction.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.modifierExtension", + "path": "MedicationRequest.dosageInstruction.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.sequence", + "path": "MedicationRequest.dosageInstruction.sequence", + "short": "The order of the dosage instructions", + "definition": "Indicates the order in which the dosage instructions should be applied or interpreted.", + "requirements": "If the sequence number of multiple Dosages is the same, then it is implied that the instructions are to be treated as concurrent. If the sequence number is different, then the Dosages are intended to be sequential.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.sequence", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "integer" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "TQ1-1" + }, + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.text", + "path": "MedicationRequest.dosageInstruction.text", + "short": "Free text dosage instructions e.g. SIG", + "definition": "Free text dosage instructions e.g. SIG.", + "requirements": "Free text dosage instructions can be used for cases where the instructions are too complex to code. The content of this attribute does not include the name or description of the medication. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. It is expected that the text instructions will always be populated. If the dosage.timing attribute is also populated, then the dosage.text should reflect the same information as the timing. Additional information about administration or preparation of the medication should be included as text.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RXO-6; RXE-21" + }, + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.additionalInstruction", + "path": "MedicationRequest.dosageInstruction.additionalInstruction", + "short": "Supplemental instruction or warnings to the patient - e.g. \"with meals\", \"may cause drowsiness\"", + "definition": "Supplemental instructions to the patient on how to take the medication (e.g. \"with meals\" or\"take half to one hour before food\") or warnings for the patient about the medication (e.g. \"may cause drowsiness\" or \"avoid exposure of skin to direct sunlight or sunlamps\").", + "comment": "Information about administration or preparation of the medication (e.g. \"infuse as rapidly as possibly via intraperitoneal port\" or \"immediately following drug x\") should be populated in dosage.text.", + "requirements": "Additional instruction is intended to be coded, but where no code exists, the element could include text. For example, \"Swallow with plenty of water\" which might or might not be coded.", + "min": 0, + "max": "*", + "base": { + "path": "Dosage.additionalInstruction", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AdditionalInstruction" + } + ], + "strength": "example", + "description": "A coded concept identifying additional instructions such as \"take with water\" or \"avoid operating heavy machinery\".", + "valueSet": "http://hl7.org/fhir/ValueSet/additional-instruction-codes" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXO-7" + }, + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.patientInstruction", + "path": "MedicationRequest.dosageInstruction.patientInstruction", + "short": "Patient or consumer oriented instructions", + "definition": "Instructions in terms that are understood by the patient or consumer.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.patientInstruction", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RXO-7" + }, + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.timing", + "path": "MedicationRequest.dosageInstruction.timing", + "short": "When medication should be administered", + "definition": "When medication should be administered.", + "comment": "This attribute might not always be populated while the Dosage.text is expected to be populated. If both are populated, then the Dosage.text should reflect the content of the Dosage.timing.", + "requirements": "The timing schedule for giving the medication to the patient. This data type allows many different expressions. For example: \"Every 8 hours\"; \"Three times a day\"; \"1/2 an hour before breakfast for 10 days from 23-Dec 2011:\"; \"15 Oct 2013, 17 Oct 2013 and 1 Nov 2013\". Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.timing", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Timing" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.asNeeded[x]", + "path": "MedicationRequest.dosageInstruction.asNeeded[x]", + "short": "Take \"as needed\" (for x)", + "definition": "Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).", + "comment": "Can express \"as needed\" without a reason by setting the Boolean = True. In this case the CodeableConcept is not populated. Or you can express \"as needed\" with a reason by including the CodeableConcept. In this case the Boolean is assumed to be True. If you set the Boolean to False, then the dose is given according to the schedule and is not \"prn\" or \"as needed\".", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.asNeeded[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + }, + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationAsNeededReason" + } + ], + "strength": "example", + "description": "A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example \"pain\", \"30 minutes prior to sexual intercourse\", \"on flare-up\" etc.", + "valueSet": "http://hl7.org/fhir/ValueSet/medication-as-needed-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "TQ1-9" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code=\"as needed\"].value=boolean or codable concept" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.site", + "path": "MedicationRequest.dosageInstruction.site", + "short": "Body site to administer to", + "definition": "Body site to administer to.", + "comment": "If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](http://hl7.org/fhir/R4/extension-bodysite.html). May be a summary code, or a reference to a very precise definition of the location, or both.", + "requirements": "A coded specification of the anatomic site where the medication first enters the body.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.site", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationAdministrationSite" + } + ], + "strength": "example", + "description": "A coded concept describing the site location the medicine enters into or onto the body.", + "valueSet": "http://hl7.org/fhir/ValueSet/approach-site-codes" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXR-2" + }, + { + "identity": "rim", + "map": ".approachSiteCode" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.route", + "path": "MedicationRequest.dosageInstruction.route", + "short": "How drug should enter body", + "definition": "How drug should enter body.", + "requirements": "A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.route", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "RouteOfAdministration" + } + ], + "strength": "example", + "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.", + "valueSet": "http://hl7.org/fhir/ValueSet/route-codes" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXR-1" + }, + { + "identity": "rim", + "map": ".routeCode" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.method", + "path": "MedicationRequest.dosageInstruction.method", + "short": "Technique for administering medication", + "definition": "Technique for administering medication.", + "comment": "Terminologies used often pre-coordinate this term with the route and or form of administration.", + "requirements": "A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. For examples, Slow Push; Deep IV.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationAdministrationMethod" + } + ], + "strength": "example", + "description": "A coded concept describing the technique by which the medicine is administered.", + "valueSet": "http://hl7.org/fhir/ValueSet/administration-method-codes" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXR-4" + }, + { + "identity": "rim", + "map": ".doseQuantity" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate", + "path": "MedicationRequest.dosageInstruction.doseAndRate", + "short": "Amount of medication administered", + "definition": "The amount of medication administered.", + "min": 0, + "max": "*", + "base": { + "path": "Dosage.doseAndRate", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Element" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "TQ1-2" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate.id", + "path": "MedicationRequest.dosageInstruction.doseAndRate.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate.extension", + "path": "MedicationRequest.dosageInstruction.doseAndRate.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate.type", + "path": "MedicationRequest.dosageInstruction.doseAndRate.type", + "short": "The kind of dose or rate specified", + "definition": "The kind of dose or rate specified, for example, ordered or calculated.", + "requirements": "If the type is not populated, assume to be \"ordered\".", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.doseAndRate.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DoseAndRateType" + } + ], + "strength": "example", + "description": "The kind of dose or rate specified.", + "valueSet": "http://hl7.org/fhir/ValueSet/dose-rate-type" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXO-21; RXE-23" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]", + "short": "Amount of medication per dose", + "definition": "Amount of medication per dose.", + "comment": "Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours.", + "requirements": "The amount of therapeutic or other substance given at one administration event.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.doseAndRate.dose[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + }, + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RXO-2, RXE-3" + }, + { + "identity": "rim", + "map": ".doseQuantity" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]", + "short": "Amount of medication per unit of time", + "definition": "Amount of medication per unit of time.", + "comment": "It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate.\r\rIt is possible to specify a rate over time (for example, 100 ml/hour) using either the rateRatio and rateQuantity. The rateQuantity approach requires systems to have the capability to parse UCUM grammer where ml/hour is included rather than a specific ratio where the time is specified as the denominator. Where a rate such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically correct than specifying using a rateQuantity of 250 mg/hour.", + "requirements": "Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours. Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.doseAndRate.rate[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Ratio" + }, + { + "code": "Range" + }, + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RXE22, RXE23, RXE-24" + }, + { + "identity": "rim", + "map": ".rateQuantity" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.maxDosePerPeriod", + "path": "MedicationRequest.dosageInstruction.maxDosePerPeriod", + "short": "Upper limit on medication per unit of time", + "definition": "Upper limit on medication per unit of time.", + "comment": "This is intended for use as an adjunct to the dosage when there is an upper cap. For example \"2 tablets every 4 hours to a maximum of 8/day\".", + "requirements": "The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. For example, 1000mg in 24 hours.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.maxDosePerPeriod", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Ratio" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RXO-23, RXE-19" + }, + { + "identity": "rim", + "map": ".maxDoseQuantity" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.maxDosePerAdministration", + "path": "MedicationRequest.dosageInstruction.maxDosePerAdministration", + "short": "Upper limit on medication per administration", + "definition": "Upper limit on medication per administration.", + "comment": "This is intended for use as an adjunct to the dosage when there is an upper cap. For example, a body surface area related dose with a maximum amount, such as 1.5 mg/m2 (maximum 2 mg) IV over 5 – 10 minutes would have doseQuantity of 1.5 mg/m2 and maxDosePerAdministration of 2 mg.", + "requirements": "The maximum total quantity of a therapeutic substance that may be administered to a subject per administration.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.maxDosePerAdministration", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "not supported" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.maxDosePerLifetime", + "path": "MedicationRequest.dosageInstruction.maxDosePerLifetime", + "short": "Upper limit on medication per lifetime of the patient", + "definition": "Upper limit on medication per lifetime of the patient.", + "requirements": "The maximum total quantity of a therapeutic substance that may be administered per lifetime of the subject.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.maxDosePerLifetime", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "not supported" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest", + "path": "MedicationRequest.dispenseRequest", + "short": "Medication supply authorization", + "definition": "Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/ExpirationDate" + }, + { + "identity": "rim", + "map": "component.supplyEvent" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.id", + "path": "MedicationRequest.dispenseRequest.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.extension", + "path": "MedicationRequest.dispenseRequest.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.modifierExtension", + "path": "MedicationRequest.dispenseRequest.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill", + "path": "MedicationRequest.dispenseRequest.initialFill", + "short": "First fill details", + "definition": "Indicates the quantity or duration for the first dispense of the medication.", + "comment": "If populating this element, either the quantity or the duration must be included.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.initialFill", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration -> ActRelationship[sequenceNumber = '1'] -> Supply" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill.id", + "path": "MedicationRequest.dispenseRequest.initialFill.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill.extension", + "path": "MedicationRequest.dispenseRequest.initialFill.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill.modifierExtension", + "path": "MedicationRequest.dispenseRequest.initialFill.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill.quantity", + "path": "MedicationRequest.dispenseRequest.initialFill.quantity", + "short": "First fill quantity", + "definition": "The amount or quantity to provide as part of the first dispense.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.initialFill.quantity", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Supply.quantity[moodCode=RQO]" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill.duration", + "path": "MedicationRequest.dispenseRequest.initialFill.duration", + "short": "First fill duration", + "definition": "The length of time that the first dispense is expected to last.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.initialFill.duration", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Duration" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Supply.effectivetime[moodCode=RQO]" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.dispenseInterval", + "path": "MedicationRequest.dispenseRequest.dispenseInterval", + "short": "Minimum period of time between dispenses", + "definition": "The minimum period of time that must occur between dispenses of the medication.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.dispenseInterval", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Duration" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Supply.effectivetime[moodCode=RQO]" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.validityPeriod", + "path": "MedicationRequest.dispenseRequest.validityPeriod", + "short": "Time period supply is authorized for", + "definition": "This indicates the validity period of a prescription (stale dating the Prescription).", + "comment": "It reflects the prescribers' perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations.", + "requirements": "Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.validityPeriod", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Refills" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", + "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", + "short": "Number of refills authorized", + "definition": "An integer indicating the number of times, in addition to the original dispense, (aka refills or repeats) that the patient can receive the prescribed medication. Usage Notes: This integer does not include the original order dispense. This means that if an order indicates dispense 30 tablets plus \"3 repeats\", then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets. A prescriber may explicitly say that zero refills are permitted after the initial dispense.", + "comment": "If displaying \"number of authorized fills\", add 1 to this number.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "unsignedInt" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Quantity" + }, + { + "identity": "v2", + "map": "RXE-12-Number of Refills" + }, + { + "identity": "rim", + "map": "repeatNumber" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.quantity", + "path": "MedicationRequest.dispenseRequest.quantity", + "short": "Amount of medication to supply per dispense", + "definition": "The amount that is to be dispensed for one fill.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.quantity", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/DaysSupply" + }, + { + "identity": "v2", + "map": "RXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system" + }, + { + "identity": "rim", + "map": "quantity" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration", + "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration", + "short": "Number of days supply per dispense", + "definition": "Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last.", + "comment": "In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage). When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Duration" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Substitutions" + }, + { + "identity": "rim", + "map": "expectedUseTime" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.performer", + "path": "MedicationRequest.dispenseRequest.performer", + "short": "Intended dispenser", + "definition": "Indicates the intended dispensing Organization specified by the prescriber.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.performer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.who" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target[classCode=SPLY, moodCode=RQO] .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" + } + ] + }, + { + "id": "MedicationRequest.substitution", + "path": "MedicationRequest.substitution", + "short": "Any restrictions on medication substitution", + "definition": "Indicates whether or not substitution can or should be part of the dispense. In some cases, substitution must happen, in other cases substitution must not happen. This block explains the prescriber's intent. If nothing is specified substitution may be done.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.substitution", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions" + }, + { + "identity": "rim", + "map": "subjectOf.substitutionPersmission" + } + ] + }, + { + "id": "MedicationRequest.substitution.id", + "path": "MedicationRequest.substitution.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.substitution.extension", + "path": "MedicationRequest.substitution.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.substitution.modifierExtension", + "path": "MedicationRequest.substitution.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.substitution.allowed[x]", + "path": "MedicationRequest.substitution.allowed[x]", + "short": "Whether substitution is allowed or not", + "definition": "True if the prescriber allows a different drug to be dispensed from what was prescribed.", + "comment": "This element is labeled as a modifier because whether substitution is allow or not, it cannot be ignored.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.substitution.allowed[x]", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "boolean" + }, + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestSubstitution" + } + ], + "strength": "example", + "description": "Identifies the type of substitution allowed.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode" + }, + "mapping": [ + { + "identity": "script10.6", + "map": "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions" + }, + { + "identity": "v2", + "map": "RXO-9-Allow Substitutions / RXE-9-Substitution Status" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "MedicationRequest.substitution.reason", + "path": "MedicationRequest.substitution.reason", + "short": "Why should (not) substitution be made", + "definition": "Indicates the reason for the substitution, or why substitution must or must not be performed.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.substitution.reason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationIntendedSubstitutionReason" + } + ], + "strength": "example", + "description": "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason" + }, + "mapping": [ + { + "identity": "script10.6", + "map": "not mapped" + }, + { + "identity": "v2", + "map": "RXE-9 Substition status" + }, + { + "identity": "rim", + "map": "reasonCode" + } + ] + }, + { + "id": "MedicationRequest.priorPrescription", + "path": "MedicationRequest.priorPrescription", + "short": "An order/prescription that is being replaced", + "definition": "A link to a resource representing an earlier order related order or prescription.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.priorPrescription", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.replaces" + }, + { + "identity": "script10.6", + "map": "not mapped" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO]" + } + ] + }, + { + "id": "MedicationRequest.detectedIssue", + "path": "MedicationRequest.detectedIssue", + "short": "Clinical Issue with action", + "definition": "Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, duplicate therapy, dosage alert etc.", + "comment": "This element can include a detected issue that has been identified either by a decision support system or by a clinician and may include information on the steps that were taken to address the issue.", + "alias": [ + "Contraindication", + "Drug Utilization Review (DUR)", + "Alert" + ], + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.detectedIssue", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DetectedIssue" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=ALRT,moodCode=EVN].value" + } + ] + }, + { + "id": "MedicationRequest.eventHistory", + "path": "MedicationRequest.eventHistory", + "short": "A list of events of interest in the lifecycle", + "definition": "Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.", + "comment": "This might not include provenances for all versions of the request – only those deemed “relevant” or important. This SHALL NOT include the provenance associated with this current version of the resource. (If that provenance is deemed to be a “relevant” change, it will need to be added as part of a later update. Until then, it can be queried directly as the provenance that points to this version using _revinclude All Provenances should have some historical version of this Request as their subject.).", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.eventHistory", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Provenance" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.relevantHistory" + }, + { + "identity": "rim", + "map": ".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "MedicationRequest", + "path": "MedicationRequest", + "definition": "The US Core Medication Request (Order) Profile is based upon the core FHIR MedicationRequest Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder" + } + ] + }, + { + "id": "MedicationRequest.status", + "path": "MedicationRequest.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "description": "A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.intent", + "path": "MedicationRequest.intent", + "min": 1, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "required", + "description": "The kind of medication order.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-intent" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.reported[x]", + "path": "MedicationRequest.reported[x]", + "min": 0, + "max": "1", + "type": [ + { + "code": "boolean" + }, + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.medication[x]", + "path": "MedicationRequest.medication[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication|3.1.1" + ] + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Prescribable medications", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes|3.1.1" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.medication[x]" + } + ] + }, + { + "id": "MedicationRequest.subject", + "path": "MedicationRequest.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.patient" + } + ] + }, + { + "id": "MedicationRequest.encounter", + "path": "MedicationRequest.encounter", + "min": 0, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.patient" + } + ] + }, + { + "id": "MedicationRequest.authoredOn", + "path": "MedicationRequest.authoredOn", + "min": 1, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.dateWritten" + } + ] + }, + { + "id": "MedicationRequest.requester", + "path": "MedicationRequest.requester", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.prescriber" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction", + "path": "MedicationRequest.dosageInstruction", + "mustSupport": true + }, + { + "id": "MedicationRequest.dosageInstruction.text", + "path": "MedicationRequest.dosageInstruction.text", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-observation-lab.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-observation-lab.json new file mode 100644 index 00000000000..62ed10d2e18 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-observation-lab.json @@ -0,0 +1,3093 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-observation-lab", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", + "version": "3.1.1", + "name": "USCoreLaboratoryResultObservationProfile", + "title": "US Core Laboratory Result Observation Profile", + "status": "active", + "experimental": false, + "date": "2020-06-27", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the Observation resource for the minimal set of data to query and retrieve laboratory test results", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "uri": "http://unknown.org/Argonaut-DQ-DSTU2", + "name": "Argonaut-DQ-DSTU2" + }, + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "Measurements and simple assertions", + "definition": "This profile is created to meet the 2015 Edition Common Clinical Data Set 'Laboratory test(s) and Laboratory value(s)/result(s)' requirements.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.status" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.category" + } + ] + }, + { + "id": "Observation.category:Laboratory", + "path": "Observation.category", + "sliceName": "Laboratory", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.category" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Laboratory Test Name", + "definition": "The test that was performed. A LOINC **SHALL** be used if the concept is present in LOINC.", + "comment": "The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists. When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "alias": [ + "Name", + "Test Name", + "Observation Identifer" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.code" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/R4/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Clinically relevant time/time-period for observation", + "definition": "For lab tests this is the specimen collection date. For Ask at Order Entry Questions (AOE)'s this is the date the question was asked.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/R4/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "us-core-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.effective[x]" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/R4/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Result Value", + "definition": "The Laboratory result value. If a coded value, the valueCodeableConcept.code **SHOULD** be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults). If a numeric value, valueQuantity.code **SHALL** be selected from [UCUM](http://unitsofmeasure.org). A FHIR [UCUM Codes value set](http://hl7.org/fhir/STU3/valueset-ucum-units.html) that defines all UCUM codes is in the FHIR specification.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7", + "us-core-2", + "us-core-3", + "us-core-4" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "us-core-4", + "severity": "warning", + "human": "SHOULD use Snomed CT for coded Results", + "expression": "valueCodeableConcept.coding.system.empty() or valueCodeableConcept.coding.system = 'http://snomed.info/sct'", + "xpath": "not(exists(f:valueCodeableConcept/f:coding/f:system) ) or f:valueCodeableConcept/f:coding/f:system[@value='http://snomed.info/sct']" + }, + { + "key": "us-core-3", + "severity": "error", + "human": "SHALL use UCUM for coded quantity units.", + "expression": "valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'", + "xpath": "not(exists(f:valueQuantity/f:system) ) or f:valueQuantity/f:system[@value='http://unitsofmeasure.org']" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.value[x]" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "us-core-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.dataAbsentReason" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/R4/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Related resource that belongs to the Observation group", + "definition": "This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component results", + "definition": "Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCode" + } + ], + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "definition": "This profile is created to meet the 2015 Edition Common Clinical Data Set 'Laboratory test(s) and Laboratory value(s)/result(s)' requirements.", + "constraint": [ + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation" + } + ] + }, + { + "id": "Observation.status", + "path": "Observation.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.status" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.category" + } + ] + }, + { + "id": "Observation.category:Laboratory", + "path": "Observation.category", + "sliceName": "Laboratory", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory" + } + ] + }, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.category" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Laboratory Test Name", + "definition": "The test that was performed. A LOINC **SHALL** be used if the concept is present in LOINC.", + "comment": "The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists. When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display.", + "alias": [ + "Test Name", + "Observation Identifer" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.code" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.subject" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "definition": "For lab tests this is the specimen collection date. For Ask at Order Entry Questions (AOE)'s this is the date the question was asked.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "us-core-1" + ], + "constraint": [ + { + "key": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.effective[x]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Result Value", + "definition": "The Laboratory result value. If a coded value, the valueCodeableConcept.code **SHOULD** be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults). If a numeric value, valueQuantity.code **SHALL** be selected from [UCUM](http://unitsofmeasure.org). A FHIR [UCUM Codes value set](http://hl7.org/fhir/STU3/valueset-ucum-units.html) that defines all UCUM codes is in the FHIR specification.", + "min": 0, + "max": "1", + "condition": [ + "us-core-2", + "us-core-3", + "us-core-4" + ], + "constraint": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "us-core-4", + "severity": "warning", + "human": "SHOULD use Snomed CT for coded Results", + "expression": "valueCodeableConcept.coding.system.empty() or valueCodeableConcept.coding.system = 'http://snomed.info/sct'", + "xpath": "not(exists(f:valueCodeableConcept/f:coding/f:system) ) or f:valueCodeableConcept/f:coding/f:system[@value='http://snomed.info/sct']" + }, + { + "key": "us-core-3", + "severity": "error", + "human": "SHALL use UCUM for coded quantity units.", + "expression": "valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'", + "xpath": "not(exists(f:valueQuantity/f:system) ) or f:valueQuantity/f:system[@value='http://unitsofmeasure.org']" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.value[x]" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "us-core-2" + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.dataAbsentReason" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-organization.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-organization.json new file mode 100644 index 00000000000..d45bab5ec68 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-organization.json @@ -0,0 +1,2739 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-organization", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "version": "3.1.1", + "name": "USCoreOrganizationProfile", + "title": "US Core Organization Profile", + "status": "active", + "experimental": false, + "date": "2020-06-29", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines basic constraints and extensions on the Organization resource for use with other US Core resources", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "servd", + "uri": "http://www.omg.org/spec/ServD/1.0/", + "name": "ServD" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Organization", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Organization", + "path": "Organization", + "short": "A grouping of people or organizations with a common purpose", + "definition": "A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, payer/insurer, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Organization", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "org-1", + "severity": "error", + "human": "The organization SHALL at least have a name or an identifier, and possibly more than one", + "expression": "(identifier.count() + name.count()) > 0", + "xpath": "count(f:identifier | f:name) > 0", + "source": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "(also see master files messages)" + }, + { + "identity": "rim", + "map": "Organization(classCode=ORG, determinerCode=INST)" + }, + { + "identity": "servd", + "map": "Organization" + } + ] + }, + { + "id": "Organization.id", + "path": "Organization.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Organization.meta", + "path": "Organization.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Organization.implicitRules", + "path": "Organization.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Organization.language", + "path": "Organization.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Organization.text", + "path": "Organization.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Organization.contained", + "path": "Organization.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization.extension", + "path": "Organization.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization.modifierExtension", + "path": "Organization.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization.identifier", + "path": "Organization.identifier", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Identifies this organization across multiple systems", + "definition": "Identifier for the organization that is used to identify the organization across multiple disparate systems.", + "comment": "NPI preferred.", + "requirements": "Organizations are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the organization.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "condition": [ + "org-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "XON.10 / XON.3" + }, + { + "identity": "rim", + "map": ".scopes[Role](classCode=IDENT)" + }, + { + "identity": "servd", + "map": "./Identifiers" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.identifier.id", + "path": "Organization.identifier.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.identifier.extension", + "path": "Organization.identifier.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.identifier.use", + "path": "Organization.identifier.use", + "short": "usual | official | temp | secondary | old (If known)", + "definition": "The purpose of this identifier.", + "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.", + "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierUse" + } + ], + "strength": "required", + "description": "Identifies the purpose for this identifier, if known .", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Organization.identifier.type", + "path": "Organization.identifier.type", + "short": "Description of identifier", + "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.", + "comment": "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.", + "requirements": "Allows users to make use of identifiers when the identifier system is not known.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierType" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-type" + }, + "mapping": [ + { + "identity": "v2", + "map": "CX.5" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Organization.identifier.system", + "path": "Organization.identifier.system", + "short": "The namespace for the identifier value", + "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.", + "comment": "Identifier.system is always case sensitive.", + "requirements": "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "example": [ + { + "label": "General", + "valueUri": "http://www.acme.com/identifiers/patient" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / EI-2-4" + }, + { + "identity": "rim", + "map": "II.root or Role.id.root" + }, + { + "identity": "servd", + "map": "./IdentifierType" + } + ] + }, + { + "id": "Organization.identifier.value", + "path": "Organization.identifier.value", + "short": "The value that is unique", + "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.", + "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "123456" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.1 / EI.1" + }, + { + "identity": "rim", + "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "Organization.identifier.period", + "path": "Organization.identifier.period", + "short": "Time period when id is/was valid for use", + "definition": "Time period during which identifier is/was valid for use.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.7 + CX.8" + }, + { + "identity": "rim", + "map": "Role.effectiveTime or implied by context" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Organization.identifier.assigner", + "path": "Organization.identifier.assigner", + "short": "Organization that issued id (may be just text)", + "definition": "Organization that issued/manages the identifier.", + "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.assigner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / (CX.4,CX.9,CX.10)" + }, + { + "identity": "rim", + "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" + }, + { + "identity": "servd", + "map": "./IdentifierIssuingAuthority" + } + ] + }, + { + "id": "Organization.identifier:NPI", + "path": "Organization.identifier", + "sliceName": "NPI", + "short": "National Provider Identifier (NPI)", + "definition": "Identifier for the organization that is used to identify the organization across multiple disparate systems.", + "requirements": "Organizations are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the organization.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "patternIdentifier": { + "system": "http://hl7.org/fhir/sid/us-npi" + }, + "condition": [ + "org-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "XON.10 / XON.3" + }, + { + "identity": "rim", + "map": ".scopes[Role](classCode=IDENT)" + }, + { + "identity": "servd", + "map": "./Identifiers" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.identifier:CLIA", + "path": "Organization.identifier", + "sliceName": "CLIA", + "short": "Clinical Laboratory Improvement Amendments (CLIA) Number for laboratories", + "definition": "Identifier for the organization that is used to identify the organization across multiple disparate systems.", + "requirements": "Organizations are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the organization.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "patternIdentifier": { + "system": "urn:oid:2.16.840.1.113883.4.7" + }, + "condition": [ + "org-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "XON.10 / XON.3" + }, + { + "identity": "rim", + "map": ".scopes[Role](classCode=IDENT)" + }, + { + "identity": "servd", + "map": "./Identifiers" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.active", + "path": "Organization.active", + "short": "Whether the organization's record is still in active use", + "definition": "Whether the organization's record is still in active use.", + "comment": "This active flag is not intended to be used to mark an organization as temporarily closed or under construction. Instead the Location(s) within the Organization should have the suspended status. If further details of the reason for the suspension are required, then an extension on this element should be used.\n\nThis element is labeled as a modifier because it may be used to mark that the resource was created in error.", + "requirements": "Need a flag to indicate a record is no longer to be used and should generally be hidden for the user in the UI.", + "min": 1, + "max": "1", + "base": { + "path": "Organization.active", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid", + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "No equivalent in HL7 v2" + }, + { + "identity": "rim", + "map": ".status" + }, + { + "identity": "servd", + "map": "./Status (however this concept in ServD more covers why the organization is active or not, could be delisted, deregistered, not operational yet) this could alternatively be derived from ./StartDate and ./EndDate and given a context date." + } + ] + }, + { + "id": "Organization.type", + "path": "Organization.type", + "short": "Kind of organization", + "definition": "The kind(s) of organization that this is.", + "comment": "Organizations can be corporations, wards, sections, clinical teams, government departments, etc. Note that code is generally a classifier of the type of organization; in many applications, codes are used to identity a particular organization (say, ward) as opposed to another of the same type - these are identifiers, not codes\n\nWhen considering if multiple types are appropriate, you should evaluate if child organizations would be a more appropriate use of the concept, as different types likely are in different sub-areas of the organization. This is most likely to be used where type values have orthogonal values, such as a religious, academic and medical center.\n\nWe expect that some jurisdictions will profile this optionality to be a single cardinality.", + "requirements": "Need to be able to track the kind of organization that this is - different organization types have different uses.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.type", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "OrganizationType" + } + ], + "strength": "example", + "description": "Used to categorize the organization.", + "valueSet": "http://hl7.org/fhir/ValueSet/organization-type" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "No equivalent in v2" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.name", + "path": "Organization.name", + "short": "Name used for the organization", + "definition": "A name associated with the organization.", + "comment": "If the name of an organization changes, consider putting the old name in the alias column so that it can still be located through searches.", + "requirements": "Need to use the name as the label of the organization.", + "min": 1, + "max": "1", + "base": { + "path": "Organization.name", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "org-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XON.1" + }, + { + "identity": "rim", + "map": ".name" + }, + { + "identity": "servd", + "map": ".PreferredName/Name" + }, + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + } + ] + }, + { + "id": "Organization.alias", + "path": "Organization.alias", + "short": "A list of alternate names that the organization is known as, or was known as in the past", + "definition": "A list of alternate names that the organization is known as, or was known as in the past.", + "comment": "There are no dates associated with the alias/historic names, as this is not intended to track when names were used, but to assist in searching so that older names can still result in identifying the organization.", + "requirements": "Over time locations and organizations go through many changes and can be known by different names.\n\nFor searching knowing previous names that the organization was known by can be very useful.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.alias", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".name" + } + ] + }, + { + "id": "Organization.telecom", + "path": "Organization.telecom", + "short": "A contact detail for the organization", + "definition": "A contact detail for the organization.", + "comment": "The use code 'home' is not to be used. Note that these contacts are not the contact details of people who are employed by or represent the organization, but official contacts for the organization itself.", + "requirements": "Human contact for the organization.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "condition": [ + "org-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "org-3", + "severity": "error", + "human": "The telecom of an organization can never be of use 'home'", + "expression": "where(use = 'home').empty()", + "xpath": "count(f:use[@value='home']) = 0", + "source": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "ORC-22?" + }, + { + "identity": "rim", + "map": ".telecom" + }, + { + "identity": "servd", + "map": "./ContactPoints" + } + ] + }, + { + "id": "Organization.address", + "path": "Organization.address", + "short": "An address for the organization", + "definition": "An address for the organization.", + "comment": "Organization may have multiple addresses with different uses or applicable periods. The use code 'home' is not to be used.", + "requirements": "May need to keep track of the organization's addresses for contacting, billing or reporting requirements.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.address", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Address" + } + ], + "condition": [ + "org-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "org-2", + "severity": "error", + "human": "An address of an organization can never be of use 'home'", + "expression": "where(use = 'home').empty()", + "xpath": "count(f:use[@value='home']) = 0", + "source": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "ORC-23?" + }, + { + "identity": "rim", + "map": ".address" + }, + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.address.id", + "path": "Organization.address.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.address.extension", + "path": "Organization.address.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.address.use", + "path": "Organization.address.use", + "short": "home | work | temp | old | billing - purpose of this address", + "definition": "The purpose of this address.", + "comment": "Applications can assume that an address is current unless it explicitly says that it is temporary or old.", + "requirements": "Allows an appropriate address to be chosen from a list of many.", + "min": 0, + "max": "1", + "base": { + "path": "Address.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "home" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AddressUse" + } + ], + "strength": "required", + "description": "The use of an address.", + "valueSet": "http://hl7.org/fhir/ValueSet/address-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.7" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./AddressPurpose" + } + ] + }, + { + "id": "Organization.address.type", + "path": "Organization.address.type", + "short": "postal | physical | both", + "definition": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.", + "comment": "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R4/location.html#) resource).", + "min": 0, + "max": "1", + "base": { + "path": "Address.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "both" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AddressType" + } + ], + "strength": "required", + "description": "The type of an address (physical / postal).", + "valueSet": "http://hl7.org/fhir/ValueSet/address-type|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.18" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "vcard", + "map": "address type parameter" + } + ] + }, + { + "id": "Organization.address.text", + "path": "Organization.address.text", + "short": "Text representation of the address", + "definition": "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.", + "comment": "Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "Address.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street, Erewhon 9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6" + }, + { + "identity": "rim", + "map": "./formatted" + }, + { + "identity": "vcard", + "map": "address label parameter" + } + ] + }, + { + "id": "Organization.address.line", + "path": "Organization.address.line", + "short": "Street name, number, direction & P.O. Box etc.", + "definition": "This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.", + "min": 0, + "max": "4", + "base": { + "path": "Address.line", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "The order in which lines should appear in an address label", + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)" + }, + { + "identity": "rim", + "map": "AD.part[parttype = AL]" + }, + { + "identity": "vcard", + "map": "street" + }, + { + "identity": "servd", + "map": "./StreetAddress (newline delimitted)" + } + ] + }, + { + "id": "Organization.address.city", + "path": "Organization.address.city", + "short": "Name of city, town etc.", + "definition": "The name of the city, town, suburb, village or other community or delivery center.", + "alias": [ + "Municpality" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.city", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Erewhon" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.3" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CTY]" + }, + { + "identity": "vcard", + "map": "locality" + }, + { + "identity": "servd", + "map": "./Jurisdiction" + } + ] + }, + { + "id": "Organization.address.district", + "path": "Organization.address.district", + "short": "District name (aka county)", + "definition": "The name of the administrative area (county).", + "comment": "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.", + "alias": [ + "County" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.district", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Madison" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.9" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT | CPA]" + } + ] + }, + { + "id": "Organization.address.state", + "path": "Organization.address.state", + "short": "Sub-unit of country (abbreviations ok)", + "definition": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).", + "alias": [ + "Province", + "Territory" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.state", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Two letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state|3.1.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.4" + }, + { + "identity": "rim", + "map": "AD.part[parttype = STA]" + }, + { + "identity": "vcard", + "map": "region" + }, + { + "identity": "servd", + "map": "./Region" + }, + { + "identity": "servd", + "map": "./Sites" + } + ] + }, + { + "id": "Organization.address.postalCode", + "path": "Organization.address.postalCode", + "short": "US Zip Codes", + "definition": "A postal code designating a region defined by the postal service.", + "alias": [ + "Zip" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.postalCode", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.5" + }, + { + "identity": "rim", + "map": "AD.part[parttype = ZIP]" + }, + { + "identity": "vcard", + "map": "code" + }, + { + "identity": "servd", + "map": "./PostalIdentificationCode" + } + ] + }, + { + "id": "Organization.address.country", + "path": "Organization.address.country", + "short": "Country (e.g. can be ISO 3166 2 or 3 letter code)", + "definition": "Country - a nation as commonly understood or generally accepted.", + "comment": "ISO 3166 3 letter codes can be used in place of a human readable country name.", + "min": 0, + "max": "1", + "base": { + "path": "Address.country", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.6" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT]" + }, + { + "identity": "vcard", + "map": "country" + }, + { + "identity": "servd", + "map": "./Country" + } + ] + }, + { + "id": "Organization.address.period", + "path": "Organization.address.period", + "short": "Time period when address was/is in use", + "definition": "Time period when address was/is in use.", + "requirements": "Allows addresses to be placed in historical context.", + "min": 0, + "max": "1", + "base": { + "path": "Address.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "example": [ + { + "label": "General", + "valuePeriod": { + "start": "2010-03-23", + "end": "2010-07-01" + } + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.12 / XAD.13 + XAD.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Organization.partOf", + "path": "Organization.partOf", + "short": "The organization of which this organization forms a part", + "definition": "The organization of which this organization forms a part.", + "requirements": "Need to be able to track the hierarchy of organizations within an organization.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.partOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "No equivalent in HL7 v2" + }, + { + "identity": "rim", + "map": ".playedBy[classCode=Part].scoper" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.contact", + "path": "Organization.contact", + "short": "Contact for the organization for a certain purpose", + "definition": "Contact for the organization for a certain purpose.", + "comment": "Where multiple contacts for the same purpose are provided there is a standard extension that can be used to determine which one is the preferred contact to use.", + "requirements": "Need to keep track of assigned contact points within bigger organization.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.contact", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".contactParty" + } + ] + }, + { + "id": "Organization.contact.id", + "path": "Organization.contact.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.contact.extension", + "path": "Organization.contact.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.contact.modifierExtension", + "path": "Organization.contact.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization.contact.purpose", + "path": "Organization.contact.purpose", + "short": "The type of contact", + "definition": "Indicates a purpose for which the contact can be reached.", + "requirements": "Need to distinguish between multiple contact persons.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.contact.purpose", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactPartyType" + } + ], + "strength": "extensible", + "description": "The purpose for which you would contact a contact party.", + "valueSet": "http://hl7.org/fhir/ValueSet/contactentity-type" + }, + "mapping": [ + { + "identity": "rim", + "map": "./type" + } + ] + }, + { + "id": "Organization.contact.name", + "path": "Organization.contact.name", + "short": "A name associated with the contact", + "definition": "A name associated with the contact.", + "requirements": "Need to be able to track the person by name.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.contact.name", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "HumanName" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-5, PID-9" + }, + { + "identity": "rim", + "map": "./name" + } + ] + }, + { + "id": "Organization.contact.telecom", + "path": "Organization.contact.telecom", + "short": "Contact details (telephone, email, etc.) for a contact", + "definition": "A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.", + "requirements": "People have (primary) ways to contact them in some way such as phone, email.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.contact.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-13, PID-14" + }, + { + "identity": "rim", + "map": "./telecom" + } + ] + }, + { + "id": "Organization.contact.address", + "path": "Organization.contact.address", + "short": "Visiting or postal addresses for the contact", + "definition": "Visiting or postal addresses for the contact.", + "requirements": "May need to keep track of a contact party's address for contacting, billing or reporting requirements.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.contact.address", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Address" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-11" + }, + { + "identity": "rim", + "map": "./addr" + } + ] + }, + { + "id": "Organization.endpoint", + "path": "Organization.endpoint", + "short": "Technical endpoints providing access to services operated for the organization", + "definition": "Technical endpoints providing access to services operated for the organization.", + "requirements": "Organizations have multiple systems that provide various services and need to be able to define the technical connection details for how to connect to them, and for what purpose.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.endpoint", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Endpoint" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Organization", + "path": "Organization", + "mustSupport": false, + "mapping": [ + { + "identity": "servd", + "map": "Organization" + } + ] + }, + { + "id": "Organization.identifier", + "path": "Organization.identifier", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "comment": "NPI preferred.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.identifier.system", + "path": "Organization.identifier.system", + "min": 0, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "mustSupport": true + }, + { + "id": "Organization.identifier.value", + "path": "Organization.identifier.value", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Organization.identifier:NPI", + "path": "Organization.identifier", + "sliceName": "NPI", + "short": "National Provider Identifier (NPI)", + "min": 0, + "max": "1", + "type": [ + { + "code": "Identifier" + } + ], + "patternIdentifier": { + "system": "http://hl7.org/fhir/sid/us-npi" + }, + "mustSupport": true, + "mapping": [ + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.identifier:CLIA", + "path": "Organization.identifier", + "sliceName": "CLIA", + "short": "Clinical Laboratory Improvement Amendments (CLIA) Number for laboratories", + "min": 0, + "max": "1", + "type": [ + { + "code": "Identifier" + } + ], + "patternIdentifier": { + "system": "urn:oid:2.16.840.1.113883.4.7" + }, + "mustSupport": false, + "mapping": [ + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.active", + "path": "Organization.active", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "mustSupport": true + }, + { + "id": "Organization.name", + "path": "Organization.name", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + } + ] + }, + { + "id": "Organization.telecom", + "path": "Organization.telecom", + "min": 0, + "max": "*", + "type": [ + { + "code": "ContactPoint" + } + ], + "mustSupport": true + }, + { + "id": "Organization.address", + "path": "Organization.address", + "min": 0, + "max": "*", + "type": [ + { + "code": "Address" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.address.line", + "path": "Organization.address.line", + "min": 0, + "max": "4", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Organization.address.city", + "path": "Organization.address.city", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Organization.address.state", + "path": "Organization.address.state", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Two letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state|3.1.1" + }, + "mapping": [ + { + "identity": "servd", + "map": "./Sites" + } + ] + }, + { + "id": "Organization.address.postalCode", + "path": "Organization.address.postalCode", + "short": "US Zip Codes", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Organization.address.country", + "path": "Organization.address.country", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-patient.json new file mode 100644 index 00000000000..333cc4c0048 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-patient.json @@ -0,0 +1,4720 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "version": "3.1.1", + "name": "USCorePatientProfile", + "title": "US Core Patient Profile", + "status": "active", + "experimental": false, + "date": "2020-06-27", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the patient resource for the minimal set of data to query and retrieve patient demographic information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "cda", + "uri": "http://hl7.org/v3/cda", + "name": "CDA (R2)" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "loinc", + "uri": "http://loinc.org", + "name": "LOINC code for the element" + } + ], + "kind": "resource", + "abstract": false, + "type": "Patient", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Patient", + "path": "Patient", + "short": "Information about an individual or animal receiving health care services", + "definition": "The US Core Patient Profile is based upon the core FHIR Patient Resource and designed to meet the applicable patient demographic data elements from the 2015 Edition Common Clinical Data Set.", + "alias": [ + "SubjectOfCare Client Resident" + ], + "min": 0, + "max": "*", + "base": { + "path": "Patient", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Patient[classCode=PAT]" + }, + { + "identity": "cda", + "map": "ClinicalDocument.recordTarget.patientRole" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient" + } + ] + }, + { + "id": "Patient.id", + "path": "Patient.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Patient.meta", + "path": "Patient.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Patient.implicitRules", + "path": "Patient.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Patient.language", + "path": "Patient.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Patient.text", + "path": "Patient.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Patient.contained", + "path": "Patient.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient.extension", + "path": "Patient.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient.extension:race", + "path": "Patient.extension", + "sliceName": "race", + "short": "US Core Race Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.", + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race|3.1.1" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.extension:ethnicity", + "path": "Patient.extension", + "sliceName": "ethnicity", + "short": "US Core ethnicity Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.", + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity|3.1.1" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.extension:birthsex", + "path": "Patient.extension", + "sliceName": "birthsex", + "short": "Extension", + "definition": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc).", + "comment": "The codes required are intended to present birth sex (i.e., the sex recorded on the patient’s birth certificate) and not gender identity or reassigned sex.", + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex|3.1.1" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "iso11179", + "map": ".patient.administrativeGenderCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.modifierExtension", + "path": "Patient.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient.identifier", + "path": "Patient.identifier", + "short": "An identifier for this patient", + "definition": "An identifier for this patient.", + "requirements": "Patients are almost always assigned specific numerical identifiers.", + "min": 1, + "max": "*", + "base": { + "path": "Patient.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "cda", + "map": ".id" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier" + } + ] + }, + { + "id": "Patient.identifier.id", + "path": "Patient.identifier.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.identifier.extension", + "path": "Patient.identifier.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.identifier.use", + "path": "Patient.identifier.use", + "short": "usual | official | temp | secondary | old (If known)", + "definition": "The purpose of this identifier.", + "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.", + "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierUse" + } + ], + "strength": "required", + "description": "Identifies the purpose for this identifier, if known .", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Patient.identifier.type", + "path": "Patient.identifier.type", + "short": "Description of identifier", + "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.", + "comment": "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.", + "requirements": "Allows users to make use of identifiers when the identifier system is not known.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierType" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-type" + }, + "mapping": [ + { + "identity": "v2", + "map": "CX.5" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Patient.identifier.system", + "path": "Patient.identifier.system", + "short": "The namespace for the identifier value", + "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.", + "comment": "Identifier.system is always case sensitive.", + "requirements": "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "example": [ + { + "label": "General", + "valueUri": "http://www.acme.com/identifiers/patient" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / EI-2-4" + }, + { + "identity": "rim", + "map": "II.root or Role.id.root" + }, + { + "identity": "servd", + "map": "./IdentifierType" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier.system" + } + ] + }, + { + "id": "Patient.identifier.value", + "path": "Patient.identifier.value", + "short": "The value that is unique within the system.", + "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.", + "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "123456" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.1 / EI.1" + }, + { + "identity": "rim", + "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" + }, + { + "identity": "servd", + "map": "./Value" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier.value" + } + ] + }, + { + "id": "Patient.identifier.period", + "path": "Patient.identifier.period", + "short": "Time period when id is/was valid for use", + "definition": "Time period during which identifier is/was valid for use.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.7 + CX.8" + }, + { + "identity": "rim", + "map": "Role.effectiveTime or implied by context" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Patient.identifier.assigner", + "path": "Patient.identifier.assigner", + "short": "Organization that issued id (may be just text)", + "definition": "Organization that issued/manages the identifier.", + "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.assigner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / (CX.4,CX.9,CX.10)" + }, + { + "identity": "rim", + "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" + }, + { + "identity": "servd", + "map": "./IdentifierIssuingAuthority" + } + ] + }, + { + "id": "Patient.active", + "path": "Patient.active", + "short": "Whether this patient's record is in active use", + "definition": "Whether this patient record is in active use. \nMany systems use this property to mark as non-current patients, such as those that have not been seen for a period of time based on an organization's business rules.\n\nIt is often used to filter patient lists to exclude inactive patients\n\nDeceased patients may also be marked as inactive for the same reasons, but may be active for some time after death.", + "comment": "If a record is inactive, and linked to an active record, then future patient/record updates should occur on the other patient.", + "requirements": "Need to be able to mark a patient record as not to be used because it was created in error.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.active", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid", + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.name", + "path": "Patient.name", + "short": "A name associated with the patient", + "definition": "A name associated with the individual.", + "comment": "A patient may have multiple names with different uses or applicable periods. For animals, the name is a \"HumanName\" in the sense that is assigned and used by humans and has the same patterns.", + "requirements": "Need to be able to track the patient by multiple names. Examples are your official name and a partner name.", + "min": 1, + "max": "*", + "base": { + "path": "Patient.name", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "HumanName" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "us-core-8", + "severity": "error", + "human": "Either Patient.name.given and/or Patient.name.family SHALL be present or a Data Absent Reason Extension SHALL be present.", + "expression": "(family.exists() or given.exists()) xor extension.where(url='http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()", + "xpath": "(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason' and not(/f:family or /f:given)) or (not(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason') and (/f:family or /f:given))" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-5, PID-9" + }, + { + "identity": "rim", + "map": "name" + }, + { + "identity": "cda", + "map": ".patient.name" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name" + } + ] + }, + { + "id": "Patient.name.id", + "path": "Patient.name.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.name.extension", + "path": "Patient.name.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.name.use", + "path": "Patient.name.use", + "short": "usual | official | temp | nickname | anonymous | old | maiden", + "definition": "Identifies the purpose for this name.", + "comment": "Applications can assume that a name is current unless it explicitly says that it is temporary or old.", + "requirements": "Allows the appropriate name for a particular context of use to be selected from among a set of names.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "NameUse" + } + ], + "strength": "required", + "description": "The use of a human name.", + "valueSet": "http://hl7.org/fhir/ValueSet/name-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XPN.7, but often indicated by which field contains the name" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./NamePurpose" + } + ] + }, + { + "id": "Patient.name.text", + "path": "Patient.name.text", + "short": "Text representation of the full name", + "definition": "Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.", + "comment": "Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "implied by XPN.11" + }, + { + "identity": "rim", + "map": "./formatted" + } + ] + }, + { + "id": "Patient.name.family", + "path": "Patient.name.family", + "short": "Family name (often called 'Surname')", + "definition": "The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.", + "comment": "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).", + "alias": [ + "surname" + ], + "min": 0, + "max": "1", + "base": { + "path": "HumanName.family", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "us-core-8" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.1/FN.1" + }, + { + "identity": "rim", + "map": "./part[partType = FAM]" + }, + { + "identity": "servd", + "map": "./FamilyName" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name.family" + } + ] + }, + { + "id": "Patient.name.given", + "path": "Patient.name.given", + "short": "Given names (not always 'first'). Includes middle names", + "definition": "Given name.", + "comment": "If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations. This element is not called \"first name\" since given names do not always come first.", + "alias": [ + "first name", + "middle name" + ], + "min": 0, + "max": "*", + "base": { + "path": "HumanName.given", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Given Names appear in the correct order for presenting the name", + "condition": [ + "us-core-8" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.2 + XPN.3" + }, + { + "identity": "rim", + "map": "./part[partType = GIV]" + }, + { + "identity": "servd", + "map": "./GivenNames" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name.given" + } + ] + }, + { + "id": "Patient.name.prefix", + "path": "Patient.name.prefix", + "short": "Parts that come before the name", + "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.", + "min": 0, + "max": "*", + "base": { + "path": "HumanName.prefix", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Prefixes appear in the correct order for presenting the name", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.5" + }, + { + "identity": "rim", + "map": "./part[partType = PFX]" + }, + { + "identity": "servd", + "map": "./TitleCode" + } + ] + }, + { + "id": "Patient.name.suffix", + "path": "Patient.name.suffix", + "short": "Parts that come after the name", + "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.", + "min": 0, + "max": "*", + "base": { + "path": "HumanName.suffix", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Suffixes appear in the correct order for presenting the name", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN/4" + }, + { + "identity": "rim", + "map": "./part[partType = SFX]" + } + ] + }, + { + "id": "Patient.name.period", + "path": "Patient.name.period", + "short": "Time period when name was/is in use", + "definition": "Indicates the period of time when this name was valid for the named person.", + "requirements": "Allows names to be placed in historical context.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.13 + XPN.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Patient.telecom", + "path": "Patient.telecom", + "short": "A contact detail for the individual", + "definition": "A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.", + "comment": "A Patient may have multiple ways to be contacted with different uses or applicable periods. May need to have options for contacting the person urgently and also to help with identification. The address might not go directly to the individual, but may reach another party that is able to proxy for the patient (i.e. home phone, or pet owner's phone).", + "requirements": "People have (primary) ways to contact them in some way such as phone, email.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-13, PID-14, PID-40" + }, + { + "identity": "rim", + "map": "telecom" + }, + { + "identity": "cda", + "map": ".telecom" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.id", + "path": "Patient.telecom.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.telecom.extension", + "path": "Patient.telecom.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.telecom.system", + "path": "Patient.telecom.system", + "short": "phone | fax | email | pager | url | sms | other", + "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.", + "min": 1, + "max": "1", + "base": { + "path": "ContactPoint.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "condition": [ + "cpt-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Telecommunications form for contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.3" + }, + { + "identity": "rim", + "map": "./scheme" + }, + { + "identity": "servd", + "map": "./ContactPointType" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.value", + "path": "Patient.telecom.value", + "short": "The actual contact point details", + "definition": "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).", + "comment": "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.", + "requirements": "Need to support legacy numbers that are not in a tightly controlled format.", + "min": 1, + "max": "1", + "base": { + "path": "ContactPoint.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XTN.1 (or XTN.12)" + }, + { + "identity": "rim", + "map": "./url" + }, + { + "identity": "servd", + "map": "./Value" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.use", + "path": "Patient.telecom.use", + "short": "home | work | temp | old | mobile - purpose of this contact point", + "definition": "Identifies the purpose for the contact point.", + "comment": "Applications can assume that a contact is current unless it explicitly says that it is temporary or old.", + "requirements": "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-use" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.2 - but often indicated by field" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./ContactPointPurpose" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.rank", + "path": "Patient.telecom.rank", + "short": "Specify preferred order of use (1 = highest)", + "definition": "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.", + "comment": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.rank", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "n/a" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.telecom.period", + "path": "Patient.telecom.period", + "short": "Time period when the contact point was/is in use", + "definition": "Time period when the contact point was/is in use.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Patient.gender", + "path": "Patient.gender", + "short": "male | female | other | unknown", + "definition": "Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.", + "comment": "The gender might not match the biological sex as determined by genetics or the individual's preferred identification. Note that for both humans and particularly animals, there are other legitimate possibilities than male and female, though the vast majority of systems and contexts only support male and female. Systems providing decision support or enforcing business rules should ideally do this on the basis of Observations dealing with the specific sex or gender aspect of interest (anatomical, chromosomal, social, etc.) However, because these observations are infrequently recorded, defaulting to the administrative gender is common practice. Where such defaulting occurs, rule enforcement should allow for the variation between administrative and biological, chromosomal and other gender aspects. For example, an alert about a hysterectomy on a male should be handled as a warning or overridable error, not a \"hard\" error. See the Patient Gender and Sex section for additional information about communicating patient gender and sex.", + "requirements": "Needed for identification of the individual, in combination with (at least) name and birth date.", + "min": 1, + "max": "1", + "base": { + "path": "Patient.gender", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender" + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-8" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "cda", + "map": ".patient.administrativeGenderCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.gender" + } + ] + }, + { + "id": "Patient.birthDate", + "path": "Patient.birthDate", + "short": "The date of birth for the individual", + "definition": "The date of birth for the individual.", + "comment": "At least an estimated year should be provided as a guess if the real DOB is unknown There is a standard extension \"patient-birthTime\" available that should be used where Time is required (such as in maternity/infant care systems).", + "requirements": "Age of the individual drives many clinical processes.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.birthDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-7" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime" + }, + { + "identity": "cda", + "map": ".patient.birthTime" + }, + { + "identity": "loinc", + "map": "21112-8" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.birthDate" + } + ] + }, + { + "id": "Patient.deceased[x]", + "path": "Patient.deceased[x]", + "short": "Indicates if the individual is deceased or not", + "definition": "Indicates if the individual is deceased or not.", + "comment": "If there's no value in the instance, it means there is no statement on whether or not the individual is deceased. Most systems will interpret the absence of a value as a sign of the person being alive.", + "requirements": "The fact that a patient is deceased influences the clinical process. Also, in human communication and relation management it is necessary to know whether the person is alive.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.deceased[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + }, + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different.", + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-30 (bool) and PID-29 (datetime)" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.address", + "path": "Patient.address", + "short": "An address for the individual", + "definition": "An address for the individual.", + "comment": "Patient may have multiple addresses with different uses or applicable periods.", + "requirements": "May need to keep track of patient addresses for contacting, billing or reporting requirements and also to help with identification.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.address", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Address" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-11" + }, + { + "identity": "rim", + "map": "addr" + }, + { + "identity": "cda", + "map": ".addr" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.birthDate" + } + ] + }, + { + "id": "Patient.address.id", + "path": "Patient.address.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.address.extension", + "path": "Patient.address.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.address.use", + "path": "Patient.address.use", + "short": "home | work | temp | old | billing - purpose of this address", + "definition": "The purpose of this address.", + "comment": "Applications can assume that an address is current unless it explicitly says that it is temporary or old.", + "requirements": "Allows an appropriate address to be chosen from a list of many.", + "min": 0, + "max": "1", + "base": { + "path": "Address.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "home" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AddressUse" + } + ], + "strength": "required", + "description": "The use of an address.", + "valueSet": "http://hl7.org/fhir/ValueSet/address-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.7" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./AddressPurpose" + } + ] + }, + { + "id": "Patient.address.type", + "path": "Patient.address.type", + "short": "postal | physical | both", + "definition": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.", + "comment": "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R4/location.html#) resource).", + "min": 0, + "max": "1", + "base": { + "path": "Address.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "both" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AddressType" + } + ], + "strength": "required", + "description": "The type of an address (physical / postal).", + "valueSet": "http://hl7.org/fhir/ValueSet/address-type|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.18" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "vcard", + "map": "address type parameter" + } + ] + }, + { + "id": "Patient.address.text", + "path": "Patient.address.text", + "short": "Text representation of the address", + "definition": "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.", + "comment": "Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "Address.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street, Erewhon 9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6" + }, + { + "identity": "rim", + "map": "./formatted" + }, + { + "identity": "vcard", + "map": "address label parameter" + } + ] + }, + { + "id": "Patient.address.line", + "path": "Patient.address.line", + "short": "Street name, number, direction & P.O. Box etc.", + "definition": "This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.", + "min": 0, + "max": "*", + "base": { + "path": "Address.line", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "The order in which lines should appear in an address label", + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)" + }, + { + "identity": "rim", + "map": "AD.part[parttype = AL]" + }, + { + "identity": "vcard", + "map": "street" + }, + { + "identity": "servd", + "map": "./StreetAddress (newline delimitted)" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.city", + "path": "Patient.address.city", + "short": "Name of city, town etc.", + "definition": "The name of the city, town, suburb, village or other community or delivery center.", + "alias": [ + "Municpality" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.city", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Erewhon" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.3" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CTY]" + }, + { + "identity": "vcard", + "map": "locality" + }, + { + "identity": "servd", + "map": "./Jurisdiction" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.district", + "path": "Patient.address.district", + "short": "District name (aka county)", + "definition": "The name of the administrative area (county).", + "comment": "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.", + "alias": [ + "County" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.district", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Madison" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.9" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT | CPA]" + } + ] + }, + { + "id": "Patient.address.state", + "path": "Patient.address.state", + "short": "Sub-unit of country (abbreviations ok)", + "definition": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).", + "alias": [ + "Province", + "Territory" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.state", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Two Letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state|3.1.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.4" + }, + { + "identity": "rim", + "map": "AD.part[parttype = STA]" + }, + { + "identity": "vcard", + "map": "region" + }, + { + "identity": "servd", + "map": "./Region" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.postalCode", + "path": "Patient.address.postalCode", + "short": "US Zip Codes", + "definition": "A postal code designating a region defined by the postal service.", + "alias": [ + "Zip", + "Zip Code" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.postalCode", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.5" + }, + { + "identity": "rim", + "map": "AD.part[parttype = ZIP]" + }, + { + "identity": "vcard", + "map": "code" + }, + { + "identity": "servd", + "map": "./PostalIdentificationCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.country", + "path": "Patient.address.country", + "short": "Country (e.g. can be ISO 3166 2 or 3 letter code)", + "definition": "Country - a nation as commonly understood or generally accepted.", + "comment": "ISO 3166 3 letter codes can be used in place of a human readable country name.", + "min": 0, + "max": "1", + "base": { + "path": "Address.country", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.6" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT]" + }, + { + "identity": "vcard", + "map": "country" + }, + { + "identity": "servd", + "map": "./Country" + } + ] + }, + { + "id": "Patient.address.period", + "path": "Patient.address.period", + "short": "Time period when address was/is in use", + "definition": "Time period when address was/is in use.", + "requirements": "Allows addresses to be placed in historical context.", + "min": 0, + "max": "1", + "base": { + "path": "Address.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "example": [ + { + "label": "General", + "valuePeriod": { + "start": "2010-03-23", + "end": "2010-07-01" + } + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.12 / XAD.13 + XAD.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.maritalStatus", + "path": "Patient.maritalStatus", + "short": "Marital (civil) status of a patient", + "definition": "This field contains a patient's most recent marital (civil) status.", + "requirements": "Most, if not all systems capture it.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.maritalStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MaritalStatus" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "The domestic partnership status of a person.", + "valueSet": "http://hl7.org/fhir/ValueSet/marital-status" + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-16" + }, + { + "identity": "rim", + "map": "player[classCode=PSN]/maritalStatusCode" + }, + { + "identity": "cda", + "map": ".patient.maritalStatusCode" + } + ] + }, + { + "id": "Patient.multipleBirth[x]", + "path": "Patient.multipleBirth[x]", + "short": "Whether patient is part of a multiple birth", + "definition": "Indicates whether the patient is part of a multiple (boolean) or indicates the actual birth order (integer).", + "comment": "Where the valueInteger is provided, the number is the birth number in the sequence. E.g. The middle birth in triplets would be valueInteger=2 and the third born would have valueInteger=3 If a boolean value was provided for this triplets example, then all 3 patient records would have valueBoolean=true (the ordering is not indicated).", + "requirements": "For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.multipleBirth[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + }, + { + "code": "integer" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-24 (bool), PID-25 (integer)" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.photo", + "path": "Patient.photo", + "short": "Image of the patient", + "definition": "Image of the patient.", + "comment": "Guidelines:\n* Use id photos, not clinical photos.\n* Limit dimensions to thumbnail.\n* Keep byte count low to ease resource updates.", + "requirements": "Many EHR systems have the capability to capture an image of the patient. Fits with newer social media usage too.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.photo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-5 - needs a profile" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + "valueString": "Contact" + } + ], + "path": "Patient.contact", + "short": "A contact party (e.g. guardian, partner, friend) for the patient", + "definition": "A contact party (e.g. guardian, partner, friend) for the patient.", + "comment": "Contact covers all kinds of contact parties: family members, business contacts, guardians, caregivers. Not applicable to register pedigree and family ties beyond use of having contact.", + "requirements": "Need to track people you can contact about the patient.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.contact", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "pat-1", + "severity": "error", + "human": "SHALL at least contain a contact's details or a reference to an organization", + "expression": "name.exists() or telecom.exists() or address.exists() or organization.exists()", + "xpath": "exists(f:name) or exists(f:telecom) or exists(f:address) or exists(f:organization)" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.id", + "path": "Patient.contact.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.extension", + "path": "Patient.contact.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.modifierExtension", + "path": "Patient.contact.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient.contact.relationship", + "path": "Patient.contact.relationship", + "short": "The kind of relationship", + "definition": "The nature of the relationship between the patient and the contact person.", + "requirements": "Used to determine which contact person is the most relevant to approach, depending on circumstances.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.contact.relationship", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactRelationship" + } + ], + "strength": "extensible", + "description": "The nature of the relationship between a patient and a contact person for that patient.", + "valueSet": "http://hl7.org/fhir/ValueSet/patient-contactrelationship" + }, + "mapping": [ + { + "identity": "v2", + "map": "NK1-7, NK1-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.name", + "path": "Patient.contact.name", + "short": "A name associated with the contact person", + "definition": "A name associated with the contact person.", + "requirements": "Contact persons need to be identified by name, but it is uncommon to need details about multiple other names for that contact person.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.contact.name", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "HumanName" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NK1-2" + }, + { + "identity": "rim", + "map": "name" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.telecom", + "path": "Patient.contact.telecom", + "short": "A contact detail for the person", + "definition": "A contact detail for the person, e.g. a telephone number or an email address.", + "comment": "Contact may have multiple ways to be contacted with different uses or applicable periods. May need to have options for contacting the person urgently, and also to help with identification.", + "requirements": "People have (primary) ways to contact them in some way such as phone, email.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.contact.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NK1-5, NK1-6, NK1-40" + }, + { + "identity": "rim", + "map": "telecom" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.address", + "path": "Patient.contact.address", + "short": "Address for the contact person", + "definition": "Address for the contact person.", + "requirements": "Need to keep track where the contact person can be contacted per postal mail or visited.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.contact.address", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Address" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NK1-4" + }, + { + "identity": "rim", + "map": "addr" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.gender", + "path": "Patient.contact.gender", + "short": "male | female | other | unknown", + "definition": "Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.", + "requirements": "Needed to address the person correctly.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.contact.gender", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AdministrativeGender" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "required", + "description": "The gender of a person used for administrative purposes.", + "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "NK1-15" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.organization", + "path": "Patient.contact.organization", + "short": "Organization that is associated with the contact", + "definition": "Organization on behalf of which the contact is acting or for which the contact is working.", + "requirements": "For guardians or business related contacts, the organization is relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.contact.organization", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "condition": [ + "pat-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NK1-13, NK1-30, NK1-31, NK1-32, NK1-41" + }, + { + "identity": "rim", + "map": "scoper" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.period", + "path": "Patient.contact.period", + "short": "The period during which this contact person or organization is valid to be contacted relating to this patient", + "definition": "The period during which this contact person or organization is valid to be contacted relating to this patient.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.contact.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.communication", + "path": "Patient.communication", + "short": "A language which may be used to communicate with the patient about his or her health", + "definition": "A language which may be used to communicate with the patient about his or her health.", + "comment": "If no language is specified, this *implies* that the default local language is spoken. If you need to convey proficiency for multiple modes, then you need multiple Patient.Communication associations. For animals, language is not a relevant field, and should be absent from the instance. If the Patient does not speak the default local language, then the Interpreter Required Standard can be used to explicitly declare that an interpreter is required.", + "requirements": "If a patient does not speak the local language, interpreters may be required, so languages spoken and proficiency are important things to keep track of both for patient and other persons of interest.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.communication", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "LanguageCommunication" + }, + { + "identity": "cda", + "map": "patient.languageCommunication" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.communication" + } + ] + }, + { + "id": "Patient.communication.id", + "path": "Patient.communication.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.communication.extension", + "path": "Patient.communication.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.communication.modifierExtension", + "path": "Patient.communication.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient.communication.language", + "path": "Patient.communication.language", + "short": "The language which can be used to communicate with the patient about his or her health", + "definition": "The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. \"en\" for English, or \"en-US\" for American English versus \"en-EN\" for England English.", + "comment": "The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.", + "requirements": "Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect.", + "min": 1, + "max": "1", + "base": { + "path": "Patient.communication.language", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/simple-language|3.1.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-15, LAN-2" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code" + }, + { + "identity": "cda", + "map": ".languageCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.communication.language" + } + ] + }, + { + "id": "Patient.communication.preferred", + "path": "Patient.communication.preferred", + "short": "Language preference indicator", + "definition": "Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).", + "comment": "This language is specifically identified for communicating healthcare information.", + "requirements": "People that master multiple languages up to certain level may prefer one or more, i.e. feel more confident in communicating in a particular language making other languages sort of a fall back method.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.communication.preferred", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-15" + }, + { + "identity": "rim", + "map": "preferenceInd" + }, + { + "identity": "cda", + "map": ".preferenceInd" + } + ] + }, + { + "id": "Patient.generalPractitioner", + "path": "Patient.generalPractitioner", + "short": "Patient's nominated primary care provider", + "definition": "Patient's nominated care provider.", + "comment": "This may be the primary care provider (in a GP context), or it may be a patient nominated care manager in a community/disability setting, or even organization that will provide people to perform the care provider roles. It is not to be used to record Care Teams, these should be in a CareTeam resource that may be linked to the CarePlan or EpisodeOfCare resources.\nMultiple GPs may be recorded against the patient for various reasons, such as a student that has his home GP listed along with the GP at university during the school semesters, or a \"fly-in/fly-out\" worker that has the onsite GP also included with his home GP to remain aware of medical issues.\n\nJurisdictions may decide that they can profile this down to 1 if desired, or 1 per type.", + "alias": [ + "careProvider" + ], + "min": 0, + "max": "*", + "base": { + "path": "Patient.generalPractitioner", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PD1-4" + }, + { + "identity": "rim", + "map": "subjectOf.CareEvent.performer.AssignedEntity" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.managingOrganization", + "path": "Patient.managingOrganization", + "short": "Organization that is the custodian of the patient record", + "definition": "Organization that is the custodian of the patient record.", + "comment": "There is only one managing organization for a specific patient record. Other organizations will have their own Patient record, and may use the Link property to join the records together (or a Person resource which can include confidence ratings for the association).", + "requirements": "Need to know who recognizes this patient record, manages and updates it.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.managingOrganization", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "scoper" + }, + { + "identity": "cda", + "map": ".providerOrganization" + } + ] + }, + { + "id": "Patient.link", + "path": "Patient.link", + "short": "Link to another patient resource that concerns the same actual person", + "definition": "Link to another patient resource that concerns the same actual patient.", + "comment": "There is no assumption that linked patient records have mutual links.", + "requirements": "There are multiple use cases: \n\n* Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and \n* Distribution of patient information across multiple servers.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.link", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it might not be the main Patient resource, and the referenced patient should be used instead of this Patient record. This is when the link.type value is 'replaced-by'", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "outboundLink" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.link.id", + "path": "Patient.link.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.link.extension", + "path": "Patient.link.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.link.modifierExtension", + "path": "Patient.link.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient.link.other", + "path": "Patient.link.other", + "short": "The other patient or related person resource that the link refers to", + "definition": "The other patient resource that the link refers to.", + "comment": "Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual.", + "min": 1, + "max": "1", + "base": { + "path": "Patient.link.other", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": false + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3, MRG-1" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.link.type", + "path": "Patient.link.type", + "short": "replaced-by | replaces | refer | seealso", + "definition": "The type of link between this patient resource and another patient resource.", + "min": 1, + "max": "1", + "base": { + "path": "Patient.link.type", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "LinkType" + } + ], + "strength": "required", + "description": "The type of link between this patient resource and another patient resource.", + "valueSet": "http://hl7.org/fhir/ValueSet/link-type|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "typeCode" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Patient", + "path": "Patient", + "definition": "The US Core Patient Profile is based upon the core FHIR Patient Resource and designed to meet the applicable patient demographic data elements from the 2015 Edition Common Clinical Data Set.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient" + } + ] + }, + { + "id": "Patient.extension:race", + "path": "Patient.extension", + "sliceName": "race", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race|3.1.1" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.extension:ethnicity", + "path": "Patient.extension", + "sliceName": "ethnicity", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity|3.1.1" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.extension:birthsex", + "path": "Patient.extension", + "sliceName": "birthsex", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex|3.1.1" + ] + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "description": "Code for sex assigned at birth", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/birthsex|3.1.1" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.identifier", + "path": "Patient.identifier", + "min": 1, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier" + } + ] + }, + { + "id": "Patient.identifier.system", + "path": "Patient.identifier.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier.system" + } + ] + }, + { + "id": "Patient.identifier.value", + "path": "Patient.identifier.value", + "short": "The value that is unique within the system.", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier.value" + } + ] + }, + { + "id": "Patient.name", + "path": "Patient.name", + "min": 1, + "max": "*", + "type": [ + { + "code": "HumanName" + } + ], + "constraint": [ + { + "key": "us-core-8", + "severity": "error", + "human": "Either Patient.name.given and/or Patient.name.family SHALL be present or a Data Absent Reason Extension SHALL be present.", + "expression": "(family.exists() or given.exists()) xor extension.where(url='http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()", + "xpath": "(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason' and not(/f:family or /f:given)) or (not(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason') and (/f:family or /f:given))" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name" + } + ] + }, + { + "id": "Patient.name.family", + "path": "Patient.name.family", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "condition": [ + "us-core-8" + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name.family" + } + ] + }, + { + "id": "Patient.name.given", + "path": "Patient.name.given", + "min": 0, + "max": "*", + "type": [ + { + "code": "string" + } + ], + "condition": [ + "us-core-8" + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name.given" + } + ] + }, + { + "id": "Patient.telecom", + "path": "Patient.telecom", + "min": 0, + "max": "*", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.system", + "path": "Patient.telecom.system", + "min": 1, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "required", + "description": "Telecommunications form for contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.value", + "path": "Patient.telecom.value", + "min": 1, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.use", + "path": "Patient.telecom.use", + "min": 0, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-use" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.gender", + "path": "Patient.gender", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.gender" + } + ] + }, + { + "id": "Patient.birthDate", + "path": "Patient.birthDate", + "min": 0, + "max": "1", + "type": [ + { + "code": "date" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.birthDate" + } + ] + }, + { + "id": "Patient.address", + "path": "Patient.address", + "min": 0, + "max": "*", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.birthDate" + } + ] + }, + { + "id": "Patient.address.line", + "path": "Patient.address.line", + "min": 0, + "max": "*", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.city", + "path": "Patient.address.city", + "min": 0, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.state", + "path": "Patient.address.state", + "min": 0, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Two Letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state|3.1.1" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.postalCode", + "path": "Patient.address.postalCode", + "short": "US Zip Codes", + "alias": [ + "Zip Code" + ], + "min": 0, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.period", + "path": "Patient.address.period", + "min": 0, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.communication", + "path": "Patient.communication", + "min": 0, + "max": "*", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.communication" + } + ] + }, + { + "id": "Patient.communication.language", + "path": "Patient.communication.language", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/simple-language|3.1.1" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.communication.language" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-practitioner.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-practitioner.json new file mode 100644 index 00000000000..d45e62d3900 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-practitioner.json @@ -0,0 +1,2253 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-practitioner", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "version": "3.1.1", + "name": "USCorePractitionerProfile", + "title": "US Core Practitioner Profile", + "status": "active", + "experimental": false, + "date": "2019-09-02", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "The practitioner(s) referenced in US Core profiles.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "servd", + "uri": "http://www.omg.org/spec/ServD/1.0/", + "name": "ServD" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Practitioner", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Practitioner", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Practitioner", + "path": "Practitioner", + "short": "A person with a formal responsibility in the provisioning of healthcare or related services", + "definition": "This is basic constraint on provider for use in US Core resources.", + "alias": [ + "Provider" + ], + "min": 0, + "max": "*", + "base": { + "path": "Practitioner", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "PRD (as one example)" + }, + { + "identity": "rim", + "map": "Role" + }, + { + "identity": "servd", + "map": "Provider" + } + ] + }, + { + "id": "Practitioner.id", + "path": "Practitioner.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Practitioner.meta", + "path": "Practitioner.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Practitioner.implicitRules", + "path": "Practitioner.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Practitioner.language", + "path": "Practitioner.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Practitioner.text", + "path": "Practitioner.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Practitioner.contained", + "path": "Practitioner.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner.extension", + "path": "Practitioner.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner.modifierExtension", + "path": "Practitioner.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner.identifier", + "path": "Practitioner.identifier", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "An identifier for the person as this agent", + "definition": "An identifier that applies to this person in this role.", + "comment": "NPI must be supported as the identifier system in the US, Tax id is allowed, Local id is allowed in addition to an another identifier supplied by a jurisdictional authority such as a practitioner's *Drug Enforcement Administration (DEA)* number.", + "requirements": "Often, specific identities are assigned for the agent.", + "min": 1, + "max": "*", + "base": { + "path": "Practitioner.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "PRD-7 (or XCN.1)" + }, + { + "identity": "rim", + "map": "./id" + }, + { + "identity": "servd", + "map": "./Identifiers" + } + ] + }, + { + "id": "Practitioner.identifier.id", + "path": "Practitioner.identifier.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner.identifier.extension", + "path": "Practitioner.identifier.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner.identifier.use", + "path": "Practitioner.identifier.use", + "short": "usual | official | temp | secondary | old (If known)", + "definition": "The purpose of this identifier.", + "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.", + "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierUse" + } + ], + "strength": "required", + "description": "Identifies the purpose for this identifier, if known .", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Practitioner.identifier.type", + "path": "Practitioner.identifier.type", + "short": "Description of identifier", + "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.", + "comment": "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.", + "requirements": "Allows users to make use of identifiers when the identifier system is not known.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierType" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-type" + }, + "mapping": [ + { + "identity": "v2", + "map": "CX.5" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Practitioner.identifier.system", + "path": "Practitioner.identifier.system", + "short": "The namespace for the identifier value", + "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.", + "comment": "Identifier.system is always case sensitive.", + "requirements": "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "example": [ + { + "label": "General", + "valueUri": "http://www.acme.com/identifiers/patient" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / EI-2-4" + }, + { + "identity": "rim", + "map": "II.root or Role.id.root" + }, + { + "identity": "servd", + "map": "./IdentifierType" + } + ] + }, + { + "id": "Practitioner.identifier.value", + "path": "Practitioner.identifier.value", + "short": "The value that is unique", + "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.", + "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "123456" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.1 / EI.1" + }, + { + "identity": "rim", + "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "Practitioner.identifier.period", + "path": "Practitioner.identifier.period", + "short": "Time period when id is/was valid for use", + "definition": "Time period during which identifier is/was valid for use.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.7 + CX.8" + }, + { + "identity": "rim", + "map": "Role.effectiveTime or implied by context" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Practitioner.identifier.assigner", + "path": "Practitioner.identifier.assigner", + "short": "Organization that issued id (may be just text)", + "definition": "Organization that issued/manages the identifier.", + "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.assigner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / (CX.4,CX.9,CX.10)" + }, + { + "identity": "rim", + "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" + }, + { + "identity": "servd", + "map": "./IdentifierIssuingAuthority" + } + ] + }, + { + "id": "Practitioner.identifier:NPI", + "path": "Practitioner.identifier", + "sliceName": "NPI", + "short": "An identifier for the person as this agent", + "definition": "An identifier that applies to this person in this role.", + "requirements": "Often, specific identities are assigned for the agent.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "patternIdentifier": { + "system": "http://hl7.org/fhir/sid/us-npi" + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "PRD-7 (or XCN.1)" + }, + { + "identity": "rim", + "map": "./id" + }, + { + "identity": "servd", + "map": "./Identifiers" + } + ] + }, + { + "id": "Practitioner.active", + "path": "Practitioner.active", + "short": "Whether this practitioner's record is in active use", + "definition": "Whether this practitioner's record is in active use.", + "comment": "If the practitioner is not in use by one organization, then it should mark the period on the PractitonerRole with an end date (even if they are active) as they may be active in another role.", + "requirements": "Need to be able to mark a practitioner record as not to be used because it was created in error.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.active", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "./statusCode" + } + ] + }, + { + "id": "Practitioner.name", + "path": "Practitioner.name", + "short": "The name(s) associated with the practitioner", + "definition": "The name(s) associated with the practitioner.", + "comment": "The selection of the use property should ensure that there is a single usual name specified, and others use the nickname (alias), old, or other values as appropriate. \r\rIn general, select the value to be used in the ResourceReference.display based on this:\r\r1. There is more than 1 name\r2. Use = usual\r3. Period is current to the date of the usage\r4. Use = official\r5. Other order as decided by internal business rules.", + "requirements": "The name(s) that a Practitioner is known by. Where there are multiple, the name that the practitioner is usually known as should be used in the display.", + "min": 1, + "max": "*", + "base": { + "path": "Practitioner.name", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "HumanName" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XCN Components" + }, + { + "identity": "rim", + "map": "./name" + }, + { + "identity": "servd", + "map": "./PreferredName (GivenNames, FamilyName, TitleCode)" + } + ] + }, + { + "id": "Practitioner.name.id", + "path": "Practitioner.name.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner.name.extension", + "path": "Practitioner.name.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner.name.use", + "path": "Practitioner.name.use", + "short": "usual | official | temp | nickname | anonymous | old | maiden", + "definition": "Identifies the purpose for this name.", + "comment": "Applications can assume that a name is current unless it explicitly says that it is temporary or old.", + "requirements": "Allows the appropriate name for a particular context of use to be selected from among a set of names.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "NameUse" + } + ], + "strength": "required", + "description": "The use of a human name.", + "valueSet": "http://hl7.org/fhir/ValueSet/name-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XPN.7, but often indicated by which field contains the name" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./NamePurpose" + } + ] + }, + { + "id": "Practitioner.name.text", + "path": "Practitioner.name.text", + "short": "Text representation of the full name", + "definition": "Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.", + "comment": "Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "implied by XPN.11" + }, + { + "identity": "rim", + "map": "./formatted" + } + ] + }, + { + "id": "Practitioner.name.family", + "path": "Practitioner.name.family", + "short": "Family name (often called 'Surname')", + "definition": "The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.", + "comment": "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).", + "alias": [ + "surname" + ], + "min": 1, + "max": "1", + "base": { + "path": "HumanName.family", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.1/FN.1" + }, + { + "identity": "rim", + "map": "./part[partType = FAM]" + }, + { + "identity": "servd", + "map": "./FamilyName" + } + ] + }, + { + "id": "Practitioner.name.given", + "path": "Practitioner.name.given", + "short": "Given names (not always 'first'). Includes middle names", + "definition": "Given name.", + "comment": "If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations. This element is not called \"first name\" since given names do not always come first.", + "alias": [ + "first name", + "middle name" + ], + "min": 0, + "max": "*", + "base": { + "path": "HumanName.given", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Given Names appear in the correct order for presenting the name", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.2 + XPN.3" + }, + { + "identity": "rim", + "map": "./part[partType = GIV]" + }, + { + "identity": "servd", + "map": "./GivenNames" + } + ] + }, + { + "id": "Practitioner.name.prefix", + "path": "Practitioner.name.prefix", + "short": "Parts that come before the name", + "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.", + "min": 0, + "max": "*", + "base": { + "path": "HumanName.prefix", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Prefixes appear in the correct order for presenting the name", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.5" + }, + { + "identity": "rim", + "map": "./part[partType = PFX]" + }, + { + "identity": "servd", + "map": "./TitleCode" + } + ] + }, + { + "id": "Practitioner.name.suffix", + "path": "Practitioner.name.suffix", + "short": "Parts that come after the name", + "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.", + "min": 0, + "max": "*", + "base": { + "path": "HumanName.suffix", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Suffixes appear in the correct order for presenting the name", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN/4" + }, + { + "identity": "rim", + "map": "./part[partType = SFX]" + } + ] + }, + { + "id": "Practitioner.name.period", + "path": "Practitioner.name.period", + "short": "Time period when name was/is in use", + "definition": "Indicates the period of time when this name was valid for the named person.", + "requirements": "Allows names to be placed in historical context.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.13 + XPN.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Practitioner.telecom", + "path": "Practitioner.telecom", + "short": "A contact detail for the practitioner (that apply to all roles)", + "definition": "A contact detail for the practitioner, e.g. a telephone number or an email address.", + "comment": "Person may have multiple ways to be contacted with different uses or applicable periods. May need to have options for contacting the person urgently and to help with identification. These typically will have home numbers, or mobile numbers that are not role specific.", + "requirements": "Need to know how to reach a practitioner independent to any roles the practitioner may have.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRT-15, STF-10, ROL-12" + }, + { + "identity": "rim", + "map": "./telecom" + }, + { + "identity": "servd", + "map": "./ContactPoints" + } + ] + }, + { + "id": "Practitioner.address", + "path": "Practitioner.address", + "short": "Address(es) of the practitioner that are not role specific (typically home address)", + "definition": "Address(es) of the practitioner that are not role specific (typically home address). \rWork addresses are not typically entered in this property as they are usually role dependent.", + "comment": "The PractitionerRole does not have an address value on it, as it is expected that the location property be used for this purpose (which has an address).", + "requirements": "The home/mailing address of the practitioner is often required for employee administration purposes, and also for some rostering services where the start point (practitioners home) can be used in calculations.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.address", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Address" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "ORC-24, STF-11, ROL-11, PRT-14" + }, + { + "identity": "rim", + "map": "./addr" + }, + { + "identity": "servd", + "map": "./Addresses" + } + ] + }, + { + "id": "Practitioner.gender", + "path": "Practitioner.gender", + "short": "male | female | other | unknown", + "definition": "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.", + "requirements": "Needed to address the person correctly.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.gender", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AdministrativeGender" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "required", + "description": "The gender of a person used for administrative purposes.", + "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "STF-5" + }, + { + "identity": "rim", + "map": "./administrativeGender" + }, + { + "identity": "servd", + "map": "./GenderCode" + } + ] + }, + { + "id": "Practitioner.birthDate", + "path": "Practitioner.birthDate", + "short": "The date on which the practitioner was born", + "definition": "The date of birth for the practitioner.", + "requirements": "Needed for identification.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.birthDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "STF-6" + }, + { + "identity": "rim", + "map": "./birthTime" + }, + { + "identity": "servd", + "map": "(not represented in ServD)" + } + ] + }, + { + "id": "Practitioner.photo", + "path": "Practitioner.photo", + "short": "Image of the person", + "definition": "Image of the person.", + "requirements": "Many EHR systems have the capability to capture an image of patients and personnel. Fits with newer social media usage too.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.photo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "./subjectOf/ObservationEvent[code=\"photo\"]/value" + }, + { + "identity": "servd", + "map": "./ImageURI (only supports the URI reference)" + } + ] + }, + { + "id": "Practitioner.qualification", + "path": "Practitioner.qualification", + "short": "Certification, licenses, or training pertaining to the provision of care", + "definition": "The official certifications, training, and licenses that authorize or otherwise pertain to the provision of care by the practitioner. For example, a medical license issued by a medical board authorizing the practitioner to practice medicine within a certian locality.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.qualification", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "CER?" + }, + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].code" + }, + { + "identity": "servd", + "map": "./Qualifications" + } + ] + }, + { + "id": "Practitioner.qualification.id", + "path": "Practitioner.qualification.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner.qualification.extension", + "path": "Practitioner.qualification.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner.qualification.modifierExtension", + "path": "Practitioner.qualification.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner.qualification.identifier", + "path": "Practitioner.qualification.identifier", + "short": "An identifier for this qualification for the practitioner", + "definition": "An identifier that applies to this person's qualification in this role.", + "requirements": "Often, specific identities are assigned for the qualification.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.qualification.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].id" + } + ] + }, + { + "id": "Practitioner.qualification.code", + "path": "Practitioner.qualification.code", + "short": "Coded representation of the qualification", + "definition": "Coded representation of the qualification.", + "min": 1, + "max": "1", + "base": { + "path": "Practitioner.qualification.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Qualification" + } + ], + "strength": "example", + "description": "Specific qualification the practitioner has to provide a service.", + "valueSet": "http://terminology.hl7.org/ValueSet/v2-2.7-0360" + }, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].code" + }, + { + "identity": "servd", + "map": "./Qualifications.Value" + } + ] + }, + { + "id": "Practitioner.qualification.period", + "path": "Practitioner.qualification.period", + "short": "Period during which the qualification is valid", + "definition": "Period during which the qualification is valid.", + "requirements": "Qualifications are often for a limited period of time, and can be revoked.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.qualification.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].effectiveTime" + }, + { + "identity": "servd", + "map": "./Qualifications.StartDate and ./Qualifications.EndDate" + } + ] + }, + { + "id": "Practitioner.qualification.issuer", + "path": "Practitioner.qualification.issuer", + "short": "Organization that regulates and issues the qualification", + "definition": "Organization that regulates and issues the qualification.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.qualification.issuer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].scoper" + } + ] + }, + { + "id": "Practitioner.communication", + "path": "Practitioner.communication", + "short": "A language the practitioner can use in patient communication", + "definition": "A language the practitioner can use in patient communication.", + "comment": "The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.", + "requirements": "Knowing which language a practitioner speaks can help in facilitating communication with patients.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.communication", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-15, NK1-20, LAN-2" + }, + { + "identity": "rim", + "map": "./languageCommunication" + }, + { + "identity": "servd", + "map": "./Languages.LanguageSpokenCode" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Practitioner", + "path": "Practitioner", + "definition": "This is basic constraint on provider for use in US Core resources.", + "alias": [ + "Provider" + ], + "mustSupport": false + }, + { + "id": "Practitioner.identifier", + "path": "Practitioner.identifier", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "comment": "NPI must be supported as the identifier system in the US, Tax id is allowed, Local id is allowed in addition to an another identifier supplied by a jurisdictional authority such as a practitioner's *Drug Enforcement Administration (DEA)* number.", + "min": 1, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mustSupport": true + }, + { + "id": "Practitioner.identifier.system", + "path": "Practitioner.identifier.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "mustSupport": true + }, + { + "id": "Practitioner.identifier.value", + "path": "Practitioner.identifier.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Practitioner.identifier:NPI", + "path": "Practitioner.identifier", + "sliceName": "NPI", + "min": 0, + "max": "1", + "type": [ + { + "code": "Identifier" + } + ], + "patternIdentifier": { + "system": "http://hl7.org/fhir/sid/us-npi" + }, + "mustSupport": true + }, + { + "id": "Practitioner.name", + "path": "Practitioner.name", + "min": 1, + "max": "*", + "type": [ + { + "code": "HumanName" + } + ], + "mustSupport": true + }, + { + "id": "Practitioner.name.family", + "path": "Practitioner.name.family", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-practitionerrole.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-practitionerrole.json new file mode 100644 index 00000000000..723a5df80ac --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-practitionerrole.json @@ -0,0 +1,2080 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-practitionerrole", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "version": "3.1.1", + "name": "USCorePractitionerRoleProfile", + "title": "US Core PractitionerRole Profile", + "status": "active", + "experimental": false, + "date": "2019-08-11", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "The practitioner roles referenced in the US Core profiles.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "servd", + "uri": "http://www.omg.org/spec/ServD/1.0/", + "name": "ServD" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "PractitionerRole", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "PractitionerRole", + "path": "PractitionerRole", + "short": "Roles/organizations the practitioner is associated with", + "definition": "This is basic constraint on PractitionerRole for use in US Core resources.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "pd-1", + "severity": "error", + "human": "SHALL have contact information or a reference to an Endpoint", + "expression": "telecom or endpoint", + "xpath": "exists(f:telecom) or exists(f:endpoint)" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "PRD (as one example)" + }, + { + "identity": "rim", + "map": "Role" + }, + { + "identity": "servd", + "map": "ServiceSiteProvider" + } + ] + }, + { + "id": "PractitionerRole.id", + "path": "PractitionerRole.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "PractitionerRole.meta", + "path": "PractitionerRole.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "PractitionerRole.implicitRules", + "path": "PractitionerRole.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "PractitionerRole.language", + "path": "PractitionerRole.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "PractitionerRole.text", + "path": "PractitionerRole.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "PractitionerRole.contained", + "path": "PractitionerRole.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "PractitionerRole.extension", + "path": "PractitionerRole.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "PractitionerRole.modifierExtension", + "path": "PractitionerRole.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "PractitionerRole.identifier", + "path": "PractitionerRole.identifier", + "short": "Business Identifiers that are specific to a role/location", + "definition": "Business Identifiers that are specific to a role/location.", + "requirements": "Often, specific identities are assigned for the agent.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "PRD-7 (or XCN.1)" + }, + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "servd", + "map": "./Identifiers" + } + ] + }, + { + "id": "PractitionerRole.active", + "path": "PractitionerRole.active", + "short": "Whether this practitioner role record is in active use", + "definition": "Whether this practitioner role record is in active use.", + "comment": "If this value is false, you may refer to the period to see when the role was in active use. If there is no period specified, no inference can be made about when it was active.", + "requirements": "Need to be able to mark a practitioner role record as not to be used because it was created in error, or otherwise no longer in active use.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.active", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "STF-7" + }, + { + "identity": "rim", + "map": ".statusCode" + } + ] + }, + { + "id": "PractitionerRole.period", + "path": "PractitionerRole.period", + "short": "The period during which the practitioner is authorized to perform in these role(s)", + "definition": "The period during which the person is authorized to act as a practitioner in these role(s) for the organization.", + "requirements": "Even after the agencies is revoked, the fact that it existed must still be recorded.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "PRD-8/9 / PRA-5.4" + }, + { + "identity": "rim", + "map": ".performance[@typeCode <= 'PPRF'].ActDefinitionOrEvent.effectiveTime" + }, + { + "identity": "servd", + "map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" + } + ] + }, + { + "id": "PractitionerRole.practitioner", + "path": "PractitionerRole.practitioner", + "short": "Practitioner that is able to provide the defined services for the organization", + "definition": "Practitioner that is able to provide the defined services for the organization.", + "min": 1, + "max": "1", + "base": { + "path": "PractitionerRole.practitioner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".player" + } + ] + }, + { + "id": "PractitionerRole.organization", + "path": "PractitionerRole.organization", + "short": "Organization where the roles are available", + "definition": "The organization where the Practitioner performs the roles associated.", + "min": 1, + "max": "1", + "base": { + "path": "PractitionerRole.organization", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".scoper" + } + ] + }, + { + "id": "PractitionerRole.code", + "path": "PractitionerRole.code", + "short": "Roles which this practitioner may perform", + "definition": "Roles which this practitioner is authorized to perform for the organization.", + "comment": "A person may have more than one role.", + "requirements": "Need to know what authority the practitioner has - what can they do?", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.code", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Provider role codes consisting of NUCC Health Care Provider Taxonomy Code Set for providers.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role|3.1.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "PRD-1 / STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "servd", + "map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" + } + ] + }, + { + "id": "PractitionerRole.specialty", + "path": "PractitionerRole.specialty", + "short": "Specific specialty of the practitioner", + "definition": "Specific specialty of the practitioner.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.specialty", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Provider specialty codes consist of NUCC Health Care Provider Taxonomy Code Set for providers.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty|3.1.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "PRA-5" + }, + { + "identity": "rim", + "map": ".player.HealthCareProvider[@classCode = 'PROV'].code" + }, + { + "identity": "servd", + "map": "./Specialty" + } + ] + }, + { + "id": "PractitionerRole.location", + "path": "PractitionerRole.location", + "short": "The location(s) at which this practitioner provides care", + "definition": "The location(s) at which this practitioner provides care.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.location", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.where[x]" + }, + { + "identity": "rim", + "map": ".performance.ActDefinitionOrEvent.ServiceDeliveryLocation[@classCode = 'SDLOC']" + }, + { + "identity": "servd", + "map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)
However these are accessed via the Site.ServiceSite.ServiceSiteProvider record. (The Site has the location)" + } + ] + }, + { + "id": "PractitionerRole.healthcareService", + "path": "PractitionerRole.healthcareService", + "short": "The list of healthcare services that this worker provides for this role's Organization/Location(s)", + "definition": "The list of healthcare services that this worker provides for this role's Organization/Location(s).", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.healthcareService", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/HealthcareService" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "EDU-2 / AFF-3" + }, + { + "identity": "rim", + "map": ".player.QualifiedEntity[@classCode = 'QUAL'].code" + } + ] + }, + { + "id": "PractitionerRole.telecom", + "path": "PractitionerRole.telecom", + "short": "Contact details that are specific to the role/location/service", + "definition": "Contact details that are specific to the role/location/service.", + "requirements": "Often practitioners have a dedicated line for each location (or service) that they work at, and need to be able to define separate contact details for each of these.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "condition": [ + "pd-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".telecom" + } + ] + }, + { + "id": "PractitionerRole.telecom.id", + "path": "PractitionerRole.telecom.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "PractitionerRole.telecom.extension", + "path": "PractitionerRole.telecom.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "PractitionerRole.telecom.system", + "path": "PractitionerRole.telecom.system", + "short": "phone | fax | email | pager | url | sms | other", + "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.", + "min": 1, + "max": "1", + "base": { + "path": "ContactPoint.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "condition": [ + "cpt-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactPointSystem" + } + ], + "strength": "required", + "description": "Telecommunications form for contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.3" + }, + { + "identity": "rim", + "map": "./scheme" + }, + { + "identity": "servd", + "map": "./ContactPointType" + } + ] + }, + { + "id": "PractitionerRole.telecom.value", + "path": "PractitionerRole.telecom.value", + "short": "The actual contact point details", + "definition": "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).", + "comment": "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.", + "requirements": "Need to support legacy numbers that are not in a tightly controlled format.", + "min": 1, + "max": "1", + "base": { + "path": "ContactPoint.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XTN.1 (or XTN.12)" + }, + { + "identity": "rim", + "map": "./url" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "PractitionerRole.telecom.use", + "path": "PractitionerRole.telecom.use", + "short": "home | work | temp | old | mobile - purpose of this contact point", + "definition": "Identifies the purpose for the contact point.", + "comment": "Applications can assume that a contact is current unless it explicitly says that it is temporary or old.", + "requirements": "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactPointUse" + } + ], + "strength": "required", + "description": "Use of contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.2 - but often indicated by field" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./ContactPointPurpose" + } + ] + }, + { + "id": "PractitionerRole.telecom.rank", + "path": "PractitionerRole.telecom.rank", + "short": "Specify preferred order of use (1 = highest)", + "definition": "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.", + "comment": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.rank", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "n/a" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "PractitionerRole.telecom.period", + "path": "PractitionerRole.telecom.period", + "short": "Time period when the contact point was/is in use", + "definition": "Time period when the contact point was/is in use.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "PractitionerRole.availableTime", + "path": "PractitionerRole.availableTime", + "short": "Times the Service Site is available", + "definition": "A collection of times the practitioner is available or performing this role at the location and/or healthcareservice.", + "comment": "More detailed availability information may be provided in associated Schedule/Slot resources.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.availableTime", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.availableTime.id", + "path": "PractitionerRole.availableTime.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "PractitionerRole.availableTime.extension", + "path": "PractitionerRole.availableTime.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "PractitionerRole.availableTime.modifierExtension", + "path": "PractitionerRole.availableTime.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "PractitionerRole.availableTime.daysOfWeek", + "path": "PractitionerRole.availableTime.daysOfWeek", + "short": "mon | tue | wed | thu | fri | sat | sun", + "definition": "Indicates which days of the week are available between the start and end Times.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.availableTime.daysOfWeek", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DaysOfWeek" + } + ], + "strength": "required", + "description": "The days of the week.", + "valueSet": "http://hl7.org/fhir/ValueSet/days-of-week|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.availableTime.allDay", + "path": "PractitionerRole.availableTime.allDay", + "short": "Always available? e.g. 24 hour service", + "definition": "Is this always available? (hence times are irrelevant) e.g. 24 hour service.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.availableTime.allDay", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.availableTime.availableStartTime", + "path": "PractitionerRole.availableTime.availableStartTime", + "short": "Opening time of day (ignored if allDay = true)", + "definition": "The opening time of day. Note: If the AllDay flag is set, then this time is ignored.", + "comment": "The timezone is expected to be for where this HealthcareService is provided at.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.availableTime.availableStartTime", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "time" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.availableTime.availableEndTime", + "path": "PractitionerRole.availableTime.availableEndTime", + "short": "Closing time of day (ignored if allDay = true)", + "definition": "The closing time of day. Note: If the AllDay flag is set, then this time is ignored.", + "comment": "The timezone is expected to be for where this HealthcareService is provided at.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.availableTime.availableEndTime", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "time" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.notAvailable", + "path": "PractitionerRole.notAvailable", + "short": "Not available during this time due to provided reason", + "definition": "The practitioner is not available or performing this role during this period of time due to the provided reason.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.notAvailable", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.notAvailable.id", + "path": "PractitionerRole.notAvailable.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "PractitionerRole.notAvailable.extension", + "path": "PractitionerRole.notAvailable.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "PractitionerRole.notAvailable.modifierExtension", + "path": "PractitionerRole.notAvailable.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "PractitionerRole.notAvailable.description", + "path": "PractitionerRole.notAvailable.description", + "short": "Reason presented to the user explaining why time not available", + "definition": "The reason that can be presented to the user as to why this time is not available.", + "min": 1, + "max": "1", + "base": { + "path": "PractitionerRole.notAvailable.description", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "PractitionerRole.notAvailable.during", + "path": "PractitionerRole.notAvailable.during", + "short": "Service not available from this date", + "definition": "Service is not available (seasonally or for a public holiday) from this date.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.notAvailable.during", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.availabilityExceptions", + "path": "PractitionerRole.availabilityExceptions", + "short": "Description of availability exceptions", + "definition": "A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.availabilityExceptions", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.endpoint", + "path": "PractitionerRole.endpoint", + "short": "Technical endpoints providing access to services operated for the practitioner with this role", + "definition": "Technical endpoints providing access to services operated for the practitioner with this role.", + "requirements": "Organizations have multiple systems that provide various services and ,ay also be different for practitioners too.\r\rSo the endpoint satisfies the need to be able to define the technical connection details for how to connect to them, and for what purpose.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.endpoint", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Endpoint" + ] + } + ], + "condition": [ + "pd-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "PractitionerRole", + "path": "PractitionerRole", + "definition": "This is basic constraint on PractitionerRole for use in US Core resources.", + "constraint": [ + { + "key": "pd-1", + "severity": "error", + "human": "SHALL have contact information or a reference to an Endpoint", + "expression": "telecom or endpoint", + "xpath": "exists(f:telecom) or exists(f:endpoint)" + } + ], + "mustSupport": false + }, + { + "id": "PractitionerRole.practitioner", + "path": "PractitionerRole.practitioner", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1" + ] + } + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.organization", + "path": "PractitionerRole.organization", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.code", + "path": "PractitionerRole.code", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Provider role codes consisting of NUCC Health Care Provider Taxonomy Code Set for providers.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role|3.1.1" + } + }, + { + "id": "PractitionerRole.specialty", + "path": "PractitionerRole.specialty", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Provider specialty codes consist of NUCC Health Care Provider Taxonomy Code Set for providers.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty|3.1.1" + } + }, + { + "id": "PractitionerRole.location", + "path": "PractitionerRole.location", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.telecom", + "path": "PractitionerRole.telecom", + "min": 0, + "max": "*", + "type": [ + { + "code": "ContactPoint" + } + ], + "condition": [ + "pd-1" + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.telecom.system", + "path": "PractitionerRole.telecom.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.telecom.value", + "path": "PractitionerRole.telecom.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.endpoint", + "path": "PractitionerRole.endpoint", + "min": 0, + "max": "*", + "condition": [ + "pd-1" + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-procedure.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-procedure.json new file mode 100644 index 00000000000..d338a35940f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-procedure.json @@ -0,0 +1,2452 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-procedure", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure", + "version": "3.1.1", + "name": "USCoreProcedureProfile", + "title": "US Core Procedure Profile", + "status": "active", + "experimental": false, + "date": "2020-06-29", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the Procedure resource for the minimal set of data to query and retrieve patient's procedure information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "uri": "http://unknown.org/Argonaut-DQ-DSTU2", + "name": "Argonaut-DQ-DSTU2" + }, + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Procedure", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Procedure", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Procedure", + "path": "Procedure", + "short": "An action that is being or was performed on a patient", + "definition": "The US Core Condition Profile is based upon the core FHIR Procedure Resource and created to meet the 2015 Edition Common Clinical Data Set 'Procedures' requirements.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "rim", + "map": "Procedure[moodCode=EVN]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure" + } + ] + }, + { + "id": "Procedure.id", + "path": "Procedure.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Procedure.meta", + "path": "Procedure.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Procedure.implicitRules", + "path": "Procedure.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Procedure.language", + "path": "Procedure.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Procedure.text", + "path": "Procedure.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Procedure.contained", + "path": "Procedure.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure.extension", + "path": "Procedure.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure.modifierExtension", + "path": "Procedure.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure.identifier", + "path": "Procedure.identifier", + "short": "External Identifiers for this procedure", + "definition": "Business identifiers assigned to this procedure by the performer or other systems which remain constant as the resource is updated and is propagated from server to server.", + "comment": "This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and Person resource instances might share the same social insurance number.", + "requirements": "Allows identification of the procedure as it is known by various participating systems and in a way that remains consistent across servers.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "Some combination of ORC-2 / ORC-3 / OBR-2 / OBR-3 / IPC-1 / IPC-2 / IPC-3 / IPC-4" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Procedure.instantiatesCanonical", + "path": "Procedure.instantiatesCanonical", + "short": "Instantiates FHIR protocol or definition", + "definition": "The URL pointing to a FHIR-defined protocol, guideline, order set or other definition that is adhered to in whole or in part by this Procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.instantiatesCanonical", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "canonical", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/PlanDefinition", + "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", + "http://hl7.org/fhir/StructureDefinition/Measure", + "http://hl7.org/fhir/StructureDefinition/OperationDefinition", + "http://hl7.org/fhir/StructureDefinition/Questionnaire" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.instantiatesCanonical" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "Procedure.instantiatesUri", + "path": "Procedure.instantiatesUri", + "short": "Instantiates external protocol or definition", + "definition": "The URL pointing to an externally maintained protocol, guideline, order set or other definition that is adhered to in whole or in part by this Procedure.", + "comment": "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.instantiatesUri", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.instantiatesUri" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "Procedure.basedOn", + "path": "Procedure.basedOn", + "short": "A request for this procedure", + "definition": "A reference to a resource that contains details of the request for this procedure.", + "alias": [ + "fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Procedure.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target[classCode=(various e.g. PROC, OBS, PCPR, ACT, moodCode=RQO].code" + } + ] + }, + { + "id": "Procedure.partOf", + "path": "Procedure.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular procedure is a component or step.", + "comment": "The MedicationAdministration resource has a partOf reference to Procedure, but this is not a circular reference. For example, the anesthesia MedicationAdministration is part of the surgical Procedure (MedicationAdministration.partOf = Procedure). For example, the procedure to insert the IV port for an IV medication administration is part of the medication administration (Procedure.partOf = MedicationAdministration).", + "alias": [ + "container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Procedure.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=SBADM or PROC or OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Procedure.status", + "path": "Procedure.status", + "short": "preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown", + "definition": "A code specifying the state of the procedure. Generally, this will be the in-progress or completed state.", + "comment": "The \"unknown\" code is not to be used to convey other statuses. The \"unknown\" code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the procedure.\n\nThis element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "min": 1, + "max": "1", + "base": { + "path": "Procedure.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/event-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.status" + } + ] + }, + { + "id": "Procedure.statusReason", + "path": "Procedure.statusReason", + "short": "Reason for current status", + "definition": "Captures the reason for the current state of the procedure.", + "comment": "This is generally only used for \"exception\" statuses such as \"not-done\", \"suspended\" or \"aborted\". The reason for performing the event at all is captured in reasonCode, not here.", + "alias": [ + "Suspended Reason", + "Cancelled Reason" + ], + "min": 0, + "max": "1", + "base": { + "path": "Procedure.statusReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureNegationReason" + } + ], + "strength": "example", + "description": "A code that identifies the reason a procedure was not performed.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-not-performed-reason" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.statusReason" + }, + { + "identity": "rim", + "map": ".reason.Observation.value" + } + ] + }, + { + "id": "Procedure.category", + "path": "Procedure.category", + "short": "Classification of the procedure", + "definition": "A code that classifies the procedure for searching, sorting and display purposes (e.g. \"Surgical Procedure\").", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.category", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureCategory" + } + ], + "strength": "example", + "description": "A code that classifies a procedure for searching, sorting and display purposes.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Procedure.code", + "path": "Procedure.code", + "short": "Procedure codes from SNOMED CT, CPT, HCPCS II, ICD-10PC, or CDT", + "definition": "The specific procedure that is performed. Use text if the exact nature of the procedure cannot be coded (e.g. \"Laparoscopic Appendectomy\").", + "requirements": "0..1 to account for primarily narrative only resources.", + "alias": [ + "type" + ], + "min": 1, + "max": "1", + "base": { + "path": "Procedure.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Codes describing the type of Procedure", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code|3.1.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "OBR-44/OBR-45" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.code" + } + ] + }, + { + "id": "Procedure.subject", + "path": "Procedure.subject", + "short": "Who the procedure was performed on", + "definition": "The person, animal or group on which the procedure was performed.", + "alias": [ + "patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "Procedure.subject", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.subject" + } + ] + }, + { + "id": "Procedure.encounter", + "path": "Procedure.encounter", + "short": "Encounter created as part of", + "definition": "The Encounter during which this Procedure was created or performed or to which the creation of this record is tightly associated.", + "comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Procedure.performed[x]", + "path": "Procedure.performed[x]", + "short": "When the procedure was performed", + "definition": "Estimated or actual date, date-time, period, or age when the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.", + "comment": "Age is generally used when the patient reports an age at which the procedure was performed. Range is generally used when the patient reports an age range when the procedure was performed, such as sometime between 20-25 years old. dateTime supports a range of precision due to some procedures being reported as past procedures that might not have millisecond precision while other procedures performed and documented during the encounter might have more precise UTC timestamps with timezone.", + "min": 1, + "max": "1", + "base": { + "path": "Procedure.performed[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.performed[x]" + } + ] + }, + { + "id": "Procedure.recorder", + "path": "Procedure.recorder", + "short": "Who recorded the procedure", + "definition": "Individual who recorded the record and takes responsibility for its content.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.recorder", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.author" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + } + ] + }, + { + "id": "Procedure.asserter", + "path": "Procedure.asserter", + "short": "Person who asserts this procedure", + "definition": "Individual who is making the procedure statement.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.asserter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role" + } + ] + }, + { + "id": "Procedure.performer", + "path": "Procedure.performer", + "short": "The people who performed the procedure", + "definition": "Limited to \"real\" people rather than equipment.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF]" + } + ] + }, + { + "id": "Procedure.performer.id", + "path": "Procedure.performer.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure.performer.extension", + "path": "Procedure.performer.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure.performer.modifierExtension", + "path": "Procedure.performer.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure.performer.function", + "path": "Procedure.performer.function", + "short": "Type of performance", + "definition": "Distinguishes the type of involvement of the performer in the procedure. For example, surgeon, anaesthetist, endoscopist.", + "requirements": "Allows disambiguation of the types of involvement of different performers.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.performer.function", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedurePerformerRole" + } + ], + "strength": "example", + "description": "A code that identifies the role of a performer of the procedure.", + "valueSet": "http://hl7.org/fhir/ValueSet/performer-role" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.function" + }, + { + "identity": "v2", + "map": "Some combination of STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17 / OBX-25" + }, + { + "identity": "rim", + "map": ".functionCode" + } + ] + }, + { + "id": "Procedure.performer.actor", + "path": "Procedure.performer.actor", + "short": "The reference to the practitioner", + "definition": "The practitioner who was involved in the procedure.", + "requirements": "A reference to Device supports use cases, such as pacemakers.", + "min": 1, + "max": "1", + "base": { + "path": "Procedure.performer.actor", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Device" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "ORC-19/PRT-5" + }, + { + "identity": "rim", + "map": ".role" + } + ] + }, + { + "id": "Procedure.performer.onBehalfOf", + "path": "Procedure.performer.onBehalfOf", + "short": "Organization the device or practitioner was acting for", + "definition": "The organization the device or practitioner was acting on behalf of.", + "requirements": "Practitioners and Devices can be associated with multiple organizations. This element indicates which organization they were acting on behalf of when performing the action.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.performer.onBehalfOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".scoper" + } + ] + }, + { + "id": "Procedure.location", + "path": "Procedure.location", + "short": "Where the procedure happened", + "definition": "The location where the procedure actually happened. E.g. a newborn at home, a tracheostomy at a restaurant.", + "requirements": "Ties a procedure to where the records are likely kept.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.location", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.where[x]" + }, + { + "identity": "rim", + "map": ".participation[typeCode=LOC].role[classCode=SDLOC]" + } + ] + }, + { + "id": "Procedure.reasonCode", + "path": "Procedure.reasonCode", + "short": "Coded reason procedure performed", + "definition": "The coded reason why the procedure was performed. This may be a coded entity of some type, or may simply be present as text.", + "comment": "Use Procedure.reasonCode when a code sufficiently describes the reason. Use Procedure.reasonReference when referencing a resource, which allows more information to be conveyed, such as onset date. Procedure.reasonCode and Procedure.reasonReference are not meant to be duplicative. For a single reason, either Procedure.reasonCode or Procedure.reasonReference can be used. Procedure.reasonCode may be a summary code, or Procedure.reasonReference may be used to reference a very precise definition of the reason using Condition | Observation | Procedure | DiagnosticReport | DocumentReference. Both Procedure.reasonCode and Procedure.reasonReference can be used if they are describing different reasons for the procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.reasonCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureReason" + } + ], + "strength": "example", + "description": "A code that identifies the reason a procedure is required.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-reason" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonCode" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": ".reasonCode" + } + ] + }, + { + "id": "Procedure.reasonReference", + "path": "Procedure.reasonReference", + "short": "The justification that the procedure was performed", + "definition": "The justification of why the procedure was performed.", + "comment": "It is possible for a procedure to be a reason (such as C-Section) for another procedure (such as an epidural). Other examples include endoscopy for dilatation and biopsy (a combination of diagnostic and therapeutic use). \nUse Procedure.reasonCode when a code sufficiently describes the reason. Use Procedure.reasonReference when referencing a resource, which allows more information to be conveyed, such as onset date. Procedure.reasonCode and Procedure.reasonReference are not meant to be duplicative. For a single reason, either Procedure.reasonCode or Procedure.reasonReference can be used. Procedure.reasonCode may be a summary code, or Procedure.reasonReference may be used to reference a very precise definition of the reason using Condition | Observation | Procedure | DiagnosticReport | DocumentReference. Both Procedure.reasonCode and Procedure.reasonReference can be used if they are describing different reasons for the procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.reasonReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "http://hl7.org/fhir/StructureDefinition/DocumentReference" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonReference" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": ".reasonCode" + } + ] + }, + { + "id": "Procedure.bodySite", + "path": "Procedure.bodySite", + "short": "Target body sites", + "definition": "Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion.", + "comment": "If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [procedure-targetbodystructure](http://hl7.org/fhir/R4/extension-procedure-targetbodystructure.html).", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.bodySite", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": ".targetSiteCode" + } + ] + }, + { + "id": "Procedure.outcome", + "path": "Procedure.outcome", + "short": "The result of procedure", + "definition": "The outcome of the procedure - did it resolve the reasons for the procedure being performed?", + "comment": "If outcome contains narrative text only, it can be captured using the CodeableConcept.text.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.outcome", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureOutcome" + } + ], + "strength": "example", + "description": "An outcome of a procedure - whether it was resolved or otherwise.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-outcome" + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=OUT].target.text" + } + ] + }, + { + "id": "Procedure.report", + "path": "Procedure.report", + "short": "Any report resulting from the procedure", + "definition": "This could be a histology result, pathology report, surgical report, etc.", + "comment": "There could potentially be multiple reports - e.g. if this was a procedure which took multiple biopsies resulting in a number of anatomical pathology reports.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.report", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/Composition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Procedure.complication", + "path": "Procedure.complication", + "short": "Complication following the procedure", + "definition": "Any complications that occurred during the procedure, or in the immediate post-performance period. These are generally tracked separately from the notes, which will typically describe the procedure itself rather than any 'post procedure' issues.", + "comment": "If complications are only expressed by the narrative text, they can be captured using the CodeableConcept.text.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.complication", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureComplication" + } + ], + "strength": "example", + "description": "Codes describing complications that resulted from a procedure.", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-code" + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=OUTC].target[classCode=OBS, code=\"complication\", moodCode=EVN].value" + } + ] + }, + { + "id": "Procedure.complicationDetail", + "path": "Procedure.complicationDetail", + "short": "A condition that is a result of the procedure", + "definition": "Any complications that occurred during the procedure, or in the immediate post-performance period.", + "requirements": "This is used to document a condition that is a result of the procedure, not the condition that was the reason for the procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.complicationDetail", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=OUTC].target[classCode=OBS, code=\"complication\", moodCode=EVN].value" + } + ] + }, + { + "id": "Procedure.followUp", + "path": "Procedure.followUp", + "short": "Instructions for follow up", + "definition": "If the procedure required specific follow up - e.g. removal of sutures. The follow up may be represented as a simple note or could potentially be more complex, in which case the CarePlan resource can be used.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.followUp", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureFollowUp" + } + ], + "strength": "example", + "description": "Specific follow up required for a procedure e.g. removal of sutures.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-followup" + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target[classCode=ACT, moodCode=INT].code" + } + ] + }, + { + "id": "Procedure.note", + "path": "Procedure.note", + "short": "Additional information about the procedure", + "definition": "Any other notes and comments about the procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.note" + }, + { + "identity": "v2", + "map": "NTE" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "Procedure.focalDevice", + "path": "Procedure.focalDevice", + "short": "Manipulated, implanted, or removed device", + "definition": "A device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.focalDevice", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=DEV].role[classCode=MANU]" + } + ] + }, + { + "id": "Procedure.focalDevice.id", + "path": "Procedure.focalDevice.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure.focalDevice.extension", + "path": "Procedure.focalDevice.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure.focalDevice.modifierExtension", + "path": "Procedure.focalDevice.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure.focalDevice.action", + "path": "Procedure.focalDevice.action", + "short": "Kind of change to device", + "definition": "The kind of change that happened to the device during the procedure.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.focalDevice.action", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DeviceActionKind" + } + ], + "strength": "preferred", + "description": "A kind of change that happened to the device during the procedure.", + "valueSet": "http://hl7.org/fhir/ValueSet/device-action" + }, + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"procedure device action\"].value=:procedure device action codes" + } + ] + }, + { + "id": "Procedure.focalDevice.manipulated", + "path": "Procedure.focalDevice.manipulated", + "short": "Device that was changed", + "definition": "The device that was manipulated (changed) during the procedure.", + "min": 1, + "max": "1", + "base": { + "path": "Procedure.focalDevice.manipulated", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=DEV].role[classCode=SDLOC]" + } + ] + }, + { + "id": "Procedure.usedReference", + "path": "Procedure.usedReference", + "short": "Items used during procedure", + "definition": "Identifies medications, devices and any other substance used as part of the procedure.", + "comment": "For devices actually implanted or removed, use Procedure.device.", + "requirements": "Used for tracking contamination, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.usedReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/Medication", + "http://hl7.org/fhir/StructureDefinition/Substance" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=DEV].role[classCode=MANU] or\n.participation[typeCode=CSM].role[classCode=ADMM] (for Medication or Substance)" + } + ] + }, + { + "id": "Procedure.usedCode", + "path": "Procedure.usedCode", + "short": "Coded items used during the procedure", + "definition": "Identifies coded items that were used as part of the procedure.", + "comment": "For devices actually implanted or removed, use Procedure.device.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.usedCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureUsed" + } + ], + "strength": "example", + "description": "Codes describing items used during a procedure.", + "valueSet": "http://hl7.org/fhir/ValueSet/device-kind" + }, + "mapping": [ + { + "identity": "rim", + "map": "participation[typeCode=Dev].role[classCode=MANU]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Procedure", + "path": "Procedure", + "definition": "The US Core Condition Profile is based upon the core FHIR Procedure Resource and created to meet the 2015 Edition Common Clinical Data Set 'Procedures' requirements.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure" + } + ] + }, + { + "id": "Procedure.status", + "path": "Procedure.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/event-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.status" + } + ] + }, + { + "id": "Procedure.code", + "path": "Procedure.code", + "short": "Procedure codes from SNOMED CT, CPT, HCPCS II, ICD-10PC, or CDT", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Codes describing the type of Procedure", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code|3.1.1" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.code" + } + ] + }, + { + "id": "Procedure.subject", + "path": "Procedure.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.subject" + } + ] + }, + { + "id": "Procedure.performed[x]", + "path": "Procedure.performed[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.performed[x]" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-provenance.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-provenance.json new file mode 100644 index 00000000000..e5af5d5e49e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-provenance.json @@ -0,0 +1,2616 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-provenance", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance", + "version": "3.1.1", + "name": "USCoreProvenance", + "title": "US Core Provenance Profile", + "status": "active", + "date": "2019-08-05", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Draft set of requirements to satisfy Basic Provenance Requirements.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w3c.prov", + "uri": "http://www.w3.org/ns/prov", + "name": "W3C PROV" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "fhirauditevent", + "uri": "http://hl7.org/fhir/auditevent", + "name": "FHIR AuditEvent Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Provenance", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Provenance", + "path": "Provenance", + "short": "US Core Provenance", + "definition": "The US Core Provenance Profile is based upon the Argonaut Data Query requirements.", + "comment": "Some parties may be duplicated between the target resource and its provenance. For instance, the prescriber is usually (but not always) the author of the prescription resource. This resource is defined with close consideration for W3C Provenance.", + "alias": [ + "History", + "Event", + "Activity", + "Basic Provenance" + ], + "min": 0, + "max": "*", + "base": { + "path": "Provenance", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "rim", + "map": "ControlAct[isNormalAct() and subsumes(CACT, classCode) and moodCode=EVN]" + }, + { + "identity": "w3c.prov", + "map": "Activity" + } + ] + }, + { + "id": "Provenance.id", + "path": "Provenance.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Provenance.meta", + "path": "Provenance.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Provenance.implicitRules", + "path": "Provenance.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Provenance.language", + "path": "Provenance.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Provenance.text", + "path": "Provenance.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Provenance.contained", + "path": "Provenance.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.extension", + "path": "Provenance.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.modifierExtension", + "path": "Provenance.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.target", + "path": "Provenance.target", + "short": "The Resource this Provenance record supports", + "definition": "The Reference(s) that were generated or updated by the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity.", + "comment": "Target references are usually version specific, but might not be, if a version has not been assigned or if the provenance information is part of the set of resources being maintained (i.e. a document). When using the RESTful API, the identity of the resource might not be known (especially not the version specific one); the client may either submit the resource first, and then the provenance, or it may submit both using a single transaction. See the notes on transaction for further discussion.", + "min": 1, + "max": "*", + "base": { + "path": "Provenance.target", + "min": 1, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": "./outboundRelationship[isNormalActRelationship() and typeCode=SUBJ]/target OR ./participation[isNormalParticipation() and typeCode=SBJ]/role OR ./participation[isNormalParticipation() and typeCode=SBJ]/role[isNormalRole()]/player" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.entity.reference" + }, + { + "identity": "w3c.prov", + "map": "Entity Created/Updated" + } + ] + }, + { + "id": "Provenance.occurred[x]", + "path": "Provenance.occurred[x]", + "short": "When the activity occurred", + "definition": "The period during which the activity occurred.", + "comment": "The period can be a little arbitrary; where possible, the time should correspond to human assessment of the activity time.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.occurred[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + }, + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurred[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "rim", + "map": "./effectiveTime[type=IVL_TS]" + }, + { + "identity": "w3c.prov", + "map": "Activity.startTime & Activity.endTime" + } + ] + }, + { + "id": "Provenance.recorded", + "path": "Provenance.recorded", + "short": "Timestamp when the activity was recorded / updated", + "definition": "The instant of time at which the activity was recorded.", + "comment": "This can be a little different from the time stamp on the resource if there is a delay between recording the event and updating the provenance and target resource.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.recorded", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "rim", + "map": "unique(./participation[isNormalParticipation() and typeCode=AUT]/time[type=TS])" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.recorded" + }, + { + "identity": "w3c.prov", + "map": "Activity.when" + } + ] + }, + { + "id": "Provenance.policy", + "path": "Provenance.policy", + "short": "Policy or plan the activity was defined by", + "definition": "Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc.", + "comment": "For example: Where an OAuth token authorizes, the unique identifier from the OAuth token is placed into the policy element Where a policy engine (e.g. XACML) holds policy logic, the unique policy identifier is placed into the policy element.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.policy", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "./inboundRelationship[isNormalActRelationship() and typeCode=\"SUBJ\"]/source[isNormalAct and subsumes(POLICY, classCode) and moodCode=EVN]/text[typeCode='ED'/tel" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.policy" + } + ] + }, + { + "id": "Provenance.location", + "path": "Provenance.location", + "short": "Where the activity occurred, if relevant", + "definition": "Where the activity occurred, if relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.location", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.location" + }, + { + "identity": "w5", + "map": "FiveWs.where[x]" + }, + { + "identity": "rim", + "map": "unique(./participation[isNormalParticipation() and typeCode=LOC]/role[isNormalRole() and subsumes(SDLOC, classCode)]/player[isNormalEntity and classCode=\"LOC\" and determinerCode=\"INST\"]" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.location" + }, + { + "identity": "w3c.prov", + "map": "Activity.location" + } + ] + }, + { + "id": "Provenance.reason", + "path": "Provenance.reason", + "short": "Reason the activity is occurring", + "definition": "The reason that the activity was taking place.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.reason", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProvenanceReason" + } + ], + "strength": "extensible", + "description": "The reason the activity took place.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-PurposeOfUse" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonCode" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": "unique(./reasonCode)" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.purposeOfEvent" + }, + { + "identity": "w3c.prov", + "map": "Activity.Activity" + } + ] + }, + { + "id": "Provenance.activity", + "path": "Provenance.activity", + "short": "Activity that occurred", + "definition": "An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.activity", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProvenanceActivity" + } + ], + "strength": "extensible", + "description": "The activity that took place.", + "valueSet": "http://hl7.org/fhir/ValueSet/provenance-activity-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": "Act.code" + }, + { + "identity": "w3c.prov", + "map": "Activity.Activity" + } + ] + }, + { + "id": "Provenance.agent", + "path": "Provenance.agent", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "type" + } + ], + "rules": "open" + }, + "short": "Actor involved", + "definition": "An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.", + "comment": "Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.", + "requirements": "An agent can be a person, an organization, software, device, or other entities that may be ascribed responsibility.", + "min": 1, + "max": "*", + "base": { + "path": "Provenance.agent", + "min": 1, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer" + }, + { + "identity": "w5", + "map": "FiveWs.who" + }, + { + "identity": "rim", + "map": "./participation[isNormalParticipation()] OR ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent" + }, + { + "identity": "w3c.prov", + "map": "Agent" + } + ] + }, + { + "id": "Provenance.agent.id", + "path": "Provenance.agent.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.agent.extension", + "path": "Provenance.agent.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.agent.modifierExtension", + "path": "Provenance.agent.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.agent.type", + "path": "Provenance.agent.type", + "short": "How the agent participated", + "definition": "The participation the agent had with respect to the activity.", + "comment": "For example: author, performer, enterer, attester, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.agent.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.function" + }, + { + "identity": "rim", + "map": ".role" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.type" + }, + { + "identity": "w3c.prov", + "map": "Agent.Attribution" + } + ] + }, + { + "id": "Provenance.agent.role", + "path": "Provenance.agent.role", + "short": "What the agents role was", + "definition": "The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity.", + "comment": "For example: doctor, nurse, clerk, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.agent.role", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProvenanceAgentRole" + } + ], + "strength": "example", + "description": "The role that a provenance agent played with respect to the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/security-role-type" + }, + "mapping": [ + { + "identity": "rim", + "map": ".typecode" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.role" + } + ] + }, + { + "id": "Provenance.agent.who", + "path": "Provenance.agent.who", + "short": "Who participated", + "definition": "The individual, device or organization that participated in the event.", + "comment": "whoIdentity should be used when the agent is not a Resource type.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.agent.who", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Provenance.agent.onBehalfOf", + "path": "Provenance.agent.onBehalfOf", + "short": "Who the agent is representing", + "definition": "The individual, device, or organization for whom the change was made.", + "comment": "onBehalfOfIdentity should be used when the agent is not a Resource type.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.agent.onBehalfOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "provenance-1", + "severity": "error", + "human": "onBehalfOf SHALL be present when Provenance.agent.who is a Practitioner or Device", + "expression": "(($this.agent.who.resolve() is Practitioner) or ($this.agent.who.resolve() is Device)) implies exists()" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor", + "path": "Provenance.agent", + "sliceName": "ProvenanceAuthor", + "short": "Actor involved", + "definition": "An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.", + "comment": "Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.", + "requirements": "An agent can be a person, an organization, software, device, or other entities that may be ascribed responsibility.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.agent", + "min": 1, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer" + }, + { + "identity": "w5", + "map": "FiveWs.who" + }, + { + "identity": "rim", + "map": "./participation[isNormalParticipation()] OR ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent" + }, + { + "identity": "w3c.prov", + "map": "Agent" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.id", + "path": "Provenance.agent.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.extension", + "path": "Provenance.agent.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.modifierExtension", + "path": "Provenance.agent.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.type", + "path": "Provenance.agent.type", + "short": "How the agent participated", + "definition": "The participation the agent had with respect to the activity.", + "comment": "For example: author, performer, enterer, attester, etc.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.agent.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", + "code": "author" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProvenanceAgentType" + } + ], + "strength": "extensible", + "description": "The type of participation that a provenance agent played with respect to the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/provenance-agent-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.function" + }, + { + "identity": "rim", + "map": ".role" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.type" + }, + { + "identity": "w3c.prov", + "map": "Agent.Attribution" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.role", + "path": "Provenance.agent.role", + "short": "What the agents role was", + "definition": "The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity.", + "comment": "For example: doctor, nurse, clerk, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.agent.role", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProvenanceAgentRole" + } + ], + "strength": "example", + "description": "The role that a provenance agent played with respect to the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/security-role-type" + }, + "mapping": [ + { + "identity": "rim", + "map": ".typecode" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.role" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.who", + "path": "Provenance.agent.who", + "short": "Who participated", + "definition": "The individual, device or organization that participated in the event.", + "comment": "whoIdentity should be used when the agent is not a Resource type.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.agent.who", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.onBehalfOf", + "path": "Provenance.agent.onBehalfOf", + "short": "Who the agent is representing", + "definition": "The individual, device, or organization for whom the change was made.", + "comment": "onBehalfOfIdentity should be used when the agent is not a Resource type.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.agent.onBehalfOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter", + "path": "Provenance.agent", + "sliceName": "ProvenanceTransmitter", + "short": "Actor involved", + "definition": "The entity that provided the copy to your system.", + "comment": "Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.", + "requirements": "An agent can be a person, an organization, software, device, or other entities that may be ascribed responsibility.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.agent", + "min": 1, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer" + }, + { + "identity": "w5", + "map": "FiveWs.who" + }, + { + "identity": "rim", + "map": "./participation[isNormalParticipation()] OR ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent" + }, + { + "identity": "w3c.prov", + "map": "Agent" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.id", + "path": "Provenance.agent.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.extension", + "path": "Provenance.agent.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.modifierExtension", + "path": "Provenance.agent.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.type", + "path": "Provenance.agent.type", + "short": "How the agent participated", + "definition": "The participation the agent had with respect to the activity.", + "comment": "For example: author, performer, enterer, attester, etc.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.agent.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", + "code": "transmitter" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProvenanceAgentType" + } + ], + "strength": "extensible", + "description": "The type of participation that a provenance agent played with respect to the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/provenance-agent-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.function" + }, + { + "identity": "rim", + "map": ".role" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.type" + }, + { + "identity": "w3c.prov", + "map": "Agent.Attribution" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.role", + "path": "Provenance.agent.role", + "short": "What the agents role was", + "definition": "The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity.", + "comment": "For example: doctor, nurse, clerk, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.agent.role", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProvenanceAgentRole" + } + ], + "strength": "example", + "description": "The role that a provenance agent played with respect to the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/security-role-type" + }, + "mapping": [ + { + "identity": "rim", + "map": ".typecode" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.role" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.who", + "path": "Provenance.agent.who", + "short": "Who participated", + "definition": "The individual, device or organization that participated in the event.", + "comment": "whoIdentity should be used when the agent is not a Resource type.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.agent.who", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.onBehalfOf", + "path": "Provenance.agent.onBehalfOf", + "short": "Who the agent is representing", + "definition": "The individual, device, or organization for whom the change was made.", + "comment": "onBehalfOfIdentity should be used when the agent is not a Resource type.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.agent.onBehalfOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]" + } + ] + }, + { + "id": "Provenance.entity", + "path": "Provenance.entity", + "short": "An entity used in this activity", + "definition": "An entity used in this activity.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.entity", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "./subjectOf" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.entity" + }, + { + "identity": "w3c.prov", + "map": "Entity" + } + ] + }, + { + "id": "Provenance.entity.id", + "path": "Provenance.entity.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.entity.extension", + "path": "Provenance.entity.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.entity.modifierExtension", + "path": "Provenance.entity.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.entity.role", + "path": "Provenance.entity.role", + "short": "derivation | revision | quotation | source | removal", + "definition": "How the entity was used during the activity.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.entity.role", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProvenanceEntityRole" + } + ], + "strength": "required", + "description": "How an entity was used in an activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "./typeCode" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.entity.lifecycle" + }, + { + "identity": "w3c.prov", + "map": "Entity.role" + } + ] + }, + { + "id": "Provenance.entity.what", + "path": "Provenance.entity.what", + "short": "Identity of entity", + "definition": "Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.", + "comment": "whatIdentity should be used for entities that are not a Resource type.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.entity.what", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./text/reference" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.entity.reference" + }, + { + "identity": "w3c.prov", + "map": "Entity.Identity" + } + ] + }, + { + "id": "Provenance.entity.agent", + "path": "Provenance.entity.agent", + "short": "Entity is attributed to this agent", + "definition": "The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity.", + "comment": "A usecase where one Provenance.entity.agent is used where the Entity that was used in the creation/updating of the Target, is not in the context of the same custodianship as the Target, and thus the meaning of Provenance.entity.agent is to say that the entity referenced is managed elsewhere and that this Agent provided access to it. This would be similar to where the Entity being referenced is managed outside FHIR, such as through HL7 v2, v3, or XDS. This might be where the Entity being referenced is managed in another FHIR resource server. Thus it explains the Provenance of that Entity's use in the context of this Provenance activity.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.entity.agent", + "min": 0, + "max": "*" + }, + "contentReference": "#Provenance.agent:ProvenanceTransmitter", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "./author/role" + } + ] + }, + { + "id": "Provenance.signature", + "path": "Provenance.signature", + "short": "Signature on target", + "definition": "A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.signature", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Signature" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "./signatureText" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Provenance", + "path": "Provenance", + "short": "US Core Provenance", + "definition": "The US Core Provenance Profile is based upon the Argonaut Data Query requirements.", + "alias": [ + "Basic Provenance" + ], + "mustSupport": false, + "isModifier": false + }, + { + "id": "Provenance.target", + "path": "Provenance.target", + "short": "The Resource this Provenance record supports", + "min": 1, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "Provenance.recorded", + "path": "Provenance.recorded", + "short": "Timestamp when the activity was recorded / updated", + "definition": "The instant of time at which the activity was recorded.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "Provenance.agent", + "path": "Provenance.agent", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "type" + } + ], + "rules": "open" + }, + "min": 1, + "max": "*", + "mustSupport": true, + "isModifier": false + }, + { + "id": "Provenance.agent.type", + "path": "Provenance.agent.type", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type|3.1.1" + } + }, + { + "id": "Provenance.agent.who", + "path": "Provenance.agent.who", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "Provenance.agent.onBehalfOf", + "path": "Provenance.agent.onBehalfOf", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "provenance-1", + "severity": "error", + "human": "onBehalfOf SHALL be present when Provenance.agent.who is a Practitioner or Device", + "expression": "(($this.agent.who.resolve() is Practitioner) or ($this.agent.who.resolve() is Device)) implies exists()" + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "Provenance.agent:ProvenanceAuthor", + "path": "Provenance.agent", + "sliceName": "ProvenanceAuthor", + "min": 0, + "max": "*", + "mustSupport": true, + "isModifier": false + }, + { + "id": "Provenance.agent:ProvenanceAuthor.type", + "path": "Provenance.agent.type", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", + "code": "author" + } + ] + }, + "mustSupport": true, + "isModifier": false + }, + { + "id": "Provenance.agent:ProvenanceTransmitter", + "path": "Provenance.agent", + "sliceName": "ProvenanceTransmitter", + "definition": "The entity that provided the copy to your system.", + "min": 0, + "max": "1", + "mustSupport": true, + "isModifier": false + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.type", + "path": "Provenance.agent.type", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", + "code": "transmitter" + } + ] + }, + "mustSupport": true, + "isModifier": false + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-pulse-oximetry.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-pulse-oximetry.json new file mode 100644 index 00000000000..cac3a0b4624 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-pulse-oximetry.json @@ -0,0 +1,6531 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-pulse-oximetry", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry", + "version": "3.1.1", + "name": "USCorePulseOximetryProfile", + "title": "US Core Pulse Oximetry Profile", + "status": "active", + "experimental": false, + "date": "2020-06-29", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the Observation resource for use in querying and retrieving inspired O2 by pulse oximetry observations.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/oxygensat", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "FHIR Oxygen Saturation Profile", + "definition": "This profile defines how to represent pulse oximetry and inspired oxygen concentration based on the FHIR Core Vitals Profile.\nINSPIRED OXYGEN CONCENTRATION observations in FHIR using a standard LOINC code and UCUM units of measure.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.extension", + "path": "Observation.category.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Oxygen Saturation by Pulse Oximetry", + "definition": "Oxygen Saturation.", + "comment": "The code (59408-5 Oxygen saturation in Arterial blood by Pulse oximetry) is included as an additional observation code to FHIR Core vital Oxygen Saturation code (2708-6 Oxygen saturation in Arterial blood -).", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name", + "Test" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "VitalSigns" + } + ], + "strength": "extensible", + "description": "This identifies the vital sign result type.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.code.id", + "path": "Observation.code.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.code.extension", + "path": "Observation.code.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.code.coding", + "path": "Observation.code.coding", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "code" + }, + { + "type": "value", + "path": "system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 0, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.code.coding:OxygenSatCode", + "path": "Observation.code.coding", + "sliceName": "OxygenSatCode", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "1", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.code.coding:OxygenSatCode.id", + "path": "Observation.code.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.code.coding:OxygenSatCode.extension", + "path": "Observation.code.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.code.coding:OxygenSatCode.system", + "path": "Observation.code.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://loinc.org", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.code.coding:OxygenSatCode.version", + "path": "Observation.code.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.code.coding:OxygenSatCode.code", + "path": "Observation.code.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "2708-6", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.code.coding:OxygenSatCode.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.code.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.code.coding:OxygenSatCode.userSelected", + "path": "Observation.code.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.code.coding:PulseOx", + "path": "Observation.code.coding", + "sliceName": "PulseOx", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "1", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.code.coding:PulseOx.id", + "path": "Observation.code.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.code.coding:PulseOx.extension", + "path": "Observation.code.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.code.coding:PulseOx.system", + "path": "Observation.code.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://loinc.org", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.code.coding:PulseOx.version", + "path": "Observation.code.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.code.coding:PulseOx.code", + "path": "Observation.code.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "59408-5", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.code.coding:PulseOx.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.code.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.code.coding:PulseOx.userSelected", + "path": "Observation.code.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.code.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.code.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "definition": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "definition": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "Coded responses from the common UCUM units for vital signs value set.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "code" + } + ], + "rules": "open" + }, + "short": "Used when reporting systolic and diastolic blood pressure.", + "definition": "Used when reporting systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/oxygensat" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "VitalSigns" + } + ], + "strength": "extensible", + "description": "This identifies the vital sign result type.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Value recorded with UCUM", + "definition": "Vital Sign Value recorded with UCUM.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "VitalSignsUnits" + } + ], + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.component:FlowRate", + "path": "Observation.component", + "sliceName": "FlowRate", + "short": "Inhaled oxygen flow rate", + "definition": "Used when reporting systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/oxygensat" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component:FlowRate.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:FlowRate.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:FlowRate.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component:FlowRate.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3151-8" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "VitalSigns" + } + ], + "strength": "extensible", + "description": "This identifies the vital sign result type.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Value recorded with UCUM", + "definition": "Vital Sign Value recorded with UCUM.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "VitalSignsUnits" + } + ], + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].id", + "path": "Observation.component.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].extension", + "path": "Observation.component.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].value", + "path": "Observation.component.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].comparator", + "path": "Observation.component.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.component.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].system", + "path": "Observation.component.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].code", + "path": "Observation.component.value[x].code", + "short": "Coded form of the unit", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "L/min", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.component:FlowRate.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component:FlowRate.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component:FlowRate.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.component:Concentration", + "path": "Observation.component", + "sliceName": "Concentration", + "short": "Inhaled oxygen concentration", + "definition": "Used when reporting systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/oxygensat" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component:Concentration.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:Concentration.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:Concentration.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component:Concentration.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3150-0" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "VitalSigns" + } + ], + "strength": "extensible", + "description": "This identifies the vital sign result type.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Value recorded with UCUM", + "definition": "Vital Sign Value recorded with UCUM.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "VitalSignsUnits" + } + ], + "strength": "required", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].id", + "path": "Observation.component.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].extension", + "path": "Observation.component.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].value", + "path": "Observation.component.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].comparator", + "path": "Observation.component.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.component.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].system", + "path": "Observation.component.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].code", + "path": "Observation.component.value[x].code", + "short": "Coded form of the unit", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.component:Concentration.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component:Concentration.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component:Concentration.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "definition": "This profile defines how to represent pulse oximetry and inspired oxygen concentration based on the FHIR Core Vitals Profile.\nINSPIRED OXYGEN CONCENTRATION observations in FHIR using a standard LOINC code and UCUM units of measure.", + "mustSupport": false + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Oxygen Saturation by Pulse Oximetry", + "comment": "The code (59408-5 Oxygen saturation in Arterial blood by Pulse oximetry) is included as an additional observation code to FHIR Core vital Oxygen Saturation code (2708-6 Oxygen saturation in Arterial blood -).", + "mustSupport": true + }, + { + "id": "Observation.code.coding", + "path": "Observation.code.coding", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "code" + }, + { + "type": "value", + "path": "system" + } + ], + "rules": "open" + }, + "mustSupport": true + }, + { + "id": "Observation.code.coding:PulseOx", + "path": "Observation.code.coding", + "sliceName": "PulseOx", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.code.coding:PulseOx.system", + "path": "Observation.code.coding.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://loinc.org", + "mustSupport": true + }, + { + "id": "Observation.code.coding:PulseOx.code", + "path": "Observation.code.coding.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "59408-5", + "mustSupport": true + }, + { + "id": "Observation.component", + "path": "Observation.component", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "code" + } + ], + "rules": "open" + }, + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate", + "path": "Observation.component", + "sliceName": "FlowRate", + "short": "Inhaled oxygen flow rate", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.code", + "path": "Observation.component.code", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3151-8" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.valueQuantity", + "path": "Observation.component.valueQuantity", + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.valueQuantity.value", + "path": "Observation.component.valueQuantity.value", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.valueQuantity.unit", + "path": "Observation.component.valueQuantity.unit", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.valueQuantity.system", + "path": "Observation.component.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.valueQuantity.code", + "path": "Observation.component.valueQuantity.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "L/min", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration", + "path": "Observation.component", + "sliceName": "Concentration", + "short": "Inhaled oxygen concentration", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.code", + "path": "Observation.component.code", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3150-0" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.valueQuantity", + "path": "Observation.component.valueQuantity", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.valueQuantity.value", + "path": "Observation.component.valueQuantity.value", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.valueQuantity.unit", + "path": "Observation.component.valueQuantity.unit", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.valueQuantity.system", + "path": "Observation.component.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.valueQuantity.code", + "path": "Observation.component.valueQuantity.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-race.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-race.json new file mode 100644 index 00000000000..f9c7444fd16 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-race.json @@ -0,0 +1,2274 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-race", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "version": "3.1.1", + "name": "USCoreRaceExtension", + "title": "US Core Race Extension", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "Complies with 2015 Edition Common Clinical Data Set for patient race.", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Patient" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "US Core Race Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.", + "min": 0, + "max": "1", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory", + "path": "Extension.extension", + "sliceName": "ombCategory", + "short": "American Indian or Alaska Native|Asian|Black or African American|Native Hawaiian or Other Pacific Islander|White", + "definition": "The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "min": 0, + "max": "5", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/raceCode" + } + ] + }, + { + "id": "Extension.extension:ombCategory.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension.value[x]", + "path": "Extension.extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:ombCategory.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "ombCategory", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:ombCategory.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:ombCategory.value[x]:valueCoding", + "path": "Extension.extension.value[x]", + "sliceName": "valueCoding", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category|3.1.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed", + "path": "Extension.extension", + "sliceName": "detailed", + "short": "Extended race codes", + "definition": "The 900+ CDC race codes that are grouped under one of the 5 OMB race category codes:.", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:raceCode" + } + ] + }, + { + "id": "Extension.extension:detailed.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:detailed.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:detailed.extension.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:detailed.extension.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:detailed.extension.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed.extension.value[x]", + "path": "Extension.extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "detailed", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed.value[x]:valueCoding", + "path": "Extension.extension.value[x]", + "sliceName": "valueCoding", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "The [900+ CDC Race codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 5 OMB race category codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/detailed-race|3.1.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text", + "path": "Extension.extension", + "sliceName": "text", + "short": "Race Text", + "definition": "Plain text representation of the race concept(s).", + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Extension.extension:text.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:text.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:text.extension.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:text.extension.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:text.extension.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text.extension.value[x]", + "path": "Extension.extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "text", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "US Core Race Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.", + "min": 0, + "max": "1" + }, + { + "id": "Extension.extension:ombCategory", + "path": "Extension.extension", + "sliceName": "ombCategory", + "short": "American Indian or Alaska Native|Asian|Black or African American|Native Hawaiian or Other Pacific Islander|White", + "definition": "The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "min": 0, + "max": "5", + "type": [ + { + "code": "Extension" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/raceCode" + } + ] + }, + { + "id": "Extension.extension:ombCategory.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "ombCategory" + }, + { + "id": "Extension.extension:ombCategory.valueCoding", + "path": "Extension.extension.valueCoding", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "binding": { + "strength": "required", + "description": "The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category|3.1.1" + } + }, + { + "id": "Extension.extension:detailed", + "path": "Extension.extension", + "sliceName": "detailed", + "short": "Extended race codes", + "definition": "The 900+ CDC race codes that are grouped under one of the 5 OMB race category codes:.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:raceCode" + } + ] + }, + { + "id": "Extension.extension:detailed.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "detailed" + }, + { + "id": "Extension.extension:detailed.valueCoding", + "path": "Extension.extension.valueCoding", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "binding": { + "strength": "required", + "description": "The [900+ CDC Race codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 5 OMB race category codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/detailed-race|3.1.1" + } + }, + { + "id": "Extension.extension:text", + "path": "Extension.extension", + "sliceName": "text", + "short": "Race Text", + "definition": "Plain text representation of the race concept(s).", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension" + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:text.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "text" + }, + { + "id": "Extension.extension:text.valueString", + "path": "Extension.extension.valueString", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "min": 1, + "max": "1", + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-smokingstatus.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-smokingstatus.json new file mode 100644 index 00000000000..b5e86d89206 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/StructureDefinition-us-core-smokingstatus.json @@ -0,0 +1,2887 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-smokingstatus", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus", + "version": "3.1.1", + "name": "USCoreSmokingStatusProfile", + "title": "US Core Smoking Status Observation Profile", + "status": "active", + "experimental": false, + "date": "2019-05-21T00:00:00+00:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "description": "Defines constraints and extensions on the Observation resource for the minimal set of data to query and retrieve patient's Smoking Status information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "Measurements and simple assertions", + "definition": "The US Core Smoking Status Observation Profile is based upon the core FHIR Observation Resource and created to meet the USCDI Data Set 'Smoking status' requirements.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests", + "Obs" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status|3.1.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.status" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Smoking Status", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes|3.1.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.code" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/R4/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Clinically relevant time/time-period for observation", + "definition": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/R4/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + }, + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/R4/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.issued" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueCodeableConcept", + "path": "Observation.value[x]", + "sliceName": "valueCodeableConcept", + "short": "Coded Responses from Smoking Status Value Set", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max|3.1.1" + } + ], + "strength": "preferred", + "description": "This value set enumerates codes SNOMED CT codes historically used for the current smoking status of a patient with a maximum required binding to Snomed CT codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus|3.1.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.valueCodeableConcept" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/R4/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Related resource that belongs to the Observation group", + "definition": "This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component results", + "definition": "Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCode" + } + ], + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "definition": "The US Core Smoking Status Observation Profile is based upon the core FHIR Observation Resource and created to meet the USCDI Data Set 'Smoking status' requirements.", + "alias": [ + "Obs" + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation" + } + ] + }, + { + "id": "Observation.status", + "path": "Observation.status", + "min": 1, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status|3.1.1" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.status" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Smoking Status", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes|3.1.1" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.code" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.subject" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "min": 1, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.issued" + } + ] + }, + { + "id": "Observation.valueCodeableConcept", + "path": "Observation.valueCodeableConcept", + "short": "Coded Responses from Smoking Status Value Set", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max|3.1.1" + } + ], + "strength": "preferred", + "description": "This value set enumerates codes SNOMED CT codes historically used for the current smoking status of a patient with a maximum required binding to Snomed CT codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus|3.1.1" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.valueCodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-birthsex.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-birthsex.json new file mode 100644 index 00000000000..3d19c0bc3d7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-birthsex.json @@ -0,0 +1,69 @@ +{ + "resourceType": "ValueSet", + "id": "birthsex", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/birthsex", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1021.24" + } + ], + "version": "3.1.1", + "name": "BirthSex", + "title": "Birth Sex", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Codes for assigning sex at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender", + "concept": [ + { + "code": "F", + "display": "Female" + }, + { + "code": "M", + "display": "Male" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "Unknown" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-detailed-ethnicity.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-detailed-ethnicity.json new file mode 100644 index 00000000000..d59ee3f10e3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-detailed-ethnicity.json @@ -0,0 +1,54 @@ +{ + "resourceType": "ValueSet", + "id": "detailed-ethnicity", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity", + "version": "3.1.1", + "name": "DetailedEthnicity", + "title": "Detailed ethnicity", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "description": "The 41 [CDC ethnicity codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 2 OMB ethnicity category codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "2133-7" + } + ] + } + ], + "exclude": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "2135-2" + }, + { + "code": "2186-5" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-detailed-race.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-detailed-race.json new file mode 100644 index 00000000000..aa8ed424d25 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-detailed-race.json @@ -0,0 +1,63 @@ +{ + "resourceType": "ValueSet", + "id": "detailed-race", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-race", + "version": "3.1.1", + "name": "DetailedRace", + "title": "Detailed Race", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "description": "The 900+ [CDC Race codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 5 OMB race category codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "1000-9" + } + ] + } + ], + "exclude": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "1002-5" + }, + { + "code": "2028-9" + }, + { + "code": "2054-5" + }, + { + "code": "2076-8" + }, + { + "code": "2106-3" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-omb-ethnicity-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-omb-ethnicity-category.json new file mode 100644 index 00000000000..d0ab17f718b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-omb-ethnicity-category.json @@ -0,0 +1,44 @@ +{ + "resourceType": "ValueSet", + "id": "omb-ethnicity-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category", + "version": "3.1.1", + "name": "OmbEthnicityCategories", + "title": "OMB Ethnicity Categories", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "description": "The codes for the ethnicity categories - 'Hispanic or Latino' and 'Non Hispanic or Latino' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "2135-2", + "display": "Hispanic or Latino" + }, + { + "code": "2186-5", + "display": "Non Hispanic or Latino" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-omb-race-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-omb-race-category.json new file mode 100644 index 00000000000..d02d8c7d0b7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-omb-race-category.json @@ -0,0 +1,93 @@ +{ + "resourceType": "ValueSet", + "id": "omb-race-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.2.575" + } + ], + "version": "3.1.1", + "name": "OmbRaceCategories", + "title": "OMB Race Categories", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + }, + { + "telecom": [ + { + "system": "other", + "value": "http://wiki.siframework.org/Data+Access+Framework+Homepage" + } + ] + } + ], + "description": "The codes for the concepts 'Unknown' and 'Asked but no answer' and the the codes for the five race categories - 'American Indian' or 'Alaska Native', 'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific Islander', and 'White' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf) .", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "1002-5", + "display": "American Indian or Alaska Native" + }, + { + "code": "2028-9", + "display": "Asian" + }, + { + "code": "2054-5", + "display": "Black or African American" + }, + { + "code": "2076-8", + "display": "Native Hawaiian or Other Pacific Islander" + }, + { + "code": "2106-3", + "display": "White" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "Unknown" + }, + { + "code": "ASKU", + "display": "Asked but no answer" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-simple-language.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-simple-language.json new file mode 100644 index 00000000000..532cfb149d6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-simple-language.json @@ -0,0 +1,71 @@ +{ + "resourceType": "ValueSet", + "id": "simple-language", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/simple-language", + "version": "3.1.1", + "name": "LanguageCodesWithLanguageAndOptionallyARegionModifier", + "title": "Language codes with language and optionally a region modifier", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set includes codes from [BCP-47](http://tools.ietf.org/html/bcp47). This value set matches the ONC 2015 Edition LanguageCommunication data element value set within C-CDA to use a 2 character language code if one exists, and a 3 character code if a 2 character code does not exist. It points back to [RFC 5646](https://tools.ietf.org/html/rfc5646), however only the language codes are required, all other elements are optional.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:ietf:bcp:47", + "filter": [ + { + "property": "ext-lang", + "op": "exists", + "value": "false" + }, + { + "property": "script", + "op": "exists", + "value": "false" + }, + { + "property": "variant", + "op": "exists", + "value": "false" + }, + { + "property": "extension", + "op": "exists", + "value": "false" + }, + { + "property": "private-use", + "op": "exists", + "value": "false" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-allergy-substance.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-allergy-substance.json new file mode 100644 index 00000000000..56b812a4628 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-allergy-substance.json @@ -0,0 +1,3118 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-allergy-substance", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-allergy-substance", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1186.8" + } + ], + "version": "3.1.1", + "name": "USCoreAllergySubstance", + "title": "US Core Common substances for allergy and intolerance documentation including refutations", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Documentation of substances suspected of (or not suspected of) causing an allergy or intolerance reaction in an individual. **Inclusion Criteria:** specific or general substances to which a patient may be exposed and which may be suspected of causing an adverse reaction; assertions refuting these suspicions. This includes:\n\n 1. Common dietary substances for allergy and intolerance documentation (SNOMEDCT)\n 2. Common drug classes for allergy and intolerance documentation (SNOMEDCT)\n 3. Common drug substances for allergy and intolerance documentation (RXNORM)\n 4. Common environmental substances for allergy and intolerance documentation (SNOMEDCT)\n 5. Common refutations and null values for substance causes for allergy and intolerance documentation (SNOMEDCT)\n\n **Exclusion Criteria:** actual conditions caused by exposure (reactions, allergies)\n", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from:\n 1. SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n 2. RxNorm: Using RxNorm codes of type SAB=RXNORM as this specification describes [does not require](https://www.nlm.nih.gov/research/umls/rxnorm/docs/prescribe.html) a UMLS license. Access to the full set of RxNorm definitions, and/or additional use of other RxNorm structures and information requires a UMLS license. The use of RxNorm in this specification is pursuant to HL7's status as a licensee of the NLM UMLS. HL7's license does not convey the right to use RxNorm to any users of this specification; implementers must acquire a license to use RxNorm in their own right.\n", + "compose": { + "include": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "concept": [ + { + "code": "1002293", + "display": "formoterol / Mometasone" + }, + { + "code": "1007388", + "display": "Lactase / rennet" + }, + { + "code": "1008298", + "display": "Acetaminophen / Caffeine / Chlorpheniramine / Hydrocodone / Phenylephrine" + }, + { + "code": "1008519", + "display": "guaiacolsulfonate / Hydrocodone" + }, + { + "code": "1009148", + "display": "Ampicillin / Sulbactam" + }, + { + "code": "10109", + "display": "Streptomycin" + }, + { + "code": "10154", + "display": "Succinylcholine" + }, + { + "code": "10156", + "display": "Sucralfate" + }, + { + "code": "10169", + "display": "Sulfacetamide" + }, + { + "code": "10171", + "display": "Sulfadiazine" + }, + { + "code": "10180", + "display": "Sulfamethoxazole" + }, + { + "code": "10207", + "display": "Sulfisoxazole" + }, + { + "code": "10223", + "display": "Sulfur" + }, + { + "code": "10237", + "display": "Sulindac" + }, + { + "code": "10324", + "display": "Tamoxifen" + }, + { + "code": "10355", + "display": "Temazepam" + }, + { + "code": "10368", + "display": "Terbutaline" + }, + { + "code": "1037042", + "display": "dabigatran etexilate" + }, + { + "code": "10379", + "display": "Testosterone" + }, + { + "code": "10395", + "display": "Tetracycline" + }, + { + "code": "103990", + "display": "Carbidopa / Levodopa" + }, + { + "code": "1040028", + "display": "lurasidone" + }, + { + "code": "10438", + "display": "Theophylline" + }, + { + "code": "10472", + "display": "Thimerosal" + }, + { + "code": "10493", + "display": "Thiopental" + }, + { + "code": "10502", + "display": "Thioridazine" + }, + { + "code": "10510", + "display": "Thiothixene" + }, + { + "code": "10582", + "display": "levothyroxine" + }, + { + "code": "10594", + "display": "Ticlopidine" + }, + { + "code": "10600", + "display": "Timolol" + }, + { + "code": "10627", + "display": "Tobramycin" + }, + { + "code": "10636", + "display": "Tolmetin" + }, + { + "code": "10689", + "display": "Tramadol" + }, + { + "code": "10737", + "display": "Trazodone" + }, + { + "code": "10759", + "display": "Triamcinolone" + }, + { + "code": "107602", + "display": "Epinephrine / Lidocaine" + }, + { + "code": "10763", + "display": "Triamterene" + }, + { + "code": "10767", + "display": "Triazolam" + }, + { + "code": "10800", + "display": "Trifluoperazine" + }, + { + "code": "108118", + "display": "Mometasone" + }, + { + "code": "10829", + "display": "Trimethoprim" + }, + { + "code": "10831", + "display": "Sulfamethoxazole / Trimethoprim" + }, + { + "code": "11124", + "display": "Vancomycin" + }, + { + "code": "1114195", + "display": "rivaroxaban" + }, + { + "code": "1116632", + "display": "Ticagrelor" + }, + { + "code": "11170", + "display": "Verapamil" + }, + { + "code": "11248", + "display": "Vitamin B 12" + }, + { + "code": "11253", + "display": "Vitamin D" + }, + { + "code": "11256", + "display": "Vitamin E" + }, + { + "code": "11289", + "display": "Warfarin" + }, + { + "code": "113588", + "display": "Erythromycin / Sulfisoxazole" + }, + { + "code": "11416", + "display": "Zinc" + }, + { + "code": "11423", + "display": "Zinc Oxide" + }, + { + "code": "114477", + "display": "Levetiracetam" + }, + { + "code": "114970", + "display": "zafirlukast" + }, + { + "code": "114979", + "display": "rabeprazole" + }, + { + "code": "1151", + "display": "Ascorbic Acid" + }, + { + "code": "115264", + "display": "Ibandronate" + }, + { + "code": "115552", + "display": "trovafloxacin" + }, + { + "code": "115698", + "display": "ziprasidone" + }, + { + "code": "1191", + "display": "Aspirin" + }, + { + "code": "119565", + "display": "tolterodine" + }, + { + "code": "1202", + "display": "Atenolol" + }, + { + "code": "121191", + "display": "rituximab" + }, + { + "code": "1223", + "display": "Atropine" + }, + { + "code": "1256", + "display": "Azathioprine" + }, + { + "code": "1272", + "display": "Aztreonam" + }, + { + "code": "1291", + "display": "Bacitracin" + }, + { + "code": "1292", + "display": "Baclofen" + }, + { + "code": "1310171", + "display": "Gadolinium" + }, + { + "code": "1311085", + "display": "xanthine" + }, + { + "code": "1311524", + "display": "Aspartame" + }, + { + "code": "1311629", + "display": "nickel" + }, + { + "code": "1314891", + "display": "Latex" + }, + { + "code": "1331", + "display": "Barium Sulfate" + }, + { + "code": "134615", + "display": "brimonidine" + }, + { + "code": "1347", + "display": "Beclomethasone" + }, + { + "code": "135447", + "display": "donepezil" + }, + { + "code": "135775", + "display": "zolmitriptan" + }, + { + "code": "1359", + "display": "Belladonna Alkaloids" + }, + { + "code": "1362879", + "display": "Sulfur Dioxide" + }, + { + "code": "1363043", + "display": "ethyl ether" + }, + { + "code": "136411", + "display": "sildenafil" + }, + { + "code": "1364430", + "display": "apixaban" + }, + { + "code": "138099", + "display": "gemifloxacin" + }, + { + "code": "139462", + "display": "moxifloxacin" + }, + { + "code": "1399", + "display": "Benzocaine" + }, + { + "code": "140587", + "display": "celecoxib" + }, + { + "code": "1406", + "display": "benzoin resin" + }, + { + "code": "141626", + "display": "colesevelam" + }, + { + "code": "1418", + "display": "Benzoyl Peroxide" + }, + { + "code": "1424", + "display": "Benztropine" + }, + { + "code": "1514", + "display": "Betamethasone" + }, + { + "code": "153970", + "display": "Hyoscyamine" + }, + { + "code": "1596450", + "display": "Gentamicin" + }, + { + "code": "15996", + "display": "Mirtazapine" + }, + { + "code": "161", + "display": "Acetaminophen" + }, + { + "code": "16681", + "display": "Acarbose" + }, + { + "code": "167", + "display": "Acetazolamide" + }, + { + "code": "17128", + "display": "lansoprazole" + }, + { + "code": "1727875", + "display": "Tetanus immune globulin" + }, + { + "code": "17300", + "display": "alfuzosin" + }, + { + "code": "17767", + "display": "Amlodipine" + }, + { + "code": "1827", + "display": "Buspirone" + }, + { + "code": "183379", + "display": "rivastigmine" + }, + { + "code": "1841", + "display": "Butorphanol" + }, + { + "code": "18631", + "display": "Azithromycin" + }, + { + "code": "187832", + "display": "pregabalin" + }, + { + "code": "1886", + "display": "Caffeine" + }, + { + "code": "18867", + "display": "benazepril" + }, + { + "code": "1895", + "display": "Calcium" + }, + { + "code": "1897", + "display": "Calcium Carbonate" + }, + { + "code": "18993", + "display": "benzonatate" + }, + { + "code": "190376", + "display": "linezolid" + }, + { + "code": "191831", + "display": "infliximab" + }, + { + "code": "19478", + "display": "bismuth subsalicylate" + }, + { + "code": "19552", + "display": "cefprozil" + }, + { + "code": "19711", + "display": "Amoxicillin / Clavulanate" + }, + { + "code": "19831", + "display": "Budesonide" + }, + { + "code": "1998", + "display": "Captopril" + }, + { + "code": "2002", + "display": "Carbamazepine" + }, + { + "code": "20352", + "display": "carvedilol" + }, + { + "code": "20481", + "display": "cefepime" + }, + { + "code": "20489", + "display": "cefpodoxime" + }, + { + "code": "20610", + "display": "Cetirizine" + }, + { + "code": "2101", + "display": "Carisoprodol" + }, + { + "code": "21107", + "display": "cilostazol" + }, + { + "code": "21183", + "display": "Citric Acid" + }, + { + "code": "21212", + "display": "Clarithromycin" + }, + { + "code": "214130", + "display": "Acetaminophen / butalbital / Caffeine" + }, + { + "code": "214153", + "display": "Acetaminophen / dichloralphenazone / isometheptene" + }, + { + "code": "214159", + "display": "Aspirin / butalbital / Caffeine" + }, + { + "code": "214160", + "display": "Aspirin / butalbital / Caffeine / Codeine" + }, + { + "code": "214181", + "display": "Acetaminophen / Diphenhydramine" + }, + { + "code": "214182", + "display": "Acetaminophen / Hydrocodone" + }, + { + "code": "214183", + "display": "Acetaminophen / Oxycodone" + }, + { + "code": "214199", + "display": "Albuterol / Ipratropium" + }, + { + "code": "214223", + "display": "Amlodipine / benazepril" + }, + { + "code": "214250", + "display": "Aspirin / Caffeine" + }, + { + "code": "214256", + "display": "Aspirin / Oxycodone" + }, + { + "code": "214257", + "display": "Aspirin / Pentazocine" + }, + { + "code": "214317", + "display": "Bisoprolol / Hydrochlorothiazide" + }, + { + "code": "214336", + "display": "Caffeine / Ergotamine" + }, + { + "code": "214354", + "display": "candesartan" + }, + { + "code": "214364", + "display": "carbinoxamine / Pseudoephedrine" + }, + { + "code": "214392", + "display": "Chlorpheniramine / Hydrocodone" + }, + { + "code": "214442", + "display": "Codeine / Guaifenesin" + }, + { + "code": "214445", + "display": "Codeine / Pseudoephedrine" + }, + { + "code": "214488", + "display": "Dextromethorphan / Guaifenesin" + }, + { + "code": "214502", + "display": "Diclofenac / Misoprostol" + }, + { + "code": "214555", + "display": "Etanercept" + }, + { + "code": "214558", + "display": "Ethinyl Estradiol / Levonorgestrel" + }, + { + "code": "214565", + "display": "fexofenadine / Pseudoephedrine" + }, + { + "code": "214599", + "display": "Guaifenesin / Pseudoephedrine" + }, + { + "code": "214614", + "display": "homatropine / Hydrocodone" + }, + { + "code": "214617", + "display": "Hydrochlorothiazide / irbesartan" + }, + { + "code": "214618", + "display": "Hydrochlorothiazide / Lisinopril" + }, + { + "code": "214619", + "display": "Hydrochlorothiazide / Losartan" + }, + { + "code": "214626", + "display": "Hydrochlorothiazide / valsartan" + }, + { + "code": "214627", + "display": "Hydrocodone / Ibuprofen" + }, + { + "code": "214631", + "display": "Hydrocodone / Pseudoephedrine" + }, + { + "code": "214682", + "display": "Loratadine / Pseudoephedrine" + }, + { + "code": "214721", + "display": "Naloxone / Pentazocine" + }, + { + "code": "214807", + "display": "Pseudoephedrine / Triprolidine" + }, + { + "code": "2176", + "display": "Cefaclor" + }, + { + "code": "217627", + "display": "Hydrocortisone / Neomycin / Polymyxin B" + }, + { + "code": "2177", + "display": "Cefadroxil" + }, + { + "code": "2180", + "display": "Cefazolin" + }, + { + "code": "2189", + "display": "Cefoxitin" + }, + { + "code": "2191", + "display": "Ceftazidime" + }, + { + "code": "2193", + "display": "Ceftriaxone" + }, + { + "code": "219314", + "display": "Polymyxin B / Trimethoprim" + }, + { + "code": "219315", + "display": "Iron polysaccharide" + }, + { + "code": "2194", + "display": "Cefuroxime" + }, + { + "code": "21949", + "display": "cyclobenzaprine" + }, + { + "code": "221147", + "display": "POLYETHYLENE GLYCOL 3350" + }, + { + "code": "22299", + "display": "Daptomycin" + }, + { + "code": "2231", + "display": "Cephalexin" + }, + { + "code": "226716", + "display": "Aspirin / Dipyridamole" + }, + { + "code": "228476", + "display": "gatifloxacin" + }, + { + "code": "228790", + "display": "Dutasteride" + }, + { + "code": "232158", + "display": "rofecoxib" + }, + { + "code": "233698", + "display": "dronedarone" + }, + { + "code": "2348", + "display": "Chloramphenicol" + }, + { + "code": "2356", + "display": "Chlordiazepoxide" + }, + { + "code": "2358", + "display": "Chlorhexidine" + }, + { + "code": "236778", + "display": "Trospium" + }, + { + "code": "237159", + "display": "Levalbuterol" + }, + { + "code": "2393", + "display": "Chloroquine" + }, + { + "code": "2400", + "display": "Chlorpheniramine" + }, + { + "code": "2403", + "display": "Chlorpromazine" + }, + { + "code": "2409", + "display": "Chlorthalidone" + }, + { + "code": "2410", + "display": "Chlorzoxazone" + }, + { + "code": "2418", + "display": "Cholecalciferol" + }, + { + "code": "2447", + "display": "Cholestyramine Resin" + }, + { + "code": "24605", + "display": "Etodolac" + }, + { + "code": "24947", + "display": "ferrous sulfate" + }, + { + "code": "25025", + "display": "Finasteride" + }, + { + "code": "25033", + "display": "Cefixime" + }, + { + "code": "25037", + "display": "cefdinir" + }, + { + "code": "25120", + "display": "flunisolide" + }, + { + "code": "25255", + "display": "formoterol" + }, + { + "code": "253157", + "display": "Bee pollen" + }, + { + "code": "2541", + "display": "Cimetidine" + }, + { + "code": "25480", + "display": "gabapentin" + }, + { + "code": "2551", + "display": "Ciprofloxacin" + }, + { + "code": "2556", + "display": "Citalopram" + }, + { + "code": "25789", + "display": "glimepiride" + }, + { + "code": "2582", + "display": "Clindamycin" + }, + { + "code": "258337", + "display": "Hydrochlorothiazide / Triamterene" + }, + { + "code": "2598", + "display": "Clonazepam" + }, + { + "code": "2599", + "display": "Clonidine" + }, + { + "code": "260101", + "display": "Oseltamivir" + }, + { + "code": "26225", + "display": "Ondansetron" + }, + { + "code": "2623", + "display": "Clotrimazole" + }, + { + "code": "2670", + "display": "Codeine" + }, + { + "code": "2683", + "display": "Colchicine" + }, + { + "code": "2685", + "display": "Colestipol" + }, + { + "code": "27169", + "display": "leflunomide" + }, + { + "code": "274783", + "display": "Insulin Glargine" + }, + { + "code": "274786", + "display": "telithromycin" + }, + { + "code": "27723", + "display": "iodinated glycerol" + }, + { + "code": "278567", + "display": "valdecoxib" + }, + { + "code": "28031", + "display": "Itraconazole" + }, + { + "code": "281", + "display": "Acyclovir" + }, + { + "code": "283742", + "display": "Esomeprazole" + }, + { + "code": "283809", + "display": "travoprost" + }, + { + "code": "28439", + "display": "lamotrigine" + }, + { + "code": "284635", + "display": "fluticasone / salmeterol" + }, + { + "code": "2878", + "display": "Cortisone" + }, + { + "code": "28889", + "display": "Loratadine" + }, + { + "code": "28981", + "display": "loracarbef" + }, + { + "code": "29046", + "display": "Lisinopril" + }, + { + "code": "29542", + "display": "Mercury, Ammoniated" + }, + { + "code": "29561", + "display": "meropenem" + }, + { + "code": "296", + "display": "Adenosine" + }, + { + "code": "3008", + "display": "Cyclosporine" + }, + { + "code": "301542", + "display": "rosuvastatin" + }, + { + "code": "306674", + "display": "vardenafil" + }, + { + "code": "3108", + "display": "Dapsone" + }, + { + "code": "3143", + "display": "prasterone" + }, + { + "code": "31448", + "display": "nabumetone" + }, + { + "code": "31555", + "display": "nebivolol" + }, + { + "code": "31565", + "display": "nefazodone" + }, + { + "code": "31738", + "display": "nickel sulfate" + }, + { + "code": "318340", + "display": "Aloe vera preparation" + }, + { + "code": "321064", + "display": "olmesartan" + }, + { + "code": "321988", + "display": "Escitalopram" + }, + { + "code": "322167", + "display": "Solifenacin" + }, + { + "code": "3247", + "display": "Desipramine" + }, + { + "code": "325642", + "display": "ertapenem" + }, + { + "code": "32592", + "display": "oxaliplatin" + }, + { + "code": "32613", + "display": "oxaprozin" + }, + { + "code": "32624", + "display": "oxcarbazepine" + }, + { + "code": "3264", + "display": "Dexamethasone" + }, + { + "code": "32675", + "display": "oxybutynin" + }, + { + "code": "327361", + "display": "adalimumab" + }, + { + "code": "3289", + "display": "Dextromethorphan" + }, + { + "code": "32937", + "display": "Paroxetine" + }, + { + "code": "32968", + "display": "clopidogrel" + }, + { + "code": "3322", + "display": "Diazepam" + }, + { + "code": "33408", + "display": "phenyltoloxamine" + }, + { + "code": "3355", + "display": "Diclofenac" + }, + { + "code": "3356", + "display": "Dicloxacillin" + }, + { + "code": "3361", + "display": "Dicyclomine" + }, + { + "code": "33738", + "display": "pioglitazone" + }, + { + "code": "3393", + "display": "Diflunisal" + }, + { + "code": "3407", + "display": "Digoxin" + }, + { + "code": "341248", + "display": "ezetimibe" + }, + { + "code": "3418", + "display": "Dihydroergotamine" + }, + { + "code": "3423", + "display": "Hydromorphone" + }, + { + "code": "3443", + "display": "Diltiazem" + }, + { + "code": "3444", + "display": "Dimenhydrinate" + }, + { + "code": "3498", + "display": "Diphenhydramine" + }, + { + "code": "35208", + "display": "quinapril" + }, + { + "code": "3521", + "display": "Dipyridamole" + }, + { + "code": "352362", + "display": "Acetaminophen / Tramadol" + }, + { + "code": "35296", + "display": "Ramipril" + }, + { + "code": "35382", + "display": "resorcinol" + }, + { + "code": "35636", + "display": "Risperidone" + }, + { + "code": "358263", + "display": "tadalafil" + }, + { + "code": "35827", + "display": "Ketorolac" + }, + { + "code": "35829", + "display": "ranolazine" + }, + { + "code": "36108", + "display": "Salsalate" + }, + { + "code": "36117", + "display": "salmeterol" + }, + { + "code": "3616", + "display": "Dobutamine" + }, + { + "code": "3638", + "display": "Doxepin" + }, + { + "code": "3640", + "display": "Doxycycline" + }, + { + "code": "36437", + "display": "Sertraline" + }, + { + "code": "3648", + "display": "Droperidol" + }, + { + "code": "36567", + "display": "Simvastatin" + }, + { + "code": "37418", + "display": "Sumatriptan" + }, + { + "code": "37617", + "display": "tazobactam" + }, + { + "code": "37798", + "display": "Terazosin" + }, + { + "code": "37801", + "display": "terbinafine" + }, + { + "code": "3827", + "display": "Enalapril" + }, + { + "code": "3829", + "display": "Enalaprilat" + }, + { + "code": "38400", + "display": "atomoxetine" + }, + { + "code": "38404", + "display": "topiramate" + }, + { + "code": "38413", + "display": "torsemide" + }, + { + "code": "38574", + "display": "trichloroacetaldehyde" + }, + { + "code": "38685", + "display": "trimethobenzamide" + }, + { + "code": "389132", + "display": "Budesonide / formoterol" + }, + { + "code": "3966", + "display": "Ephedrine" + }, + { + "code": "39786", + "display": "venlafaxine" + }, + { + "code": "3992", + "display": "Epinephrine" + }, + { + "code": "39993", + "display": "zolpidem" + }, + { + "code": "39998", + "display": "zonisamide" + }, + { + "code": "40048", + "display": "Carboplatin" + }, + { + "code": "400674", + "display": "dexbrompheniramine / Pseudoephedrine" + }, + { + "code": "4025", + "display": "Ergotamine" + }, + { + "code": "40254", + "display": "Valproate" + }, + { + "code": "4053", + "display": "Erythromycin" + }, + { + "code": "40575", + "display": "zileuton" + }, + { + "code": "40790", + "display": "pantoprazole" + }, + { + "code": "4083", + "display": "Estradiol" + }, + { + "code": "4099", + "display": "Estrogens, Conjugated (USP)" + }, + { + "code": "41126", + "display": "fluticasone" + }, + { + "code": "41127", + "display": "fluvastatin" + }, + { + "code": "4124", + "display": "Ethinyl Estradiol" + }, + { + "code": "41397", + "display": "Lactase" + }, + { + "code": "41493", + "display": "meloxicam" + }, + { + "code": "42330", + "display": "Terfenadine" + }, + { + "code": "42331", + "display": "Misoprostol" + }, + { + "code": "42347", + "display": "Bupropion" + }, + { + "code": "42351", + "display": "Lithium Carbonate" + }, + { + "code": "42372", + "display": "Mupirocin" + }, + { + "code": "42463", + "display": "Pravastatin" + }, + { + "code": "4278", + "display": "Famotidine" + }, + { + "code": "4316", + "display": "Felodipine" + }, + { + "code": "4337", + "display": "Fentanyl" + }, + { + "code": "435", + "display": "Albuterol" + }, + { + "code": "43611", + "display": "latanoprost" + }, + { + "code": "4419", + "display": "Fish Oils" + }, + { + "code": "4441", + "display": "Flecainide" + }, + { + "code": "4450", + "display": "Fluconazole" + }, + { + "code": "448", + "display": "Ethanol" + }, + { + "code": "4492", + "display": "Fluorouracil" + }, + { + "code": "4493", + "display": "Fluoxetine" + }, + { + "code": "4496", + "display": "Fluphenazine" + }, + { + "code": "4500", + "display": "Flurandrenolide" + }, + { + "code": "4530", + "display": "Formaldehyde" + }, + { + "code": "4603", + "display": "Furosemide" + }, + { + "code": "46041", + "display": "Alendronate" + }, + { + "code": "461016", + "display": "Eszopiclone" + }, + { + "code": "4637", + "display": "Galantamine" + }, + { + "code": "465397", + "display": "Ciprofloxacin / Dexamethasone" + }, + { + "code": "466522", + "display": "Diphenhydramine / Zinc Acetate" + }, + { + "code": "466541", + "display": "Neomycin / Polymyxin B" + }, + { + "code": "466549", + "display": "Aspirin / Caffeine / Orphenadrine" + }, + { + "code": "466553", + "display": "penicillin G benzathine / penicillin G procaine" + }, + { + "code": "466566", + "display": "Acetaminophen / Dextromethorphan / Diphenhydramine / Pseudoephedrine" + }, + { + "code": "466584", + "display": "Acetaminophen / Aspirin / Caffeine" + }, + { + "code": "4719", + "display": "Gemfibrozil" + }, + { + "code": "475968", + "display": "liraglutide" + }, + { + "code": "4815", + "display": "Glyburide" + }, + { + "code": "48203", + "display": "Clavulanate" + }, + { + "code": "4821", + "display": "Glipizide" + }, + { + "code": "48274", + "display": "Acetaminophen / Propoxyphene" + }, + { + "code": "484139", + "display": "Chlorhexidine / Isopropyl Alcohol" + }, + { + "code": "484211", + "display": "ezetimibe / Simvastatin" + }, + { + "code": "4850", + "display": "Glucose" + }, + { + "code": "4917", + "display": "Nitroglycerin" + }, + { + "code": "49276", + "display": "Doxazosin" + }, + { + "code": "50166", + "display": "Fosinopril" + }, + { + "code": "5021", + "display": "Griseofulvin" + }, + { + "code": "5032", + "display": "Guaifenesin" + }, + { + "code": "5093", + "display": "Haloperidol" + }, + { + "code": "51272", + "display": "quetiapine" + }, + { + "code": "519", + "display": "Allopurinol" + }, + { + "code": "52175", + "display": "Losartan" + }, + { + "code": "5224", + "display": "heparin" + }, + { + "code": "52582", + "display": "mesalamine" + }, + { + "code": "5470", + "display": "Hydralazine" + }, + { + "code": "5487", + "display": "Hydrochlorothiazide" + }, + { + "code": "5489", + "display": "Hydrocodone" + }, + { + "code": "5492", + "display": "Hydrocortisone" + }, + { + "code": "5499", + "display": "Hydrogen Peroxide" + }, + { + "code": "5521", + "display": "Hydroxychloroquine" + }, + { + "code": "5553", + "display": "Hydroxyzine" + }, + { + "code": "5640", + "display": "Ibuprofen" + }, + { + "code": "5691", + "display": "Imipramine" + }, + { + "code": "56946", + "display": "Paclitaxel" + }, + { + "code": "57258", + "display": "tizanidine" + }, + { + "code": "5764", + "display": "Indapamide" + }, + { + "code": "5781", + "display": "Indomethacin" + }, + { + "code": "588250", + "display": "milnacipran" + }, + { + "code": "59078", + "display": "metaxalone" + }, + { + "code": "591622", + "display": "varenicline" + }, + { + "code": "5933", + "display": "Iodine" + }, + { + "code": "593411", + "display": "sitagliptin" + }, + { + "code": "594040", + "display": "Atropine / Diphenoxylate" + }, + { + "code": "5956", + "display": "Iohexol" + }, + { + "code": "596", + "display": "Alprazolam" + }, + { + "code": "596723", + "display": "cerivastatin" + }, + { + "code": "597142", + "display": "brimonidine / Timolol" + }, + { + "code": "5992", + "display": "Iron-Dextran Complex" + }, + { + "code": "60207", + "display": "dorzolamide" + }, + { + "code": "6038", + "display": "isoniazid" + }, + { + "code": "60548", + "display": "exenatide" + }, + { + "code": "6057", + "display": "Isosorbide" + }, + { + "code": "6058", + "display": "Isosorbide Dinitrate" + }, + { + "code": "611854", + "display": "Chlordiazepoxide / clidinium" + }, + { + "code": "6130", + "display": "Ketamine" + }, + { + "code": "6135", + "display": "Ketoconazole" + }, + { + "code": "61381", + "display": "olanzapine" + }, + { + "code": "6142", + "display": "Ketoprofen" + }, + { + "code": "6185", + "display": "Labetalol" + }, + { + "code": "620", + "display": "Amantadine" + }, + { + "code": "6218", + "display": "Lactulose" + }, + { + "code": "6227", + "display": "Lanolin" + }, + { + "code": "6387", + "display": "Lidocaine" + }, + { + "code": "6398", + "display": "Lincomycin" + }, + { + "code": "6448", + "display": "Lithium" + }, + { + "code": "645555", + "display": "Bacitracin / Polymyxin B" + }, + { + "code": "6468", + "display": "Loperamide" + }, + { + "code": "6470", + "display": "Lorazepam" + }, + { + "code": "6472", + "display": "Lovastatin" + }, + { + "code": "6574", + "display": "Magnesium" + }, + { + "code": "6585", + "display": "Magnesium Sulfate" + }, + { + "code": "662263", + "display": "dorzolamide / Timolol" + }, + { + "code": "6676", + "display": "Meclizine" + }, + { + "code": "6691", + "display": "Medroxyprogesterone" + }, + { + "code": "67108", + "display": "Enoxaparin" + }, + { + "code": "6711", + "display": "Melatonin" + }, + { + "code": "6719", + "display": "Memantine" + }, + { + "code": "6750", + "display": "Menthol" + }, + { + "code": "6754", + "display": "Meperidine" + }, + { + "code": "6809", + "display": "Metformin" + }, + { + "code": "6813", + "display": "Methadone" + }, + { + "code": "6835", + "display": "Methimazole" + }, + { + "code": "6845", + "display": "Methocarbamol" + }, + { + "code": "6851", + "display": "Methotrexate" + }, + { + "code": "6876", + "display": "Methyldopa" + }, + { + "code": "689", + "display": "Aminophylline" + }, + { + "code": "689467", + "display": "Oxytetracycline / Polymyxin B" + }, + { + "code": "689518", + "display": "Aspirin / Caffeine / Propoxyphene" + }, + { + "code": "689556", + "display": "Acetaminophen / Aspirin / Phenylpropanolamine" + }, + { + "code": "689558", + "display": "Acetaminophen / Brompheniramine / Pseudoephedrine" + }, + { + "code": "689561", + "display": "Acetaminophen / butalbital / Caffeine / Codeine" + }, + { + "code": "689582", + "display": "Acetaminophen / Chlorpheniramine / Dextromethorphan / Pseudoephedrine" + }, + { + "code": "689606", + "display": "Atropine / Hyoscyamine / Phenobarbital / Scopolamine" + }, + { + "code": "689623", + "display": "Bacitracin / Hydrocortisone / Neomycin / Polymyxin B" + }, + { + "code": "690077", + "display": "Benzalkonium / Lidocaine" + }, + { + "code": "6901", + "display": "Methylphenidate" + }, + { + "code": "6902", + "display": "Methylprednisolone" + }, + { + "code": "690693", + "display": "Diphenhydramine / Phenylephrine" + }, + { + "code": "690808", + "display": "Brompheniramine / Dextromethorphan / Pseudoephedrine" + }, + { + "code": "69120", + "display": "tiotropium" + }, + { + "code": "6915", + "display": "Metoclopramide" + }, + { + "code": "6916", + "display": "Metolazone" + }, + { + "code": "6918", + "display": "Metoprolol" + }, + { + "code": "6922", + "display": "Metronidazole" + }, + { + "code": "692572", + "display": "Bacitracin / Neomycin / Polymyxin B" + }, + { + "code": "692794", + "display": "Gramicidin / Neomycin / Polymyxin B" + }, + { + "code": "6932", + "display": "Miconazole" + }, + { + "code": "6960", + "display": "Midazolam" + }, + { + "code": "69749", + "display": "valsartan" + }, + { + "code": "6980", + "display": "Minocycline" + }, + { + "code": "6984", + "display": "Minoxidil" + }, + { + "code": "703", + "display": "Amiodarone" + }, + { + "code": "704", + "display": "Amitriptyline" + }, + { + "code": "7052", + "display": "Morphine" + }, + { + "code": "705258", + "display": "Acetaminophen / Dextromethorphan / Doxylamine" + }, + { + "code": "7213", + "display": "Ipratropium" + }, + { + "code": "72143", + "display": "Raloxifene" + }, + { + "code": "72236", + "display": "fosphenytoin" + }, + { + "code": "723", + "display": "Amoxicillin" + }, + { + "code": "72302", + "display": "ropinirole" + }, + { + "code": "7233", + "display": "Nafcillin" + }, + { + "code": "7238", + "display": "Nalbuphine" + }, + { + "code": "7243", + "display": "Naltrexone" + }, + { + "code": "725", + "display": "Amphetamine" + }, + { + "code": "7258", + "display": "Naproxen" + }, + { + "code": "72625", + "display": "duloxetine" + }, + { + "code": "7299", + "display": "Neomycin" + }, + { + "code": "73056", + "display": "Risedronate" + }, + { + "code": "733", + "display": "Ampicillin" + }, + { + "code": "73494", + "display": "telmisartan" + }, + { + "code": "73645", + "display": "valacyclovir" + }, + { + "code": "7393", + "display": "Niacin" + }, + { + "code": "7407", + "display": "Nicotine" + }, + { + "code": "74169", + "display": "Piperacillin / tazobactam" + }, + { + "code": "7417", + "display": "Nifedipine" + }, + { + "code": "7454", + "display": "Nitrofurantoin" + }, + { + "code": "746741", + "display": "Pramipexole" + }, + { + "code": "7486", + "display": "Nitrous Oxide" + }, + { + "code": "7517", + "display": "Norfloxacin" + }, + { + "code": "7531", + "display": "Nortriptyline" + }, + { + "code": "7597", + "display": "Nystatin" + }, + { + "code": "7623", + "display": "Ofloxacin" + }, + { + "code": "7646", + "display": "Omeprazole" + }, + { + "code": "7676", + "display": "Opium" + }, + { + "code": "7715", + "display": "Orphenadrine" + }, + { + "code": "77492", + "display": "tamsulosin" + }, + { + "code": "7804", + "display": "Oxycodone" + }, + { + "code": "7821", + "display": "Oxytetracycline" + }, + { + "code": "787390", + "display": "tapentadol" + }, + { + "code": "7975", + "display": "Penicillamine" + }, + { + "code": "797541", + "display": "Isopropyl Alcohol" + }, + { + "code": "7980", + "display": "Penicillin G" + }, + { + "code": "7984", + "display": "Penicillin V" + }, + { + "code": "7994", + "display": "Pentamidine" + }, + { + "code": "8001", + "display": "Pentazocine" + }, + { + "code": "8120", + "display": "Phenazopyridine" + }, + { + "code": "8134", + "display": "Phenobarbital" + }, + { + "code": "815166", + "display": "Dextromethorphan / Doxylamine" + }, + { + "code": "8163", + "display": "Phenylephrine" + }, + { + "code": "816346", + "display": "dexlansoprazole" + }, + { + "code": "8175", + "display": "Phenylpropanolamine" + }, + { + "code": "817579", + "display": "Acetaminophen / Codeine" + }, + { + "code": "817958", + "display": "Aspirin / Calcium Carbonate" + }, + { + "code": "8183", + "display": "Phenytoin" + }, + { + "code": "82122", + "display": "Levofloxacin" + }, + { + "code": "822929", + "display": "Amphetamine aspartate / Amphetamine Sulfate / Dextroamphetamine saccharate / Dextroamphetamine Sulfate" + }, + { + "code": "83367", + "display": "atorvastatin" + }, + { + "code": "8356", + "display": "Piroxicam" + }, + { + "code": "83818", + "display": "irbesartan" + }, + { + "code": "84108", + "display": "rosiglitazone" + }, + { + "code": "8536", + "display": "Polymyxin B" + }, + { + "code": "857974", + "display": "saxagliptin" + }, + { + "code": "8588", + "display": "Potassium" + }, + { + "code": "8591", + "display": "Potassium Chloride" + }, + { + "code": "8610", + "display": "Povidone" + }, + { + "code": "8611", + "display": "Povidone-Iodine" + }, + { + "code": "861634", + "display": "pitavastatin" + }, + { + "code": "8629", + "display": "Prazosin" + }, + { + "code": "8638", + "display": "prednisolone" + }, + { + "code": "8640", + "display": "Prednisone" + }, + { + "code": "8687", + "display": "Primaquine" + }, + { + "code": "8691", + "display": "Primidone" + }, + { + "code": "8698", + "display": "Probenecid" + }, + { + "code": "8700", + "display": "Procainamide" + }, + { + "code": "8701", + "display": "Procaine" + }, + { + "code": "8703", + "display": "Fenofibrate" + }, + { + "code": "8704", + "display": "Prochlorperazine" + }, + { + "code": "8727", + "display": "Progesterone" + }, + { + "code": "8745", + "display": "Promethazine" + }, + { + "code": "8754", + "display": "Propafenone" + }, + { + "code": "87636", + "display": "fexofenadine" + }, + { + "code": "8782", + "display": "Propofol" + }, + { + "code": "8785", + "display": "Propoxyphene" + }, + { + "code": "8787", + "display": "Propranolol" + }, + { + "code": "8794", + "display": "Propylthiouracil" + }, + { + "code": "88014", + "display": "rizatriptan" + }, + { + "code": "88249", + "display": "montelukast" + }, + { + "code": "883815", + "display": "Dexamethasone / Tobramycin" + }, + { + "code": "8896", + "display": "Pseudoephedrine" + }, + { + "code": "89013", + "display": "aripiprazole" + }, + { + "code": "8928", + "display": "Psyllium" + }, + { + "code": "8948", + "display": "Purified Protein Derivative of Tuberculin" + }, + { + "code": "90176", + "display": "Iron" + }, + { + "code": "9068", + "display": "Quinidine" + }, + { + "code": "9071", + "display": "Quinine" + }, + { + "code": "91263", + "display": "Aloe Extract" + }, + { + "code": "9143", + "display": "Ranitidine" + }, + { + "code": "9384", + "display": "Rifampin" + }, + { + "code": "9524", + "display": "Sulfasalazine" + }, + { + "code": "9601", + "display": "Scopolamine" + }, + { + "code": "9778", + "display": "Silicones" + }, + { + "code": "9793", + "display": "silver sulfadiazine" + }, + { + "code": "9947", + "display": "Sotalol" + }, + { + "code": "9997", + "display": "Spironolactone" + } + ] + }, + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "102259006", + "display": "Citrus fruit (substance)" + }, + { + "code": "102261002", + "display": "Strawberry (substance)" + }, + { + "code": "102262009", + "display": "Chocolate (substance)" + }, + { + "code": "102263004", + "display": "Eggs (edible) (substance)" + }, + { + "code": "102264005", + "display": "Cheese (substance)" + }, + { + "code": "111088007", + "display": "Latex (substance)" + }, + { + "code": "111151007", + "display": "Anabolic steroid (substance)" + }, + { + "code": "11526002", + "display": "Aspartame (substance)" + }, + { + "code": "116274004", + "display": "Artificial sweetener (substance)" + }, + { + "code": "116566001", + "display": "Steroid (substance)" + }, + { + "code": "13577000", + "display": "Nut (substance)" + }, + { + "code": "14443002", + "display": "Substance with aminoglycoside structure and antibacterial mechanism of action (substance)" + }, + { + "code": "226723006", + "display": "Buckwheat - cereal (substance)" + }, + { + "code": "226734009", + "display": "Wheatgerm (substance)" + }, + { + "code": "226760005", + "display": "Dairy foods (substance)" + }, + { + "code": "226915003", + "display": "Red meat (substance)" + }, + { + "code": "226916002", + "display": "Beef (substance)" + }, + { + "code": "226934003", + "display": "Pork (substance)" + }, + { + "code": "226955001", + "display": "Chicken - meat (substance)" + }, + { + "code": "226967004", + "display": "Turkey - meat (substance)" + }, + { + "code": "227144008", + "display": "Tuna fish (substance)" + }, + { + "code": "227151004", + "display": "Prawns (substance)" + }, + { + "code": "227208008", + "display": "Abalone canned in brine (substance)" + }, + { + "code": "227219006", + "display": "Aubergine (substance)" + }, + { + "code": "227313005", + "display": "Pulse vegetables (substance)" + }, + { + "code": "227388008", + "display": "Cinnamon (substance)" + }, + { + "code": "227400003", + "display": "Ginger (substance)" + }, + { + "code": "227421003", + "display": "Cranberries (substance)" + }, + { + "code": "227444000", + "display": "Raspberries (substance)" + }, + { + "code": "227493005", + "display": "Cashew nut (substance)" + }, + { + "code": "227512001", + "display": "Pistachio nut (substance)" + }, + { + "code": "227598003", + "display": "Honey (substance)" + }, + { + "code": "228102000", + "display": "Sodium nitrate (substance)" + }, + { + "code": "255632006", + "display": "Anticonvulsant (substance)" + }, + { + "code": "255637000", + "display": "Salicylate (substance)" + }, + { + "code": "255641001", + "display": "Caffeine (substance)" + }, + { + "code": "256259004", + "display": "Pollen (substance)" + }, + { + "code": "256277009", + "display": "Grass pollen (substance)" + }, + { + "code": "256306003", + "display": "Orange - fruit (substance)" + }, + { + "code": "256307007", + "display": "Banana (substance)" + }, + { + "code": "256313003", + "display": "Pineapple (substance)" + }, + { + "code": "256315005", + "display": "Grapefruit (substance)" + }, + { + "code": "256317002", + "display": "Grapes (substance)" + }, + { + "code": "256319004", + "display": "Carrot (substance)" + }, + { + "code": "256326004", + "display": "Celery (substance)" + }, + { + "code": "256329006", + "display": "Spinach (substance)" + }, + { + "code": "256350002", + "display": "Almond (substance)" + }, + { + "code": "256351003", + "display": "Brazil nut (substance)" + }, + { + "code": "256352005", + "display": "Walnut - nut (substance)" + }, + { + "code": "256353000", + "display": "Hazelnut (substance)" + }, + { + "code": "256354006", + "display": "Bean (substance)" + }, + { + "code": "256417003", + "display": "Horse dander (substance)" + }, + { + "code": "256440004", + "display": "Wasp venom (substance)" + }, + { + "code": "259858000", + "display": "Varicella-zoster virus antibody (substance)" + }, + { + "code": "260152009", + "display": "Cat dander (substance)" + }, + { + "code": "260154005", + "display": "Dog dander (substance)" + }, + { + "code": "260167008", + "display": "Sesame seed (substance)" + }, + { + "code": "260176001", + "display": "Kiwi fruit (substance)" + }, + { + "code": "260177005", + "display": "Melon (substance)" + }, + { + "code": "260179008", + "display": "Mango fruit (substance)" + }, + { + "code": "260184002", + "display": "Peas (substance)" + }, + { + "code": "260189007", + "display": "Pecan nut (substance)" + }, + { + "code": "260205009", + "display": "Sunflower seed (substance)" + }, + { + "code": "264287008", + "display": "Animal dander (substance)" + }, + { + "code": "264337003", + "display": "Seed (substance)" + }, + { + "code": "28230009", + "display": "Poultry (substance)" + }, + { + "code": "288328004", + "display": "Bee venom (substance)" + }, + { + "code": "28942008", + "display": "Coconut oil (substance)" + }, + { + "code": "29263009", + "display": "Coffee (substance)" + }, + { + "code": "304275008", + "display": "Corticosteroid and corticosteroid derivative (substance)" + }, + { + "code": "33008008", + "display": "Dust (substance)" + }, + { + "code": "350327004", + "display": "Diphtheria + tetanus vaccine (product)" + }, + { + "code": "35748005", + "display": "Wine (substance)" + }, + { + "code": "360201004", + "display": "Nitrofuran derivative (substance)" + }, + { + "code": "3692009", + "display": "Sodium sulfite (substance)" + }, + { + "code": "372480009", + "display": "Substance with macrolide structure and antibacterial mechanism of action (substance)" + }, + { + "code": "372664007", + "display": "Benzodiazepine (substance)" + }, + { + "code": "372665008", + "display": "Non-steroidal anti-inflammatory agent (substance)" + }, + { + "code": "372711004", + "display": "Sulfonylurea (substance)" + }, + { + "code": "372722000", + "display": "Substance with quinolone structure and antibacterial mechanism of action (substance)" + }, + { + "code": "372733002", + "display": "Substance with angiotensin-converting enzyme inhibitor mechanism of action (substance)" + }, + { + "code": "372747003", + "display": "Thiazide diuretic (substance)" + }, + { + "code": "372783007", + "display": "Antiparkinsonian agent (substance)" + }, + { + "code": "372798009", + "display": "Barbiturate (substance)" + }, + { + "code": "372806008", + "display": "Substance with histamine receptor antagonist mechanism of action (substance)" + }, + { + "code": "372889003", + "display": "First generation cephalosporin (substance)" + }, + { + "code": "372912004", + "display": "Substance with 3-hydroxy-3-methylglutaryl-coenzyme A reductase inhibitor mechanism of action (substance)" + }, + { + "code": "372913009", + "display": "Substance with angiotensin II receptor antagonist mechanism of action (substance)" + }, + { + "code": "373206009", + "display": "Substance with tetracycline structure and antibacterial mechanism of action (substance)" + }, + { + "code": "373253007", + "display": "Tricyclic antidepressant (substance)" + }, + { + "code": "373254001", + "display": "Substance with beta adrenergic receptor antagonist mechanism of action (substance)" + }, + { + "code": "373262009", + "display": "Substance with cephalosporin structure and antibacterial mechanism of action (substance)" + }, + { + "code": "373270004", + "display": "Substance with penicillin structure and antibacterial mechanism of action (substance)" + }, + { + "code": "373297006", + "display": "Substance with beta-lactam structure and antibacterial mechanism of action (substance)" + }, + { + "code": "373304005", + "display": "Substance with calcium channel blocker mechanism of action (substance)" + }, + { + "code": "373531009", + "display": "Gelatin (substance)" + }, + { + "code": "385420005", + "display": "Contrast media (substance)" + }, + { + "code": "386127005", + "display": "Formula milk (substance)" + }, + { + "code": "386962001", + "display": "Plasma protein fraction (substance)" + }, + { + "code": "387050005", + "display": "Substance with prostaglandin-endoperoxide synthase isoform 2 inhibitor mechanism of action (substance)" + }, + { + "code": "387406002", + "display": "Sulfonamide (substance)" + }, + { + "code": "391737006", + "display": "Almond oil (substance)" + }, + { + "code": "391739009", + "display": "Aloe (substance)" + }, + { + "code": "396345004", + "display": "Carbapenem (substance)" + }, + { + "code": "396420001", + "display": "Anthrax vaccine (substance)" + }, + { + "code": "396425006", + "display": "Influenza virus vaccine (substance)" + }, + { + "code": "396433007", + "display": "Pertussis vaccine (substance)" + }, + { + "code": "396439006", + "display": "Smallpox vaccine (substance)" + }, + { + "code": "396441007", + "display": "Typhoid vaccine (substance)" + }, + { + "code": "396442000", + "display": "Varicella virus vaccine (substance)" + }, + { + "code": "398730001", + "display": "Pneumococcal vaccine (substance)" + }, + { + "code": "400872007", + "display": "Hydrocolloid (substance)" + }, + { + "code": "404642006", + "display": "Substance with opioid receptor agonist mechanism of action (substance)" + }, + { + "code": "406748003", + "display": "Carbamate (substance)" + }, + { + "code": "409137002", + "display": "No known drug allergy (situation)" + }, + { + "code": "412061001", + "display": "Blueberries (substance)" + }, + { + "code": "412062008", + "display": "Cantaloupe (substance)" + }, + { + "code": "412066006", + "display": "Pepper (substance)" + }, + { + "code": "412068007", + "display": "Rye (substance)" + }, + { + "code": "412071004", + "display": "Wheat (substance)" + }, + { + "code": "412138001", + "display": "Horse serum protein (substance)" + }, + { + "code": "412357001", + "display": "Corn (substance)" + }, + { + "code": "412373007", + "display": "Diphtheria + pertussis + tetanus + Haemophilus influenzae type b vaccine (product)" + }, + { + "code": "412375000", + "display": "Tetanus vaccine (substance)" + }, + { + "code": "412533000", + "display": "Wheat bran (substance)" + }, + { + "code": "412534006", + "display": "Yeast (substance)" + }, + { + "code": "412583005", + "display": "Bee pollen (substance)" + }, + { + "code": "41598000", + "display": "Estrogen (substance)" + }, + { + "code": "417889008", + "display": "Arachis oil (substance)" + }, + { + "code": "418000008", + "display": "Methadone analog (substance)" + }, + { + "code": "418504009", + "display": "Oats (substance)" + }, + { + "code": "418920007", + "display": "Adhesive agent (substance)" + }, + { + "code": "419420009", + "display": "Watermelon (substance)" + }, + { + "code": "419933005", + "display": "Glucocorticoid (substance)" + }, + { + "code": "421245007", + "display": "Diphtheria + pertussis + tetanus vaccine (product)" + }, + { + "code": "424369009", + "display": "Product containing beta-galactosidase (medicinal product)" + }, + { + "code": "426722004", + "display": "Iodinated contrast media (substance)" + }, + { + "code": "428607008", + "display": "No known environmental allergy (situation)" + }, + { + "code": "429625007", + "display": "No known food allergy (situation)" + }, + { + "code": "43735007", + "display": "Sulfur (substance)" + }, + { + "code": "43921001", + "display": "Nickel compound (substance)" + }, + { + "code": "44027008", + "display": "Seafood (substance)" + }, + { + "code": "442381000124103", + "display": "Blue food coloring (substance)" + }, + { + "code": "442571000124108", + "display": "Tree nut (substance)" + }, + { + "code": "442771000124102", + "display": "Pepperoni (substance)" + }, + { + "code": "44588005", + "display": "Iodine (substance)" + }, + { + "code": "446273004", + "display": "Red food coloring (substance)" + }, + { + "code": "446274005", + "display": "Yellow food coloring (substance)" + }, + { + "code": "47703008", + "display": "Lactose (substance)" + }, + { + "code": "51386004", + "display": "Food preservative (substance)" + }, + { + "code": "51905005", + "display": "Mustard (substance)" + }, + { + "code": "53041004", + "display": "Alcohol (substance)" + }, + { + "code": "61789006", + "display": "Dye (substance)" + }, + { + "code": "63045006", + "display": "Berry (substance)" + }, + { + "code": "67324005", + "display": "Rice (substance)" + }, + { + "code": "67866001", + "display": "Insulin (substance)" + }, + { + "code": "70813002", + "display": "Milk (substance)" + }, + { + "code": "710179004", + "display": "Lupine seed (substance)" + }, + { + "code": "716184000", + "display": "No known latex allergy (situation)" + }, + { + "code": "716186003", + "display": "No known allergy (situation)" + }, + { + "code": "720687003", + "display": "Dust mite protein (substance)" + }, + { + "code": "72511004", + "display": "Fruit (substance)" + }, + { + "code": "726730005", + "display": "Yam (substance)" + }, + { + "code": "734881000", + "display": "Tomato (substance)" + }, + { + "code": "735006003", + "display": "Squid (substance)" + }, + { + "code": "735009005", + "display": "Salmon (substance)" + }, + { + "code": "735029006", + "display": "Shellfish (substance)" + }, + { + "code": "735030001", + "display": "Garlic (substance)" + }, + { + "code": "735043001", + "display": "Mackerel (substance)" + }, + { + "code": "735045008", + "display": "Mushroom (substance)" + }, + { + "code": "735047000", + "display": "Onion (substance)" + }, + { + "code": "735049002", + "display": "Peach (substance)" + }, + { + "code": "735050002", + "display": "Pear (substance)" + }, + { + "code": "735051003", + "display": "Plum (substance)" + }, + { + "code": "735053000", + "display": "Potato (substance)" + }, + { + "code": "735123009", + "display": "Broccoli (substance)" + }, + { + "code": "735124003", + "display": "Barley (substance)" + }, + { + "code": "735211005", + "display": "Coconut (substance)" + }, + { + "code": "735212003", + "display": "Papaya (substance)" + }, + { + "code": "735213008", + "display": "Cucumber (substance)" + }, + { + "code": "735214002", + "display": "Apricot (substance)" + }, + { + "code": "735215001", + "display": "Apple (substance)" + }, + { + "code": "735248001", + "display": "Cherry (substance)" + }, + { + "code": "735249009", + "display": "Avocado (substance)" + }, + { + "code": "735340006", + "display": "Lemon (substance)" + }, + { + "code": "735959004", + "display": "Marine mollusk (substance)" + }, + { + "code": "735971005", + "display": "Fish (substance)" + }, + { + "code": "735977009", + "display": "Marine crustacean (substance)" + }, + { + "code": "736027000", + "display": "Scallop (substance)" + }, + { + "code": "736030007", + "display": "Clam (substance)" + }, + { + "code": "736031006", + "display": "Oyster (substance)" + }, + { + "code": "736159005", + "display": "Crab (substance)" + }, + { + "code": "736162008", + "display": "Lobster (substance)" + }, + { + "code": "74801000", + "display": "Sugar (substance)" + }, + { + "code": "75665004", + "display": "Monosodium glutamate (substance)" + }, + { + "code": "762952008", + "display": "Peanut (substance)" + }, + { + "code": "7791007", + "display": "Soy protein (substance)" + }, + { + "code": "80259003", + "display": "Food flavoring agent (substance)" + }, + { + "code": "84489001", + "display": "Mold (organism)" + }, + { + "code": "89119000", + "display": "Nitrate salt (substance)" + }, + { + "code": "89707004", + "display": "Sesame oil (substance)" + }, + { + "code": "89811004", + "display": "Gluten (substance)" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-careteam-provider-roles.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-careteam-provider-roles.json new file mode 100644 index 00000000000..ceb7331039c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-careteam-provider-roles.json @@ -0,0 +1,66 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-careteam-provider-roles", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-provider-roles", + "version": "3.1.1", + "name": "USCoreCareTeamProviderRoles", + "title": "US Core CareTeam Provider Roles", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Provider roles codes consist of NUCC Health Care Provider Taxonomy Code Set for providers and SNOMED-CT for - non clinical and organization roles including codes from the SCTID 223366009 Healthcare professional (occupation) heirarchy and the SCTID 224930009 Services (qualifier value) heirarchy.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "Codes that may be used for implementation of the Argonaut Procedures IG and MU2015 certification.", + "copyright": "This value set includes content from:\n 1. SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n 2. NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy" + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "223366009" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "224930009" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-clinical-note-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-clinical-note-type.json new file mode 100644 index 00000000000..0f45e84cffa --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-clinical-note-type.json @@ -0,0 +1,62 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-clinical-note-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type", + "version": "3.1.1", + "name": "USCoreClinicalNoteType", + "title": "US Core Clinical Note Type", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core Clinical Note Type Value Set is a 'starter set' of types supported for fetching and storing clinical notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This material contains content from [LOINC](http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "18842-5" + }, + { + "code": "11488-4" + }, + { + "code": "34117-2" + }, + { + "code": "11506-3" + }, + { + "code": "28570-0" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-condition-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-condition-category.json new file mode 100644 index 00000000000..5cd56ebf540 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-condition-category.json @@ -0,0 +1,44 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-condition-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category", + "version": "3.1.1", + "name": "USCoreConditionCategoryCodes", + "title": "US Core Condition Category Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "description": "The US Core Condition Category Codes support the separate concepts of problems and health concerns in Condition.category in order for API consumers to be able to separate health concerns and problems. However this is not mandatory for 2015 certification", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "So API consumers can separate health concerns and problems.", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category" + }, + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/condition-category|3.1.1", + "concept": [ + { + "code": "health-concern", + "display": "Health Concern" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-condition-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-condition-code.json new file mode 100644 index 00000000000..9ae06cf2ee3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-condition-code.json @@ -0,0 +1,76 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-condition-code", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code", + "version": "3.1.1", + "name": "USCoreConditionCode", + "title": "US Core Condition Code", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This describes the problem. Diagnosis/Problem List is broadly defined as a series of brief statements that catalog a patient's medical, nursing, dental, social, preventative and psychiatric events and issues that are relevant to that patient's healthcare (e.g., signs, symptoms, and defined conditions). ICD-10 is appropriate for Diagnosis information, and ICD-9 for historical information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from:\n 1. SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n 2. ICD-9 and ICD-10 are copyrighted by the World Health Organization (WHO) which owns and publishes the classification. See https://www.who.int/classifications/icd/en. WHO has authorized the development of an adaptation of ICD-9 and ICD-10 to ICD-9-CM to ICD-10-CM for use in the United States for U.S. government purposes.\n", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "160245001" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "404684003" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "243796009" + } + ] + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-diagnosticreport-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-diagnosticreport-category.json new file mode 100644 index 00000000000..07f4dd06ec3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-diagnosticreport-category.json @@ -0,0 +1,48 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category", + "version": "3.1.1", + "name": "USCoreDiagnosticReportCategory", + "title": "US Core DiagnosticReport Category", + "status": "active", + "date": "2019-05-21", + "description": "The US Core Diagnostic Report Category Value Set is a 'starter set' of categories supported for fetching and Diagnostic Reports and notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This material contains content from [LOINC](http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "LP29684-5", + "display": "Radiology" + }, + { + "code": "LP29708-2", + "display": "Cardiology" + }, + { + "code": "LP7839-6", + "display": "Pathology" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-diagnosticreport-lab-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-diagnosticreport-lab-codes.json new file mode 100644 index 00000000000..d7ee8138b24 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-diagnosticreport-lab-codes.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-lab-codes", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes", + "version": "3.1.1", + "name": "USCoreDiagnosticReportLabCodes", + "title": "US Core Diagnostic Report Laboratory Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The Document Type value set includes all LOINC values whose CLASSTYPE is LABORATORY in the LOINC database", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This material contains content from [LOINC](http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "filter": [ + { + "property": "CLASSTYPE", + "op": "=", + "value": "1" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-diagnosticreport-report-and-note-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-diagnosticreport-report-and-note-codes.json new file mode 100644 index 00000000000..b9df688b547 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-diagnosticreport-report-and-note-codes.json @@ -0,0 +1,46 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-report-and-note-codes", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes", + "version": "3.1.1", + "name": "USCoreDiagnosticreportReportAndNoteCodes", + "title": "US Core Diagnosticreport Report And Note Codes", + "status": "active", + "experimental": false, + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set currently contains all of LOINC. The codes selected should represent discrete and narrative diagnostic observations and reports", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This material contains content from [LOINC](http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-documentreference-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-documentreference-category.json new file mode 100644 index 00000000000..ee889cdbeb5 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-documentreference-category.json @@ -0,0 +1,44 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-documentreference-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category", + "version": "3.1.1", + "name": "USCoreDocumentReferenceCategory", + "title": "US Core DocumentReference Category", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core DocumentReferences Category Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|3.1.1" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-documentreference-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-documentreference-type.json new file mode 100644 index 00000000000..5e939aa737a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-documentreference-type.json @@ -0,0 +1,61 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-documentreference-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type", + "version": "3.1.1", + "name": "USCoreDocumentReferenceType", + "title": "US Core DocumentReference Type", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core DocumentReference Type Value Set includes all LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This material contains content from [LOINC](http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "unknown" + } + ] + }, + { + "system": "http://loinc.org", + "filter": [ + { + "property": "SCALE_TYP", + "op": "=", + "value": "DOC" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-encounter-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-encounter-type.json new file mode 100644 index 00000000000..58b0ceba347 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-encounter-type.json @@ -0,0 +1,61 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-encounter-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.3.88.12.80.32" + } + ], + "version": "3.1.1", + "name": "USCoreEncounterType", + "title": "US Core Encounter Type", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The type of encounter: a specific code indicating type of service provided. This value set includes codes from SNOMED CT decending from the concept 308335008 (Patient encounter procedure (procedure)) and from the Current Procedure and Terminology(CPT) designated for Evaluation and Management (99200 – 99607) (subscription to AMA Required)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from:\n 1. SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n 2. CPT copyright 2014 American Medical Association. All rights reserved.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "308335008" + } + ] + }, + { + "system": "http://www.ama-assn.org/go/cpt" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-medication-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-medication-codes.json new file mode 100644 index 00000000000..0a823693e3e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-medication-codes.json @@ -0,0 +1,58 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-medication-codes", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1010.4" + } + ], + "version": "3.1.1", + "name": "USCoreMedicationCodes", + "title": "US Core Medication Codes (RxNorm)", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "All prescribable medication formulations represented using either a 'generic' or 'brand-specific' concept. This includes RxNorm codes whose Term Type is SCD (semantic clinical drug), SBD (semantic brand drug), GPCK (generic pack), BPCK (brand pack), SCDG (semantic clinical drug group), SBDG (semantic brand drug group), SCDF (semantic clinical drug form), or SBDF (semantic brand drug form)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "Using RxNorm codes of type SAB=RXNORM as this specification describes [does not require](https://www.nlm.nih.gov/research/umls/rxnorm/docs/prescribe.html) a UMLS license. Access to the full set of RxNorm definitions, and/or additional use of other RxNorm structures and information requires a UMLS license. The use of RxNorm in this specification is pursuant to HL7's status as a licensee of the NLM UMLS. HL7's license does not convey the right to use RxNorm to any users of this specification; implementers must acquire a license to use RxNorm in their own right", + "compose": { + "include": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "filter": [ + { + "property": "TTY", + "op": "in", + "value": "SCD,SBD,GPCK,BPCK,SCDG,SBDG,SCDF,SBDF" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-narrative-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-narrative-status.json new file mode 100644 index 00000000000..f1accbd0abf --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-narrative-status.json @@ -0,0 +1,55 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-narrative-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status", + "version": "3.1.1", + "name": "NarrativeStatus", + "title": "US Core Narrative Status", + "status": "active", + "date": "2020-08-28T10:54:27+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core Narrative Status Value Set limits the text status for the resource narrative.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "HL7", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/narrative-status", + "concept": [ + { + "code": "additional", + "display": "additional" + }, + { + "code": "generated", + "display": "generated" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-ndc-vaccine-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-ndc-vaccine-codes.json new file mode 100644 index 00000000000..78b974d614e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-ndc-vaccine-codes.json @@ -0,0 +1,1297 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-ndc-vaccine-codes", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-ndc-vaccine-codes", + "version": "3.1.1", + "name": "USCoreVaccineNationalDrugCode", + "title": "US Core Vaccine National Drug Codes (NDC)", + "status": "active", + "date": "2019-05-20T17:00:00-07:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "This value set includes all the Vaccine National Drug Codes (NDC). This source of this data is provided by the [CDC](https://www2a.cdc.gov/vaccines/iis/iisstandards/ndc_crosswalk.asp)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "Codes that are used as translations for CVS code for implementation of the Argonaut Immunization IG and MU2015 certification.", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/sid/ndc", + "concept": [ + { + "code": "49281-0703-55", + "display": "FLUZONE INTRADERMAL" + }, + { + "code": "49281-0790-20", + "display": "Typhim Vi" + }, + { + "code": "33332-0316-01", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "49281-0712-40", + "display": "FLUZONE INTRADERMAL QUADRIVALENT" + }, + { + "code": "66521-0112-02", + "display": "Fluvirin" + }, + { + "code": "58160-0816-05", + "display": "Hiberix" + }, + { + "code": "00006-4837-02", + "display": "PNEUMOVAX 23" + }, + { + "code": "58160-0808-15", + "display": "Influenza A (H5N1) Monovalent Vaccine, Adjuvanted" + }, + { + "code": "58160-0842-51", + "display": "BOOSTRIX" + }, + { + "code": "49281-0418-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00006-4943-00", + "display": "PNEUMOVAX 23" + }, + { + "code": "49281-0708-40", + "display": "FLUZONE INTRADERMAL QUADRIVALENT" + }, + { + "code": "54868-0734-00", + "display": "ENGERIX-B" + }, + { + "code": "58160-0819-12", + "display": "Shingrix" + }, + { + "code": "49281-0517-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00006-4133-41", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "50090-3096-00", + "display": "RabAvert" + }, + { + "code": "33332-0118-10", + "display": "AFLURIA" + }, + { + "code": "19515-0909-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "49281-0650-10", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "58160-0820-11", + "display": "ENGERIX-B" + }, + { + "code": "42515-0001-01", + "display": "IXIARO" + }, + { + "code": "49281-0625-15", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "49281-0516-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "66521-0114-02", + "display": "FLUVIRIN" + }, + { + "code": "19515-0896-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "33332-0117-10", + "display": "AFLURIA" + }, + { + "code": "33332-0416-10", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "66521-0118-02", + "display": "Fluvirin" + }, + { + "code": "58160-0821-11", + "display": "ENGERIX-B" + }, + { + "code": "00005-1971-05", + "display": "PREVNAR 13" + }, + { + "code": "66019-0109-10", + "display": "FLUMIST" + }, + { + "code": "49281-0278-10", + "display": "DIPHTHERIA AND TETANUS TOXOIDS ADSORBED" + }, + { + "code": "49281-0011-10", + "display": "FLUZONE" + }, + { + "code": "54868-2219-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "49281-0415-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "33332-0016-01", + "display": "AFLURIA" + }, + { + "code": "49281-0705-55", + "display": "FLUZONE" + }, + { + "code": "49281-0621-15", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0842-34", + "display": "BOOSTRIX" + }, + { + "code": "49281-0010-10", + "display": "FLUZONE" + }, + { + "code": "66521-0113-02", + "display": "FLUVIRIN" + }, + { + "code": "49281-0514-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0842-52", + "display": "BOOSTRIX" + }, + { + "code": "19515-0901-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "62577-0613-01", + "display": "Flucelvax" + }, + { + "code": "66019-0303-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0388-15", + "display": "FLUZONE" + }, + { + "code": "00006-4841-41", + "display": "VAQTA" + }, + { + "code": "58160-0900-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "70461-0200-01", + "display": "FLUCELVAX QUADRIVALENT" + }, + { + "code": "49281-0915-05", + "display": "YF-VAX" + }, + { + "code": "49281-0650-50", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "33332-0116-10", + "display": "AFLURIA" + }, + { + "code": "54868-3339-01", + "display": "PNEUMOVAX 23" + }, + { + "code": "49281-0418-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0812-52", + "display": "KINRIX" + }, + { + "code": "49281-0286-05", + "display": "DAPTACEL" + }, + { + "code": "63851-0612-01", + "display": "Flucelvax" + }, + { + "code": "19515-0908-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "54868-0980-00", + "display": "M-M-R II" + }, + { + "code": "58160-0830-52", + "display": "CERVARIX" + }, + { + "code": "49281-0113-25", + "display": "FLUZONE" + }, + { + "code": "49281-0650-70", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "66521-0115-10", + "display": "FLUVIRIN" + }, + { + "code": "49281-0417-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "33332-0113-10", + "display": "AFLURIA" + }, + { + "code": "49281-0629-15", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0823-11", + "display": "Shingrix" + }, + { + "code": "00006-4897-00", + "display": "PedvaxHIB" + }, + { + "code": "58160-0821-34", + "display": "ENGERIX-B" + }, + { + "code": "66521-0115-02", + "display": "FLUVIRIN" + }, + { + "code": "33332-0014-01", + "display": "AFLURIA" + }, + { + "code": "49281-0562-10", + "display": "QUADRACEL" + }, + { + "code": "42874-0014-10", + "display": "Flublok" + }, + { + "code": "42874-0013-10", + "display": "Flublok" + }, + { + "code": "33332-0115-10", + "display": "AFLURIA" + }, + { + "code": "00006-4963-00", + "display": "ZOSTAVAX" + }, + { + "code": "49281-0010-25", + "display": "FLUZONE" + }, + { + "code": "33332-0519-01", + "display": "Influenza A" + }, + { + "code": "58160-0898-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "49281-0112-25", + "display": "FLUZONE" + }, + { + "code": "19515-0898-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "00006-4109-09", + "display": "GARDASIL" + }, + { + "code": "49281-0414-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00006-4095-09", + "display": "VAQTA" + }, + { + "code": "00006-4045-00", + "display": "GARDASIL" + }, + { + "code": "19515-0912-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "58160-0801-11", + "display": "Menhibrix" + }, + { + "code": "49281-0489-01", + "display": "MENOMUNE - A/C/Y/W-135 COMBINED" + }, + { + "code": "42874-0017-10", + "display": "Flublok" + }, + { + "code": "66521-0116-02", + "display": "Fluvirin" + }, + { + "code": "46028-0208-01", + "display": "Menveo" + }, + { + "code": "49281-0627-15", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00005-0100-02", + "display": "Trumenba" + }, + { + "code": "69401-0000-01", + "display": "Vivotif" + }, + { + "code": "21695-0413-01", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "49281-0416-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "49281-0650-25", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "49281-0800-83", + "display": "TETANUS TOXOID ADSORBED" + }, + { + "code": "49281-0291-83", + "display": "DECAVAC" + }, + { + "code": "00006-4095-02", + "display": "VAQTA" + }, + { + "code": "58160-0854-52", + "display": "ROTARIX" + }, + { + "code": "19515-0889-07", + "display": "FLULAVAL" + }, + { + "code": "49281-0392-15", + "display": "FLUZONE" + }, + { + "code": "19515-0891-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "49281-0400-05", + "display": "Adacel" + }, + { + "code": "49281-0913-01", + "display": "STAMARIL" + }, + { + "code": "49281-0640-15", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "49281-0513-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00006-4171-00", + "display": "ProQuad" + }, + { + "code": "00006-4096-09", + "display": "VAQTA" + }, + { + "code": "58160-0830-34", + "display": "CERVARIX" + }, + { + "code": "00006-4980-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "17478-0131-01", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "49281-0414-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "43528-0002-05", + "display": "HEPLISAV-B" + }, + { + "code": "66521-0200-02", + "display": "Influenza A (H1N1) 2009 Monovalent Vaccine" + }, + { + "code": "49281-0011-50", + "display": "FLUZONE" + }, + { + "code": "70461-0120-10", + "display": "Fluvirin" + }, + { + "code": "66019-0304-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "58160-0976-20", + "display": "Bexsero" + }, + { + "code": "00006-4826-00", + "display": "VARIVAX" + }, + { + "code": "66521-0116-10", + "display": "Fluvirin" + }, + { + "code": "00006-4963-41", + "display": "ZOSTAVAX" + }, + { + "code": "49281-0510-05", + "display": "PENTACEL" + }, + { + "code": "42874-0012-10", + "display": "Flublok" + }, + { + "code": "58160-0955-09", + "display": "Menveo" + }, + { + "code": "00005-0100-05", + "display": "Trumenba" + }, + { + "code": "49281-0707-55", + "display": "FLUZONE" + }, + { + "code": "14362-0111-04", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "66521-0112-10", + "display": "Fluvirin" + }, + { + "code": "66521-0117-10", + "display": "Fluvirin" + }, + { + "code": "00006-4045-41", + "display": "GARDASIL" + }, + { + "code": "49281-0389-65", + "display": "FLUZONE HIGH DOSE" + }, + { + "code": "69401-0000-02", + "display": "Vivotif" + }, + { + "code": "49281-0915-01", + "display": "YF-VAX" + }, + { + "code": "00006-4093-02", + "display": "RECOMBIVAX HB" + }, + { + "code": "58160-0815-48", + "display": "TWINRIX" + }, + { + "code": "70460-0001-01", + "display": "Vaxchora" + }, + { + "code": "58160-0826-11", + "display": "HAVRIX" + }, + { + "code": "00006-4992-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "49281-0111-25", + "display": "FLUZONE" + }, + { + "code": "00006-4093-09", + "display": "RECOMBIVAX HB" + }, + { + "code": "50090-3469-00", + "display": "HEPLISAV-B" + }, + { + "code": "49281-0403-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "70461-0119-10", + "display": "Fluvirin" + }, + { + "code": "00006-4995-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "58160-0815-34", + "display": "TWINRIX" + }, + { + "code": "49281-0393-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "00005-1970-50", + "display": "Prevnar" + }, + { + "code": "33332-0017-01", + "display": "AFLURIA" + }, + { + "code": "63851-0501-01", + "display": "RabAvert" + }, + { + "code": "58160-0881-52", + "display": "FLUARIX" + }, + { + "code": "64678-0211-01", + "display": "BioThrax" + }, + { + "code": "49281-0394-15", + "display": "FLUZONE" + }, + { + "code": "00006-4827-00", + "display": "VARIVAX" + }, + { + "code": "58160-0806-05", + "display": "HIBERIX" + }, + { + "code": "49281-0518-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "62195-0051-10", + "display": "Ixiaro" + }, + { + "code": "63361-0245-10", + "display": "VAXELIS" + }, + { + "code": "49281-0709-55", + "display": "FLUZONE Intradermal" + }, + { + "code": "66019-0300-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0215-15", + "display": "TENIVAC" + }, + { + "code": "58160-0825-52", + "display": "HAVRIX" + }, + { + "code": "00005-0100-10", + "display": "Trumenba" + }, + { + "code": "66521-0117-02", + "display": "Fluvirin" + }, + { + "code": "49281-0650-90", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "42874-0015-10", + "display": "Flublok" + }, + { + "code": "33332-0018-01", + "display": "AFLURIA" + }, + { + "code": "00006-4999-00", + "display": "ProQuad" + }, + { + "code": "00005-1971-04", + "display": "PREVNAR 13" + }, + { + "code": "19515-0850-52", + "display": "FLULAVAL" + }, + { + "code": "00005-1971-02", + "display": "PREVNAR 13" + }, + { + "code": "00006-4094-02", + "display": "RECOMBIVAX HB" + }, + { + "code": "00006-4096-02", + "display": "VAQTA" + }, + { + "code": "58160-0825-11", + "display": "HAVRIX" + }, + { + "code": "58160-0811-52", + "display": "PEDIARIX" + }, + { + "code": "42515-0002-01", + "display": "IXIARO" + }, + { + "code": "49281-0013-50", + "display": "FLUZONE" + }, + { + "code": "76420-0483-01", + "display": "Medical Provider Single Use EZ Flu Shot 2013-2014" + }, + { + "code": "66521-0118-10", + "display": "Fluvirin" + }, + { + "code": "49281-0399-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "49281-0396-15", + "display": "FLUZONE" + }, + { + "code": "66019-0107-01", + "display": "FLUMIST" + }, + { + "code": "19515-0890-07", + "display": "FLULAVAL" + }, + { + "code": "76420-0482-01", + "display": "Medical Provider Single Use EZ Flu Shot 2013-2014" + }, + { + "code": "33332-0015-01", + "display": "AFLURIA" + }, + { + "code": "66019-0302-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0012-10", + "display": "FLUZONE" + }, + { + "code": "49281-0710-40", + "display": "FLUZONE INTRADERMAL QUADRIVALENT" + }, + { + "code": "63851-0501-02", + "display": "RabAvert" + }, + { + "code": "58160-0879-52", + "display": "FLUARIX" + }, + { + "code": "49281-0397-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "00006-4831-41", + "display": "VAQTA" + }, + { + "code": "58160-0815-46", + "display": "TWINRIX" + }, + { + "code": "33332-0110-10", + "display": "AFLURIA" + }, + { + "code": "54868-4320-00", + "display": "PNEUMOVAX 23" + }, + { + "code": "42874-0016-10", + "display": "Flublok" + }, + { + "code": "49281-0012-50", + "display": "FLUZONE" + }, + { + "code": "58160-0818-11", + "display": "Hiberix" + }, + { + "code": "49281-0386-15", + "display": "FLUZONE" + }, + { + "code": "46028-0114-01", + "display": "Bexsero" + }, + { + "code": "00006-4898-00", + "display": "COMVAX" + }, + { + "code": "58160-0826-52", + "display": "HAVRIX" + }, + { + "code": "49281-0545-05", + "display": "ActHIB" + }, + { + "code": "66019-0108-10", + "display": "FLUMIST" + }, + { + "code": "70461-0418-10", + "display": "FLUCELVAX QUADRIVALENT (MULTI-DOSE VIAL)" + }, + { + "code": "00006-4094-09", + "display": "RECOMBIVAX HB" + }, + { + "code": "49281-0298-10", + "display": "TRIPEDIA" + }, + { + "code": "33332-0629-10", + "display": "Influenza A" + }, + { + "code": "58160-0880-52", + "display": "FLUARIX" + }, + { + "code": "00006-4047-20", + "display": "RotaTeq" + }, + { + "code": "00006-4119-02", + "display": "GARDASIL 9" + }, + { + "code": "58160-0842-11", + "display": "BOOSTRIX" + }, + { + "code": "19515-0903-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "00006-4981-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "58160-0905-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "49281-0401-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "33332-0114-10", + "display": "AFLURIA" + }, + { + "code": "49281-0860-10", + "display": "IPOL" + }, + { + "code": "70461-0318-03", + "display": "FLUCELVAX QUADRIVALENT (PREFILLED SYRINGE)" + }, + { + "code": "54868-2219-01", + "display": "RECOMBIVAX HB" + }, + { + "code": "49281-0718-10", + "display": "Flublok Quadrivalent" + }, + { + "code": "49281-0400-15", + "display": "Adacel" + }, + { + "code": "70461-0120-02", + "display": "Fluvirin" + }, + { + "code": "49281-0416-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "49281-0413-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0883-52", + "display": "FLUARIX" + }, + { + "code": "49281-0790-51", + "display": "Typhim Vi" + }, + { + "code": "49281-0286-10", + "display": "DAPTACEL" + }, + { + "code": "66019-0110-10", + "display": "FluMist" + }, + { + "code": "46028-0114-02", + "display": "Bexsero" + }, + { + "code": "58160-0821-52", + "display": "ENGERIX-B" + }, + { + "code": "49281-0013-10", + "display": "FLUZONE" + }, + { + "code": "19515-0894-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "66019-0305-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0400-10", + "display": "Adacel" + }, + { + "code": "49281-0390-15", + "display": "FLUZONE" + }, + { + "code": "00052-0603-02", + "display": "BCG VACCINE" + }, + { + "code": "51285-0138-50", + "display": "Adenovirus Type 4 and Type 7 Vaccine, Live" + }, + { + "code": "33332-0417-10", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "49281-0395-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "66019-0301-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0215-10", + "display": "TENIVAC" + }, + { + "code": "19515-0895-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "70461-0201-01", + "display": "FLUCELVAX QUADRIVALENT (PREFILLED SYRINGE)" + }, + { + "code": "58160-0907-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "55045-3841-01", + "display": "HAVRIX" + }, + { + "code": "50090-2883-00", + "display": "INFANRIX" + }, + { + "code": "49281-0820-10", + "display": "TETANUS TOXOID ADSORBED" + }, + { + "code": "49281-0417-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "33332-0010-01", + "display": "AFLURIA" + }, + { + "code": "33332-0013-01", + "display": "AFLURIA" + }, + { + "code": "66521-0200-10", + "display": "Influenza A (H1N1) 2009 Monovalent Vaccine" + }, + { + "code": "58160-0976-06", + "display": "Bexsero" + }, + { + "code": "58160-0809-05", + "display": "MENHIBRIX" + }, + { + "code": "00006-4739-00", + "display": "PNEUMOVAX 23" + }, + { + "code": "70461-0018-03", + "display": "FLUAD" + }, + { + "code": "49281-0413-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "13533-0131-01", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "58160-0812-11", + "display": "KINRIX" + }, + { + "code": "49281-0391-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "19515-0845-11", + "display": "FLULAVAL" + }, + { + "code": "58160-0811-51", + "display": "PEDIARIX" + }, + { + "code": "58160-0815-52", + "display": "TWINRIX" + }, + { + "code": "70461-0119-02", + "display": "Fluvirin" + }, + { + "code": "58160-0810-52", + "display": "INFANRIX" + }, + { + "code": "62577-0614-01", + "display": "Flucelvax" + }, + { + "code": "42874-0117-10", + "display": "Flublok Quadrivalent" + }, + { + "code": "49281-0489-91", + "display": "MENOMUNE - A/C/Y/W-135 COMBINED" + }, + { + "code": "58160-0964-12", + "display": "RabAvert" + }, + { + "code": "49281-0014-50", + "display": "FLUZONE" + }, + { + "code": "00006-4109-02", + "display": "GARDASIL" + }, + { + "code": "70461-0002-01", + "display": "FLUAD" + }, + { + "code": "49281-0286-01", + "display": "DAPTACEL" + }, + { + "code": "58160-0810-11", + "display": "INFANRIX" + }, + { + "code": "19515-0900-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "00006-4837-03", + "display": "PNEUMOVAX 23" + }, + { + "code": "66521-0113-10", + "display": "FLUVIRIN" + }, + { + "code": "58160-0826-34", + "display": "HAVRIX" + }, + { + "code": "58160-0903-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "00006-4841-00", + "display": "VAQTA" + }, + { + "code": "54868-6180-00", + "display": "FLUZONE" + }, + { + "code": "00006-4681-00", + "display": "M-M-R II" + }, + { + "code": "33332-0317-01", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "70461-0001-01", + "display": "FLUAD" + }, + { + "code": "49281-0589-05", + "display": "Menactra" + }, + { + "code": "49281-0387-65", + "display": "FLUZONE" + }, + { + "code": "49281-0860-55", + "display": "IPOL" + }, + { + "code": "19515-0893-07", + "display": "FLULAVAL" + }, + { + "code": "33332-0519-25", + "display": "Influenza A" + }, + { + "code": "70461-0301-10", + "display": "FLUCELVAX QUADRIVALENT (MULTI-DOSE VIAL)" + }, + { + "code": "66019-0200-10", + "display": "Influenza A H1N1 Intranasal" + }, + { + "code": "43528-0003-05", + "display": "HEPLISAV-B" + }, + { + "code": "58160-0820-52", + "display": "ENGERIX-B" + }, + { + "code": "66521-0000-01", + "display": "FLUAD" + }, + { + "code": "49281-0250-51", + "display": "IMOVAX RABIES" + }, + { + "code": "49281-0291-10", + "display": "DECAVAC" + }, + { + "code": "33332-0418-10", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "00006-4121-02", + "display": "GARDASIL 9" + }, + { + "code": "63851-0613-01", + "display": "FLUCELVAX" + }, + { + "code": "66521-0114-10", + "display": "FLUVIRIN" + }, + { + "code": "00006-4047-41", + "display": "RotaTeq" + }, + { + "code": "58160-0901-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "33332-0318-01", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "00006-4119-03", + "display": "GARDASIL 9" + }, + { + "code": "49281-0225-10", + "display": "DIPHTHERIA AND TETANUS TOXOIDS ADSORBED" + }, + { + "code": "58160-0815-11", + "display": "TWINRIX" + }, + { + "code": "54868-6177-00", + "display": "FLUZONE" + }, + { + "code": "49281-0010-50", + "display": "FLUZONE" + }, + { + "code": "49281-0400-20", + "display": "Adacel" + }, + { + "code": "49281-0545-03", + "display": "ActHIB" + }, + { + "code": "50090-1693-09", + "display": "IPOL" + }, + { + "code": "00006-4995-41", + "display": "RECOMBIVAX HB" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-observation-smoking-status-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-observation-smoking-status-status.json new file mode 100644 index 00000000000..d4f2ef071a0 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-observation-smoking-status-status.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-smoking-status-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status", + "version": "3.1.1", + "name": "USCoreObservationSmokingStatusStatus", + "title": "US Core Status for Smoking Status Observation", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Codes providing the status of an observation for smoking status. Constrained to `final`and `entered-in-error`.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/observation-status", + "concept": [ + { + "code": "final" + }, + { + "code": "entered-in-error" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-observation-smokingstatus-max.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-observation-smokingstatus-max.json new file mode 100644 index 00000000000..ad5fec08a0c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-observation-smokingstatus-max.json @@ -0,0 +1,45 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-smokingstatus-max", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max", + "version": "3.1.1", + "name": "USCoreSmokingStatusmaxValueSet", + "title": "US Core Smoking Status Max-Binding", + "status": "active", + "date": "2020-06-29", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Representing a patient’s smoking behavior using concepts from SNOMED CT.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-observation-smokingstatus.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-observation-smokingstatus.json new file mode 100644 index 00000000000..356abbfeebd --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-observation-smokingstatus.json @@ -0,0 +1,85 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-smokingstatus", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.2.602" + } + ], + "version": "3.1.1", + "name": "UsCoreSmokingStatusPreferred", + "title": "US Core Smoking Status Preferred", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set enumerates a preferred set of SNOMED CT codes historically used for the current smoking status of a patient.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "449868002", + "display": "Current every day smoker" + }, + { + "code": "428041000124106", + "display": "Current some day smoker" + }, + { + "code": "8517006", + "display": "Former smoker" + }, + { + "code": "266919005", + "display": "Never smoker" + }, + { + "code": "77176002", + "display": "Smoker, current status unknown" + }, + { + "code": "266927001", + "display": "Unknown if ever smoked" + }, + { + "code": "428071000124103", + "display": "Current Heavy tobacco smoker" + }, + { + "code": "428061000124105", + "display": "Current Light tobacco smoker" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-observation-value-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-observation-value-codes.json new file mode 100644 index 00000000000..10d03375556 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-observation-value-codes.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-value-codes", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-value-codes", + "version": "3.1.1", + "name": "USCoreObservationValueCodes", + "title": "US Core Observation Value Codes (SNOMED-CT)", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + }, + { + "system": "email", + "value": "fhir@lists.hl7.org" + } + ] + } + ], + "description": "[Snomed-CT](http://www.ihtsdo.org/) concept codes for coded results", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-procedure-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-procedure-code.json new file mode 100644 index 00000000000..54c238b31ba --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-procedure-code.json @@ -0,0 +1,64 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-procedure-code", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code", + "version": "3.1.1", + "name": "USCoreProcedureCodes", + "title": "US Core Procedure Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Concepts from CPT, SNOMED CT, HCPCS Level II Alphanumeric Codes, ICD-10-PCS and CDT code systems that can be used to indicate the type of procedure performed.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from:\n 1. CPT copyright 2014 American Medical Association. All rights reserved.\n 2. SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n 3. HCPCS Level II Alphanumeric Codes codes are maintained by the US Centers for Medicare and Medicaid Services (CMS) available for public use.\n 4. The International Classification of Diseases, Tenth Revision, Procedure Coding System (ICD-10-PCS) was developed for the Centers for Medicare and Medicaid Services (CMS) available for public use. CMS is the U.S. governmental agency responsible for overseeing all changes and modifications to the ICD-10-PCS.\n 5. The ADA is the exclusive copyright owner of CDT, the Code on Dental Procedures and Nomenclature (the Code), and the ADA Dental Claim Form. Except as permitted by law, all use, copying or distribution of CDT, or any portion thereof (including the Code on Dental Procedures and Nomenclature) in any product or services (including works prepared for clients by consultants and other professionals), whether in printed, electronic or other format, requires a valid commercial user license from the ADA. CDT® is a registered trademark of the American Dental Association. All Rights Reserved.", + "compose": { + "include": [ + { + "system": "http://www.ama-assn.org/go/cpt" + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "71388002" + } + ] + }, + { + "system": "urn:oid:2.16.840.1.113883.6.285" + }, + { + "system": "http://www.cms.gov/Medicare/Coding/ICD10" + }, + { + "system": "urn:oid:2.16.840.1.113883.6.13" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-procedure-icd10pcs.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-procedure-icd10pcs.json new file mode 100644 index 00000000000..88c041e4d23 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-procedure-icd10pcs.json @@ -0,0 +1,45 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-procedure-icd10pcs", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-icd10pcs", + "version": "3.1.1", + "name": "USCoreIcd_10PcsProcedureCodes", + "title": "US Core ICD-10-PCS Procedure Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set defines the set of codes from ICD10-PCS", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "The International Classification of Diseases, Tenth Revision, Procedure Coding System (ICD-10-PCS) was developed for the Centers for Medicare and Medicaid Services (CMS). CMS is the U.S. governmental agency responsible for overseeing all changes and modifications to the ICD-10-PCS.", + "compose": { + "include": [ + { + "system": "http://www.cms.gov/Medicare/Coding/ICD10" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-provenance-participant-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-provenance-participant-type.json new file mode 100644 index 00000000000..833a46f9f07 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-provenance-participant-type.json @@ -0,0 +1,38 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provenance-participant-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type", + "version": "3.1.1", + "name": "USCoreProvenancePaticipantTypeCodes", + "title": "US Core Provenance Participant Type Codes", + "status": "active", + "date": "2019-08-28", + "publisher": "HL7 US Realm Steering Committee", + "description": "The type of participation a provenance agent played for a given target.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "So API consumers can identify the provenance participant type.", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type|3.1.1" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type|3.1.1" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-provider-role.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-provider-role.json new file mode 100644 index 00000000000..e8465f1f8dc --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-provider-role.json @@ -0,0 +1,995 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provider-role", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role", + "version": "3.1.1", + "name": "USCoreProviderRoleNucc", + "title": "US Core Provider Role (NUCC)", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set classification codes for providers. Only concepts with a classification and no specialization are included. ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy", + "concept": [ + { + "code": "101Y00000X", + "display": "Counselor" + }, + { + "code": "102L00000X", + "display": "Psychoanalyst" + }, + { + "code": "102X00000X", + "display": "Poetry Therapist" + }, + { + "code": "103G00000X", + "display": "Clinical Neuropsychologist" + }, + { + "code": "103K00000X", + "display": "Behavior Analyst" + }, + { + "code": "103T00000X", + "display": "Psychologist" + }, + { + "code": "104100000X", + "display": "Social Worker" + }, + { + "code": "106E00000X", + "display": "Assistant Behavior Analyst" + }, + { + "code": "106H00000X", + "display": "Marriage & Family Therapist" + }, + { + "code": "106S00000X", + "display": "Behavior Technician" + }, + { + "code": "111N00000X", + "display": "Chiropractor" + }, + { + "code": "122300000X", + "display": "Dentist" + }, + { + "code": "122400000X", + "display": "Denturist" + }, + { + "code": "124Q00000X", + "display": "Dental Hygienist" + }, + { + "code": "125J00000X", + "display": "Dental Therapist" + }, + { + "code": "125K00000X", + "display": "Advanced Practice Dental Therapist" + }, + { + "code": "125Q00000X", + "display": "Oral Medicinist" + }, + { + "code": "126800000X", + "display": "Dental Assistant" + }, + { + "code": "126900000X", + "display": "Dental Laboratory Technician" + }, + { + "code": "132700000X", + "display": "Dietary Manager" + }, + { + "code": "133N00000X", + "display": "Nutritionist" + }, + { + "code": "133V00000X", + "display": "Dietitian, Registered" + }, + { + "code": "136A00000X", + "display": "Dietetic Technician, Registered" + }, + { + "code": "146D00000X", + "display": "Personal Emergency Response Attendant" + }, + { + "code": "146L00000X", + "display": "Emergency Medical Technician, Paramedic" + }, + { + "code": "146M00000X", + "display": "Emergency Medical Technician, Intermediate" + }, + { + "code": "146N00000X", + "display": "Emergency Medical Technician, Basic" + }, + { + "code": "152W00000X", + "display": "Optometrist" + }, + { + "code": "156F00000X", + "display": "Technician/Technologist" + }, + { + "code": "163W00000X", + "display": "Registered Nurse" + }, + { + "code": "164W00000X", + "display": "Licensed Practical Nurse" + }, + { + "code": "164X00000X", + "display": "Licensed Vocational Nurse" + }, + { + "code": "167G00000X", + "display": "Licensed Psychiatric Technician" + }, + { + "code": "170100000X", + "display": "Medical Genetics, Ph.D. Medical Genetics" + }, + { + "code": "170300000X", + "display": "Genetic Counselor, MS" + }, + { + "code": "171000000X", + "display": "Military Health Care Provider" + }, + { + "code": "171100000X", + "display": "Acupuncturist" + }, + { + "code": "171M00000X", + "display": "Case Manager/Care Coordinator" + }, + { + "code": "171R00000X", + "display": "Interpreter" + }, + { + "code": "171W00000X", + "display": "Contractor" + }, + { + "code": "172A00000X", + "display": "Driver" + }, + { + "code": "172M00000X", + "display": "Mechanotherapist" + }, + { + "code": "172P00000X", + "display": "Naprapath" + }, + { + "code": "172V00000X", + "display": "Community Health Worker" + }, + { + "code": "173000000X", + "display": "Legal Medicine" + }, + { + "code": "173C00000X", + "display": "Reflexologist" + }, + { + "code": "173F00000X", + "display": "Sleep Specialist, PhD" + }, + { + "code": "174200000X", + "display": "Meals" + }, + { + "code": "174400000X", + "display": "Specialist" + }, + { + "code": "174H00000X", + "display": "Health Educator" + }, + { + "code": "174M00000X", + "display": "Veterinarian" + }, + { + "code": "174N00000X", + "display": "Lactation Consultant, Non-RN" + }, + { + "code": "174V00000X", + "display": "Clinical Ethicist" + }, + { + "code": "175F00000X", + "display": "Naturopath" + }, + { + "code": "175L00000X", + "display": "Homeopath" + }, + { + "code": "175M00000X", + "display": "Midwife, Lay" + }, + { + "code": "175T00000X", + "display": "Peer Specialist" + }, + { + "code": "176B00000X", + "display": "Midwife" + }, + { + "code": "176P00000X", + "display": "Funeral Director" + }, + { + "code": "177F00000X", + "display": "Lodging" + }, + { + "code": "183500000X", + "display": "Pharmacist" + }, + { + "code": "183700000X", + "display": "Pharmacy Technician" + }, + { + "code": "193200000X", + "display": "Multi-Specialty" + }, + { + "code": "193400000X", + "display": "Single Specialty" + }, + { + "code": "202C00000X", + "display": "Independent Medical Examiner" + }, + { + "code": "202K00000X", + "display": "Phlebology" + }, + { + "code": "204C00000X", + "display": "Neuromusculoskeletal Medicine, Sports Medicine" + }, + { + "code": "204D00000X", + "display": "Neuromusculoskeletal Medicine & OMM" + }, + { + "code": "204E00000X", + "display": "Oral & Maxillofacial Surgery" + }, + { + "code": "204F00000X", + "display": "Transplant Surgery" + }, + { + "code": "204R00000X", + "display": "Electrodiagnostic Medicine" + }, + { + "code": "207K00000X", + "display": "Allergy & Immunology" + }, + { + "code": "207L00000X", + "display": "Anesthesiology" + }, + { + "code": "207N00000X", + "display": "Dermatology" + }, + { + "code": "207P00000X", + "display": "Emergency Medicine" + }, + { + "code": "207Q00000X", + "display": "Family Medicine" + }, + { + "code": "207R00000X", + "display": "Internal Medicine" + }, + { + "code": "207T00000X", + "display": "Neurological Surgery" + }, + { + "code": "207U00000X", + "display": "Nuclear Medicine" + }, + { + "code": "207V00000X", + "display": "Obstetrics & Gynecology" + }, + { + "code": "207W00000X", + "display": "Ophthalmology" + }, + { + "code": "207X00000X", + "display": "Orthopaedic Surgery" + }, + { + "code": "207Y00000X", + "display": "Otolaryngology" + }, + { + "code": "208000000X", + "display": "Pediatrics" + }, + { + "code": "208100000X", + "display": "Physical Medicine & Rehabilitation" + }, + { + "code": "208200000X", + "display": "Plastic Surgery" + }, + { + "code": "208600000X", + "display": "Surgery" + }, + { + "code": "208800000X", + "display": "Urology" + }, + { + "code": "208C00000X", + "display": "Colon & Rectal Surgery" + }, + { + "code": "208D00000X", + "display": "General Practice" + }, + { + "code": "208G00000X", + "display": "Thoracic Surgery (Cardiothoracic Vascular Surgery)" + }, + { + "code": "208M00000X", + "display": "Hospitalist" + }, + { + "code": "208U00000X", + "display": "Clinical Pharmacology" + }, + { + "code": "209800000X", + "display": "Legal Medicine" + }, + { + "code": "211D00000X", + "display": "Assistant, Podiatric" + }, + { + "code": "213E00000X", + "display": "Podiatrist" + }, + { + "code": "221700000X", + "display": "Art Therapist" + }, + { + "code": "222Q00000X", + "display": "Developmental Therapist" + }, + { + "code": "222Z00000X", + "display": "Orthotist" + }, + { + "code": "224900000X", + "display": "Mastectomy Fitter" + }, + { + "code": "224L00000X", + "display": "Pedorthist" + }, + { + "code": "224P00000X", + "display": "Prosthetist" + }, + { + "code": "224Y00000X", + "display": "Clinical Exercise Physiologist" + }, + { + "code": "224Z00000X", + "display": "Occupational Therapy Assistant" + }, + { + "code": "225000000X", + "display": "Orthotic Fitter" + }, + { + "code": "225100000X", + "display": "Physical Therapist" + }, + { + "code": "225200000X", + "display": "Physical Therapy Assistant" + }, + { + "code": "225400000X", + "display": "Rehabilitation Practitioner" + }, + { + "code": "225500000X", + "display": "Specialist/Technologist" + }, + { + "code": "225600000X", + "display": "Dance Therapist" + }, + { + "code": "225700000X", + "display": "Massage Therapist" + }, + { + "code": "225800000X", + "display": "Recreation Therapist" + }, + { + "code": "225A00000X", + "display": "Music Therapist" + }, + { + "code": "225B00000X", + "display": "Pulmonary Function Technologist" + }, + { + "code": "225C00000X", + "display": "Rehabilitation Counselor" + }, + { + "code": "225X00000X", + "display": "Occupational Therapist" + }, + { + "code": "226000000X", + "display": "Recreational Therapist Assistant" + }, + { + "code": "226300000X", + "display": "Kinesiotherapist" + }, + { + "code": "227800000X", + "display": "Respiratory Therapist, Certified" + }, + { + "code": "227900000X", + "display": "Respiratory Therapist, Registered" + }, + { + "code": "229N00000X", + "display": "Anaplastologist" + }, + { + "code": "231H00000X", + "display": "Audiologist" + }, + { + "code": "235500000X", + "display": "Specialist/Technologist" + }, + { + "code": "235Z00000X", + "display": "Speech-Language Pathologist" + }, + { + "code": "237600000X", + "display": "Audiologist-Hearing Aid Fitter" + }, + { + "code": "237700000X", + "display": "Hearing Instrument Specialist" + }, + { + "code": "242T00000X", + "display": "Perfusionist" + }, + { + "code": "243U00000X", + "display": "Radiology Practitioner Assistant" + }, + { + "code": "246Q00000X", + "display": "Specialist/Technologist, Pathology" + }, + { + "code": "246R00000X", + "display": "Technician, Pathology" + }, + { + "code": "246W00000X", + "display": "Technician, Cardiology" + }, + { + "code": "246X00000X", + "display": "Specialist/Technologist Cardiovascular" + }, + { + "code": "246Y00000X", + "display": "Specialist/Technologist, Health Information" + }, + { + "code": "246Z00000X", + "display": "Specialist/Technologist, Other" + }, + { + "code": "247000000X", + "display": "Technician, Health Information" + }, + { + "code": "247100000X", + "display": "Radiologic Technologist" + }, + { + "code": "247200000X", + "display": "Technician, Other" + }, + { + "code": "251300000X", + "display": "Local Education Agency (LEA)" + }, + { + "code": "251B00000X", + "display": "Case Management" + }, + { + "code": "251C00000X", + "display": "Day Training, Developmentally Disabled Services" + }, + { + "code": "251E00000X", + "display": "Home Health" + }, + { + "code": "251F00000X", + "display": "Home Infusion" + }, + { + "code": "251G00000X", + "display": "Hospice Care, Community Based" + }, + { + "code": "251J00000X", + "display": "Nursing Care" + }, + { + "code": "251K00000X", + "display": "Public Health or Welfare" + }, + { + "code": "251S00000X", + "display": "Community/Behavioral Health" + }, + { + "code": "251T00000X", + "display": "Program of All-Inclusive Care for the Elderly (PACE) Provider Organization" + }, + { + "code": "251V00000X", + "display": "Voluntary or Charitable" + }, + { + "code": "251X00000X", + "display": "Supports Brokerage" + }, + { + "code": "252Y00000X", + "display": "Early Intervention Provider Agency" + }, + { + "code": "253J00000X", + "display": "Foster Care Agency" + }, + { + "code": "253Z00000X", + "display": "In Home Supportive Care" + }, + { + "code": "261Q00000X", + "display": "Clinic/Center" + }, + { + "code": "273100000X", + "display": "Epilepsy Unit" + }, + { + "code": "273R00000X", + "display": "Psychiatric Unit" + }, + { + "code": "273Y00000X", + "display": "Rehabilitation Unit" + }, + { + "code": "275N00000X", + "display": "Medicare Defined Swing Bed Unit" + }, + { + "code": "276400000X", + "display": "Rehabilitation, Substance Use Disorder Unit" + }, + { + "code": "281P00000X", + "display": "Chronic Disease Hospital" + }, + { + "code": "282E00000X", + "display": "Long Term Care Hospital" + }, + { + "code": "282J00000X", + "display": "Religious Nonmedical Health Care Institution" + }, + { + "code": "282N00000X", + "display": "General Acute Care Hospital" + }, + { + "code": "283Q00000X", + "display": "Psychiatric Hospital" + }, + { + "code": "283X00000X", + "display": "Rehabilitation Hospital" + }, + { + "code": "284300000X", + "display": "Special Hospital" + }, + { + "code": "286500000X", + "display": "Military Hospital" + }, + { + "code": "287300000X", + "display": "Christian Science Sanitorium" + }, + { + "code": "291900000X", + "display": "Military Clinical Medical Laboratory" + }, + { + "code": "291U00000X", + "display": "Clinical Medical Laboratory" + }, + { + "code": "292200000X", + "display": "Dental Laboratory" + }, + { + "code": "293D00000X", + "display": "Physiological Laboratory" + }, + { + "code": "302F00000X", + "display": "Exclusive Provider Organization" + }, + { + "code": "302R00000X", + "display": "Health Maintenance Organization" + }, + { + "code": "305R00000X", + "display": "Preferred Provider Organization" + }, + { + "code": "305S00000X", + "display": "Point of Service" + }, + { + "code": "310400000X", + "display": "Assisted Living Facility" + }, + { + "code": "310500000X", + "display": "Intermediate Care Facility, Mental Illness" + }, + { + "code": "311500000X", + "display": "Alzheimer Center (Dementia Center)" + }, + { + "code": "311Z00000X", + "display": "Custodial Care Facility" + }, + { + "code": "313M00000X", + "display": "Nursing Facility/Intermediate Care Facility" + }, + { + "code": "314000000X", + "display": "Skilled Nursing Facility" + }, + { + "code": "315D00000X", + "display": "Hospice, Inpatient" + }, + { + "code": "315P00000X", + "display": "Intermediate Care Facility, Mentally Retarded" + }, + { + "code": "317400000X", + "display": "Christian Science Facility" + }, + { + "code": "320600000X", + "display": "Residential Treatment Facility, Mental Retardation and/or Developmental Disabilities" + }, + { + "code": "320700000X", + "display": "Residential Treatment Facility, Physical Disabilities" + }, + { + "code": "320800000X", + "display": "Community Based Residential Treatment Facility, Mental Illness" + }, + { + "code": "320900000X", + "display": "Community Based Residential Treatment Facility, Mental Retardation and/or Developmental Disabilities" + }, + { + "code": "322D00000X", + "display": "Residential Treatment Facility, Emotionally Disturbed Children" + }, + { + "code": "323P00000X", + "display": "Psychiatric Residential Treatment Facility" + }, + { + "code": "324500000X", + "display": "Substance Abuse Rehabilitation Facility" + }, + { + "code": "331L00000X", + "display": "Blood Bank" + }, + { + "code": "332000000X", + "display": "Military/U.S. Coast Guard Pharmacy" + }, + { + "code": "332100000X", + "display": "Department of Veterans Affairs (VA) Pharmacy" + }, + { + "code": "332800000X", + "display": "Indian Health Service/Tribal/Urban Indian Health (I/T/U) Pharmacy" + }, + { + "code": "332900000X", + "display": "Non-Pharmacy Dispensing Site" + }, + { + "code": "332B00000X", + "display": "Durable Medical Equipment & Medical Supplies" + }, + { + "code": "332G00000X", + "display": "Eye Bank" + }, + { + "code": "332H00000X", + "display": "Eyewear Supplier" + }, + { + "code": "332S00000X", + "display": "Hearing Aid Equipment" + }, + { + "code": "332U00000X", + "display": "Home Delivered Meals" + }, + { + "code": "333300000X", + "display": "Emergency Response System Companies" + }, + { + "code": "333600000X", + "display": "Pharmacy" + }, + { + "code": "335E00000X", + "display": "Prosthetic/Orthotic Supplier" + }, + { + "code": "335G00000X", + "display": "Medical Foods Supplier" + }, + { + "code": "335U00000X", + "display": "Organ Procurement Organization" + }, + { + "code": "335V00000X", + "display": "Portable X-ray and/or Other Portable Diagnostic Imaging Supplier" + }, + { + "code": "341600000X", + "display": "Ambulance" + }, + { + "code": "341800000X", + "display": "Military/U.S. Coast Guard Transport" + }, + { + "code": "343800000X", + "display": "Secured Medical Transport (VAN)" + }, + { + "code": "343900000X", + "display": "Non-emergency Medical Transport (VAN)" + }, + { + "code": "344600000X", + "display": "Taxi" + }, + { + "code": "344800000X", + "display": "Air Carrier" + }, + { + "code": "347B00000X", + "display": "Bus" + }, + { + "code": "347C00000X", + "display": "Private Vehicle" + }, + { + "code": "347D00000X", + "display": "Train" + }, + { + "code": "347E00000X", + "display": "Transportation Broker" + }, + { + "code": "363A00000X", + "display": "Physician Assistant" + }, + { + "code": "363L00000X", + "display": "Nurse Practitioner" + }, + { + "code": "364S00000X", + "display": "Clinical Nurse Specialist" + }, + { + "code": "367500000X", + "display": "Nurse Anesthetist, Certified Registered" + }, + { + "code": "367A00000X", + "display": "Advanced Practice Midwife" + }, + { + "code": "367H00000X", + "display": "Anesthesiologist Assistant" + }, + { + "code": "372500000X", + "display": "Chore Provider" + }, + { + "code": "372600000X", + "display": "Adult Companion" + }, + { + "code": "373H00000X", + "display": "Day Training/Habilitation Specialist" + }, + { + "code": "374700000X", + "display": "Technician" + }, + { + "code": "374J00000X", + "display": "Doula" + }, + { + "code": "374K00000X", + "display": "Religious Nonmedical Practitioner" + }, + { + "code": "374T00000X", + "display": "Religious Nonmedical Nursing Personnel" + }, + { + "code": "374U00000X", + "display": "Home Health Aide" + }, + { + "code": "376G00000X", + "display": "Nursing Home Administrator" + }, + { + "code": "376J00000X", + "display": "Homemaker" + }, + { + "code": "376K00000X", + "display": "Nurse's Aide" + }, + { + "code": "385H00000X", + "display": "Respite Care" + }, + { + "code": "390200000X", + "display": "Student in an Organized Health Care Education/Training Program" + }, + { + "code": "405300000X", + "display": "Prevention Professional" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-provider-specialty.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-provider-specialty.json new file mode 100644 index 00000000000..656fe997736 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-provider-specialty.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provider-specialty", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty", + "version": "3.1.1", + "name": "USCoreProviderSpecialityNucc", + "title": "US Core Provider Speciality (NUCC)", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Provider speciality roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set for providers", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy", + "filter": [ + { + "property": "abstract", + "op": "=", + "value": "false" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-smoking-status-observation-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-smoking-status-observation-codes.json new file mode 100644 index 00000000000..c883182d48e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-smoking-status-observation-codes.json @@ -0,0 +1,51 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-smoking-status-observation-codes", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes", + "version": "3.1.1", + "name": "USCoreSmokingStatusObservationCodes", + "title": "US Core Smoking Status Observation Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core Smoking Status Observation Codes Value Set is a 'starter set' of concepts to capture smoking status.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This material contains content from [LOINC](http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-usps-state.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-usps-state.json new file mode 100644 index 00000000000..161245d510a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-usps-state.json @@ -0,0 +1,289 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-usps-state", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.3.40" + } + ], + "version": "3.1.1", + "name": "UspsTwoLetterAlphabeticCodes", + "title": "USPS Two Letter Alphabetic Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set defines two letter USPS alphabetic codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "On July 1, 1963, the Post Office Department implemented the five-digit ZIP Code, which was placed after the state name in the last line of an address. To provide room for the ZIP Code, the Department issued two-letter abbreviations for all states and territories. Publication 59, Abbreviations for Use with ZIP Code, issued by the Department in October 1963. There is no copyright restriction on this value set.", + "compose": { + "include": [ + { + "system": "https://www.usps.com/", + "concept": [ + { + "code": "AK", + "display": "Alaska" + }, + { + "code": "AL", + "display": "Alabama" + }, + { + "code": "AR", + "display": "Arkansas" + }, + { + "code": "AS", + "display": "American Samoa" + }, + { + "code": "AZ", + "display": "Arizona" + }, + { + "code": "CA", + "display": "California" + }, + { + "code": "CO", + "display": "Colorado" + }, + { + "code": "CT", + "display": "Connecticut" + }, + { + "code": "DC", + "display": "District of Columbia" + }, + { + "code": "DE", + "display": "Delaware" + }, + { + "code": "FL", + "display": "Florida" + }, + { + "code": "FM", + "display": "Federated States of Micronesia" + }, + { + "code": "GA", + "display": "Georgia" + }, + { + "code": "GU", + "display": "Guam" + }, + { + "code": "HI", + "display": "Hawaii" + }, + { + "code": "IA", + "display": "Iowa" + }, + { + "code": "ID", + "display": "Idaho" + }, + { + "code": "IL", + "display": "Illinois" + }, + { + "code": "IN", + "display": "Indiana" + }, + { + "code": "KS", + "display": "Kansas" + }, + { + "code": "KY", + "display": "Kentucky" + }, + { + "code": "LA", + "display": "Louisiana" + }, + { + "code": "MA", + "display": "Massachusetts" + }, + { + "code": "MD", + "display": "Maryland" + }, + { + "code": "ME", + "display": "Maine" + }, + { + "code": "MH", + "display": "Marshall Islands" + }, + { + "code": "MI", + "display": "Michigan" + }, + { + "code": "MN", + "display": "Minnesota" + }, + { + "code": "MO", + "display": "Missouri" + }, + { + "code": "MP", + "display": "Northern Mariana Islands" + }, + { + "code": "MS", + "display": "Mississippi" + }, + { + "code": "MT", + "display": "Montana" + }, + { + "code": "NC", + "display": "North Carolina" + }, + { + "code": "ND", + "display": "North Dakota" + }, + { + "code": "NE", + "display": "Nebraska" + }, + { + "code": "NH", + "display": "New Hampshire" + }, + { + "code": "NJ", + "display": "New Jersey" + }, + { + "code": "NM", + "display": "New Mexico" + }, + { + "code": "NV", + "display": "Nevada" + }, + { + "code": "NY", + "display": "New York" + }, + { + "code": "OH", + "display": "Ohio" + }, + { + "code": "OK", + "display": "Oklahoma" + }, + { + "code": "OR", + "display": "Oregon" + }, + { + "code": "PA", + "display": "Pennsylvania" + }, + { + "code": "PR", + "display": "Puerto Rico" + }, + { + "code": "PW", + "display": "Palau" + }, + { + "code": "RI", + "display": "Rhode Island" + }, + { + "code": "SC", + "display": "South Carolina" + }, + { + "code": "SD", + "display": "South Dakota" + }, + { + "code": "TN", + "display": "Tennessee" + }, + { + "code": "TX", + "display": "Texas" + }, + { + "code": "UT", + "display": "Utah" + }, + { + "code": "VA", + "display": "Virginia" + }, + { + "code": "VI", + "display": "Virgin Islands of the U.S." + }, + { + "code": "VT", + "display": "Vermont" + }, + { + "code": "WA", + "display": "Washington" + }, + { + "code": "WI", + "display": "Wisconsin" + }, + { + "code": "WV", + "display": "West Virginia" + }, + { + "code": "WY", + "display": "Wyoming" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-vaccines-cvx.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-vaccines-cvx.json new file mode 100644 index 00000000000..2466e36286a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ValueSet-us-core-vaccines-cvx.json @@ -0,0 +1,744 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-vaccines-cvx", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vaccines-cvx", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1010.6" + }, + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.3.88.12.80.22" + } + ], + "version": "3.1.1", + "name": "USCoreVaccineAdministeredValueSetCvx", + "title": "US Core Vaccine Administered Value Set (CVX)", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This identifies the vaccine substance administered - CVX codes. **Inclusion Criteria:** Any CVX code with CVX 'status' (VSAC Property) = `Active`,` Inactive`, `Non-US` except those noted in exclusions. **Exclusion Criteria:** CVX codes that have a CVX 'status' of either `Pending` or `Never Active` AND CVX codes with CVX 'Nonvaccine' property = True. Available at http://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "concept": [ + { + "code": "01", + "display": "diphtheria, tetanus toxoids and pertussis vaccine" + }, + { + "code": "02", + "display": "trivalent poliovirus vaccine, live, oral" + }, + { + "code": "03", + "display": "measles, mumps and rubella virus vaccine" + }, + { + "code": "04", + "display": "measles and rubella virus vaccine" + }, + { + "code": "05", + "display": "measles virus vaccine" + }, + { + "code": "06", + "display": "rubella virus vaccine" + }, + { + "code": "07", + "display": "mumps virus vaccine" + }, + { + "code": "08", + "display": "hepatitis B vaccine, pediatric or pediatric/adolescent dosage" + }, + { + "code": "09", + "display": "tetanus and diphtheria toxoids, adsorbed, preservative free, for adult use (2 Lf of tetanus toxoid and 2 Lf of diphtheria toxoid)" + }, + { + "code": "10", + "display": "poliovirus vaccine, inactivated" + }, + { + "code": "100", + "display": "pneumococcal conjugate vaccine, 7 valent" + }, + { + "code": "101", + "display": "typhoid Vi capsular polysaccharide vaccine" + }, + { + "code": "102", + "display": "DTP- Haemophilus influenzae type b conjugate and hepatitis b vaccine" + }, + { + "code": "103", + "display": "meningococcal C conjugate vaccine" + }, + { + "code": "104", + "display": "hepatitis A and hepatitis B vaccine" + }, + { + "code": "105", + "display": "vaccinia (smallpox) vaccine, diluted" + }, + { + "code": "106", + "display": "diphtheria, tetanus toxoids and acellular pertussis vaccine, 5 pertussis antigens" + }, + { + "code": "107", + "display": "diphtheria, tetanus toxoids and acellular pertussis vaccine, unspecified formulation" + }, + { + "code": "108", + "display": "meningococcal ACWY vaccine, unspecified formulation" + }, + { + "code": "109", + "display": "pneumococcal vaccine, unspecified formulation" + }, + { + "code": "11", + "display": "pertussis vaccine" + }, + { + "code": "110", + "display": "DTaP-hepatitis B and poliovirus vaccine" + }, + { + "code": "111", + "display": "influenza virus vaccine, live, attenuated, for intranasal use" + }, + { + "code": "112", + "display": "tetanus toxoid, unspecified formulation" + }, + { + "code": "113", + "display": "tetanus and diphtheria toxoids, adsorbed, preservative free, for adult use (5 Lf of tetanus toxoid and 2 Lf of diphtheria toxoid)" + }, + { + "code": "114", + "display": "meningococcal polysaccharide (groups A, C, Y and W-135) diphtheria toxoid conjugate vaccine (MCV4P)" + }, + { + "code": "115", + "display": "tetanus toxoid, reduced diphtheria toxoid, and acellular pertussis vaccine, adsorbed" + }, + { + "code": "116", + "display": "rotavirus, live, pentavalent vaccine" + }, + { + "code": "117", + "display": "varicella zoster immune globulin (Investigational New Drug)" + }, + { + "code": "118", + "display": "human papilloma virus vaccine, bivalent" + }, + { + "code": "119", + "display": "rotavirus, live, monovalent vaccine" + }, + { + "code": "12", + "display": "diphtheria antitoxin" + }, + { + "code": "120", + "display": "diphtheria, tetanus toxoids and acellular pertussis vaccine, Haemophilus influenzae type b conjugate, and poliovirus vaccine, inactivated (DTaP-Hib-IPV)" + }, + { + "code": "121", + "display": "zoster vaccine, live" + }, + { + "code": "122", + "display": "rotavirus vaccine, unspecified formulation" + }, + { + "code": "123", + "display": "influenza virus vaccine, H5N1, A/Vietnam/1203/2004 (national stockpile)" + }, + { + "code": "125", + "display": "Novel Influenza-H1N1-09, live virus for nasal administration" + }, + { + "code": "126", + "display": "Novel influenza-H1N1-09, preservative-free, injectable" + }, + { + "code": "127", + "display": "Novel influenza-H1N1-09, injectable" + }, + { + "code": "128", + "display": "Novel influenza-H1N1-09, all formulations" + }, + { + "code": "129", + "display": "Japanese Encephalitis vaccine, unspecified formulation" + }, + { + "code": "13", + "display": "tetanus immune globulin" + }, + { + "code": "130", + "display": "Diphtheria, tetanus toxoids and acellular pertussis vaccine, and poliovirus vaccine, inactivated" + }, + { + "code": "131", + "display": "Historical record of a typhus vaccination" + }, + { + "code": "132", + "display": "Historical diphtheria and tetanus toxoids and acellular pertussis, poliovirus, Haemophilus b conjugate and hepatitis B (recombinant) vaccine." + }, + { + "code": "133", + "display": "pneumococcal conjugate vaccine, 13 valent" + }, + { + "code": "134", + "display": "Japanese Encephalitis vaccine for intramuscular administration" + }, + { + "code": "135", + "display": "influenza, high dose seasonal, preservative-free" + }, + { + "code": "136", + "display": "meningococcal oligosaccharide (groups A, C, Y and W-135) diphtheria toxoid conjugate vaccine (MCV4O)" + }, + { + "code": "137", + "display": "HPV, unspecified formulation" + }, + { + "code": "138", + "display": "tetanus and diphtheria toxoids, not adsorbed, for adult use" + }, + { + "code": "139", + "display": "Td(adult) unspecified formulation" + }, + { + "code": "14", + "display": "immune globulin, unspecified formulation" + }, + { + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + }, + { + "code": "141", + "display": "Influenza, seasonal, injectable" + }, + { + "code": "142", + "display": "tetanus toxoid, not adsorbed" + }, + { + "code": "143", + "display": "Adenovirus, type 4 and type 7, live, oral" + }, + { + "code": "144", + "display": "seasonal influenza, intradermal, preservative free" + }, + { + "code": "147", + "display": "Meningococcal, MCV4, unspecified conjugate formulation(groups A, C, Y and W-135)" + }, + { + "code": "148", + "display": "Meningococcal Groups C and Y and Haemophilus b Tetanus Toxoid Conjugate Vaccine" + }, + { + "code": "149", + "display": "influenza, live, intranasal, quadrivalent" + }, + { + "code": "15", + "display": "influenza virus vaccine, split virus (incl. purified surface antigen)-retired CODE" + }, + { + "code": "150", + "display": "Influenza, injectable, quadrivalent, preservative free" + }, + { + "code": "151", + "display": "influenza nasal, unspecified formulation" + }, + { + "code": "152", + "display": "Pneumococcal Conjugate, unspecified formulation" + }, + { + "code": "153", + "display": "Influenza, injectable, Madin Darby Canine Kidney, preservative free" + }, + { + "code": "155", + "display": "Seasonal, trivalent, recombinant, injectable influenza vaccine, preservative free" + }, + { + "code": "156", + "display": "Rho(D) Immune globulin- IV or IM" + }, + { + "code": "157", + "display": "Rho(D) Immune globulin - IM" + }, + { + "code": "158", + "display": "influenza, injectable, quadrivalent, contains preservative" + }, + { + "code": "159", + "display": "Rho(D) Unspecified formulation" + }, + { + "code": "16", + "display": "influenza virus vaccine, whole virus" + }, + { + "code": "160", + "display": "Influenza A monovalent (H5N1), adjuvanted, National stockpile 2013" + }, + { + "code": "161", + "display": "Influenza, injectable,quadrivalent, preservative free, pediatric" + }, + { + "code": "162", + "display": "meningococcal B vaccine, fully recombinant" + }, + { + "code": "163", + "display": "meningococcal B vaccine, recombinant, OMV, adjuvanted" + }, + { + "code": "164", + "display": "meningococcal B, unspecified formulation" + }, + { + "code": "165", + "display": "Human Papillomavirus 9-valent vaccine" + }, + { + "code": "166", + "display": "influenza, intradermal, quadrivalent, preservative free, injectable" + }, + { + "code": "167", + "display": "meningococcal vaccine of unknown formulation and unknown serogroups" + }, + { + "code": "168", + "display": "Seasonal trivalent influenza vaccine, adjuvanted, preservative free" + }, + { + "code": "169", + "display": "Hep A, live attenuated-IM" + }, + { + "code": "17", + "display": "Haemophilus influenzae type b vaccine, conjugate unspecified formulation" + }, + { + "code": "170", + "display": "non-US diphtheria, tetanus toxoids and acellular pertussis vaccine, Haemophilus influenzae type b conjugate, and poliovirus vaccine, inactivated (DTaP-Hib-IPV)" + }, + { + "code": "171", + "display": "Influenza, injectable, Madin Darby Canine Kidney, preservative free, quadrivalent" + }, + { + "code": "172", + "display": "cholera, WC-rBS" + }, + { + "code": "173", + "display": "cholera, BivWC" + }, + { + "code": "174", + "display": "cholera, live attenuated" + }, + { + "code": "175", + "display": "Human Rabies vaccine from human diploid cell culture" + }, + { + "code": "176", + "display": "Human rabies vaccine from Chicken fibroblast culture" + }, + { + "code": "177", + "display": "pneumococcal conjugate vaccine, 10 valent" + }, + { + "code": "178", + "display": "Non-US bivalent oral polio vaccine (types 1 and 3)" + }, + { + "code": "179", + "display": "Non-US monovalent oral polio vaccine, unspecified formulation" + }, + { + "code": "18", + "display": "rabies vaccine, for intramuscular injection RETIRED CODE" + }, + { + "code": "180", + "display": "tetanus immune globulin" + }, + { + "code": "181", + "display": "anthrax immune globulin" + }, + { + "code": "182", + "display": "Oral Polio Vaccine, Unspecified formulation" + }, + { + "code": "183", + "display": "Yellow fever vaccine alternative formulation" + }, + { + "code": "184", + "display": "Yellow fever vaccine, unspecified formulation" + }, + { + "code": "185", + "display": "Seasonal, quadrivalent, recombinant, injectable influenza vaccine, preservative free" + }, + { + "code": "186", + "display": "Influenza, injectable, Madin Darby Canine Kidney, quadrivalent with preservative" + }, + { + "code": "187", + "display": "zoster vaccine recombinant" + }, + { + "code": "188", + "display": "zoster vaccine, unspecified formulation" + }, + { + "code": "189", + "display": "Hepatitis B vaccine (recombinant), CpG adjuvanted" + }, + { + "code": "19", + "display": "Bacillus Calmette-Guerin vaccine" + }, + { + "code": "20", + "display": "diphtheria, tetanus toxoids and acellular pertussis vaccine" + }, + { + "code": "21", + "display": "varicella virus vaccine" + }, + { + "code": "22", + "display": "DTP-Haemophilus influenzae type b conjugate vaccine" + }, + { + "code": "23", + "display": "plague vaccine" + }, + { + "code": "24", + "display": "anthrax vaccine" + }, + { + "code": "25", + "display": "typhoid vaccine, live, oral" + }, + { + "code": "26", + "display": "cholera vaccine, unspecified formulation" + }, + { + "code": "27", + "display": "botulinum antitoxin" + }, + { + "code": "28", + "display": "diphtheria and tetanus toxoids, adsorbed for pediatric use" + }, + { + "code": "29", + "display": "cytomegalovirus immune globulin, intravenous" + }, + { + "code": "30", + "display": "hepatitis B immune globulin" + }, + { + "code": "31", + "display": "hepatitis A vaccine, pediatric dosage, unspecified formulation" + }, + { + "code": "32", + "display": "meningococcal polysaccharide vaccine (MPSV4)" + }, + { + "code": "33", + "display": "pneumococcal polysaccharide vaccine, 23 valent" + }, + { + "code": "34", + "display": "rabies immune globulin" + }, + { + "code": "35", + "display": "tetanus toxoid, adsorbed" + }, + { + "code": "36", + "display": "varicella zoster immune globulin" + }, + { + "code": "37", + "display": "yellow fever vaccine" + }, + { + "code": "38", + "display": "rubella and mumps virus vaccine" + }, + { + "code": "39", + "display": "Japanese Encephalitis Vaccine SC" + }, + { + "code": "40", + "display": "rabies vaccine, for intradermal injection" + }, + { + "code": "41", + "display": "typhoid vaccine, parenteral, other than acetone-killed, dried" + }, + { + "code": "42", + "display": "hepatitis B vaccine, adolescent/high risk infant dosage" + }, + { + "code": "43", + "display": "hepatitis B vaccine, adult dosage" + }, + { + "code": "44", + "display": "hepatitis B vaccine, dialysis patient dosage" + }, + { + "code": "45", + "display": "hepatitis B vaccine, unspecified formulation" + }, + { + "code": "46", + "display": "Haemophilus influenzae type b vaccine, PRP-D conjugate" + }, + { + "code": "47", + "display": "Haemophilus influenzae type b vaccine, HbOC conjugate" + }, + { + "code": "48", + "display": "Haemophilus influenzae type b vaccine, PRP-T conjugate" + }, + { + "code": "49", + "display": "Haemophilus influenzae type b vaccine, PRP-OMP conjugate" + }, + { + "code": "50", + "display": "DTaP-Haemophilus influenzae type b conjugate vaccine" + }, + { + "code": "51", + "display": "Haemophilus influenzae type b conjugate and Hepatitis B vaccine" + }, + { + "code": "52", + "display": "hepatitis A vaccine, adult dosage" + }, + { + "code": "53", + "display": "typhoid vaccine, parenteral, acetone-killed, dried (U.S. military)" + }, + { + "code": "54", + "display": "adenovirus vaccine, type 4, live, oral" + }, + { + "code": "55", + "display": "adenovirus vaccine, type 7, live, oral" + }, + { + "code": "62", + "display": "human papilloma virus vaccine, quadrivalent" + }, + { + "code": "66", + "display": "Lyme disease vaccine" + }, + { + "code": "69", + "display": "parainfluenza-3 virus vaccine" + }, + { + "code": "71", + "display": "respiratory syncytial virus immune globulin, intravenous" + }, + { + "code": "74", + "display": "rotavirus, live, tetravalent vaccine" + }, + { + "code": "75", + "display": "vaccinia (smallpox) vaccine" + }, + { + "code": "76", + "display": "Staphylococcus bacteriophage lysate" + }, + { + "code": "77", + "display": "tick-borne encephalitis vaccine" + }, + { + "code": "78", + "display": "tularemia vaccine" + }, + { + "code": "79", + "display": "vaccinia immune globulin" + }, + { + "code": "80", + "display": "Venezuelan equine encephalitis, live, attenuated" + }, + { + "code": "801", + "display": "AS03 Adjuvant" + }, + { + "code": "81", + "display": "Venezuelan equine encephalitis, inactivated" + }, + { + "code": "82", + "display": "adenovirus vaccine, unspecified formulation" + }, + { + "code": "83", + "display": "hepatitis A vaccine, pediatric/adolescent dosage, 2 dose schedule" + }, + { + "code": "84", + "display": "hepatitis A vaccine, pediatric/adolescent dosage, 3 dose schedule" + }, + { + "code": "85", + "display": "hepatitis A vaccine, unspecified formulation" + }, + { + "code": "86", + "display": "immune globulin, intramuscular" + }, + { + "code": "87", + "display": "immune globulin, intravenous" + }, + { + "code": "88", + "display": "influenza virus vaccine, unspecified formulation" + }, + { + "code": "89", + "display": "poliovirus vaccine, unspecified formulation" + }, + { + "code": "90", + "display": "rabies vaccine, unspecified formulation" + }, + { + "code": "91", + "display": "typhoid vaccine, unspecified formulation" + }, + { + "code": "92", + "display": "Venezuelan equine encephalitis vaccine, unspecified formulation" + }, + { + "code": "93", + "display": "respiratory syncytial virus monoclonal antibody (palivizumab), intramuscular" + }, + { + "code": "94", + "display": "measles, mumps, rubella, and varicella virus vaccine" + }, + { + "code": "95", + "display": "tuberculin skin test; old tuberculin, multipuncture device" + }, + { + "code": "96", + "display": "tuberculin skin test; purified protein derivative solution, intradermal" + }, + { + "code": "97", + "display": "tuberculin skin test; purified protein derivative, multipuncture device" + }, + { + "code": "98", + "display": "tuberculin skin test; unspecified formulation" + }, + { + "code": "998", + "display": "no vaccine administered" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ig-r4.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ig-r4.json new file mode 100644 index 00000000000..f1c8f8bc6e2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/ig-r4.json @@ -0,0 +1,4529 @@ +{ + "resourceType": "ImplementationGuide", + "id": "hl7.fhir.us.core", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core", + "version": "3.1.1", + "name": "USCore", + "title": "US Core", + "status": "active", + "date": "2020-08-28T10:54:27+10:00", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "packageId": "hl7.fhir.us.core", + "license": "CC0-1.0", + "fhirVersion": [ + "4.0.1" + ], + "definition": { + "grouping": [ + { + "name": "base" + } + ], + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-glucose.html" + } + ], + "reference": { + "reference": "Observation/urine-glucose" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Procedure" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Procedure-rehab.html" + } + ], + "reference": { + "reference": "Procedure/rehab" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CareTeam" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CareTeam-example.html" + } + ], + "reference": { + "reference": "CareTeam/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-leukocyte-esterase.html" + } + ], + "reference": { + "reference": "Observation/urine-leukocyte-esterase" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.html" + } + ], + "reference": { + "reference": "Bundle/66c8856b-ba11-4876-8aa8-467aad8c11a2" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-bilirubin.html" + } + ], + "reference": { + "reference": "Observation/urine-bilirubin" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Condition-hc1.html" + } + ], + "reference": { + "reference": "Condition/hc1" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-sediment.html" + } + ], + "reference": { + "reference": "Observation/urine-sediment" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Immunization" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Immunization-imm-1.html" + } + ], + "reference": { + "reference": "Immunization/imm-1" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-pediatric-wt-example.html" + } + ], + "reference": { + "reference": "Observation/pediatric-wt-example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Organization-saint-luke-w-endpoint.html" + } + ], + "reference": { + "reference": "Organization/saint-luke-w-endpoint" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-ph.html" + } + ], + "reference": { + "reference": "Observation/urine-ph" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Encounter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Encounter-example-1.html" + } + ], + "reference": { + "reference": "Encounter/example-1" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DiagnosticReport-chest-xray-report.html" + } + ], + "reference": { + "reference": "DiagnosticReport/chest-xray-report" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-sodium.html" + } + ], + "reference": { + "reference": "Observation/serum-sodium" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DiagnosticReport-cbc.html" + } + ], + "reference": { + "reference": "DiagnosticReport/cbc" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-potassium.html" + } + ], + "reference": { + "reference": "Observation/serum-potassium" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Encounter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Encounter-1036.html" + } + ], + "reference": { + "reference": "Encounter/1036" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-some-day-smoker.html" + } + ], + "reference": { + "reference": "Observation/some-day-smoker" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Location" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Location-hl7east.html" + } + ], + "reference": { + "reference": "Location/hl7east" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-co2.html" + } + ], + "reference": { + "reference": "Observation/serum-co2" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-protein.html" + } + ], + "reference": { + "reference": "Observation/urine-protein" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Procedure" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Procedure-defib-implant.html" + } + ], + "reference": { + "reference": "Procedure/defib-implant" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-usg.html" + } + ], + "reference": { + "reference": "Observation/usg" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-chloride.html" + } + ], + "reference": { + "reference": "Observation/serum-chloride" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-calcium.html" + } + ], + "reference": { + "reference": "Observation/serum-calcium" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-color.html" + } + ], + "reference": { + "reference": "Observation/urine-color" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-bp-data-absent.html" + } + ], + "reference": { + "reference": "Observation/bp-data-absent" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Patient-example.html" + } + ], + "reference": { + "reference": "Patient/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Patient-child-example.html" + } + ], + "reference": { + "reference": "Patient/child-example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Patient-infant-example.html" + } + ], + "reference": { + "reference": "Patient/infant-example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-temperature.html" + } + ], + "reference": { + "reference": "Observation/temperature" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-bmi.html" + } + ], + "reference": { + "reference": "Observation/bmi" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Medication" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Medication-uscore-med2.html" + } + ], + "reference": { + "reference": "Medication/uscore-med2" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-cells.html" + } + ], + "reference": { + "reference": "Observation/urine-cells" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-length.html" + } + ], + "reference": { + "reference": "Observation/length" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Device-udi-2.html" + } + ], + "reference": { + "reference": "Device/udi-2" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "MedicationRequest-uscore-mo1.html" + } + ], + "reference": { + "reference": "MedicationRequest/uscore-mo1" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Practitioner" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Practitioner-practitioner-2.html" + } + ], + "reference": { + "reference": "Practitioner/practitioner-2" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Goal" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Goal-goal-1.html" + } + ], + "reference": { + "reference": "Goal/goal-1" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-rbcs.html" + } + ], + "reference": { + "reference": "Observation/urine-rbcs" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urobilinogen.html" + } + ], + "reference": { + "reference": "Observation/urobilinogen" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Medication" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Medication-uscore-med1.html" + } + ], + "reference": { + "reference": "Medication/uscore-med1" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-bacteria.html" + } + ], + "reference": { + "reference": "Observation/urine-bacteria" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Bundle-uscore-mo3.html" + } + ], + "reference": { + "reference": "Bundle/uscore-mo3" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-ofc-percentile.html" + } + ], + "reference": { + "reference": "Observation/ofc-percentile" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "MedicationRequest-self-tylenol.html" + } + ], + "reference": { + "reference": "MedicationRequest/self-tylenol" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DiagnosticReport-metabolic-panel.html" + } + ], + "reference": { + "reference": "DiagnosticReport/metabolic-panel" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Device-udi-3.html" + } + ], + "reference": { + "reference": "Device/udi-3" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "MedicationRequest-uscore-mo2.html" + } + ], + "reference": { + "reference": "MedicationRequest/uscore-mo2" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.html" + } + ], + "reference": { + "reference": "Bundle/c887e62f-6166-419f-8268-b5ecd6c7b901" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-bun.html" + } + ], + "reference": { + "reference": "Observation/bun" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Practitioner" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Practitioner-practitioner-1.html" + } + ], + "reference": { + "reference": "Practitioner/practitioner-1" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-neutrophils.html" + } + ], + "reference": { + "reference": "Observation/neutrophils" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-nitrite.html" + } + ], + "reference": { + "reference": "Observation/urine-nitrite" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-oxygen-saturation.html" + } + ], + "reference": { + "reference": "Observation/oxygen-saturation" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DiagnosticReport-cardiology-report.html" + } + ], + "reference": { + "reference": "DiagnosticReport/cardiology-report" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-vitals-panel.html" + } + ], + "reference": { + "reference": "Observation/vitals-panel" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-blood-pressure.html" + } + ], + "reference": { + "reference": "Observation/blood-pressure" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-wbcs.html" + } + ], + "reference": { + "reference": "Observation/urine-wbcs" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-height.html" + } + ], + "reference": { + "reference": "Observation/height" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Organization-acme-lab.html" + } + ], + "reference": { + "reference": "Organization/acme-lab" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Device-udi-1.html" + } + ], + "reference": { + "reference": "Device/udi-1" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-hemoglobin.html" + } + ], + "reference": { + "reference": "Observation/hemoglobin" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DocumentReference" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DocumentReference-episode-summary.html" + } + ], + "reference": { + "reference": "DocumentReference/episode-summary" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-hemoglobin.html" + } + ], + "reference": { + "reference": "Observation/urine-hemoglobin" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-heart-rate.html" + } + ], + "reference": { + "reference": "Observation/heart-rate" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-epi-cells.html" + } + ], + "reference": { + "reference": "Observation/urine-epi-cells" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "AllergyIntolerance" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "AllergyIntolerance-example.html" + } + ], + "reference": { + "reference": "AllergyIntolerance/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-blood-glucose.html" + } + ], + "reference": { + "reference": "Observation/blood-glucose" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DiagnosticReport-urinalysis.html" + } + ], + "reference": { + "reference": "DiagnosticReport/urinalysis" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Condition-example.html" + } + ], + "reference": { + "reference": "Condition/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-creatinine.html" + } + ], + "reference": { + "reference": "Observation/serum-creatinine" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-satO2-fiO2.html" + } + ], + "reference": { + "reference": "Observation/satO2-fiO2" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-total-bilirubin.html" + } + ], + "reference": { + "reference": "Observation/serum-total-bilirubin" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-pediatric-bmi-example.html" + } + ], + "reference": { + "reference": "Observation/pediatric-bmi-example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Organization-example-organization-2.html" + } + ], + "reference": { + "reference": "Organization/example-organization-2" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-weight.html" + } + ], + "reference": { + "reference": "Observation/weight" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-mchc.html" + } + ], + "reference": { + "reference": "Observation/mchc" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-clarity.html" + } + ], + "reference": { + "reference": "Observation/urine-clarity" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CarePlan" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CarePlan-colonoscopy.html" + } + ], + "reference": { + "reference": "CarePlan/colonoscopy" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-erythrocytes.html" + } + ], + "reference": { + "reference": "Observation/erythrocytes" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-ketone.html" + } + ], + "reference": { + "reference": "Observation/urine-ketone" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-respiratory-rate.html" + } + ], + "reference": { + "reference": "Observation/respiratory-rate" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-medication-codes.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-medication-codes" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-immunization.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-immunization" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-location-address-state.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-state" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-practitionerrole-practitioner.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitionerrole-practitioner" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-observation-smokingstatus.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-smokingstatus" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-observation-smokingstatus-max.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-smokingstatus-max" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-omb-race-category.html" + } + ], + "reference": { + "reference": "ValueSet/omb-race-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-practitionerrole.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-practitionerrole" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-allergy-substance.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-allergy-substance" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-narrative-status.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-narrative-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-cdcrec.html" + } + ], + "reference": { + "reference": "CodeSystem/cdcrec" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-organization-name.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-organization-name" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-observation-lab.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-lab" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-diagnosticreport-code.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-code" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-pediatric-bmi-for-age.html" + } + ], + "reference": { + "reference": "StructureDefinition/pediatric-bmi-for-age" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-head-occipital-frontal-circumference-percentile.html" + } + ], + "reference": { + "reference": "StructureDefinition/head-occipital-frontal-circumference-percentile" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-allergyintolerance.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-allergyintolerance" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-goal-lifecycle-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-lifecycle-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-procedure-code.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-code" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-documentreference-type.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-documentreference-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-provenance-participant-type.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-provenance-participant-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-patient-gender.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-gender" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-practitioner.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-practitioner" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-diagnosticreport-note.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-diagnosticreport-note" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-omb-ethnicity-category.html" + } + ], + "reference": { + "reference": "ValueSet/omb-ethnicity-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-provenance.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-provenance" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "OperationDefinition" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "OperationDefinition-docref.html" + } + ], + "reference": { + "reference": "OperationDefinition/docref" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-condition-clinical-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-clinical-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-birthsex.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-birthsex" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-documentreference-id.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-id" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-careplan-category.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-encounter-class.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-class" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-medicationrequest-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CapabilityStatement" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CapabilityStatement-us-core-server.html" + } + ], + "reference": { + "reference": "CapabilityStatement/us-core-server" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-condition-category.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-condition-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-detailed-ethnicity.html" + } + ], + "reference": { + "reference": "ValueSet/detailed-ethnicity" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-documentreference-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-encounter.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-encounter" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-ndc-vaccine-codes.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-ndc-vaccine-codes" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-patient.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-diagnosticreport-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-procedure-icd10pcs.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-procedure-icd10pcs" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-provider-specialty.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-provider-specialty" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-procedure-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-vaccines-cvx.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-vaccines-cvx" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-pulse-oximetry.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-pulse-oximetry" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-allergyintolerance-clinical-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-allergyintolerance-clinical-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-documentreference-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-medicationrequest-intent.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-intent" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-location.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-location" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-location-address.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-observation-smoking-status-status.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-smoking-status-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-usps-state.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-usps-state" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-practitioner-name.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitioner-name" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-encounter-type.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-encounter-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-documentreference-period.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-period" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-observation-code.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-code" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-location-name.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-name" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-condition-onset-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-onset-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-patient-given.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-given" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-procedure.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-procedure" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-encounter-type.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-condition-code.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-condition-code" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-condition-category.html" + } + ], + "reference": { + "reference": "CodeSystem/condition-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-medicationrequest-encounter.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-encounter" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-encounter-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-organization-address.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-organization-address" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-observation-category.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-medication.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-medication" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-diagnosticreport-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-observation-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-birthsex.html" + } + ], + "reference": { + "reference": "ValueSet/birthsex" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-diagnosticreport-category.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-observation-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-diagnosticreport-report-and-note-codes.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-report-and-note-codes" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-provider-role.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-provider-role" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-ethnicity.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-ethnicity" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-documentreference.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-documentreference" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-direct.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-direct" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-smoking-status-observation-codes.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-smoking-status-observation-codes" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-careteam-provider-roles.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-careteam-provider-roles" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-documentreference-type.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-encounter-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-diagnosticreport-category.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-patient-birthdate.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-birthdate" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-careteam.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-careteam" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-procedure-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-clinical-note-type.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-clinical-note-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-encounter-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ConceptMap" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ConceptMap-ndc-cvx.html" + } + ], + "reference": { + "reference": "ConceptMap/ndc-cvx" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-ethnicity.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-ethnicity" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-careplan-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-careplan.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-careplan" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-condition-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-allergyintolerance-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-allergyintolerance-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-device-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-device-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-condition-code.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-code" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-observation-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-race.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-race" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-careplan-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-patient-family.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-family" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-smokingstatus.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-smokingstatus" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-medicationrequest-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-race.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-race" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-location-address-postalcode.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-postalcode" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-encounter-id.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-id" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-medicationrequest-authoredon.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-authoredon" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-documentreference-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-documentreference-category.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-documentreference-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-procedure-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-goal-target-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-target-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-diagnosticreport-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-careplan-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-careteam-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careteam-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-organization.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-organization" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-immunization-date.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-date" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-encounter-identifier.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-identifier" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-practitionerrole-specialty.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitionerrole-specialty" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-patient-name.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-name" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-device-type.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-device-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-procedure-code.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-procedure-code" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-diagnosticreport-lab.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-diagnosticreport-lab" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-goal-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-simple-language.html" + } + ], + "reference": { + "reference": "ValueSet/simple-language" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-immunization-patient.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-condition.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-condition" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-pediatric-weight-for-height.html" + } + ], + "reference": { + "reference": "StructureDefinition/pediatric-weight-for-height" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-observation-value-codes.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-value-codes" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-patient-id.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-id" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-location-address-city.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-city" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-goal.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-goal" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-careteam-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careteam-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-us-core-documentreference-category.html" + } + ], + "reference": { + "reference": "CodeSystem/us-core-documentreference-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-us-core-provenance-participant-type.html" + } + ], + "reference": { + "reference": "CodeSystem/us-core-provenance-participant-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-diagnosticreport-lab-codes.html" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-lab-codes" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-careplan-category.html" + } + ], + "reference": { + "reference": "CodeSystem/careplan-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-documentreference-category.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CapabilityStatement" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CapabilityStatement-us-core-client.html" + } + ], + "reference": { + "reference": "CapabilityStatement/us-core-client" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-practitioner-identifier.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitioner-identifier" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-patient-identifier.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-identifier" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-condition-category.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-immunization-status.html" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-status" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-medicationrequest.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-medicationrequest" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-implantable-device.html" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-implantable-device" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-detailed-race.html" + } + ], + "reference": { + "reference": "ValueSet/detailed-race" + }, + "exampleBoolean": false + } + ], + "page": { + "nameUrl": "index.html", + "title": "Home", + "generation": "markdown", + "page": [ + { + "nameUrl": "guidance.html", + "title": "Guidance", + "generation": "markdown", + "page": [ + { + "nameUrl": "general-guidance.html", + "title": "General Guidance", + "generation": "markdown" + }, + { + "nameUrl": "clinical-notes-guidance.html", + "title": "Clinical Notes Guidance", + "generation": "markdown" + }, + { + "nameUrl": "all-meds.html", + "title": "Medication List Guidance", + "generation": "markdown" + }, + { + "nameUrl": "basic-provenance.html", + "title": "Basic Provenance", + "generation": "markdown" + }, + { + "nameUrl": "r2-r4-guidance.html", + "title": "DSTU2 to R4 Conversion", + "generation": "markdown" + }, + { + "nameUrl": "future-of-us-core.html", + "title": "Future of US Core", + "generation": "markdown" + } + ] + }, + { + "nameUrl": "profiles.html", + "title": "Profiles and Extensions", + "generation": "markdown", + "page": [ + { + "nameUrl": "StructureDefinition-us-core-immunization.html", + "title": "StructureDefinition US Core Immunization", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-practitionerrole.html", + "title": "StructureDefinition US Core PractitionerRole", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-observation-lab.html", + "title": "StructureDefinition US Core Observation Lab", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-pediatric-bmi-for-age.html", + "title": "StructureDefinition Pediatric BMI For Age", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-head-occipital-frontal-circumference-percentile.html", + "title": "StructureDefinition Pediatric Head Occipital-frontal Circumference Percentile", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-allergyintolerance.html", + "title": "StructureDefinition US Core AllergyIntolerance", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-practitioner.html", + "title": "StructureDefinition US Core Practitioner", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-diagnosticreport-note.html", + "title": "StructureDefinition US Core DiagnosticReport Note", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-provenance.html", + "title": "StructureDefinition US Core Provenance", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-birthsex.html", + "title": "StructureDefinition US Core Birthsex", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-encounter.html", + "title": "StructureDefinition US Core Encounter", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-patient.html", + "title": "StructureDefinition US Core Patient", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-pulse-oximetry.html", + "title": "StructureDefinition US Core Pulse Oximetry", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-location.html", + "title": "StructureDefinition US Core Location", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-procedure.html", + "title": "StructureDefinition US Core Procedure", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-medication.html", + "title": "StructureDefinition US Core Medication", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-documentreference.html", + "title": "StructureDefinition US Core DocumentReference", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-direct.html", + "title": "StructureDefinition US Core Direct", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-careteam.html", + "title": "StructureDefinition US Core CareTeam", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-ethnicity.html", + "title": "StructureDefinition US Core Ethnicity", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-careplan.html", + "title": "StructureDefinition US Core CarePlan", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-smokingstatus.html", + "title": "StructureDefinition US Core Smokingstatus", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-race.html", + "title": "StructureDefinition US Core Race", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-organization.html", + "title": "StructureDefinition US Core Organization", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-diagnosticreport-lab.html", + "title": "StructureDefinition US Core DiagnosticReport Lab", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-condition.html", + "title": "StructureDefinition US Core Condition", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-pediatric-weight-for-height.html", + "title": "StructureDefinition Pediatric Weight For Height", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-goal.html", + "title": "StructureDefinition US Core Goal", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-medicationrequest.html", + "title": "StructureDefinition US Core MedicationRequest", + "generation": "generated" + }, + { + "nameUrl": "StructureDefinition-us-core-implantable-device.html", + "title": "StructureDefinition US Core Implantable Device", + "generation": "generated" + } + ] + }, + { + "nameUrl": "operations.html", + "title": "Operations", + "generation": "markdown", + "page": [ + { + "nameUrl": "OperationDefinition-docref.html", + "title": "OperationDefinition Docref", + "generation": "generated" + } + ] + }, + { + "nameUrl": "terminology.html", + "title": "Terminology", + "generation": "markdown", + "page": [ + { + "nameUrl": "ValueSet-us-core-medication-codes.html", + "title": "ValueSet US Core Medication Codes", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-observation-smokingstatus.html", + "title": "ValueSet US Core Observation Smokingstatus Preferred", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-observation-smokingstatus-max.html", + "title": "ValueSet US Core Observation Smokingstatus Max-Binding", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-omb-race-category.html", + "title": "ValueSet Omb Race Category", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-allergy-substance.html", + "title": "ValueSet US Core Allergy Substance", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-narrative-status.html", + "title": "ValueSet US Core Narrative Status", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-documentreference-type.html", + "title": "ValueSet US Core DocumentReference Type", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-omb-ethnicity-category.html", + "title": "ValueSet Omb Ethnicity Category", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-condition-category.html", + "title": "ValueSet US Core Condition Category", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-detailed-ethnicity.html", + "title": "ValueSet Detailed Ethnicity", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-ndc-vaccine-codes.html", + "title": "ValueSet US Core Ndc Vaccine Codes", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-procedure-icd10pcs.html", + "title": "ValueSet US Core Procedure Icd10pcs", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-provider-specialty.html", + "title": "ValueSet US Core Provider Specialty", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-vaccines-cvx.html", + "title": "ValueSet US Core Vaccines Cvx", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-observation-smoking-status-status.html", + "title": "ValueSet US Core Observation SmokingStatus Status", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-usps-state.html", + "title": "ValueSet US Core Usps State", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-encounter-type.html", + "title": "ValueSet US Core Encounter Type", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-condition-code.html", + "title": "ValueSet US Core Condition Code", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-birthsex.html", + "title": "ValueSet Birthsex", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-diagnosticreport-report-and-note-codes.html", + "title": "ValueSet US Core DiagnosticReport Report And Note Codes", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-provider-role.html", + "title": "ValueSet US Core Provider Role", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-smoking-status-observation-codes.html", + "title": "ValueSet US Core Smoking Status Observation Codes", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-careteam-provider-roles.html", + "title": "ValueSet US Core CareTeam Provider Roles", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-diagnosticreport-category.html", + "title": "ValueSet US Core DiagnosticReport Category", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-clinical-note-type.html", + "title": "ValueSet US Core Clinical Note Type", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-documentreference-category.html", + "title": "ValueSet US Core DocumentReference Category", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-procedure-code.html", + "title": "ValueSet US Core Procedure Code", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-simple-language.html", + "title": "ValueSet Simple Language", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-observation-value-codes.html", + "title": "ValueSet US Core Observation Value Codes", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-us-core-diagnosticreport-lab-codes.html", + "title": "ValueSet US Core DiagnosticReport Lab Codes", + "generation": "generated" + }, + { + "nameUrl": "ValueSet-detailed-race.html", + "title": "ValueSet Detailed Race", + "generation": "generated" + }, + { + "nameUrl": "CodeSystem-cdcrec.html", + "title": "CodeSystem Cdcrec", + "generation": "generated" + }, + { + "nameUrl": "CodeSystem-condition-category.html", + "title": "CodeSystem Condition Category", + "generation": "generated" + }, + { + "nameUrl": "CodeSystem-us-core-documentreference-category.html", + "title": "CodeSystem US Core DocumentReference Category", + "generation": "generated" + }, + { + "nameUrl": "CodeSystem-careplan-category.html", + "title": "CodeSystem CarePlan Category", + "generation": "generated" + }, + { + "nameUrl": "ConceptMap-ndc-cvx.html", + "title": "ConceptMap Ndc Cvx", + "generation": "generated" + } + ] + }, + { + "nameUrl": "searchparameters.html", + "title": "Search Parameters", + "generation": "markdown", + "page": [ + { + "nameUrl": "SearchParameter-us-core-location-address-state.html", + "title": "SearchParameter US Core Location Address State", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-practitionerrole-practitioner.html", + "title": "SearchParameter US Core PractitionerRole Practitioner", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-organization-name.html", + "title": "SearchParameter US Core Organization Name", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-diagnosticreport-code.html", + "title": "SearchParameter US Core DiagnosticReport Code", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-goal-lifecycle-status.html", + "title": "SearchParameter US Core Goal Lifecycle Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-procedure-code.html", + "title": "SearchParameter US Core Procedure Code", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-patient-gender.html", + "title": "SearchParameter US Core Patient Gender", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-condition-clinical-status.html", + "title": "SearchParameter US Core Condition Clinical Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-documentreference-id.html", + "title": "SearchParameter US Core DocumentReference Id", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-careplan-category.html", + "title": "SearchParameter US Core CarePlan Category", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-encounter-class.html", + "title": "SearchParameter US Core Encounter Class", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-medicationrequest-patient.html", + "title": "SearchParameter US Core MedicationRequest Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-documentreference-patient.html", + "title": "SearchParameter US Core DocumentReference Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-diagnosticreport-date.html", + "title": "SearchParameter US Core DiagnosticReport Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-procedure-date.html", + "title": "SearchParameter US Core Procedure Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-allergyintolerance-clinical-status.html", + "title": "SearchParameter US Core AllergyIntolerance Clinical Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-documentreference-date.html", + "title": "SearchParameter US Core DocumentReference Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-medicationrequest-intent.html", + "title": "SearchParameter US Core MedicationRequest Intent", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-location-address.html", + "title": "SearchParameter US Core Location Address", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-practitioner-name.html", + "title": "SearchParameter US Core Practitioner Name", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-documentreference-period.html", + "title": "SearchParameter US Core DocumentReference Period", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-observation-code.html", + "title": "SearchParameter US Core Observation Code", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-location-name.html", + "title": "SearchParameter US Core Location Name", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-condition-onset-date.html", + "title": "SearchParameter US Core Condition Onset Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-patient-given.html", + "title": "SearchParameter US Core Patient Given", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-encounter-type.html", + "title": "SearchParameter US Core Encounter Type", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-medicationrequest-encounter.html", + "title": "SearchParameter US Core MedicationRequest Encounter", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-encounter-patient.html", + "title": "SearchParameter US Core Encounter Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-organization-address.html", + "title": "SearchParameter US Core Organization Address", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-observation-category.html", + "title": "SearchParameter US Core Observation Category", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-diagnosticreport-status.html", + "title": "SearchParameter US Core DiagnosticReport Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-observation-date.html", + "title": "SearchParameter US Core Observation Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-diagnosticreport-category.html", + "title": "SearchParameter US Core DiagnosticReport Category", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-observation-status.html", + "title": "SearchParameter US Core Observation Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-ethnicity.html", + "title": "SearchParameter US Core Ethnicity", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-documentreference-type.html", + "title": "SearchParameter US Core DocumentReference Type", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-encounter-date.html", + "title": "SearchParameter US Core Encounter Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-patient-birthdate.html", + "title": "SearchParameter US Core Patient Birthdate", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-procedure-status.html", + "title": "SearchParameter US Core Procedure Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-encounter-status.html", + "title": "SearchParameter US Core Encounter Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-careplan-status.html", + "title": "SearchParameter US Core CarePlan Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-condition-patient.html", + "title": "SearchParameter US Core Condition Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-allergyintolerance-patient.html", + "title": "SearchParameter US Core AllergyIntolerance Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-device-patient.html", + "title": "SearchParameter US Core Device Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-condition-code.html", + "title": "SearchParameter US Core Condition Code", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-observation-patient.html", + "title": "SearchParameter US Core Observation Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-race.html", + "title": "SearchParameter US Core Race", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-careplan-patient.html", + "title": "SearchParameter US Core CarePlan Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-patient-family.html", + "title": "SearchParameter US Core Patient Family", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-medicationrequest-status.html", + "title": "SearchParameter US Core MedicationRequest Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-location-address-postalcode.html", + "title": "SearchParameter US Core Location Address Postalcode", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-encounter-id.html", + "title": "SearchParameter US Core Encounter Id", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-medicationrequest-authoredon.html", + "title": "SearchParameter US Core MedicationRequest Authoredon", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-documentreference-status.html", + "title": "SearchParameter US Core DocumentReference Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-procedure-patient.html", + "title": "SearchParameter US Core Procedure Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-goal-target-date.html", + "title": "SearchParameter US Core Goal Target Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-diagnosticreport-patient.html", + "title": "SearchParameter US Core DiagnosticReport Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-careplan-date.html", + "title": "SearchParameter US Core CarePlan Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-careteam-patient.html", + "title": "SearchParameter US Core CareTeam Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-immunization-date.html", + "title": "SearchParameter US Core Immunization Date", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-encounter-identifier.html", + "title": "SearchParameter US Core Encounter Identifier", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-practitionerrole-specialty.html", + "title": "SearchParameter US Core PractitionerRole Specialty", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-patient-name.html", + "title": "SearchParameter US Core Patient Name", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-device-type.html", + "title": "SearchParameter US Core Device Type", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-goal-patient.html", + "title": "SearchParameter US Core Goal Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-immunization-patient.html", + "title": "SearchParameter US Core Immunization Patient", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-patient-id.html", + "title": "SearchParameter US Core Patient Id", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-location-address-city.html", + "title": "SearchParameter US Core Location Address City", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-careteam-status.html", + "title": "SearchParameter US Core CareTeam Status", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-documentreference-category.html", + "title": "SearchParameter US Core DocumentReference Category", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-practitioner-identifier.html", + "title": "SearchParameter US Core Practitioner Identifier", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-patient-identifier.html", + "title": "SearchParameter US Core Patient Identifier", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-condition-category.html", + "title": "SearchParameter US Core Condition Category", + "generation": "generated" + }, + { + "nameUrl": "SearchParameter-us-core-immunization-status.html", + "title": "SearchParameter US Core Immunization Status", + "generation": "generated" + } + ] + }, + { + "nameUrl": "capstatements.html", + "title": "Capability Statements", + "generation": "markdown", + "page": [ + { + "nameUrl": "CapabilityStatement-us-core-server.html", + "title": "CapabilityStatement US Core Server", + "generation": "generated" + }, + { + "nameUrl": "CapabilityStatement-us-core-client.html", + "title": "CapabilityStatement US Core Client", + "generation": "generated" + } + ] + }, + { + "nameUrl": "security.html", + "title": "Security", + "generation": "markdown" + }, + { + "nameUrl": "downloads.html", + "title": "Downloads", + "generation": "markdown" + }, + { + "nameUrl": "all-examples.html", + "title": "All Examples", + "generation": "markdown" + }, + { + "nameUrl": "toc.html", + "title": "Table of Contents", + "generation": "html" + } + ] + } + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/package.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/package.json new file mode 100644 index 00000000000..83b049b5864 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/311/package/package.json @@ -0,0 +1,22 @@ +{ + "name": "hl7.fhir.us.core", + "version": "3.1.1", + "tools-version": 3, + "type": "fhir.ig", + "date": "20200828105409", + "license": "CC0-1.0", + "canonical": "http://hl7.org/fhir/us/core", + "url": "http://hl7.org/fhir/us/core/STU3.1.1", + "title": "US Core", + "fhirVersions": [ + "4.0.1" + ], + "dependencies": { + "hl7.fhir.r4.core": "4.0.1" + }, + "author": "HL7 International - US Realm Steering Committee", + "directories": { + "lib": "package", + "example": "example" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/.index.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/.index.json new file mode 100644 index 00000000000..2d139261305 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/.index.json @@ -0,0 +1,1197 @@ +{ + "index-version": 1, + "files": [ + { + "filename": "SearchParameter-us-core-immunization-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-immunization-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient", + "version": "4.0.0", + "type": "reference" + }, + { + "filename": "CapabilityStatement-us-core-client.json", + "resourceType": "CapabilityStatement", + "id": "us-core-client", + "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-client", + "version": "4.0.0", + "kind": "requirements" + }, + { + "filename": "SearchParameter-us-core-condition-code.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-code", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-diagnosticreport-lab.json", + "resourceType": "StructureDefinition", + "id": "us-core-diagnosticreport-lab", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab", + "version": "4.0.0", + "kind": "resource", + "type": "DiagnosticReport" + }, + { + "filename": "ImplementationGuide-hl7.fhir.us.core.json", + "resourceType": "ImplementationGuide", + "id": "hl7.fhir.us.core", + "url": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core", + "version": "4.0.0" + }, + { + "filename": "StructureDefinition-pediatric-weight-for-height.json", + "resourceType": "StructureDefinition", + "id": "pediatric-weight-for-height", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height", + "version": "4.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "ValueSet-us-core-vital-signs.json", + "resourceType": "ValueSet", + "id": "us-core-vital-signs", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-goal-target-date.json", + "resourceType": "SearchParameter", + "id": "us-core-goal-target-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date", + "version": "4.0.0", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-location-name.json", + "resourceType": "SearchParameter", + "id": "us-core-location-name", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name", + "version": "4.0.0", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-observation-category.json", + "resourceType": "SearchParameter", + "id": "us-core-observation-category", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-practitioner-name.json", + "resourceType": "SearchParameter", + "id": "us-core-practitioner-name", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name", + "version": "4.0.0", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-device-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-device-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient", + "version": "4.0.0", + "type": "reference" + }, + { + "filename": "ValueSet-us-core-condition-category.json", + "resourceType": "ValueSet", + "id": "us-core-condition-category", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-procedure-date.json", + "resourceType": "SearchParameter", + "id": "us-core-procedure-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date", + "version": "4.0.0", + "type": "date" + }, + { + "filename": "StructureDefinition-us-core-careteam.json", + "resourceType": "StructureDefinition", + "id": "us-core-careteam", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "version": "4.0.0", + "kind": "resource", + "type": "CareTeam" + }, + { + "filename": "StructureDefinition-us-core-provenance.json", + "resourceType": "StructureDefinition", + "id": "us-core-provenance", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance", + "version": "4.0.0", + "kind": "resource", + "type": "Provenance" + }, + { + "filename": "ValueSet-us-core-smoking-status-observation-codes.json", + "resourceType": "ValueSet", + "id": "us-core-smoking-status-observation-codes", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-observation-code.json", + "resourceType": "SearchParameter", + "id": "us-core-observation-code", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-immunization.json", + "resourceType": "StructureDefinition", + "id": "us-core-immunization", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization", + "version": "4.0.0", + "kind": "resource", + "type": "Immunization" + }, + { + "filename": "ValueSet-simple-language.json", + "resourceType": "ValueSet", + "id": "simple-language", + "url": "http://hl7.org/fhir/us/core/ValueSet/simple-language", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-observation-status.json", + "resourceType": "SearchParameter", + "id": "us-core-observation-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-patient-family.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-family", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family", + "version": "4.0.0", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-patient-identifier.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-identifier", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-procedure-status.json", + "resourceType": "SearchParameter", + "id": "us-core-procedure-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-diagnosticreport-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient", + "version": "4.0.0", + "type": "reference" + }, + { + "filename": "StructureDefinition-us-core-diagnosticreport-note.json", + "resourceType": "StructureDefinition", + "id": "us-core-diagnosticreport-note", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note", + "version": "4.0.0", + "kind": "resource", + "type": "DiagnosticReport" + }, + { + "filename": "SearchParameter-us-core-encounter-status.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-careplan-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-careplan-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient", + "version": "4.0.0", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-careplan-category.json", + "resourceType": "SearchParameter", + "id": "us-core-careplan-category", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-location.json", + "resourceType": "StructureDefinition", + "id": "us-core-location", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location", + "version": "4.0.0", + "kind": "resource", + "type": "Location" + }, + { + "filename": "SearchParameter-us-core-patient-given.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-given", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given", + "version": "4.0.0", + "type": "string" + }, + { + "filename": "ValueSet-us-core-diagnosticreport-lab-codes.json", + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-lab-codes", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes", + "version": "4.0.0" + }, + { + "filename": "StructureDefinition-us-core-body-temperature.json", + "resourceType": "StructureDefinition", + "id": "us-core-body-temperature", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature", + "version": "4.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "StructureDefinition-us-core-blood-pressure.json", + "resourceType": "StructureDefinition", + "id": "us-core-blood-pressure", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure", + "version": "4.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "SearchParameter-us-core-condition-category.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-category", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-head-occipital-frontal-circumference-percentile.json", + "resourceType": "StructureDefinition", + "id": "head-occipital-frontal-circumference-percentile", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile", + "version": "4.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "SearchParameter-us-core-careplan-date.json", + "resourceType": "SearchParameter", + "id": "us-core-careplan-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date", + "version": "4.0.0", + "type": "date" + }, + { + "filename": "CodeSystem-condition-category.json", + "resourceType": "CodeSystem", + "id": "condition-category", + "url": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-immunization-status.json", + "resourceType": "SearchParameter", + "id": "us-core-immunization-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-practitioner-identifier.json", + "resourceType": "SearchParameter", + "id": "us-core-practitioner-identifier", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-diagnosticreport-status.json", + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-encounter-id.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-id", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-medicationrequest.json", + "resourceType": "StructureDefinition", + "id": "us-core-medicationrequest", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest", + "version": "4.0.0", + "kind": "resource", + "type": "MedicationRequest" + }, + { + "filename": "SearchParameter-us-core-allergyintolerance-clinical-status.json", + "resourceType": "SearchParameter", + "id": "us-core-allergyintolerance-clinical-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-body-height.json", + "resourceType": "StructureDefinition", + "id": "us-core-body-height", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height", + "version": "4.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "ValueSet-us-core-observation-value-codes.json", + "resourceType": "ValueSet", + "id": "us-core-observation-value-codes", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-value-codes", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-patient-gender.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-gender", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-encounter-type.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-type", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-medicationrequest-intent.json", + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-intent", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-goal.json", + "resourceType": "StructureDefinition", + "id": "us-core-goal", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal", + "version": "4.0.0", + "kind": "resource", + "type": "Goal" + }, + { + "filename": "SearchParameter-us-core-medicationrequest-status.json", + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "ValueSet-us-core-observation-smoking-status-status.json", + "resourceType": "ValueSet", + "id": "us-core-observation-smoking-status-status", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-location-address.json", + "resourceType": "SearchParameter", + "id": "us-core-location-address", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address", + "version": "4.0.0", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-documentreference-category.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-category", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-documentreference-date.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date", + "version": "4.0.0", + "type": "date" + }, + { + "filename": "StructureDefinition-us-core-allergyintolerance.json", + "resourceType": "StructureDefinition", + "id": "us-core-allergyintolerance", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance", + "version": "4.0.0", + "kind": "resource", + "type": "AllergyIntolerance" + }, + { + "filename": "CodeSystem-us-core-provenance-participant-type.json", + "resourceType": "CodeSystem", + "id": "us-core-provenance-participant-type", + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-patient-name.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-name", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name", + "version": "4.0.0", + "type": "string" + }, + { + "filename": "StructureDefinition-us-core-bmi.json", + "resourceType": "StructureDefinition", + "id": "us-core-bmi", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi", + "version": "4.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "SearchParameter-us-core-careteam-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-careteam-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient", + "version": "4.0.0", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-procedure-code.json", + "resourceType": "SearchParameter", + "id": "us-core-procedure-code", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-location-address-city.json", + "resourceType": "SearchParameter", + "id": "us-core-location-address-city", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city", + "version": "4.0.0", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-observation-date.json", + "resourceType": "SearchParameter", + "id": "us-core-observation-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date", + "version": "4.0.0", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-practitionerrole-practitioner.json", + "resourceType": "SearchParameter", + "id": "us-core-practitionerrole-practitioner", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner", + "version": "4.0.0", + "type": "reference" + }, + { + "filename": "StructureDefinition-us-core-direct.json", + "resourceType": "StructureDefinition", + "id": "us-core-direct", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "version": "4.0.0", + "kind": "complex-type", + "type": "Extension" + }, + { + "filename": "SearchParameter-us-core-documentreference-status.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-respiratory-rate.json", + "resourceType": "StructureDefinition", + "id": "us-core-respiratory-rate", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate", + "version": "4.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "ValueSet-us-core-usps-state.json", + "resourceType": "ValueSet", + "id": "us-core-usps-state", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-location-address-state.json", + "resourceType": "SearchParameter", + "id": "us-core-location-address-state", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state", + "version": "4.0.0", + "type": "string" + }, + { + "filename": "ValueSet-us-core-provenance-participant-type.json", + "resourceType": "ValueSet", + "id": "us-core-provenance-participant-type", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-condition-onset-date.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-onset-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date", + "version": "4.0.0", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-medicationrequest-authoredon.json", + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-authoredon", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon", + "version": "4.0.0", + "type": "date" + }, + { + "filename": "ValueSet-omb-ethnicity-category.json", + "resourceType": "ValueSet", + "id": "omb-ethnicity-category", + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-ethnicity.json", + "resourceType": "SearchParameter", + "id": "us-core-ethnicity", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-ethnicity", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-procedure.json", + "resourceType": "StructureDefinition", + "id": "us-core-procedure", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure", + "version": "4.0.0", + "kind": "resource", + "type": "Procedure" + }, + { + "filename": "SearchParameter-us-core-condition-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient", + "version": "4.0.0", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-documentreference-id.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-id", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-practitioner.json", + "resourceType": "StructureDefinition", + "id": "us-core-practitioner", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "version": "4.0.0", + "kind": "resource", + "type": "Practitioner" + }, + { + "filename": "ValueSet-us-core-condition-code.json", + "resourceType": "ValueSet", + "id": "us-core-condition-code", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-organization-name.json", + "resourceType": "SearchParameter", + "id": "us-core-organization-name", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name", + "version": "4.0.0", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-practitionerrole-specialty.json", + "resourceType": "SearchParameter", + "id": "us-core-practitionerrole-specialty", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-organization-address.json", + "resourceType": "SearchParameter", + "id": "us-core-organization-address", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address", + "version": "4.0.0", + "type": "string" + }, + { + "filename": "ValueSet-us-core-clinical-note-type.json", + "resourceType": "ValueSet", + "id": "us-core-clinical-note-type", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type", + "version": "4.0.0" + }, + { + "filename": "StructureDefinition-us-core-encounter.json", + "resourceType": "StructureDefinition", + "id": "us-core-encounter", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter", + "version": "4.0.0", + "kind": "resource", + "type": "Encounter" + }, + { + "filename": "ValueSet-omb-race-category.json", + "resourceType": "ValueSet", + "id": "omb-race-category", + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category", + "version": "4.0.0" + }, + { + "filename": "ValueSet-us-core-narrative-status.json", + "resourceType": "ValueSet", + "id": "us-core-narrative-status", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-race.json", + "resourceType": "SearchParameter", + "id": "us-core-race", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-race", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-encounter-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient", + "version": "4.0.0", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-observation-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-observation-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient", + "version": "4.0.0", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-procedure-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-procedure-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient", + "version": "4.0.0", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-diagnosticreport-category.json", + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-category", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-documentreference.json", + "resourceType": "StructureDefinition", + "id": "us-core-documentreference", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference", + "version": "4.0.0", + "kind": "resource", + "type": "DocumentReference" + }, + { + "filename": "ig-r4.json", + "resourceType": "ImplementationGuide", + "id": "hl7.fhir.us.core", + "url": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core", + "version": "4.0.0" + }, + { + "filename": "StructureDefinition-us-core-head-circumference.json", + "resourceType": "StructureDefinition", + "id": "us-core-head-circumference", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference", + "version": "4.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "StructureDefinition-us-core-vital-signs.json", + "resourceType": "StructureDefinition", + "id": "us-core-vital-signs", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "version": "4.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "SearchParameter-us-core-patient-id.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-id", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-birthsex.json", + "resourceType": "StructureDefinition", + "id": "us-core-birthsex", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "version": "4.0.0", + "kind": "complex-type", + "type": "Extension" + }, + { + "filename": "SearchParameter-us-core-medicationrequest-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient", + "version": "4.0.0", + "type": "reference" + }, + { + "filename": "CapabilityStatement-us-core-server.json", + "resourceType": "CapabilityStatement", + "id": "us-core-server", + "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server", + "version": "4.0.0", + "kind": "requirements" + }, + { + "filename": "OperationDefinition-docref.json", + "resourceType": "OperationDefinition", + "id": "docref", + "url": "http://hl7.org/fhir/us/core/OperationDefinition/docref", + "version": "4.0.0", + "kind": "operation", + "type": "true" + }, + { + "filename": "ValueSet-us-core-diagnosticreport-category.json", + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-category", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category", + "version": "4.0.0" + }, + { + "filename": "StructureDefinition-us-core-observation-lab.json", + "resourceType": "StructureDefinition", + "id": "us-core-observation-lab", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", + "version": "4.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "ValueSet-us-core-observation-smokingstatus-max.json", + "resourceType": "ValueSet", + "id": "us-core-observation-smokingstatus-max", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-encounter-date.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date", + "version": "4.0.0", + "type": "date" + }, + { + "filename": "ValueSet-us-core-documentreference-category.json", + "resourceType": "ValueSet", + "id": "us-core-documentreference-category", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category", + "version": "4.0.0" + }, + { + "filename": "ValueSet-us-core-documentreference-type.json", + "resourceType": "ValueSet", + "id": "us-core-documentreference-type", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type", + "version": "4.0.0" + }, + { + "filename": "StructureDefinition-us-core-condition.json", + "resourceType": "StructureDefinition", + "id": "us-core-condition", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition", + "version": "4.0.0", + "kind": "resource", + "type": "Condition" + }, + { + "filename": "CodeSystem-careplan-category.json", + "resourceType": "CodeSystem", + "id": "careplan-category", + "url": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "version": "4.0.0" + }, + { + "filename": "ValueSet-birthsex.json", + "resourceType": "ValueSet", + "id": "birthsex", + "url": "http://hl7.org/fhir/us/core/ValueSet/birthsex", + "version": "4.0.0" + }, + { + "filename": "ValueSet-us-core-diagnosticreport-report-and-note-codes.json", + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-report-and-note-codes", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-condition-clinical-status.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-clinical-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-diagnosticreport-date.json", + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date", + "version": "4.0.0", + "type": "date" + }, + { + "filename": "StructureDefinition-us-core-pulse-oximetry.json", + "resourceType": "StructureDefinition", + "id": "us-core-pulse-oximetry", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry", + "version": "4.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "SearchParameter-us-core-careteam-status.json", + "resourceType": "SearchParameter", + "id": "us-core-careteam-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-device-type.json", + "resourceType": "SearchParameter", + "id": "us-core-device-type", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-goal-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-goal-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient", + "version": "4.0.0", + "type": "reference" + }, + { + "filename": "StructureDefinition-us-core-heart-rate.json", + "resourceType": "StructureDefinition", + "id": "us-core-heart-rate", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate", + "version": "4.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "StructureDefinition-us-core-implantable-device.json", + "resourceType": "StructureDefinition", + "id": "us-core-implantable-device", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device", + "version": "4.0.0", + "kind": "resource", + "type": "Device" + }, + { + "filename": "StructureDefinition-us-core-medication.json", + "resourceType": "StructureDefinition", + "id": "us-core-medication", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication", + "version": "4.0.0", + "kind": "resource", + "type": "Medication" + }, + { + "filename": "SearchParameter-us-core-diagnosticreport-code.json", + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-code", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-immunization-date.json", + "resourceType": "SearchParameter", + "id": "us-core-immunization-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date", + "version": "4.0.0", + "type": "date" + }, + { + "filename": "ValueSet-us-core-encounter-type.json", + "resourceType": "ValueSet", + "id": "us-core-encounter-type", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-patient-birthdate.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-birthdate", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate", + "version": "4.0.0", + "type": "date" + }, + { + "filename": "ValueSet-detailed-ethnicity.json", + "resourceType": "ValueSet", + "id": "detailed-ethnicity", + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-careplan-status.json", + "resourceType": "SearchParameter", + "id": "us-core-careplan-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-race.json", + "resourceType": "StructureDefinition", + "id": "us-core-race", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "version": "4.0.0", + "kind": "complex-type", + "type": "Extension" + }, + { + "filename": "SearchParameter-us-core-documentreference-type.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-type", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-practitionerrole.json", + "resourceType": "StructureDefinition", + "id": "us-core-practitionerrole", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "version": "4.0.0", + "kind": "resource", + "type": "PractitionerRole" + }, + { + "filename": "SearchParameter-us-core-location-address-postalcode.json", + "resourceType": "SearchParameter", + "id": "us-core-location-address-postalcode", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode", + "version": "4.0.0", + "type": "string" + }, + { + "filename": "CodeSystem-cdcrec.json", + "resourceType": "CodeSystem", + "id": "cdcrec", + "url": "urn:oid:2.16.840.1.113883.6.238", + "version": "4.0.0" + }, + { + "filename": "CodeSystem-us-core-documentreference-category.json", + "resourceType": "CodeSystem", + "id": "us-core-documentreference-category", + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-allergyintolerance-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-allergyintolerance-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient", + "version": "4.0.0", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-encounter-class.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-class", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-documentreference-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient", + "version": "4.0.0", + "type": "reference" + }, + { + "filename": "StructureDefinition-us-core-careplan.json", + "resourceType": "StructureDefinition", + "id": "us-core-careplan", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan", + "version": "4.0.0", + "kind": "resource", + "type": "CarePlan" + }, + { + "filename": "StructureDefinition-us-core-patient.json", + "resourceType": "StructureDefinition", + "id": "us-core-patient", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "version": "4.0.0", + "kind": "resource", + "type": "Patient" + }, + { + "filename": "SearchParameter-us-core-medicationrequest-encounter.json", + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-encounter", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter", + "version": "4.0.0", + "type": "reference" + }, + { + "filename": "StructureDefinition-us-core-ethnicity.json", + "resourceType": "StructureDefinition", + "id": "us-core-ethnicity", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "version": "4.0.0", + "kind": "complex-type", + "type": "Extension" + }, + { + "filename": "SearchParameter-us-core-goal-lifecycle-status.json", + "resourceType": "SearchParameter", + "id": "us-core-goal-lifecycle-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "ValueSet-us-core-procedure-code.json", + "resourceType": "ValueSet", + "id": "us-core-procedure-code", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code", + "version": "4.0.0" + }, + { + "filename": "StructureDefinition-us-core-smokingstatus.json", + "resourceType": "StructureDefinition", + "id": "us-core-smokingstatus", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus", + "version": "4.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "StructureDefinition-us-core-body-weight.json", + "resourceType": "StructureDefinition", + "id": "us-core-body-weight", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight", + "version": "4.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "SearchParameter-us-core-encounter-identifier.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-identifier", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier", + "version": "4.0.0", + "type": "token" + }, + { + "filename": "ValueSet-detailed-race.json", + "resourceType": "ValueSet", + "id": "detailed-race", + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-race", + "version": "4.0.0" + }, + { + "filename": "SearchParameter-us-core-documentreference-period.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-period", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period", + "version": "4.0.0", + "type": "date" + }, + { + "filename": "StructureDefinition-us-core-organization.json", + "resourceType": "StructureDefinition", + "id": "us-core-organization", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "version": "4.0.0", + "kind": "resource", + "type": "Organization" + }, + { + "filename": "StructureDefinition-pediatric-bmi-for-age.json", + "resourceType": "StructureDefinition", + "id": "pediatric-bmi-for-age", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", + "version": "4.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "ValueSet-us-core-provider-role.json", + "resourceType": "ValueSet", + "id": "us-core-provider-role", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role", + "version": "4.0.0" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CapabilityStatement-us-core-client.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CapabilityStatement-us-core-client.json new file mode 100644 index 00000000000..51a801b6c16 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CapabilityStatement-us-core-client.json @@ -0,0 +1,4372 @@ +{ + "resourceType": "CapabilityStatement", + "id": "us-core-client", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-client", + "version": "4.0.0", + "name": "UsCoreClientCapabilityStatement", + "title": "US Core Client CapabilityStatement", + "status": "active", + "experimental": false, + "date": "2021-06-17T14:23:50.993763-08:00", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "This Section describes the expected capabilities of the US Core Client which is responsible for creating and initiating the queries for information about an individual patient. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined in the [Conformance Requirements for Server](CapabilityStatement-us-core-server.html). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "kind": "requirements", + "instantiates": [ + "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-client" + ], + "_instantiates": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "fhirVersion": "4.0.1", + "format": [ + "json", + "xml" + ], + "_format": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "patchFormat": [ + "application/json-patch+json" + ], + "_patchFormat": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "implementationGuide": [ + "http://fhir-registry.smarthealthit.org", + "http://hl7.org/fhir/uv/bulkdata/ImplementationGuide/hl7.fhir.uv.bulkdata" + ], + "_implementationGuide": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "rest": [ + { + "mode": "client", + "documentation": "The US Core Client **SHALL**:\n\n1. Support fetching and querying of one or more US Core profile(s), using the supported RESTful interactions and search parameters declared in the US Core Server CapabilityStatement.\n", + "security": { + "description": "1. See the [General Security Considerations] section for requirements and recommendations." + }, + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "clinical-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "AllergyIntolerance", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "clinical-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "CarePlan", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Additional considerations for systems aligning with [HL7 Consolidated (C-CDA)](http://www.hl7.org/implement/standards/product_brief.cfm?product_id=492) Care Plan requirements:\n - US Core Goal **SHOULD** be present in CarePlan.goal\n - US Core Condition **SHOULD** be present in CarePlan.addresses\n - Assement and Plan **MAY** be included as narrative text", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "CareTeam", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "onset-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "clinical-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Condition", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "clinical-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "onset-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Device", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Implantable medical devices that have UDI information **SHALL** represent the UDI code in `Device.udiCarrier.carrierHRF`.\n - All of the five UDI-PI elements that are present in the UDI code **SHALL** be represented in the corresponding US Core Implantable Device Profile element.\n \n UDI may not be present in all scenarios such as historical implantable devices, patient reported implant information, payer reported devices, or improperly documented implants. If UDI is not present and the manufacturer and/or model number information is available, they **SHOULD** be included to support historical reports of implantable medical devices as follows:\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
data elementUS Core Implantable Device Profile element
manufacturerDevice.manufacturer
modelDevice.model
\n\n* Servers **SHOULD** support query by Device.type to allow clients to request the patient's devices by a specific type. Note: The Device.type is too granular to differentiate implantable vs. non-implantable devices. \n* In the Quick Start section below, searching for all devices is described. Records of implanted devices **MAY** be queried against UDI data including:\n\n - UDI HRF string (`udi-carrier`)\n - UDI Device Identifier (`udi-di`)\n - Manufacturer (`manufacturer`)\n - Model number (`model`)\n\n Implementers **MAY** also adopt custom SearchParameters for searching by:\n\n - lot numbers\n - serial number\n - expiration date\n - manufacture date\n - distinct identifier", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "DiagnosticReport", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "create", + "documentation": "This conformance expectation applies **only** to the *US Core DiagnosticReport Profile for Report and Note exchange* profile. The conformance expectation for the *US Core DiagnosticReport Profile for Laboratory Results Reporting* is **MAY**." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + }, + { + "url": "required", + "valueString": "period" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "DocumentReference", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "The DocumentReference.type binding SHALL support at a minimum the [5 Common Clinical Notes](ValueSet-us-core-clinical-note-type.html) and may extend to the full US Core DocumentReference Type Value Set", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "period", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + } + ], + "operation": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "docref", + "definition": "http://hl7.org/fhir/us/core/OperationDefinition/docref", + "documentation": "A client **SHOULD** be capable of transacting a $docref operation and capable of receiving at least a reference to a generated CCD document, and **MAY** be able to receive other document types, if available. **SHOULD** be capable of receiving documents as included resources in response to the operation.\n\n`GET [base]/DocumentReference/$docref?patient=[id]`" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "class" + }, + { + "url": "required", + "valueString": "patient" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "date" + }, + { + "url": "required", + "valueString": "patient" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Encounter", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The Encounter resource can represent a reason using either a code with `Encounter.reasonCode`, or a reference with `Encounter.reasonReference` to Condition or other resource.\n * Although both are marked as must support, the server systems are not required to support both a code and a reference, but they **SHALL** support *at least one* of these elements.\n * The client application **SHALL** support both elements.\n * if `Encounter.reasonReference` references an Observation, it **SHOULD** conform to a US Core Observation if applicable. (for example, a laboratory result should conform to the US Core Laboratory Result Observation Profile)\n* The intent of this profile is to support *where the encounter occurred*. The location address can be represented by either by the Location referenced by `Encounter.location.location` or indirectly through the Organization referenced by `Encounter.serviceProvider`.\n * Although both are marked as must support, the server systems are not required to support both `Encounter.location.location` and `Encounter.serviceProvider`, but they **SHALL** support *at least one* of these elements.\n * The client application **SHALL** support both elements.\n * if using `Encounter.locatison.location` it **SHOULD** conform to US Core Location. However, as a result of implementation feedback, it **MAY** reference the base FHIR Location resource. See this guidance on [Referencing US Core Profiles]", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "class", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "lifecycle-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "target-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Goal", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "lifecycle-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "target-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *day*.\n\nA server **SHALL** support a value a value precise to the *day*." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Immunization", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Based upon the ONC U.S. Core Data for Interoperability (USCDI) v1 requirements, CVX vaccine codes are required and the NDC vaccine codes **SHOULD** be supported as translations to them.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "Location", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The US Core Location and PractitionerRole Profiles are not explicitly referenced in any US Core Profile. However they **SHOULD** be used as the default profile if referenced by another US Core profile.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-city", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-state", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-postalcode", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "Medication", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The MedicationRequest resource can represent a medication, using an external reference to a Medication resource. If an external Medication Resource is used in a MedicationRequest, then the READ **SHALL** be supported.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "authoredon" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "encounter" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "MedicationRequest", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing Medication, the resource may be [contained](http://hl7.org/fhir/R4/references.html#contained) or an external resource. The server application **MAY** choose any one way or more than one method, but if an external reference to Medication is used, the server **SHALL** support the _include` parameter for searching this element. The client application must support all methods.\n\n For example, A server **SHALL** be capable of returning all medications for a patient using one of or both:\n\n `GET /MedicationRequest?patient=[id]`\n\n `GET /MedicationRequest?patient=[id]&_include=MedicationRequest:medication`\n\n* The MedicationRequest resource can represent that information is from a secondary source using either a boolean flag or reference in `MedicationRequest.reportedBoolean`, or a reference using `MedicationRequest.reportedReference` to Practitioner or other resource.\n * Although both are marked as must support, the server systems are not required to support both a boolean and a reference, but **SHALL** choose to support at least one of these elements.\n * The client application **SHALL** support both elements.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchInclude": [ + "MedicationRequest:medication" + ], + "_searchInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "intent", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "encounter", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "authoredon", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Observation", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate", + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", + "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile", + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Systems **SHOULD** support `Observation.effectivePeriod` to accurately represent laboratory tests that are collected over a period of time (for example, a 24-Hour Urine Collection test).\n* An Observation without a value, **SHALL** include a reason why the data is absent unless there are component observations, or references to other Observations that are grouped within it.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "Organization", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "gender" + }, + { + "url": "required", + "valueString": "name" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "family" + }, + { + "url": "required", + "valueString": "gender" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "birthdate" + }, + { + "url": "required", + "valueString": "family" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "birthdate" + }, + { + "url": "required", + "valueString": "name" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Patient", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* For ONC's USCDI requirements, each Patient must support the following additional elements. These elements are included in the formal definition of the profile. The patient examples include all of these elements.\n\n1. contact detail (e.g. a telephone number or an email address)\n1. a communication language\n1. a race\n1. an ethnicity\n1. a birth sex*\n1. previous name\n - Previous name is represented by providing an end date in the `Patient.name.period` element for a previous name.\n1. suffix\n - Suffix is represented using the `Patient.name.suffix` element.\n\n", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "birthdate", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *day*.\n\nA server **SHALL** support a value a value precise to the *day*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "family", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "gender", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "given", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "Practitioner", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "PractitionerRole", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The US Core Location and PractitionerRole Profiles are not explicitly referenced in any US Core Profile. However they **SHOULD** be used as the default profile if referenced by another US Core profile.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchInclude": [ + "PractitionerRole:endpoint", + "PractitionerRole:practitioner" + ], + "_searchInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "specialty", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "practitioner", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Procedure", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* A procedure including an implantable device **SHOULD** use `Procedure.focalDevice` with a reference to the [US Core Implantable Device Profile].", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "Provenance", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* If a system receives a provider in `Provenance.agent.who` as free text they must capture who sent them the information as the organization. On request they **SHALL** provide this organization as the source and **MAY** include the free text provider.\n* Systems that need to know the activity has occurred **SHOULD** populate the activity.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "ValueSet", + "operation": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "expand", + "definition": "http://hl7.org/fhir/OperationDefinition/ValueSet-expand", + "documentation": "A client can determine the note and report types support by a server by invoking the standard FHIR Value Set Expansion ($expand) operation defined in the FHIR R4 specification. Because servers may support different read and write formats, it also is used to determine the formats (for example, text, pdf) the server supports read and write transactions." + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "transaction" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "batch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-system" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-system" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CapabilityStatement-us-core-server.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CapabilityStatement-us-core-server.json new file mode 100644 index 00000000000..56e4ab9d884 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CapabilityStatement-us-core-server.json @@ -0,0 +1,4433 @@ +{ + "resourceType": "CapabilityStatement", + "id": "us-core-server", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server", + "version": "4.0.0", + "name": "UsCoreServerCapabilityStatement", + "title": "US Core Server CapabilityStatement", + "status": "active", + "experimental": false, + "date": "2021-06-17T14:23:02.762610-08:00", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "This Section describes the expected capabilities of the US Core Server actor which is responsible for providing responses to the queries submitted by the US Core Requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined. Systems implementing this capability statement should meet the ONC 2015 Common Clinical Data Set (CCDS) access requirement for Patient Selection 170.315(g)(7) and Application Access - Data Category Request 170.315(g)(8) and and the ONC [U.S. Core Data for Interoperability (USCDI)](https://www.healthit.gov/isa/sites/isa/files/2020-03/USCDI-Version1-2020-Final-Standard.pdf). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "kind": "requirements", + "instantiates": [ + "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server" + ], + "_instantiates": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "fhirVersion": "4.0.1", + "format": [ + "json", + "xml" + ], + "_format": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "patchFormat": [ + "application/json-patch+json" + ], + "_patchFormat": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "implementationGuide": [ + "http://fhir-registry.smarthealthit.org", + "http://hl7.org/fhir/uv/bulkdata/ImplementationGuide/hl7.fhir.uv.bulkdata" + ], + "_implementationGuide": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "rest": [ + { + "mode": "server", + "documentation": "The US Core Server **SHALL**:\n\n1. Support the US Core Patient resource profile.\n1. Support at least one additional resource profile from the list of US Core Profiles.\n1. Implement the RESTful behavior according to the FHIR specification.\n1. For all the supported search interactions in this guide, support the `GET` based search.\n1. Return the following response classes:\n - (Status 400): invalid parameter\n - (Status 401/4xx): unauthorized request\n - (Status 403): insufficient scopes\n - (Status 404): unknown resource\n1. Support json source formats for all US Core interactions.\n\nThe US Core Server **SHOULD**:\n\n1. Support xml source formats for all US Core interactions.\n1. Identify the US Core profiles supported as part of the FHIR `meta.profile` attribute for each instance.\n1. Support xml resource formats for all Argonaut questionnaire interactions.", + "security": { + "description": "1. See the [General Security Considerations](security.html) section for requirements and recommendations.\n1. A server **SHALL** reject any unauthorized requests by returning an `HTTP 401` unauthorized response code." + }, + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "clinical-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "AllergyIntolerance", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "clinical-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "CarePlan", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Additional considerations for systems aligning with [HL7 Consolidated (C-CDA)](http://www.hl7.org/implement/standards/product_brief.cfm?product_id=492) Care Plan requirements:\n - US Core Goal **SHOULD** be present in CarePlan.goal\n - US Core Condition **SHOULD** be present in CarePlan.addresses\n - Assement and Plan **MAY** be included as narrative text", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "CareTeam", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "onset-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "clinical-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Condition", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "clinical-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "onset-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Device", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Implantable medical devices that have UDI information **SHALL** represent the UDI code in `Device.udiCarrier.carrierHRF`.\n - All of the five UDI-PI elements that are present in the UDI code **SHALL** be represented in the corresponding US Core Implantable Device Profile element.\n \n UDI may not be present in all scenarios such as historical implantable devices, patient reported implant information, payer reported devices, or improperly documented implants. If UDI is not present and the manufacturer and/or model number information is available, they **SHOULD** be included to support historical reports of implantable medical devices as follows:\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
data elementUS Core Implantable Device Profile element
manufacturerDevice.manufacturer
modelDevice.model
\n\n* Servers **SHOULD** support query by Device.type to allow clients to request the patient's devices by a specific type. Note: The Device.type is too granular to differentiate implantable vs. non-implantable devices. \n* In the Quick Start section below, searching for all devices is described. Records of implanted devices **MAY** be queried against UDI data including:\n\n - UDI HRF string (`udi-carrier`)\n - UDI Device Identifier (`udi-di`)\n - Manufacturer (`manufacturer`)\n - Model number (`model`)\n\n Implementers **MAY** also adopt custom SearchParameters for searching by:\n\n - lot numbers\n - serial number\n - expiration date\n - manufacture date\n - distinct identifier", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "DiagnosticReport", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "create", + "documentation": "This conformance expectation applies **only** to the *US Core DiagnosticReport Profile for Report and Note exchange* profile. The conformance expectation for the *US Core DiagnosticReport Profile for Laboratory Results Reporting* is **MAY**." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + }, + { + "url": "required", + "valueString": "period" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "DocumentReference", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "The DocumentReference.type binding SHALL support at a minimum the [5 Common Clinical Notes](ValueSet-us-core-clinical-note-type.html) and may extend to the full US Core DocumentReference Type Value Set", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "period", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + } + ], + "operation": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "docref", + "definition": "http://hl7.org/fhir/us/core/OperationDefinition/docref", + "documentation": "A server **SHALL** be capable of responding to a $docref operation and capable of returning at least a reference to a generated CCD document, if available. **MAY** provide references to other 'on-demand' and 'stable' documents (or 'delayed/deferred assembly') that meet the query parameters as well. If a context date range is supplied the server ** SHOULD** provide references to any document that falls within the date range If no date range is supplied, then the server **SHALL** provide references to last or current encounter. **SHOULD** document what resources, if any, are returned as included resources\n\n`GET [base]/DocumentReference/$docref?patient=[id]`" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "date" + }, + { + "url": "required", + "valueString": "patient" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "class" + }, + { + "url": "required", + "valueString": "patient" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Encounter", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The Encounter resource can represent a reason using either a code with `Encounter.reasonCode`, or a reference with `Encounter.reasonReference` to Condition or other resource.\n * Although both are marked as must support, the server systems are not required to support both a code and a reference, but they **SHALL** support *at least one* of these elements.\n * The client application **SHALL** support both elements.\n * if `Encounter.reasonReference` references an Observation, it **SHOULD** conform to a US Core Observation if applicable. (for example, a laboratory result should conform to the US Core Laboratory Result Observation Profile)\n* The intent of this profile is to support *where the encounter occurred*. The location address can be represented by either by the Location referenced by `Encounter.location.location` or indirectly through the Organization referenced by `Encounter.serviceProvider`.\n * Although both are marked as must support, the server systems are not required to support both `Encounter.location.location` and `Encounter.serviceProvider`, but they **SHALL** support *at least one* of these elements.\n * The client application **SHALL** support both elements.\n * if using `Encounter.locatison.location` it **SHOULD** conform to US Core Location. However, as a result of implementation feedback, it **MAY** reference the base FHIR Location resource. See this guidance on [Referencing US Core Profiles]", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "class", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "lifecycle-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "target-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Goal", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "lifecycle-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "target-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *day*.\n\nA server **SHALL** support a value a value precise to the *day*." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Immunization", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Based upon the ONC U.S. Core Data for Interoperability (USCDI) v1 requirements, CVX vaccine codes are required and the NDC vaccine codes **SHOULD** be supported as translations to them.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Location", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The US Core Location and PractitionerRole Profiles are not explicitly referenced in any US Core Profile. However they **SHOULD** be used as the default profile if referenced by another US Core profile.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "address", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-city", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-state", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-postalcode", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Medication", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The MedicationRequest resource can represent a medication, using an external reference to a Medication resource. If an external Medication Resource is used in a MedicationRequest, then the READ **SHALL** be supported.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "authoredon" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "encounter" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "MedicationRequest", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing Medication, the resource may be [contained](http://hl7.org/fhir/R4/references.html#contained) or an external resource. The server application **MAY** choose any one way or more than one method, but if an external reference to Medication is used, the server **SHALL** support the _include` parameter for searching this element. The client application must support all methods.\n\n For example, A server **SHALL** be capable of returning all medications for a patient using one of or both:\n\n `GET /MedicationRequest?patient=[id]`\n\n `GET /MedicationRequest?patient=[id]&_include=MedicationRequest:medication`\n\n* The MedicationRequest resource can represent that information is from a secondary source using either a boolean flag or reference in `MedicationRequest.reportedBoolean`, or a reference using `MedicationRequest.reportedReference` to Practitioner or other resource.\n * Although both are marked as must support, the server systems are not required to support both a boolean and a reference, but **SHALL** choose to support at least one of these elements.\n * The client application **SHALL** support both elements.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchInclude": [ + "MedicationRequest:medication" + ], + "_searchInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "intent", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "encounter", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "authoredon", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Observation", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate", + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", + "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile", + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Systems **SHOULD** support `Observation.effectivePeriod` to accurately represent laboratory tests that are collected over a period of time (for example, a 24-Hour Urine Collection test).\n* An Observation without a value, **SHALL** include a reason why the data is absent unless there are component observations, or references to other Observations that are grouped within it.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Organization", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "address", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "family" + }, + { + "url": "required", + "valueString": "gender" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "birthdate" + }, + { + "url": "required", + "valueString": "family" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "birthdate" + }, + { + "url": "required", + "valueString": "name" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "gender" + }, + { + "url": "required", + "valueString": "name" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Patient", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* For ONC's USCDI requirements, each Patient must support the following additional elements. These elements are included in the formal definition of the profile. The patient examples include all of these elements.\n\n1. contact detail (e.g. a telephone number or an email address)\n1. a communication language\n1. a race\n1. an ethnicity\n1. a birth sex*\n1. previous name\n - Previous name is represented by providing an end date in the `Patient.name.period` element for a previous name.\n1. suffix\n - Suffix is represented using the `Patient.name.suffix` element.\n\n", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "birthdate", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *day*.\n\nA server **SHALL** support a value a value precise to the *day*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "family", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family", + "type": "string", + "documentation": "A server **SHALL** support a value precise to the *day*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "gender", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "given", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Practitioner", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "PractitionerRole", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The US Core Location and PractitionerRole Profiles are not explicitly referenced in any US Core Profile. However they **SHOULD** be used as the default profile if referenced by another US Core profile.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchInclude": [ + "PractitionerRole:endpoint", + "PractitionerRole:practitioner" + ], + "_searchInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "specialty", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "practitioner", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Procedure", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* A procedure including an implantable device **SHOULD** use `Procedure.focalDevice` with a reference to the [US Core Implantable Device Profile].", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Provenance", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* If a system receives a provider in `Provenance.agent.who` as free text they must capture who sent them the information as the organization. On request they **SHALL** provide this organization as the source and **MAY** include the free text provider.\n* Systems that need to know the activity has occurred **SHOULD** populate the activity.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "ValueSet", + "operation": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "expand", + "definition": "http://hl7.org/fhir/OperationDefinition/ValueSet-expand", + "documentation": "A client can determine the note and report types support by a server by invoking the standard FHIR Value Set Expansion ($expand) operation defined in the FHIR R4 specification. Because servers may support different read and write formats, it also is used to determine the formats (for example, text, pdf) the server supports read and write transactions." + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "transaction" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "batch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-system" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-system" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CodeSystem-careplan-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CodeSystem-careplan-category.json new file mode 100644 index 00000000000..547314f5603 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CodeSystem-careplan-category.json @@ -0,0 +1,47 @@ +{ + "resourceType": "CodeSystem", + "id": "careplan-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "version": "4.0.0", + "name": "USCoreCarePlanCategoryExtensionCodes", + "title": "US Core CarePlan Category Extension Codes", + "status": "active", + "date": "2021-06-28T19:10:06+00:00", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Set of codes that are needed for implementation of the US-Core CarePlan Profile. These codes are used as extensions to the FHIR ValueSet.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "assess-plan", + "display": "Assessment and Plan of Treatment", + "definition": "The clinical conclusions and assumptions that guide the patient's treatment and the clinical activities formulated for a patient." + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CodeSystem-cdcrec.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CodeSystem-cdcrec.json new file mode 100644 index 00000000000..cb958dfaaed --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CodeSystem-cdcrec.json @@ -0,0 +1,4915 @@ +{ + "resourceType": "CodeSystem", + "id": "cdcrec", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "urn:oid:2.16.840.1.113883.6.238", + "identifier": [ + { + "value": "2.16.840.1.113883.6.238" + } + ], + "version": "4.0.0", + "name": "RaceAndEthnicityCDC", + "title": "Race & Ethnicity - CDC", + "status": "active", + "experimental": false, + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The U.S. Centers for Disease Control and Prevention (CDC) has prepared a code set for use in codingrace and ethnicity data. This code set is based on current federal standards for classifying data onrace and ethnicity, specifically the minimum race and ethnicity categories defined by the U.S. Office ofManagement and Budget (OMB) and a more detailed set of race and ethnicity categories maintainedby the U.S. Bureau of the Census (BC). The main purpose of the code set is to facilitate use of federalstandards for classifying data on race and ethnicity when these data are exchanged, stored, retrieved,or analyzed in electronic form. At the same time, the code set can be applied to paper-based recordsystems to the extent that these systems are used to collect, maintain, and report data on race andethnicity in accordance with current federal standards. Source: [Race and Ethnicity Code Set Version 1.0](https://www.cdc.gov/phin/resources/vocabulary/documents/cdc-race--ethnicity-background-and-purpose.pdf).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "caseSensitive": true, + "hierarchyMeaning": "is-a", + "content": "complete", + "count": 966, + "property": [ + { + "code": "abstract", + "description": "True if an element is considered 'abstract' - in other words, the code is not for use as a real concept", + "type": "boolean" + } + ], + "concept": [ + { + "code": "1000-9", + "display": "Race", + "definition": "Race, Note that this is an abstract 'grouping' concept and not for use as a real concept", + "property": [ + { + "code": "abstract", + "valueBoolean": true + } + ], + "concept": [ + { + "code": "1002-5", + "display": "American Indian or Alaska Native", + "definition": "American Indian or Alaska Native", + "concept": [ + { + "code": "1004-1", + "display": "American Indian", + "definition": "American Indian" + }, + { + "code": "1735-0", + "display": "Alaska Native", + "definition": "Alaska Native" + }, + { + "code": "1006-6", + "display": "Abenaki", + "definition": "Abenaki" + }, + { + "code": "1008-2", + "display": "Algonquian", + "definition": "Algonquian" + }, + { + "code": "1010-8", + "display": "Apache", + "definition": "Apache" + }, + { + "code": "1021-5", + "display": "Arapaho", + "definition": "Arapaho" + }, + { + "code": "1026-4", + "display": "Arikara", + "definition": "Arikara" + }, + { + "code": "1028-0", + "display": "Assiniboine", + "definition": "Assiniboine" + }, + { + "code": "1030-6", + "display": "Assiniboine Sioux", + "definition": "Assiniboine Sioux" + }, + { + "code": "1033-0", + "display": "Bannock", + "definition": "Bannock" + }, + { + "code": "1035-5", + "display": "Blackfeet", + "definition": "Blackfeet" + }, + { + "code": "1037-1", + "display": "Brotherton", + "definition": "Brotherton" + }, + { + "code": "1039-7", + "display": "Burt Lake Band", + "definition": "Burt Lake Band" + }, + { + "code": "1041-3", + "display": "Caddo", + "definition": "Caddo" + }, + { + "code": "1044-7", + "display": "Cahuilla", + "definition": "Cahuilla" + }, + { + "code": "1053-8", + "display": "California Tribes", + "definition": "California Tribes" + }, + { + "code": "1068-6", + "display": "Canadian and Latin American Indian", + "definition": "Canadian and Latin American Indian" + }, + { + "code": "1076-9", + "display": "Catawba", + "definition": "Catawba" + }, + { + "code": "1078-5", + "display": "Cayuse", + "definition": "Cayuse" + }, + { + "code": "1080-1", + "display": "Chehalis", + "definition": "Chehalis" + }, + { + "code": "1082-7", + "display": "Chemakuan", + "definition": "Chemakuan" + }, + { + "code": "1086-8", + "display": "Chemehuevi", + "definition": "Chemehuevi" + }, + { + "code": "1088-4", + "display": "Cherokee", + "definition": "Cherokee" + }, + { + "code": "1100-7", + "display": "Cherokee Shawnee", + "definition": "Cherokee Shawnee" + }, + { + "code": "1102-3", + "display": "Cheyenne", + "definition": "Cheyenne" + }, + { + "code": "1106-4", + "display": "Cheyenne-Arapaho", + "definition": "Cheyenne-Arapaho" + }, + { + "code": "1108-0", + "display": "Chickahominy", + "definition": "Chickahominy" + }, + { + "code": "1112-2", + "display": "Chickasaw", + "definition": "Chickasaw" + }, + { + "code": "1114-8", + "display": "Chinook", + "definition": "Chinook" + }, + { + "code": "1123-9", + "display": "Chippewa", + "definition": "Chippewa" + }, + { + "code": "1150-2", + "display": "Chippewa Cree", + "definition": "Chippewa Cree" + }, + { + "code": "1153-6", + "display": "Chitimacha", + "definition": "Chitimacha" + }, + { + "code": "1155-1", + "display": "Choctaw", + "definition": "Choctaw" + }, + { + "code": "1162-7", + "display": "Chumash", + "definition": "Chumash" + }, + { + "code": "1165-0", + "display": "Clear Lake", + "definition": "Clear Lake" + }, + { + "code": "1167-6", + "display": "Coeur D'Alene", + "definition": "Coeur D'Alene" + }, + { + "code": "1169-2", + "display": "Coharie", + "definition": "Coharie" + }, + { + "code": "1171-8", + "display": "Colorado River", + "definition": "Colorado River" + }, + { + "code": "1173-4", + "display": "Colville", + "definition": "Colville" + }, + { + "code": "1175-9", + "display": "Comanche", + "definition": "Comanche" + }, + { + "code": "1178-3", + "display": "Coos, Lower Umpqua, Siuslaw", + "definition": "Coos, Lower Umpqua, Siuslaw" + }, + { + "code": "1180-9", + "display": "Coos", + "definition": "Coos" + }, + { + "code": "1182-5", + "display": "Coquilles", + "definition": "Coquilles" + }, + { + "code": "1184-1", + "display": "Costanoan", + "definition": "Costanoan" + }, + { + "code": "1186-6", + "display": "Coushatta", + "definition": "Coushatta" + }, + { + "code": "1189-0", + "display": "Cowlitz", + "definition": "Cowlitz" + }, + { + "code": "1191-6", + "display": "Cree", + "definition": "Cree" + }, + { + "code": "1193-2", + "display": "Creek", + "definition": "Creek" + }, + { + "code": "1207-0", + "display": "Croatan", + "definition": "Croatan" + }, + { + "code": "1209-6", + "display": "Crow", + "definition": "Crow" + }, + { + "code": "1211-2", + "display": "Cupeno", + "definition": "Cupeno" + }, + { + "code": "1214-6", + "display": "Delaware", + "definition": "Delaware" + }, + { + "code": "1222-9", + "display": "Diegueno", + "definition": "Diegueno" + }, + { + "code": "1233-6", + "display": "Eastern Tribes", + "definition": "Eastern Tribes" + }, + { + "code": "1250-0", + "display": "Esselen", + "definition": "Esselen" + }, + { + "code": "1252-6", + "display": "Fort Belknap", + "definition": "Fort Belknap" + }, + { + "code": "1254-2", + "display": "Fort Berthold", + "definition": "Fort Berthold" + }, + { + "code": "1256-7", + "display": "Fort Mcdowell", + "definition": "Fort Mcdowell" + }, + { + "code": "1258-3", + "display": "Fort Hall", + "definition": "Fort Hall" + }, + { + "code": "1260-9", + "display": "Gabrieleno", + "definition": "Gabrieleno" + }, + { + "code": "1262-5", + "display": "Grand Ronde", + "definition": "Grand Ronde" + }, + { + "code": "1264-1", + "display": "Gros Ventres", + "definition": "Gros Ventres" + }, + { + "code": "1267-4", + "display": "Haliwa", + "definition": "Haliwa" + }, + { + "code": "1269-0", + "display": "Hidatsa", + "definition": "Hidatsa" + }, + { + "code": "1271-6", + "display": "Hoopa", + "definition": "Hoopa" + }, + { + "code": "1275-7", + "display": "Hoopa Extension", + "definition": "Hoopa Extension" + }, + { + "code": "1277-3", + "display": "Houma", + "definition": "Houma" + }, + { + "code": "1279-9", + "display": "Inaja-Cosmit", + "definition": "Inaja-Cosmit" + }, + { + "code": "1281-5", + "display": "Iowa", + "definition": "Iowa" + }, + { + "code": "1285-6", + "display": "Iroquois", + "definition": "Iroquois" + }, + { + "code": "1297-1", + "display": "Juaneno", + "definition": "Juaneno" + }, + { + "code": "1299-7", + "display": "Kalispel", + "definition": "Kalispel" + }, + { + "code": "1301-1", + "display": "Karuk", + "definition": "Karuk" + }, + { + "code": "1303-7", + "display": "Kaw", + "definition": "Kaw" + }, + { + "code": "1305-2", + "display": "Kickapoo", + "definition": "Kickapoo" + }, + { + "code": "1309-4", + "display": "Kiowa", + "definition": "Kiowa" + }, + { + "code": "1312-8", + "display": "Klallam", + "definition": "Klallam" + }, + { + "code": "1317-7", + "display": "Klamath", + "definition": "Klamath" + }, + { + "code": "1319-3", + "display": "Konkow", + "definition": "Konkow" + }, + { + "code": "1321-9", + "display": "Kootenai", + "definition": "Kootenai" + }, + { + "code": "1323-5", + "display": "Lassik", + "definition": "Lassik" + }, + { + "code": "1325-0", + "display": "Long Island", + "definition": "Long Island" + }, + { + "code": "1331-8", + "display": "Luiseno", + "definition": "Luiseno" + }, + { + "code": "1340-9", + "display": "Lumbee", + "definition": "Lumbee" + }, + { + "code": "1342-5", + "display": "Lummi", + "definition": "Lummi" + }, + { + "code": "1344-1", + "display": "Maidu", + "definition": "Maidu" + }, + { + "code": "1348-2", + "display": "Makah", + "definition": "Makah" + }, + { + "code": "1350-8", + "display": "Maliseet", + "definition": "Maliseet" + }, + { + "code": "1352-4", + "display": "Mandan", + "definition": "Mandan" + }, + { + "code": "1354-0", + "display": "Mattaponi", + "definition": "Mattaponi" + }, + { + "code": "1356-5", + "display": "Menominee", + "definition": "Menominee" + }, + { + "code": "1358-1", + "display": "Miami", + "definition": "Miami" + }, + { + "code": "1363-1", + "display": "Miccosukee", + "definition": "Miccosukee" + }, + { + "code": "1365-6", + "display": "Micmac", + "definition": "Micmac" + }, + { + "code": "1368-0", + "display": "Mission Indians", + "definition": "Mission Indians" + }, + { + "code": "1370-6", + "display": "Miwok", + "definition": "Miwok" + }, + { + "code": "1372-2", + "display": "Modoc", + "definition": "Modoc" + }, + { + "code": "1374-8", + "display": "Mohegan", + "definition": "Mohegan" + }, + { + "code": "1376-3", + "display": "Mono", + "definition": "Mono" + }, + { + "code": "1378-9", + "display": "Nanticoke", + "definition": "Nanticoke" + }, + { + "code": "1380-5", + "display": "Narragansett", + "definition": "Narragansett" + }, + { + "code": "1382-1", + "display": "Navajo", + "definition": "Navajo" + }, + { + "code": "1387-0", + "display": "Nez Perce", + "definition": "Nez Perce" + }, + { + "code": "1389-6", + "display": "Nomalaki", + "definition": "Nomalaki" + }, + { + "code": "1391-2", + "display": "Northwest Tribes", + "definition": "Northwest Tribes" + }, + { + "code": "1403-5", + "display": "Omaha", + "definition": "Omaha" + }, + { + "code": "1405-0", + "display": "Oregon Athabaskan", + "definition": "Oregon Athabaskan" + }, + { + "code": "1407-6", + "display": "Osage", + "definition": "Osage" + }, + { + "code": "1409-2", + "display": "Otoe-Missouria", + "definition": "Otoe-Missouria" + }, + { + "code": "1411-8", + "display": "Ottawa", + "definition": "Ottawa" + }, + { + "code": "1416-7", + "display": "Paiute", + "definition": "Paiute" + }, + { + "code": "1439-9", + "display": "Pamunkey", + "definition": "Pamunkey" + }, + { + "code": "1441-5", + "display": "Passamaquoddy", + "definition": "Passamaquoddy" + }, + { + "code": "1445-6", + "display": "Pawnee", + "definition": "Pawnee" + }, + { + "code": "1448-0", + "display": "Penobscot", + "definition": "Penobscot" + }, + { + "code": "1450-6", + "display": "Peoria", + "definition": "Peoria" + }, + { + "code": "1453-0", + "display": "Pequot", + "definition": "Pequot" + }, + { + "code": "1456-3", + "display": "Pima", + "definition": "Pima" + }, + { + "code": "1460-5", + "display": "Piscataway", + "definition": "Piscataway" + }, + { + "code": "1462-1", + "display": "Pit River", + "definition": "Pit River" + }, + { + "code": "1464-7", + "display": "Pomo", + "definition": "Pomo" + }, + { + "code": "1474-6", + "display": "Ponca", + "definition": "Ponca" + }, + { + "code": "1478-7", + "display": "Potawatomi", + "definition": "Potawatomi" + }, + { + "code": "1487-8", + "display": "Powhatan", + "definition": "Powhatan" + }, + { + "code": "1489-4", + "display": "Pueblo", + "definition": "Pueblo" + }, + { + "code": "1518-0", + "display": "Puget Sound Salish", + "definition": "Puget Sound Salish" + }, + { + "code": "1541-2", + "display": "Quapaw", + "definition": "Quapaw" + }, + { + "code": "1543-8", + "display": "Quinault", + "definition": "Quinault" + }, + { + "code": "1545-3", + "display": "Rappahannock", + "definition": "Rappahannock" + }, + { + "code": "1547-9", + "display": "Reno-Sparks", + "definition": "Reno-Sparks" + }, + { + "code": "1549-5", + "display": "Round Valley", + "definition": "Round Valley" + }, + { + "code": "1551-1", + "display": "Sac and Fox", + "definition": "Sac and Fox" + }, + { + "code": "1556-0", + "display": "Salinan", + "definition": "Salinan" + }, + { + "code": "1558-6", + "display": "Salish", + "definition": "Salish" + }, + { + "code": "1560-2", + "display": "Salish and Kootenai", + "definition": "Salish and Kootenai" + }, + { + "code": "1562-8", + "display": "Schaghticoke", + "definition": "Schaghticoke" + }, + { + "code": "1564-4", + "display": "Scott Valley", + "definition": "Scott Valley" + }, + { + "code": "1566-9", + "display": "Seminole", + "definition": "Seminole" + }, + { + "code": "1573-5", + "display": "Serrano", + "definition": "Serrano" + }, + { + "code": "1576-8", + "display": "Shasta", + "definition": "Shasta" + }, + { + "code": "1578-4", + "display": "Shawnee", + "definition": "Shawnee" + }, + { + "code": "1582-6", + "display": "Shinnecock", + "definition": "Shinnecock" + }, + { + "code": "1584-2", + "display": "Shoalwater Bay", + "definition": "Shoalwater Bay" + }, + { + "code": "1586-7", + "display": "Shoshone", + "definition": "Shoshone" + }, + { + "code": "1602-2", + "display": "Shoshone Paiute", + "definition": "Shoshone Paiute" + }, + { + "code": "1607-1", + "display": "Siletz", + "definition": "Siletz" + }, + { + "code": "1609-7", + "display": "Sioux", + "definition": "Sioux" + }, + { + "code": "1643-6", + "display": "Siuslaw", + "definition": "Siuslaw" + }, + { + "code": "1645-1", + "display": "Spokane", + "definition": "Spokane" + }, + { + "code": "1647-7", + "display": "Stewart", + "definition": "Stewart" + }, + { + "code": "1649-3", + "display": "Stockbridge", + "definition": "Stockbridge" + }, + { + "code": "1651-9", + "display": "Susanville", + "definition": "Susanville" + }, + { + "code": "1653-5", + "display": "Tohono O'Odham", + "definition": "Tohono O'Odham" + }, + { + "code": "1659-2", + "display": "Tolowa", + "definition": "Tolowa" + }, + { + "code": "1661-8", + "display": "Tonkawa", + "definition": "Tonkawa" + }, + { + "code": "1663-4", + "display": "Tygh", + "definition": "Tygh" + }, + { + "code": "1665-9", + "display": "Umatilla", + "definition": "Umatilla" + }, + { + "code": "1667-5", + "display": "Umpqua", + "definition": "Umpqua" + }, + { + "code": "1670-9", + "display": "Ute", + "definition": "Ute" + }, + { + "code": "1675-8", + "display": "Wailaki", + "definition": "Wailaki" + }, + { + "code": "1677-4", + "display": "Walla-Walla", + "definition": "Walla-Walla" + }, + { + "code": "1679-0", + "display": "Wampanoag", + "definition": "Wampanoag" + }, + { + "code": "1683-2", + "display": "Warm Springs", + "definition": "Warm Springs" + }, + { + "code": "1685-7", + "display": "Wascopum", + "definition": "Wascopum" + }, + { + "code": "1687-3", + "display": "Washoe", + "definition": "Washoe" + }, + { + "code": "1692-3", + "display": "Wichita", + "definition": "Wichita" + }, + { + "code": "1694-9", + "display": "Wind River", + "definition": "Wind River" + }, + { + "code": "1696-4", + "display": "Winnebago", + "definition": "Winnebago" + }, + { + "code": "1700-4", + "display": "Winnemucca", + "definition": "Winnemucca" + }, + { + "code": "1702-0", + "display": "Wintun", + "definition": "Wintun" + }, + { + "code": "1704-6", + "display": "Wiyot", + "definition": "Wiyot" + }, + { + "code": "1707-9", + "display": "Yakama", + "definition": "Yakama" + }, + { + "code": "1709-5", + "display": "Yakama Cowlitz", + "definition": "Yakama Cowlitz" + }, + { + "code": "1711-1", + "display": "Yaqui", + "definition": "Yaqui" + }, + { + "code": "1715-2", + "display": "Yavapai Apache", + "definition": "Yavapai Apache" + }, + { + "code": "1717-8", + "display": "Yokuts", + "definition": "Yokuts" + }, + { + "code": "1722-8", + "display": "Yuchi", + "definition": "Yuchi" + }, + { + "code": "1724-4", + "display": "Yuman", + "definition": "Yuman" + }, + { + "code": "1732-7", + "display": "Yurok", + "definition": "Yurok" + }, + { + "code": "1011-6", + "display": "Chiricahua", + "definition": "Chiricahua" + }, + { + "code": "1012-4", + "display": "Fort Sill Apache", + "definition": "Fort Sill Apache" + }, + { + "code": "1013-2", + "display": "Jicarilla Apache", + "definition": "Jicarilla Apache" + }, + { + "code": "1014-0", + "display": "Lipan Apache", + "definition": "Lipan Apache" + }, + { + "code": "1015-7", + "display": "Mescalero Apache", + "definition": "Mescalero Apache" + }, + { + "code": "1016-5", + "display": "Oklahoma Apache", + "definition": "Oklahoma Apache" + }, + { + "code": "1017-3", + "display": "Payson Apache", + "definition": "Payson Apache" + }, + { + "code": "1018-1", + "display": "San Carlos Apache", + "definition": "San Carlos Apache" + }, + { + "code": "1019-9", + "display": "White Mountain Apache", + "definition": "White Mountain Apache" + }, + { + "code": "1022-3", + "display": "Northern Arapaho", + "definition": "Northern Arapaho" + }, + { + "code": "1023-1", + "display": "Southern Arapaho", + "definition": "Southern Arapaho" + }, + { + "code": "1024-9", + "display": "Wind River Arapaho", + "definition": "Wind River Arapaho" + }, + { + "code": "1031-4", + "display": "Fort Peck Assiniboine Sioux", + "definition": "Fort Peck Assiniboine Sioux" + }, + { + "code": "1042-1", + "display": "Oklahoma Cado", + "definition": "Oklahoma Cado" + }, + { + "code": "1045-4", + "display": "Agua Caliente Cahuilla", + "definition": "Agua Caliente Cahuilla" + }, + { + "code": "1046-2", + "display": "Augustine", + "definition": "Augustine" + }, + { + "code": "1047-0", + "display": "Cabazon", + "definition": "Cabazon" + }, + { + "code": "1048-8", + "display": "Los Coyotes", + "definition": "Los Coyotes" + }, + { + "code": "1049-6", + "display": "Morongo", + "definition": "Morongo" + }, + { + "code": "1050-4", + "display": "Santa Rosa Cahuilla", + "definition": "Santa Rosa Cahuilla" + }, + { + "code": "1051-2", + "display": "Torres-Martinez", + "definition": "Torres-Martinez" + }, + { + "code": "1054-6", + "display": "Cahto", + "definition": "Cahto" + }, + { + "code": "1055-3", + "display": "Chimariko", + "definition": "Chimariko" + }, + { + "code": "1056-1", + "display": "Coast Miwok", + "definition": "Coast Miwok" + }, + { + "code": "1057-9", + "display": "Digger", + "definition": "Digger" + }, + { + "code": "1058-7", + "display": "Kawaiisu", + "definition": "Kawaiisu" + }, + { + "code": "1059-5", + "display": "Kern River", + "definition": "Kern River" + }, + { + "code": "1060-3", + "display": "Mattole", + "definition": "Mattole" + }, + { + "code": "1061-1", + "display": "Red Wood", + "definition": "Red Wood" + }, + { + "code": "1062-9", + "display": "Santa Rosa", + "definition": "Santa Rosa" + }, + { + "code": "1063-7", + "display": "Takelma", + "definition": "Takelma" + }, + { + "code": "1064-5", + "display": "Wappo", + "definition": "Wappo" + }, + { + "code": "1065-2", + "display": "Yana", + "definition": "Yana" + }, + { + "code": "1066-0", + "display": "Yuki", + "definition": "Yuki" + }, + { + "code": "1069-4", + "display": "Canadian Indian", + "definition": "Canadian Indian" + }, + { + "code": "1070-2", + "display": "Central American Indian", + "definition": "Central American Indian" + }, + { + "code": "1071-0", + "display": "French American Indian", + "definition": "French American Indian" + }, + { + "code": "1072-8", + "display": "Mexican American Indian", + "definition": "Mexican American Indian" + }, + { + "code": "1073-6", + "display": "South American Indian", + "definition": "South American Indian" + }, + { + "code": "1074-4", + "display": "Spanish American Indian", + "definition": "Spanish American Indian" + }, + { + "code": "1083-5", + "display": "Hoh", + "definition": "Hoh" + }, + { + "code": "1084-3", + "display": "Quileute", + "definition": "Quileute" + }, + { + "code": "1089-2", + "display": "Cherokee Alabama", + "definition": "Cherokee Alabama" + }, + { + "code": "1090-0", + "display": "Cherokees of Northeast Alabama", + "definition": "Cherokees of Northeast Alabama" + }, + { + "code": "1091-8", + "display": "Cherokees of Southeast Alabama", + "definition": "Cherokees of Southeast Alabama" + }, + { + "code": "1092-6", + "display": "Eastern Cherokee", + "definition": "Eastern Cherokee" + }, + { + "code": "1093-4", + "display": "Echota Cherokee", + "definition": "Echota Cherokee" + }, + { + "code": "1094-2", + "display": "Etowah Cherokee", + "definition": "Etowah Cherokee" + }, + { + "code": "1095-9", + "display": "Northern Cherokee", + "definition": "Northern Cherokee" + }, + { + "code": "1096-7", + "display": "Tuscola", + "definition": "Tuscola" + }, + { + "code": "1097-5", + "display": "United Keetowah Band of Cherokee", + "definition": "United Keetowah Band of Cherokee" + }, + { + "code": "1098-3", + "display": "Western Cherokee", + "definition": "Western Cherokee" + }, + { + "code": "1103-1", + "display": "Northern Cheyenne", + "definition": "Northern Cheyenne" + }, + { + "code": "1104-9", + "display": "Southern Cheyenne", + "definition": "Southern Cheyenne" + }, + { + "code": "1109-8", + "display": "Eastern Chickahominy", + "definition": "Eastern Chickahominy" + }, + { + "code": "1110-6", + "display": "Western Chickahominy", + "definition": "Western Chickahominy" + }, + { + "code": "1115-5", + "display": "Clatsop", + "definition": "Clatsop" + }, + { + "code": "1116-3", + "display": "Columbia River Chinook", + "definition": "Columbia River Chinook" + }, + { + "code": "1117-1", + "display": "Kathlamet", + "definition": "Kathlamet" + }, + { + "code": "1118-9", + "display": "Upper Chinook", + "definition": "Upper Chinook" + }, + { + "code": "1119-7", + "display": "Wakiakum Chinook", + "definition": "Wakiakum Chinook" + }, + { + "code": "1120-5", + "display": "Willapa Chinook", + "definition": "Willapa Chinook" + }, + { + "code": "1121-3", + "display": "Wishram", + "definition": "Wishram" + }, + { + "code": "1124-7", + "display": "Bad River", + "definition": "Bad River" + }, + { + "code": "1125-4", + "display": "Bay Mills Chippewa", + "definition": "Bay Mills Chippewa" + }, + { + "code": "1126-2", + "display": "Bois Forte", + "definition": "Bois Forte" + }, + { + "code": "1127-0", + "display": "Burt Lake Chippewa", + "definition": "Burt Lake Chippewa" + }, + { + "code": "1128-8", + "display": "Fond du Lac", + "definition": "Fond du Lac" + }, + { + "code": "1129-6", + "display": "Grand Portage", + "definition": "Grand Portage" + }, + { + "code": "1130-4", + "display": "Grand Traverse Band of Ottawa/Chippewa", + "definition": "Grand Traverse Band of Ottawa/Chippewa" + }, + { + "code": "1131-2", + "display": "Keweenaw", + "definition": "Keweenaw" + }, + { + "code": "1132-0", + "display": "Lac Courte Oreilles", + "definition": "Lac Courte Oreilles" + }, + { + "code": "1133-8", + "display": "Lac du Flambeau", + "definition": "Lac du Flambeau" + }, + { + "code": "1134-6", + "display": "Lac Vieux Desert Chippewa", + "definition": "Lac Vieux Desert Chippewa" + }, + { + "code": "1135-3", + "display": "Lake Superior", + "definition": "Lake Superior" + }, + { + "code": "1136-1", + "display": "Leech Lake", + "definition": "Leech Lake" + }, + { + "code": "1137-9", + "display": "Little Shell Chippewa", + "definition": "Little Shell Chippewa" + }, + { + "code": "1138-7", + "display": "Mille Lacs", + "definition": "Mille Lacs" + }, + { + "code": "1139-5", + "display": "Minnesota Chippewa", + "definition": "Minnesota Chippewa" + }, + { + "code": "1140-3", + "display": "Ontonagon", + "definition": "Ontonagon" + }, + { + "code": "1141-1", + "display": "Red Cliff Chippewa", + "definition": "Red Cliff Chippewa" + }, + { + "code": "1142-9", + "display": "Red Lake Chippewa", + "definition": "Red Lake Chippewa" + }, + { + "code": "1143-7", + "display": "Saginaw Chippewa", + "definition": "Saginaw Chippewa" + }, + { + "code": "1144-5", + "display": "St. Croix Chippewa", + "definition": "St. Croix Chippewa" + }, + { + "code": "1145-2", + "display": "Sault Ste. Marie Chippewa", + "definition": "Sault Ste. Marie Chippewa" + }, + { + "code": "1146-0", + "display": "Sokoagon Chippewa", + "definition": "Sokoagon Chippewa" + }, + { + "code": "1147-8", + "display": "Turtle Mountain", + "definition": "Turtle Mountain" + }, + { + "code": "1148-6", + "display": "White Earth", + "definition": "White Earth" + }, + { + "code": "1151-0", + "display": "Rocky Boy's Chippewa Cree", + "definition": "Rocky Boy's Chippewa Cree" + }, + { + "code": "1156-9", + "display": "Clifton Choctaw", + "definition": "Clifton Choctaw" + }, + { + "code": "1157-7", + "display": "Jena Choctaw", + "definition": "Jena Choctaw" + }, + { + "code": "1158-5", + "display": "Mississippi Choctaw", + "definition": "Mississippi Choctaw" + }, + { + "code": "1159-3", + "display": "Mowa Band of Choctaw", + "definition": "Mowa Band of Choctaw" + }, + { + "code": "1160-1", + "display": "Oklahoma Choctaw", + "definition": "Oklahoma Choctaw" + }, + { + "code": "1163-5", + "display": "Santa Ynez", + "definition": "Santa Ynez" + }, + { + "code": "1176-7", + "display": "Oklahoma Comanche", + "definition": "Oklahoma Comanche" + }, + { + "code": "1187-4", + "display": "Alabama Coushatta", + "definition": "Alabama Coushatta" + }, + { + "code": "1194-0", + "display": "Alabama Creek", + "definition": "Alabama Creek" + }, + { + "code": "1195-7", + "display": "Alabama Quassarte", + "definition": "Alabama Quassarte" + }, + { + "code": "1196-5", + "display": "Eastern Creek", + "definition": "Eastern Creek" + }, + { + "code": "1197-3", + "display": "Eastern Muscogee", + "definition": "Eastern Muscogee" + }, + { + "code": "1198-1", + "display": "Kialegee", + "definition": "Kialegee" + }, + { + "code": "1199-9", + "display": "Lower Muscogee", + "definition": "Lower Muscogee" + }, + { + "code": "1200-5", + "display": "Machis Lower Creek Indian", + "definition": "Machis Lower Creek Indian" + }, + { + "code": "1201-3", + "display": "Poarch Band", + "definition": "Poarch Band" + }, + { + "code": "1202-1", + "display": "Principal Creek Indian Nation", + "definition": "Principal Creek Indian Nation" + }, + { + "code": "1203-9", + "display": "Star Clan of Muscogee Creeks", + "definition": "Star Clan of Muscogee Creeks" + }, + { + "code": "1204-7", + "display": "Thlopthlocco", + "definition": "Thlopthlocco" + }, + { + "code": "1205-4", + "display": "Tuckabachee", + "definition": "Tuckabachee" + }, + { + "code": "1212-0", + "display": "Agua Caliente", + "definition": "Agua Caliente" + }, + { + "code": "1215-3", + "display": "Eastern Delaware", + "definition": "Eastern Delaware" + }, + { + "code": "1216-1", + "display": "Lenni-Lenape", + "definition": "Lenni-Lenape" + }, + { + "code": "1217-9", + "display": "Munsee", + "definition": "Munsee" + }, + { + "code": "1218-7", + "display": "Oklahoma Delaware", + "definition": "Oklahoma Delaware" + }, + { + "code": "1219-5", + "display": "Rampough Mountain", + "definition": "Rampough Mountain" + }, + { + "code": "1220-3", + "display": "Sand Hill", + "definition": "Sand Hill" + }, + { + "code": "1223-7", + "display": "Campo", + "definition": "Campo" + }, + { + "code": "1224-5", + "display": "Capitan Grande", + "definition": "Capitan Grande" + }, + { + "code": "1225-2", + "display": "Cuyapaipe", + "definition": "Cuyapaipe" + }, + { + "code": "1226-0", + "display": "La Posta", + "definition": "La Posta" + }, + { + "code": "1227-8", + "display": "Manzanita", + "definition": "Manzanita" + }, + { + "code": "1228-6", + "display": "Mesa Grande", + "definition": "Mesa Grande" + }, + { + "code": "1229-4", + "display": "San Pasqual", + "definition": "San Pasqual" + }, + { + "code": "1230-2", + "display": "Santa Ysabel", + "definition": "Santa Ysabel" + }, + { + "code": "1231-0", + "display": "Sycuan", + "definition": "Sycuan" + }, + { + "code": "1234-4", + "display": "Attacapa", + "definition": "Attacapa" + }, + { + "code": "1235-1", + "display": "Biloxi", + "definition": "Biloxi" + }, + { + "code": "1236-9", + "display": "Georgetown (Eastern Tribes)", + "definition": "Georgetown (Eastern Tribes)" + }, + { + "code": "1237-7", + "display": "Moor", + "definition": "Moor" + }, + { + "code": "1238-5", + "display": "Nansemond", + "definition": "Nansemond" + }, + { + "code": "1239-3", + "display": "Natchez", + "definition": "Natchez" + }, + { + "code": "1240-1", + "display": "Nausu Waiwash", + "definition": "Nausu Waiwash" + }, + { + "code": "1241-9", + "display": "Nipmuc", + "definition": "Nipmuc" + }, + { + "code": "1242-7", + "display": "Paugussett", + "definition": "Paugussett" + }, + { + "code": "1243-5", + "display": "Pocomoke Acohonock", + "definition": "Pocomoke Acohonock" + }, + { + "code": "1244-3", + "display": "Southeastern Indians", + "definition": "Southeastern Indians" + }, + { + "code": "1245-0", + "display": "Susquehanock", + "definition": "Susquehanock" + }, + { + "code": "1246-8", + "display": "Tunica Biloxi", + "definition": "Tunica Biloxi" + }, + { + "code": "1247-6", + "display": "Waccamaw-Siousan", + "definition": "Waccamaw-Siousan" + }, + { + "code": "1248-4", + "display": "Wicomico", + "definition": "Wicomico" + }, + { + "code": "1265-8", + "display": "Atsina", + "definition": "Atsina" + }, + { + "code": "1272-4", + "display": "Trinity", + "definition": "Trinity" + }, + { + "code": "1273-2", + "display": "Whilkut", + "definition": "Whilkut" + }, + { + "code": "1282-3", + "display": "Iowa of Kansas-Nebraska", + "definition": "Iowa of Kansas-Nebraska" + }, + { + "code": "1283-1", + "display": "Iowa of Oklahoma", + "definition": "Iowa of Oklahoma" + }, + { + "code": "1286-4", + "display": "Cayuga", + "definition": "Cayuga" + }, + { + "code": "1287-2", + "display": "Mohawk", + "definition": "Mohawk" + }, + { + "code": "1288-0", + "display": "Oneida", + "definition": "Oneida" + }, + { + "code": "1289-8", + "display": "Onondaga", + "definition": "Onondaga" + }, + { + "code": "1290-6", + "display": "Seneca", + "definition": "Seneca" + }, + { + "code": "1291-4", + "display": "Seneca Nation", + "definition": "Seneca Nation" + }, + { + "code": "1292-2", + "display": "Seneca-Cayuga", + "definition": "Seneca-Cayuga" + }, + { + "code": "1293-0", + "display": "Tonawanda Seneca", + "definition": "Tonawanda Seneca" + }, + { + "code": "1294-8", + "display": "Tuscarora", + "definition": "Tuscarora" + }, + { + "code": "1295-5", + "display": "Wyandotte", + "definition": "Wyandotte" + }, + { + "code": "1306-0", + "display": "Oklahoma Kickapoo", + "definition": "Oklahoma Kickapoo" + }, + { + "code": "1307-8", + "display": "Texas Kickapoo", + "definition": "Texas Kickapoo" + }, + { + "code": "1310-2", + "display": "Oklahoma Kiowa", + "definition": "Oklahoma Kiowa" + }, + { + "code": "1313-6", + "display": "Jamestown", + "definition": "Jamestown" + }, + { + "code": "1314-4", + "display": "Lower Elwha", + "definition": "Lower Elwha" + }, + { + "code": "1315-1", + "display": "Port Gamble Klallam", + "definition": "Port Gamble Klallam" + }, + { + "code": "1326-8", + "display": "Matinecock", + "definition": "Matinecock" + }, + { + "code": "1327-6", + "display": "Montauk", + "definition": "Montauk" + }, + { + "code": "1328-4", + "display": "Poospatuck", + "definition": "Poospatuck" + }, + { + "code": "1329-2", + "display": "Setauket", + "definition": "Setauket" + }, + { + "code": "1332-6", + "display": "La Jolla", + "definition": "La Jolla" + }, + { + "code": "1333-4", + "display": "Pala", + "definition": "Pala" + }, + { + "code": "1334-2", + "display": "Pauma", + "definition": "Pauma" + }, + { + "code": "1335-9", + "display": "Pechanga", + "definition": "Pechanga" + }, + { + "code": "1336-7", + "display": "Soboba", + "definition": "Soboba" + }, + { + "code": "1337-5", + "display": "Twenty-Nine Palms", + "definition": "Twenty-Nine Palms" + }, + { + "code": "1338-3", + "display": "Temecula", + "definition": "Temecula" + }, + { + "code": "1345-8", + "display": "Mountain Maidu", + "definition": "Mountain Maidu" + }, + { + "code": "1346-6", + "display": "Nishinam", + "definition": "Nishinam" + }, + { + "code": "1359-9", + "display": "Illinois Miami", + "definition": "Illinois Miami" + }, + { + "code": "1360-7", + "display": "Indiana Miami", + "definition": "Indiana Miami" + }, + { + "code": "1361-5", + "display": "Oklahoma Miami", + "definition": "Oklahoma Miami" + }, + { + "code": "1366-4", + "display": "Aroostook", + "definition": "Aroostook" + }, + { + "code": "1383-9", + "display": "Alamo Navajo", + "definition": "Alamo Navajo" + }, + { + "code": "1384-7", + "display": "Canoncito Navajo", + "definition": "Canoncito Navajo" + }, + { + "code": "1385-4", + "display": "Ramah Navajo", + "definition": "Ramah Navajo" + }, + { + "code": "1392-0", + "display": "Alsea", + "definition": "Alsea" + }, + { + "code": "1393-8", + "display": "Celilo", + "definition": "Celilo" + }, + { + "code": "1394-6", + "display": "Columbia", + "definition": "Columbia" + }, + { + "code": "1395-3", + "display": "Kalapuya", + "definition": "Kalapuya" + }, + { + "code": "1396-1", + "display": "Molala", + "definition": "Molala" + }, + { + "code": "1397-9", + "display": "Talakamish", + "definition": "Talakamish" + }, + { + "code": "1398-7", + "display": "Tenino", + "definition": "Tenino" + }, + { + "code": "1399-5", + "display": "Tillamook", + "definition": "Tillamook" + }, + { + "code": "1400-1", + "display": "Wenatchee", + "definition": "Wenatchee" + }, + { + "code": "1401-9", + "display": "Yahooskin", + "definition": "Yahooskin" + }, + { + "code": "1412-6", + "display": "Burt Lake Ottawa", + "definition": "Burt Lake Ottawa" + }, + { + "code": "1413-4", + "display": "Michigan Ottawa", + "definition": "Michigan Ottawa" + }, + { + "code": "1414-2", + "display": "Oklahoma Ottawa", + "definition": "Oklahoma Ottawa" + }, + { + "code": "1417-5", + "display": "Bishop", + "definition": "Bishop" + }, + { + "code": "1418-3", + "display": "Bridgeport", + "definition": "Bridgeport" + }, + { + "code": "1419-1", + "display": "Burns Paiute", + "definition": "Burns Paiute" + }, + { + "code": "1420-9", + "display": "Cedarville", + "definition": "Cedarville" + }, + { + "code": "1421-7", + "display": "Fort Bidwell", + "definition": "Fort Bidwell" + }, + { + "code": "1422-5", + "display": "Fort Independence", + "definition": "Fort Independence" + }, + { + "code": "1423-3", + "display": "Kaibab", + "definition": "Kaibab" + }, + { + "code": "1424-1", + "display": "Las Vegas", + "definition": "Las Vegas" + }, + { + "code": "1425-8", + "display": "Lone Pine", + "definition": "Lone Pine" + }, + { + "code": "1426-6", + "display": "Lovelock", + "definition": "Lovelock" + }, + { + "code": "1427-4", + "display": "Malheur Paiute", + "definition": "Malheur Paiute" + }, + { + "code": "1428-2", + "display": "Moapa", + "definition": "Moapa" + }, + { + "code": "1429-0", + "display": "Northern Paiute", + "definition": "Northern Paiute" + }, + { + "code": "1430-8", + "display": "Owens Valley", + "definition": "Owens Valley" + }, + { + "code": "1431-6", + "display": "Pyramid Lake", + "definition": "Pyramid Lake" + }, + { + "code": "1432-4", + "display": "San Juan Southern Paiute", + "definition": "San Juan Southern Paiute" + }, + { + "code": "1433-2", + "display": "Southern Paiute", + "definition": "Southern Paiute" + }, + { + "code": "1434-0", + "display": "Summit Lake", + "definition": "Summit Lake" + }, + { + "code": "1435-7", + "display": "Utu Utu Gwaitu Paiute", + "definition": "Utu Utu Gwaitu Paiute" + }, + { + "code": "1436-5", + "display": "Walker River", + "definition": "Walker River" + }, + { + "code": "1437-3", + "display": "Yerington Paiute", + "definition": "Yerington Paiute" + }, + { + "code": "1442-3", + "display": "Indian Township", + "definition": "Indian Township" + }, + { + "code": "1443-1", + "display": "Pleasant Point Passamaquoddy", + "definition": "Pleasant Point Passamaquoddy" + }, + { + "code": "1446-4", + "display": "Oklahoma Pawnee", + "definition": "Oklahoma Pawnee" + }, + { + "code": "1451-4", + "display": "Oklahoma Peoria", + "definition": "Oklahoma Peoria" + }, + { + "code": "1454-8", + "display": "Marshantucket Pequot", + "definition": "Marshantucket Pequot" + }, + { + "code": "1457-1", + "display": "Gila River Pima-Maricopa", + "definition": "Gila River Pima-Maricopa" + }, + { + "code": "1458-9", + "display": "Salt River Pima-Maricopa", + "definition": "Salt River Pima-Maricopa" + }, + { + "code": "1465-4", + "display": "Central Pomo", + "definition": "Central Pomo" + }, + { + "code": "1466-2", + "display": "Dry Creek", + "definition": "Dry Creek" + }, + { + "code": "1467-0", + "display": "Eastern Pomo", + "definition": "Eastern Pomo" + }, + { + "code": "1468-8", + "display": "Kashia", + "definition": "Kashia" + }, + { + "code": "1469-6", + "display": "Northern Pomo", + "definition": "Northern Pomo" + }, + { + "code": "1470-4", + "display": "Scotts Valley", + "definition": "Scotts Valley" + }, + { + "code": "1471-2", + "display": "Stonyford", + "definition": "Stonyford" + }, + { + "code": "1472-0", + "display": "Sulphur Bank", + "definition": "Sulphur Bank" + }, + { + "code": "1475-3", + "display": "Nebraska Ponca", + "definition": "Nebraska Ponca" + }, + { + "code": "1476-1", + "display": "Oklahoma Ponca", + "definition": "Oklahoma Ponca" + }, + { + "code": "1479-5", + "display": "Citizen Band Potawatomi", + "definition": "Citizen Band Potawatomi" + }, + { + "code": "1480-3", + "display": "Forest County", + "definition": "Forest County" + }, + { + "code": "1481-1", + "display": "Hannahville", + "definition": "Hannahville" + }, + { + "code": "1482-9", + "display": "Huron Potawatomi", + "definition": "Huron Potawatomi" + }, + { + "code": "1483-7", + "display": "Pokagon Potawatomi", + "definition": "Pokagon Potawatomi" + }, + { + "code": "1484-5", + "display": "Prairie Band", + "definition": "Prairie Band" + }, + { + "code": "1485-2", + "display": "Wisconsin Potawatomi", + "definition": "Wisconsin Potawatomi" + }, + { + "code": "1490-2", + "display": "Acoma", + "definition": "Acoma" + }, + { + "code": "1491-0", + "display": "Arizona Tewa", + "definition": "Arizona Tewa" + }, + { + "code": "1492-8", + "display": "Cochiti", + "definition": "Cochiti" + }, + { + "code": "1493-6", + "display": "Hopi", + "definition": "Hopi" + }, + { + "code": "1494-4", + "display": "Isleta", + "definition": "Isleta" + }, + { + "code": "1495-1", + "display": "Jemez", + "definition": "Jemez" + }, + { + "code": "1496-9", + "display": "Keres", + "definition": "Keres" + }, + { + "code": "1497-7", + "display": "Laguna", + "definition": "Laguna" + }, + { + "code": "1498-5", + "display": "Nambe", + "definition": "Nambe" + }, + { + "code": "1499-3", + "display": "Picuris", + "definition": "Picuris" + }, + { + "code": "1500-8", + "display": "Piro", + "definition": "Piro" + }, + { + "code": "1501-6", + "display": "Pojoaque", + "definition": "Pojoaque" + }, + { + "code": "1502-4", + "display": "San Felipe", + "definition": "San Felipe" + }, + { + "code": "1503-2", + "display": "San Ildefonso", + "definition": "San Ildefonso" + }, + { + "code": "1504-0", + "display": "San Juan Pueblo", + "definition": "San Juan Pueblo" + }, + { + "code": "1505-7", + "display": "San Juan De", + "definition": "San Juan De" + }, + { + "code": "1506-5", + "display": "San Juan", + "definition": "San Juan" + }, + { + "code": "1507-3", + "display": "Sandia", + "definition": "Sandia" + }, + { + "code": "1508-1", + "display": "Santa Ana", + "definition": "Santa Ana" + }, + { + "code": "1509-9", + "display": "Santa Clara", + "definition": "Santa Clara" + }, + { + "code": "1510-7", + "display": "Santo Domingo", + "definition": "Santo Domingo" + }, + { + "code": "1511-5", + "display": "Taos", + "definition": "Taos" + }, + { + "code": "1512-3", + "display": "Tesuque", + "definition": "Tesuque" + }, + { + "code": "1513-1", + "display": "Tewa", + "definition": "Tewa" + }, + { + "code": "1514-9", + "display": "Tigua", + "definition": "Tigua" + }, + { + "code": "1515-6", + "display": "Zia", + "definition": "Zia" + }, + { + "code": "1516-4", + "display": "Zuni", + "definition": "Zuni" + }, + { + "code": "1519-8", + "display": "Duwamish", + "definition": "Duwamish" + }, + { + "code": "1520-6", + "display": "Kikiallus", + "definition": "Kikiallus" + }, + { + "code": "1521-4", + "display": "Lower Skagit", + "definition": "Lower Skagit" + }, + { + "code": "1522-2", + "display": "Muckleshoot", + "definition": "Muckleshoot" + }, + { + "code": "1523-0", + "display": "Nisqually", + "definition": "Nisqually" + }, + { + "code": "1524-8", + "display": "Nooksack", + "definition": "Nooksack" + }, + { + "code": "1525-5", + "display": "Port Madison", + "definition": "Port Madison" + }, + { + "code": "1526-3", + "display": "Puyallup", + "definition": "Puyallup" + }, + { + "code": "1527-1", + "display": "Samish", + "definition": "Samish" + }, + { + "code": "1528-9", + "display": "Sauk-Suiattle", + "definition": "Sauk-Suiattle" + }, + { + "code": "1529-7", + "display": "Skokomish", + "definition": "Skokomish" + }, + { + "code": "1530-5", + "display": "Skykomish", + "definition": "Skykomish" + }, + { + "code": "1531-3", + "display": "Snohomish", + "definition": "Snohomish" + }, + { + "code": "1532-1", + "display": "Snoqualmie", + "definition": "Snoqualmie" + }, + { + "code": "1533-9", + "display": "Squaxin Island", + "definition": "Squaxin Island" + }, + { + "code": "1534-7", + "display": "Steilacoom", + "definition": "Steilacoom" + }, + { + "code": "1535-4", + "display": "Stillaguamish", + "definition": "Stillaguamish" + }, + { + "code": "1536-2", + "display": "Suquamish", + "definition": "Suquamish" + }, + { + "code": "1537-0", + "display": "Swinomish", + "definition": "Swinomish" + }, + { + "code": "1538-8", + "display": "Tulalip", + "definition": "Tulalip" + }, + { + "code": "1539-6", + "display": "Upper Skagit", + "definition": "Upper Skagit" + }, + { + "code": "1552-9", + "display": "Iowa Sac and Fox", + "definition": "Iowa Sac and Fox" + }, + { + "code": "1553-7", + "display": "Missouri Sac and Fox", + "definition": "Missouri Sac and Fox" + }, + { + "code": "1554-5", + "display": "Oklahoma Sac and Fox", + "definition": "Oklahoma Sac and Fox" + }, + { + "code": "1567-7", + "display": "Big Cypress", + "definition": "Big Cypress" + }, + { + "code": "1568-5", + "display": "Brighton", + "definition": "Brighton" + }, + { + "code": "1569-3", + "display": "Florida Seminole", + "definition": "Florida Seminole" + }, + { + "code": "1570-1", + "display": "Hollywood Seminole", + "definition": "Hollywood Seminole" + }, + { + "code": "1571-9", + "display": "Oklahoma Seminole", + "definition": "Oklahoma Seminole" + }, + { + "code": "1574-3", + "display": "San Manual", + "definition": "San Manual" + }, + { + "code": "1579-2", + "display": "Absentee Shawnee", + "definition": "Absentee Shawnee" + }, + { + "code": "1580-0", + "display": "Eastern Shawnee", + "definition": "Eastern Shawnee" + }, + { + "code": "1587-5", + "display": "Battle Mountain", + "definition": "Battle Mountain" + }, + { + "code": "1588-3", + "display": "Duckwater", + "definition": "Duckwater" + }, + { + "code": "1589-1", + "display": "Elko", + "definition": "Elko" + }, + { + "code": "1590-9", + "display": "Ely", + "definition": "Ely" + }, + { + "code": "1591-7", + "display": "Goshute", + "definition": "Goshute" + }, + { + "code": "1592-5", + "display": "Panamint", + "definition": "Panamint" + }, + { + "code": "1593-3", + "display": "Ruby Valley", + "definition": "Ruby Valley" + }, + { + "code": "1594-1", + "display": "Skull Valley", + "definition": "Skull Valley" + }, + { + "code": "1595-8", + "display": "South Fork Shoshone", + "definition": "South Fork Shoshone" + }, + { + "code": "1596-6", + "display": "Te-Moak Western Shoshone", + "definition": "Te-Moak Western Shoshone" + }, + { + "code": "1597-4", + "display": "Timbi-Sha Shoshone", + "definition": "Timbi-Sha Shoshone" + }, + { + "code": "1598-2", + "display": "Washakie", + "definition": "Washakie" + }, + { + "code": "1599-0", + "display": "Wind River Shoshone", + "definition": "Wind River Shoshone" + }, + { + "code": "1600-6", + "display": "Yomba", + "definition": "Yomba" + }, + { + "code": "1603-0", + "display": "Duck Valley", + "definition": "Duck Valley" + }, + { + "code": "1604-8", + "display": "Fallon", + "definition": "Fallon" + }, + { + "code": "1605-5", + "display": "Fort McDermitt", + "definition": "Fort McDermitt" + }, + { + "code": "1610-5", + "display": "Blackfoot Sioux", + "definition": "Blackfoot Sioux" + }, + { + "code": "1611-3", + "display": "Brule Sioux", + "definition": "Brule Sioux" + }, + { + "code": "1612-1", + "display": "Cheyenne River Sioux", + "definition": "Cheyenne River Sioux" + }, + { + "code": "1613-9", + "display": "Crow Creek Sioux", + "definition": "Crow Creek Sioux" + }, + { + "code": "1614-7", + "display": "Dakota Sioux", + "definition": "Dakota Sioux" + }, + { + "code": "1615-4", + "display": "Flandreau Santee", + "definition": "Flandreau Santee" + }, + { + "code": "1616-2", + "display": "Fort Peck", + "definition": "Fort Peck" + }, + { + "code": "1617-0", + "display": "Lake Traverse Sioux", + "definition": "Lake Traverse Sioux" + }, + { + "code": "1618-8", + "display": "Lower Brule Sioux", + "definition": "Lower Brule Sioux" + }, + { + "code": "1619-6", + "display": "Lower Sioux", + "definition": "Lower Sioux" + }, + { + "code": "1620-4", + "display": "Mdewakanton Sioux", + "definition": "Mdewakanton Sioux" + }, + { + "code": "1621-2", + "display": "Miniconjou", + "definition": "Miniconjou" + }, + { + "code": "1622-0", + "display": "Oglala Sioux", + "definition": "Oglala Sioux" + }, + { + "code": "1623-8", + "display": "Pine Ridge Sioux", + "definition": "Pine Ridge Sioux" + }, + { + "code": "1624-6", + "display": "Pipestone Sioux", + "definition": "Pipestone Sioux" + }, + { + "code": "1625-3", + "display": "Prairie Island Sioux", + "definition": "Prairie Island Sioux" + }, + { + "code": "1626-1", + "display": "Prior Lake Sioux", + "definition": "Prior Lake Sioux" + }, + { + "code": "1627-9", + "display": "Rosebud Sioux", + "definition": "Rosebud Sioux" + }, + { + "code": "1628-7", + "display": "Sans Arc Sioux", + "definition": "Sans Arc Sioux" + }, + { + "code": "1629-5", + "display": "Santee Sioux", + "definition": "Santee Sioux" + }, + { + "code": "1630-3", + "display": "Sisseton-Wahpeton", + "definition": "Sisseton-Wahpeton" + }, + { + "code": "1631-1", + "display": "Sisseton Sioux", + "definition": "Sisseton Sioux" + }, + { + "code": "1632-9", + "display": "Spirit Lake Sioux", + "definition": "Spirit Lake Sioux" + }, + { + "code": "1633-7", + "display": "Standing Rock Sioux", + "definition": "Standing Rock Sioux" + }, + { + "code": "1634-5", + "display": "Teton Sioux", + "definition": "Teton Sioux" + }, + { + "code": "1635-2", + "display": "Two Kettle Sioux", + "definition": "Two Kettle Sioux" + }, + { + "code": "1636-0", + "display": "Upper Sioux", + "definition": "Upper Sioux" + }, + { + "code": "1637-8", + "display": "Wahpekute Sioux", + "definition": "Wahpekute Sioux" + }, + { + "code": "1638-6", + "display": "Wahpeton Sioux", + "definition": "Wahpeton Sioux" + }, + { + "code": "1639-4", + "display": "Wazhaza Sioux", + "definition": "Wazhaza Sioux" + }, + { + "code": "1640-2", + "display": "Yankton Sioux", + "definition": "Yankton Sioux" + }, + { + "code": "1641-0", + "display": "Yanktonai Sioux", + "definition": "Yanktonai Sioux" + }, + { + "code": "1654-3", + "display": "Ak-Chin", + "definition": "Ak-Chin" + }, + { + "code": "1655-0", + "display": "Gila Bend", + "definition": "Gila Bend" + }, + { + "code": "1656-8", + "display": "San Xavier", + "definition": "San Xavier" + }, + { + "code": "1657-6", + "display": "Sells", + "definition": "Sells" + }, + { + "code": "1668-3", + "display": "Cow Creek Umpqua", + "definition": "Cow Creek Umpqua" + }, + { + "code": "1671-7", + "display": "Allen Canyon", + "definition": "Allen Canyon" + }, + { + "code": "1672-5", + "display": "Uintah Ute", + "definition": "Uintah Ute" + }, + { + "code": "1673-3", + "display": "Ute Mountain Ute", + "definition": "Ute Mountain Ute" + }, + { + "code": "1680-8", + "display": "Gay Head Wampanoag", + "definition": "Gay Head Wampanoag" + }, + { + "code": "1681-6", + "display": "Mashpee Wampanoag", + "definition": "Mashpee Wampanoag" + }, + { + "code": "1688-1", + "display": "Alpine", + "definition": "Alpine" + }, + { + "code": "1689-9", + "display": "Carson", + "definition": "Carson" + }, + { + "code": "1690-7", + "display": "Dresslerville", + "definition": "Dresslerville" + }, + { + "code": "1697-2", + "display": "Ho-chunk", + "definition": "Ho-chunk" + }, + { + "code": "1698-0", + "display": "Nebraska Winnebago", + "definition": "Nebraska Winnebago" + }, + { + "code": "1705-3", + "display": "Table Bluff", + "definition": "Table Bluff" + }, + { + "code": "1712-9", + "display": "Barrio Libre", + "definition": "Barrio Libre" + }, + { + "code": "1713-7", + "display": "Pascua Yaqui", + "definition": "Pascua Yaqui" + }, + { + "code": "1718-6", + "display": "Chukchansi", + "definition": "Chukchansi" + }, + { + "code": "1719-4", + "display": "Tachi", + "definition": "Tachi" + }, + { + "code": "1720-2", + "display": "Tule River", + "definition": "Tule River" + }, + { + "code": "1725-1", + "display": "Cocopah", + "definition": "Cocopah" + }, + { + "code": "1726-9", + "display": "Havasupai", + "definition": "Havasupai" + }, + { + "code": "1727-7", + "display": "Hualapai", + "definition": "Hualapai" + }, + { + "code": "1728-5", + "display": "Maricopa", + "definition": "Maricopa" + }, + { + "code": "1729-3", + "display": "Mohave", + "definition": "Mohave" + }, + { + "code": "1730-1", + "display": "Quechan", + "definition": "Quechan" + }, + { + "code": "1731-9", + "display": "Yavapai", + "definition": "Yavapai" + }, + { + "code": "1733-5", + "display": "Coast Yurok", + "definition": "Coast Yurok" + }, + { + "code": "1737-6", + "display": "Alaska Indian", + "definition": "Alaska Indian" + }, + { + "code": "1840-8", + "display": "Eskimo", + "definition": "Eskimo" + }, + { + "code": "1966-1", + "display": "Aleut", + "definition": "Aleut" + }, + { + "code": "1739-2", + "display": "Alaskan Athabascan", + "definition": "Alaskan Athabascan" + }, + { + "code": "1811-9", + "display": "Southeast Alaska", + "definition": "Southeast Alaska" + }, + { + "code": "1740-0", + "display": "Ahtna", + "definition": "Ahtna" + }, + { + "code": "1741-8", + "display": "Alatna", + "definition": "Alatna" + }, + { + "code": "1742-6", + "display": "Alexander", + "definition": "Alexander" + }, + { + "code": "1743-4", + "display": "Allakaket", + "definition": "Allakaket" + }, + { + "code": "1744-2", + "display": "Alanvik", + "definition": "Alanvik" + }, + { + "code": "1745-9", + "display": "Anvik", + "definition": "Anvik" + }, + { + "code": "1746-7", + "display": "Arctic", + "definition": "Arctic" + }, + { + "code": "1747-5", + "display": "Beaver", + "definition": "Beaver" + }, + { + "code": "1748-3", + "display": "Birch Creek", + "definition": "Birch Creek" + }, + { + "code": "1749-1", + "display": "Cantwell", + "definition": "Cantwell" + }, + { + "code": "1750-9", + "display": "Chalkyitsik", + "definition": "Chalkyitsik" + }, + { + "code": "1751-7", + "display": "Chickaloon", + "definition": "Chickaloon" + }, + { + "code": "1752-5", + "display": "Chistochina", + "definition": "Chistochina" + }, + { + "code": "1753-3", + "display": "Chitina", + "definition": "Chitina" + }, + { + "code": "1754-1", + "display": "Circle", + "definition": "Circle" + }, + { + "code": "1755-8", + "display": "Cook Inlet", + "definition": "Cook Inlet" + }, + { + "code": "1756-6", + "display": "Copper Center", + "definition": "Copper Center" + }, + { + "code": "1757-4", + "display": "Copper River", + "definition": "Copper River" + }, + { + "code": "1758-2", + "display": "Dot Lake", + "definition": "Dot Lake" + }, + { + "code": "1759-0", + "display": "Doyon", + "definition": "Doyon" + }, + { + "code": "1760-8", + "display": "Eagle", + "definition": "Eagle" + }, + { + "code": "1761-6", + "display": "Eklutna", + "definition": "Eklutna" + }, + { + "code": "1762-4", + "display": "Evansville", + "definition": "Evansville" + }, + { + "code": "1763-2", + "display": "Fort Yukon", + "definition": "Fort Yukon" + }, + { + "code": "1764-0", + "display": "Gakona", + "definition": "Gakona" + }, + { + "code": "1765-7", + "display": "Galena", + "definition": "Galena" + }, + { + "code": "1766-5", + "display": "Grayling", + "definition": "Grayling" + }, + { + "code": "1767-3", + "display": "Gulkana", + "definition": "Gulkana" + }, + { + "code": "1768-1", + "display": "Healy Lake", + "definition": "Healy Lake" + }, + { + "code": "1769-9", + "display": "Holy Cross", + "definition": "Holy Cross" + }, + { + "code": "1770-7", + "display": "Hughes", + "definition": "Hughes" + }, + { + "code": "1771-5", + "display": "Huslia", + "definition": "Huslia" + }, + { + "code": "1772-3", + "display": "Iliamna", + "definition": "Iliamna" + }, + { + "code": "1773-1", + "display": "Kaltag", + "definition": "Kaltag" + }, + { + "code": "1774-9", + "display": "Kluti Kaah", + "definition": "Kluti Kaah" + }, + { + "code": "1775-6", + "display": "Knik", + "definition": "Knik" + }, + { + "code": "1776-4", + "display": "Koyukuk", + "definition": "Koyukuk" + }, + { + "code": "1777-2", + "display": "Lake Minchumina", + "definition": "Lake Minchumina" + }, + { + "code": "1778-0", + "display": "Lime", + "definition": "Lime" + }, + { + "code": "1779-8", + "display": "Mcgrath", + "definition": "Mcgrath" + }, + { + "code": "1780-6", + "display": "Manley Hot Springs", + "definition": "Manley Hot Springs" + }, + { + "code": "1781-4", + "display": "Mentasta Lake", + "definition": "Mentasta Lake" + }, + { + "code": "1782-2", + "display": "Minto", + "definition": "Minto" + }, + { + "code": "1783-0", + "display": "Nenana", + "definition": "Nenana" + }, + { + "code": "1784-8", + "display": "Nikolai", + "definition": "Nikolai" + }, + { + "code": "1785-5", + "display": "Ninilchik", + "definition": "Ninilchik" + }, + { + "code": "1786-3", + "display": "Nondalton", + "definition": "Nondalton" + }, + { + "code": "1787-1", + "display": "Northway", + "definition": "Northway" + }, + { + "code": "1788-9", + "display": "Nulato", + "definition": "Nulato" + }, + { + "code": "1789-7", + "display": "Pedro Bay", + "definition": "Pedro Bay" + }, + { + "code": "1790-5", + "display": "Rampart", + "definition": "Rampart" + }, + { + "code": "1791-3", + "display": "Ruby", + "definition": "Ruby" + }, + { + "code": "1792-1", + "display": "Salamatof", + "definition": "Salamatof" + }, + { + "code": "1793-9", + "display": "Seldovia", + "definition": "Seldovia" + }, + { + "code": "1794-7", + "display": "Slana", + "definition": "Slana" + }, + { + "code": "1795-4", + "display": "Shageluk", + "definition": "Shageluk" + }, + { + "code": "1796-2", + "display": "Stevens", + "definition": "Stevens" + }, + { + "code": "1797-0", + "display": "Stony River", + "definition": "Stony River" + }, + { + "code": "1798-8", + "display": "Takotna", + "definition": "Takotna" + }, + { + "code": "1799-6", + "display": "Tanacross", + "definition": "Tanacross" + }, + { + "code": "1800-2", + "display": "Tanaina", + "definition": "Tanaina" + }, + { + "code": "1801-0", + "display": "Tanana", + "definition": "Tanana" + }, + { + "code": "1802-8", + "display": "Tanana Chiefs", + "definition": "Tanana Chiefs" + }, + { + "code": "1803-6", + "display": "Tazlina", + "definition": "Tazlina" + }, + { + "code": "1804-4", + "display": "Telida", + "definition": "Telida" + }, + { + "code": "1805-1", + "display": "Tetlin", + "definition": "Tetlin" + }, + { + "code": "1806-9", + "display": "Tok", + "definition": "Tok" + }, + { + "code": "1807-7", + "display": "Tyonek", + "definition": "Tyonek" + }, + { + "code": "1808-5", + "display": "Venetie", + "definition": "Venetie" + }, + { + "code": "1809-3", + "display": "Wiseman", + "definition": "Wiseman" + }, + { + "code": "1813-5", + "display": "Tlingit-Haida", + "definition": "Tlingit-Haida" + }, + { + "code": "1837-4", + "display": "Tsimshian", + "definition": "Tsimshian" + }, + { + "code": "1814-3", + "display": "Angoon", + "definition": "Angoon" + }, + { + "code": "1815-0", + "display": "Central Council of Tlingit and Haida Tribes", + "definition": "Central Council of Tlingit and Haida Tribes" + }, + { + "code": "1816-8", + "display": "Chilkat", + "definition": "Chilkat" + }, + { + "code": "1817-6", + "display": "Chilkoot", + "definition": "Chilkoot" + }, + { + "code": "1818-4", + "display": "Craig", + "definition": "Craig" + }, + { + "code": "1819-2", + "display": "Douglas", + "definition": "Douglas" + }, + { + "code": "1820-0", + "display": "Haida", + "definition": "Haida" + }, + { + "code": "1821-8", + "display": "Hoonah", + "definition": "Hoonah" + }, + { + "code": "1822-6", + "display": "Hydaburg", + "definition": "Hydaburg" + }, + { + "code": "1823-4", + "display": "Kake", + "definition": "Kake" + }, + { + "code": "1824-2", + "display": "Kasaan", + "definition": "Kasaan" + }, + { + "code": "1825-9", + "display": "Kenaitze", + "definition": "Kenaitze" + }, + { + "code": "1826-7", + "display": "Ketchikan", + "definition": "Ketchikan" + }, + { + "code": "1827-5", + "display": "Klawock", + "definition": "Klawock" + }, + { + "code": "1828-3", + "display": "Pelican", + "definition": "Pelican" + }, + { + "code": "1829-1", + "display": "Petersburg", + "definition": "Petersburg" + }, + { + "code": "1830-9", + "display": "Saxman", + "definition": "Saxman" + }, + { + "code": "1831-7", + "display": "Sitka", + "definition": "Sitka" + }, + { + "code": "1832-5", + "display": "Tenakee Springs", + "definition": "Tenakee Springs" + }, + { + "code": "1833-3", + "display": "Tlingit", + "definition": "Tlingit" + }, + { + "code": "1834-1", + "display": "Wrangell", + "definition": "Wrangell" + }, + { + "code": "1835-8", + "display": "Yakutat", + "definition": "Yakutat" + }, + { + "code": "1838-2", + "display": "Metlakatla", + "definition": "Metlakatla" + }, + { + "code": "1842-4", + "display": "Greenland Eskimo", + "definition": "Greenland Eskimo" + }, + { + "code": "1844-0", + "display": "Inupiat Eskimo", + "definition": "Inupiat Eskimo" + }, + { + "code": "1891-1", + "display": "Siberian Eskimo", + "definition": "Siberian Eskimo" + }, + { + "code": "1896-0", + "display": "Yupik Eskimo", + "definition": "Yupik Eskimo" + }, + { + "code": "1845-7", + "display": "Ambler", + "definition": "Ambler" + }, + { + "code": "1846-5", + "display": "Anaktuvuk", + "definition": "Anaktuvuk" + }, + { + "code": "1847-3", + "display": "Anaktuvuk Pass", + "definition": "Anaktuvuk Pass" + }, + { + "code": "1848-1", + "display": "Arctic Slope Inupiat", + "definition": "Arctic Slope Inupiat" + }, + { + "code": "1849-9", + "display": "Arctic Slope Corporation", + "definition": "Arctic Slope Corporation" + }, + { + "code": "1850-7", + "display": "Atqasuk", + "definition": "Atqasuk" + }, + { + "code": "1851-5", + "display": "Barrow", + "definition": "Barrow" + }, + { + "code": "1852-3", + "display": "Bering Straits Inupiat", + "definition": "Bering Straits Inupiat" + }, + { + "code": "1853-1", + "display": "Brevig Mission", + "definition": "Brevig Mission" + }, + { + "code": "1854-9", + "display": "Buckland", + "definition": "Buckland" + }, + { + "code": "1855-6", + "display": "Chinik", + "definition": "Chinik" + }, + { + "code": "1856-4", + "display": "Council", + "definition": "Council" + }, + { + "code": "1857-2", + "display": "Deering", + "definition": "Deering" + }, + { + "code": "1858-0", + "display": "Elim", + "definition": "Elim" + }, + { + "code": "1859-8", + "display": "Golovin", + "definition": "Golovin" + }, + { + "code": "1860-6", + "display": "Inalik Diomede", + "definition": "Inalik Diomede" + }, + { + "code": "1861-4", + "display": "Inupiaq", + "definition": "Inupiaq" + }, + { + "code": "1862-2", + "display": "Kaktovik", + "definition": "Kaktovik" + }, + { + "code": "1863-0", + "display": "Kawerak", + "definition": "Kawerak" + }, + { + "code": "1864-8", + "display": "Kiana", + "definition": "Kiana" + }, + { + "code": "1865-5", + "display": "Kivalina", + "definition": "Kivalina" + }, + { + "code": "1866-3", + "display": "Kobuk", + "definition": "Kobuk" + }, + { + "code": "1867-1", + "display": "Kotzebue", + "definition": "Kotzebue" + }, + { + "code": "1868-9", + "display": "Koyuk", + "definition": "Koyuk" + }, + { + "code": "1869-7", + "display": "Kwiguk", + "definition": "Kwiguk" + }, + { + "code": "1870-5", + "display": "Mauneluk Inupiat", + "definition": "Mauneluk Inupiat" + }, + { + "code": "1871-3", + "display": "Nana Inupiat", + "definition": "Nana Inupiat" + }, + { + "code": "1872-1", + "display": "Noatak", + "definition": "Noatak" + }, + { + "code": "1873-9", + "display": "Nome", + "definition": "Nome" + }, + { + "code": "1874-7", + "display": "Noorvik", + "definition": "Noorvik" + }, + { + "code": "1875-4", + "display": "Nuiqsut", + "definition": "Nuiqsut" + }, + { + "code": "1876-2", + "display": "Point Hope", + "definition": "Point Hope" + }, + { + "code": "1877-0", + "display": "Point Lay", + "definition": "Point Lay" + }, + { + "code": "1878-8", + "display": "Selawik", + "definition": "Selawik" + }, + { + "code": "1879-6", + "display": "Shaktoolik", + "definition": "Shaktoolik" + }, + { + "code": "1880-4", + "display": "Shishmaref", + "definition": "Shishmaref" + }, + { + "code": "1881-2", + "display": "Shungnak", + "definition": "Shungnak" + }, + { + "code": "1882-0", + "display": "Solomon", + "definition": "Solomon" + }, + { + "code": "1883-8", + "display": "Teller", + "definition": "Teller" + }, + { + "code": "1884-6", + "display": "Unalakleet", + "definition": "Unalakleet" + }, + { + "code": "1885-3", + "display": "Wainwright", + "definition": "Wainwright" + }, + { + "code": "1886-1", + "display": "Wales", + "definition": "Wales" + }, + { + "code": "1887-9", + "display": "White Mountain", + "definition": "White Mountain" + }, + { + "code": "1888-7", + "display": "White Mountain Inupiat", + "definition": "White Mountain Inupiat" + }, + { + "code": "1889-5", + "display": "Mary's Igloo", + "definition": "Mary's Igloo" + }, + { + "code": "1892-9", + "display": "Gambell", + "definition": "Gambell" + }, + { + "code": "1893-7", + "display": "Savoonga", + "definition": "Savoonga" + }, + { + "code": "1894-5", + "display": "Siberian Yupik", + "definition": "Siberian Yupik" + }, + { + "code": "1897-8", + "display": "Akiachak", + "definition": "Akiachak" + }, + { + "code": "1898-6", + "display": "Akiak", + "definition": "Akiak" + }, + { + "code": "1899-4", + "display": "Alakanuk", + "definition": "Alakanuk" + }, + { + "code": "1900-0", + "display": "Aleknagik", + "definition": "Aleknagik" + }, + { + "code": "1901-8", + "display": "Andreafsky", + "definition": "Andreafsky" + }, + { + "code": "1902-6", + "display": "Aniak", + "definition": "Aniak" + }, + { + "code": "1903-4", + "display": "Atmautluak", + "definition": "Atmautluak" + }, + { + "code": "1904-2", + "display": "Bethel", + "definition": "Bethel" + }, + { + "code": "1905-9", + "display": "Bill Moore's Slough", + "definition": "Bill Moore's Slough" + }, + { + "code": "1906-7", + "display": "Bristol Bay Yupik", + "definition": "Bristol Bay Yupik" + }, + { + "code": "1907-5", + "display": "Calista Yupik", + "definition": "Calista Yupik" + }, + { + "code": "1908-3", + "display": "Chefornak", + "definition": "Chefornak" + }, + { + "code": "1909-1", + "display": "Chevak", + "definition": "Chevak" + }, + { + "code": "1910-9", + "display": "Chuathbaluk", + "definition": "Chuathbaluk" + }, + { + "code": "1911-7", + "display": "Clark's Point", + "definition": "Clark's Point" + }, + { + "code": "1912-5", + "display": "Crooked Creek", + "definition": "Crooked Creek" + }, + { + "code": "1913-3", + "display": "Dillingham", + "definition": "Dillingham" + }, + { + "code": "1914-1", + "display": "Eek", + "definition": "Eek" + }, + { + "code": "1915-8", + "display": "Ekuk", + "definition": "Ekuk" + }, + { + "code": "1916-6", + "display": "Ekwok", + "definition": "Ekwok" + }, + { + "code": "1917-4", + "display": "Emmonak", + "definition": "Emmonak" + }, + { + "code": "1918-2", + "display": "Goodnews Bay", + "definition": "Goodnews Bay" + }, + { + "code": "1919-0", + "display": "Hooper Bay", + "definition": "Hooper Bay" + }, + { + "code": "1920-8", + "display": "Iqurmuit (Russian Mission)", + "definition": "Iqurmuit (Russian Mission)" + }, + { + "code": "1921-6", + "display": "Kalskag", + "definition": "Kalskag" + }, + { + "code": "1922-4", + "display": "Kasigluk", + "definition": "Kasigluk" + }, + { + "code": "1923-2", + "display": "Kipnuk", + "definition": "Kipnuk" + }, + { + "code": "1924-0", + "display": "Koliganek", + "definition": "Koliganek" + }, + { + "code": "1925-7", + "display": "Kongiganak", + "definition": "Kongiganak" + }, + { + "code": "1926-5", + "display": "Kotlik", + "definition": "Kotlik" + }, + { + "code": "1927-3", + "display": "Kwethluk", + "definition": "Kwethluk" + }, + { + "code": "1928-1", + "display": "Kwigillingok", + "definition": "Kwigillingok" + }, + { + "code": "1929-9", + "display": "Levelock", + "definition": "Levelock" + }, + { + "code": "1930-7", + "display": "Lower Kalskag", + "definition": "Lower Kalskag" + }, + { + "code": "1931-5", + "display": "Manokotak", + "definition": "Manokotak" + }, + { + "code": "1932-3", + "display": "Marshall", + "definition": "Marshall" + }, + { + "code": "1933-1", + "display": "Mekoryuk", + "definition": "Mekoryuk" + }, + { + "code": "1934-9", + "display": "Mountain Village", + "definition": "Mountain Village" + }, + { + "code": "1935-6", + "display": "Naknek", + "definition": "Naknek" + }, + { + "code": "1936-4", + "display": "Napaumute", + "definition": "Napaumute" + }, + { + "code": "1937-2", + "display": "Napakiak", + "definition": "Napakiak" + }, + { + "code": "1938-0", + "display": "Napaskiak", + "definition": "Napaskiak" + }, + { + "code": "1939-8", + "display": "Newhalen", + "definition": "Newhalen" + }, + { + "code": "1940-6", + "display": "New Stuyahok", + "definition": "New Stuyahok" + }, + { + "code": "1941-4", + "display": "Newtok", + "definition": "Newtok" + }, + { + "code": "1942-2", + "display": "Nightmute", + "definition": "Nightmute" + }, + { + "code": "1943-0", + "display": "Nunapitchukv", + "definition": "Nunapitchukv" + }, + { + "code": "1944-8", + "display": "Oscarville", + "definition": "Oscarville" + }, + { + "code": "1945-5", + "display": "Pilot Station", + "definition": "Pilot Station" + }, + { + "code": "1946-3", + "display": "Pitkas Point", + "definition": "Pitkas Point" + }, + { + "code": "1947-1", + "display": "Platinum", + "definition": "Platinum" + }, + { + "code": "1948-9", + "display": "Portage Creek", + "definition": "Portage Creek" + }, + { + "code": "1949-7", + "display": "Quinhagak", + "definition": "Quinhagak" + }, + { + "code": "1950-5", + "display": "Red Devil", + "definition": "Red Devil" + }, + { + "code": "1951-3", + "display": "St. Michael", + "definition": "St. Michael" + }, + { + "code": "1952-1", + "display": "Scammon Bay", + "definition": "Scammon Bay" + }, + { + "code": "1953-9", + "display": "Sheldon's Point", + "definition": "Sheldon's Point" + }, + { + "code": "1954-7", + "display": "Sleetmute", + "definition": "Sleetmute" + }, + { + "code": "1955-4", + "display": "Stebbins", + "definition": "Stebbins" + }, + { + "code": "1956-2", + "display": "Togiak", + "definition": "Togiak" + }, + { + "code": "1957-0", + "display": "Toksook", + "definition": "Toksook" + }, + { + "code": "1958-8", + "display": "Tulukskak", + "definition": "Tulukskak" + }, + { + "code": "1959-6", + "display": "Tuntutuliak", + "definition": "Tuntutuliak" + }, + { + "code": "1960-4", + "display": "Tununak", + "definition": "Tununak" + }, + { + "code": "1961-2", + "display": "Twin Hills", + "definition": "Twin Hills" + }, + { + "code": "1962-0", + "display": "Georgetown (Yupik-Eskimo)", + "definition": "Georgetown (Yupik-Eskimo)" + }, + { + "code": "1963-8", + "display": "St. Mary's", + "definition": "St. Mary's" + }, + { + "code": "1964-6", + "display": "Umkumiate", + "definition": "Umkumiate" + }, + { + "code": "1968-7", + "display": "Alutiiq Aleut", + "definition": "Alutiiq Aleut" + }, + { + "code": "1972-9", + "display": "Bristol Bay Aleut", + "definition": "Bristol Bay Aleut" + }, + { + "code": "1984-4", + "display": "Chugach Aleut", + "definition": "Chugach Aleut" + }, + { + "code": "1990-1", + "display": "Eyak", + "definition": "Eyak" + }, + { + "code": "1992-7", + "display": "Koniag Aleut", + "definition": "Koniag Aleut" + }, + { + "code": "2002-4", + "display": "Sugpiaq", + "definition": "Sugpiaq" + }, + { + "code": "2004-0", + "display": "Suqpigaq", + "definition": "Suqpigaq" + }, + { + "code": "2006-5", + "display": "Unangan Aleut", + "definition": "Unangan Aleut" + }, + { + "code": "1969-5", + "display": "Tatitlek", + "definition": "Tatitlek" + }, + { + "code": "1970-3", + "display": "Ugashik", + "definition": "Ugashik" + }, + { + "code": "1973-7", + "display": "Chignik", + "definition": "Chignik" + }, + { + "code": "1974-5", + "display": "Chignik Lake", + "definition": "Chignik Lake" + }, + { + "code": "1975-2", + "display": "Egegik", + "definition": "Egegik" + }, + { + "code": "1976-0", + "display": "Igiugig", + "definition": "Igiugig" + }, + { + "code": "1977-8", + "display": "Ivanof Bay", + "definition": "Ivanof Bay" + }, + { + "code": "1978-6", + "display": "King Salmon", + "definition": "King Salmon" + }, + { + "code": "1979-4", + "display": "Kokhanok", + "definition": "Kokhanok" + }, + { + "code": "1980-2", + "display": "Perryville", + "definition": "Perryville" + }, + { + "code": "1981-0", + "display": "Pilot Point", + "definition": "Pilot Point" + }, + { + "code": "1982-8", + "display": "Port Heiden", + "definition": "Port Heiden" + }, + { + "code": "1985-1", + "display": "Chenega", + "definition": "Chenega" + }, + { + "code": "1986-9", + "display": "Chugach Corporation", + "definition": "Chugach Corporation" + }, + { + "code": "1987-7", + "display": "English Bay", + "definition": "English Bay" + }, + { + "code": "1988-5", + "display": "Port Graham", + "definition": "Port Graham" + }, + { + "code": "1993-5", + "display": "Akhiok", + "definition": "Akhiok" + }, + { + "code": "1994-3", + "display": "Agdaagux", + "definition": "Agdaagux" + }, + { + "code": "1995-0", + "display": "Karluk", + "definition": "Karluk" + }, + { + "code": "1996-8", + "display": "Kodiak", + "definition": "Kodiak" + }, + { + "code": "1997-6", + "display": "Larsen Bay", + "definition": "Larsen Bay" + }, + { + "code": "1998-4", + "display": "Old Harbor", + "definition": "Old Harbor" + }, + { + "code": "1999-2", + "display": "Ouzinkie", + "definition": "Ouzinkie" + }, + { + "code": "2000-8", + "display": "Port Lions", + "definition": "Port Lions" + }, + { + "code": "2007-3", + "display": "Akutan", + "definition": "Akutan" + }, + { + "code": "2008-1", + "display": "Aleut Corporation", + "definition": "Aleut Corporation" + }, + { + "code": "2009-9", + "display": "Aleutian", + "definition": "Aleutian" + }, + { + "code": "2010-7", + "display": "Aleutian Islander", + "definition": "Aleutian Islander" + }, + { + "code": "2011-5", + "display": "Atka", + "definition": "Atka" + }, + { + "code": "2012-3", + "display": "Belkofski", + "definition": "Belkofski" + }, + { + "code": "2013-1", + "display": "Chignik Lagoon", + "definition": "Chignik Lagoon" + }, + { + "code": "2014-9", + "display": "King Cove", + "definition": "King Cove" + }, + { + "code": "2015-6", + "display": "False Pass", + "definition": "False Pass" + }, + { + "code": "2016-4", + "display": "Nelson Lagoon", + "definition": "Nelson Lagoon" + }, + { + "code": "2017-2", + "display": "Nikolski", + "definition": "Nikolski" + }, + { + "code": "2018-0", + "display": "Pauloff Harbor", + "definition": "Pauloff Harbor" + }, + { + "code": "2019-8", + "display": "Qagan Toyagungin", + "definition": "Qagan Toyagungin" + }, + { + "code": "2020-6", + "display": "Qawalangin", + "definition": "Qawalangin" + }, + { + "code": "2021-4", + "display": "St. George", + "definition": "St. George" + }, + { + "code": "2022-2", + "display": "St. Paul", + "definition": "St. Paul" + }, + { + "code": "2023-0", + "display": "Sand Point", + "definition": "Sand Point" + }, + { + "code": "2024-8", + "display": "South Naknek", + "definition": "South Naknek" + }, + { + "code": "2025-5", + "display": "Unalaska", + "definition": "Unalaska" + }, + { + "code": "2026-3", + "display": "Unga", + "definition": "Unga" + } + ] + }, + { + "code": "2028-9", + "display": "Asian", + "definition": "Asian", + "concept": [ + { + "code": "2029-7", + "display": "Asian Indian", + "definition": "Asian Indian" + }, + { + "code": "2030-5", + "display": "Bangladeshi", + "definition": "Bangladeshi" + }, + { + "code": "2031-3", + "display": "Bhutanese", + "definition": "Bhutanese" + }, + { + "code": "2032-1", + "display": "Burmese", + "definition": "Burmese" + }, + { + "code": "2033-9", + "display": "Cambodian", + "definition": "Cambodian" + }, + { + "code": "2034-7", + "display": "Chinese", + "definition": "Chinese" + }, + { + "code": "2035-4", + "display": "Taiwanese", + "definition": "Taiwanese" + }, + { + "code": "2036-2", + "display": "Filipino", + "definition": "Filipino" + }, + { + "code": "2037-0", + "display": "Hmong", + "definition": "Hmong" + }, + { + "code": "2038-8", + "display": "Indonesian", + "definition": "Indonesian" + }, + { + "code": "2039-6", + "display": "Japanese", + "definition": "Japanese" + }, + { + "code": "2040-4", + "display": "Korean", + "definition": "Korean" + }, + { + "code": "2041-2", + "display": "Laotian", + "definition": "Laotian" + }, + { + "code": "2042-0", + "display": "Malaysian", + "definition": "Malaysian" + }, + { + "code": "2043-8", + "display": "Okinawan", + "definition": "Okinawan" + }, + { + "code": "2044-6", + "display": "Pakistani", + "definition": "Pakistani" + }, + { + "code": "2045-3", + "display": "Sri Lankan", + "definition": "Sri Lankan" + }, + { + "code": "2046-1", + "display": "Thai", + "definition": "Thai" + }, + { + "code": "2047-9", + "display": "Vietnamese", + "definition": "Vietnamese" + }, + { + "code": "2048-7", + "display": "Iwo Jiman", + "definition": "Iwo Jiman" + }, + { + "code": "2049-5", + "display": "Maldivian", + "definition": "Maldivian" + }, + { + "code": "2050-3", + "display": "Nepalese", + "definition": "Nepalese" + }, + { + "code": "2051-1", + "display": "Singaporean", + "definition": "Singaporean" + }, + { + "code": "2052-9", + "display": "Madagascar", + "definition": "Madagascar" + } + ] + }, + { + "code": "2054-5", + "display": "Black or African American", + "definition": "Black or African American", + "concept": [ + { + "code": "2056-0", + "display": "Black", + "definition": "Black" + }, + { + "code": "2058-6", + "display": "African American", + "definition": "African American" + }, + { + "code": "2060-2", + "display": "African", + "definition": "African" + }, + { + "code": "2067-7", + "display": "Bahamian", + "definition": "Bahamian" + }, + { + "code": "2068-5", + "display": "Barbadian", + "definition": "Barbadian" + }, + { + "code": "2069-3", + "display": "Dominican", + "definition": "Dominican" + }, + { + "code": "2070-1", + "display": "Dominica Islander", + "definition": "Dominica Islander" + }, + { + "code": "2071-9", + "display": "Haitian", + "definition": "Haitian" + }, + { + "code": "2072-7", + "display": "Jamaican", + "definition": "Jamaican" + }, + { + "code": "2073-5", + "display": "Tobagoan", + "definition": "Tobagoan" + }, + { + "code": "2074-3", + "display": "Trinidadian", + "definition": "Trinidadian" + }, + { + "code": "2075-0", + "display": "West Indian", + "definition": "West Indian" + }, + { + "code": "2061-0", + "display": "Botswanan", + "definition": "Botswanan" + }, + { + "code": "2062-8", + "display": "Ethiopian", + "definition": "Ethiopian" + }, + { + "code": "2063-6", + "display": "Liberian", + "definition": "Liberian" + }, + { + "code": "2064-4", + "display": "Namibian", + "definition": "Namibian" + }, + { + "code": "2065-1", + "display": "Nigerian", + "definition": "Nigerian" + }, + { + "code": "2066-9", + "display": "Zairean", + "definition": "Zairean" + } + ] + }, + { + "code": "2076-8", + "display": "Native Hawaiian or Other Pacific Islander", + "definition": "Native Hawaiian or Other Pacific Islander", + "concept": [ + { + "code": "2078-4", + "display": "Polynesian", + "definition": "Polynesian" + }, + { + "code": "2085-9", + "display": "Micronesian", + "definition": "Micronesian" + }, + { + "code": "2100-6", + "display": "Melanesian", + "definition": "Melanesian" + }, + { + "code": "2500-7", + "display": "Other Pacific Islander", + "definition": "Other Pacific Islander" + }, + { + "code": "2079-2", + "display": "Native Hawaiian", + "definition": "Native Hawaiian" + }, + { + "code": "2080-0", + "display": "Samoan", + "definition": "Samoan" + }, + { + "code": "2081-8", + "display": "Tahitian", + "definition": "Tahitian" + }, + { + "code": "2082-6", + "display": "Tongan", + "definition": "Tongan" + }, + { + "code": "2083-4", + "display": "Tokelauan", + "definition": "Tokelauan" + }, + { + "code": "2086-7", + "display": "Guamanian or Chamorro", + "definition": "Guamanian or Chamorro" + }, + { + "code": "2087-5", + "display": "Guamanian", + "definition": "Guamanian" + }, + { + "code": "2088-3", + "display": "Chamorro", + "definition": "Chamorro" + }, + { + "code": "2089-1", + "display": "Mariana Islander", + "definition": "Mariana Islander" + }, + { + "code": "2090-9", + "display": "Marshallese", + "definition": "Marshallese" + }, + { + "code": "2091-7", + "display": "Palauan", + "definition": "Palauan" + }, + { + "code": "2092-5", + "display": "Carolinian", + "definition": "Carolinian" + }, + { + "code": "2093-3", + "display": "Kosraean", + "definition": "Kosraean" + }, + { + "code": "2094-1", + "display": "Pohnpeian", + "definition": "Pohnpeian" + }, + { + "code": "2095-8", + "display": "Saipanese", + "definition": "Saipanese" + }, + { + "code": "2096-6", + "display": "Kiribati", + "definition": "Kiribati" + }, + { + "code": "2097-4", + "display": "Chuukese", + "definition": "Chuukese" + }, + { + "code": "2098-2", + "display": "Yapese", + "definition": "Yapese" + }, + { + "code": "2101-4", + "display": "Fijian", + "definition": "Fijian" + }, + { + "code": "2102-2", + "display": "Papua New Guinean", + "definition": "Papua New Guinean" + }, + { + "code": "2103-0", + "display": "Solomon Islander", + "definition": "Solomon Islander" + }, + { + "code": "2104-8", + "display": "New Hebrides", + "definition": "New Hebrides" + } + ] + }, + { + "code": "2106-3", + "display": "White", + "definition": "White", + "concept": [ + { + "code": "2108-9", + "display": "European", + "definition": "European" + }, + { + "code": "2118-8", + "display": "Middle Eastern or North African", + "definition": "Middle Eastern or North African" + }, + { + "code": "2129-5", + "display": "Arab", + "definition": "Arab" + }, + { + "code": "2109-7", + "display": "Armenian", + "definition": "Armenian" + }, + { + "code": "2110-5", + "display": "English", + "definition": "English" + }, + { + "code": "2111-3", + "display": "French", + "definition": "French" + }, + { + "code": "2112-1", + "display": "German", + "definition": "German" + }, + { + "code": "2113-9", + "display": "Irish", + "definition": "Irish" + }, + { + "code": "2114-7", + "display": "Italian", + "definition": "Italian" + }, + { + "code": "2115-4", + "display": "Polish", + "definition": "Polish" + }, + { + "code": "2116-2", + "display": "Scottish", + "definition": "Scottish" + }, + { + "code": "2119-6", + "display": "Assyrian", + "definition": "Assyrian" + }, + { + "code": "2120-4", + "display": "Egyptian", + "definition": "Egyptian" + }, + { + "code": "2121-2", + "display": "Iranian", + "definition": "Iranian" + }, + { + "code": "2122-0", + "display": "Iraqi", + "definition": "Iraqi" + }, + { + "code": "2123-8", + "display": "Lebanese", + "definition": "Lebanese" + }, + { + "code": "2124-6", + "display": "Palestinian", + "definition": "Palestinian" + }, + { + "code": "2125-3", + "display": "Syrian", + "definition": "Syrian" + }, + { + "code": "2126-1", + "display": "Afghanistani", + "definition": "Afghanistani" + }, + { + "code": "2127-9", + "display": "Israeili", + "definition": "Israeili" + } + ] + }, + { + "code": "2131-1", + "display": "Other Race", + "definition": "Note that this term remains in the table for completeness, even though within HL7, the notion of Other code is deprecated." + } + ] + }, + { + "code": "2133-7", + "display": "Ethnicity", + "definition": "Ethnicity Note that this is an abstract 'grouping' concept and not for use as a real concept", + "property": [ + { + "code": "abstract", + "valueBoolean": true + } + ], + "concept": [ + { + "code": "2135-2", + "display": "Hispanic or Latino", + "definition": "Hispanic or Latino", + "concept": [ + { + "code": "2137-8", + "display": "Spaniard", + "definition": "Spaniard" + }, + { + "code": "2148-5", + "display": "Mexican", + "definition": "Mexican" + }, + { + "code": "2155-0", + "display": "Central American", + "definition": "Central American" + }, + { + "code": "2165-9", + "display": "South American", + "definition": "South American" + }, + { + "code": "2178-2", + "display": "Latin American", + "definition": "Latin American" + }, + { + "code": "2180-8", + "display": "Puerto Rican", + "definition": "Puerto Rican" + }, + { + "code": "2182-4", + "display": "Cuban", + "definition": "Cuban" + }, + { + "code": "2184-0", + "display": "Dominican", + "definition": "Dominican" + }, + { + "code": "2138-6", + "display": "Andalusian", + "definition": "Andalusian" + }, + { + "code": "2139-4", + "display": "Asturian", + "definition": "Asturian" + }, + { + "code": "2140-2", + "display": "Castillian", + "definition": "Castillian" + }, + { + "code": "2141-0", + "display": "Catalonian", + "definition": "Catalonian" + }, + { + "code": "2142-8", + "display": "Belearic Islander", + "definition": "Belearic Islander" + }, + { + "code": "2143-6", + "display": "Gallego", + "definition": "Gallego" + }, + { + "code": "2144-4", + "display": "Valencian", + "definition": "Valencian" + }, + { + "code": "2145-1", + "display": "Canarian", + "definition": "Canarian" + }, + { + "code": "2146-9", + "display": "Spanish Basque", + "definition": "Spanish Basque" + }, + { + "code": "2149-3", + "display": "Mexican American", + "definition": "Mexican American" + }, + { + "code": "2150-1", + "display": "Mexicano", + "definition": "Mexicano" + }, + { + "code": "2151-9", + "display": "Chicano", + "definition": "Chicano" + }, + { + "code": "2152-7", + "display": "La Raza", + "definition": "La Raza" + }, + { + "code": "2153-5", + "display": "Mexican American Indian", + "definition": "Mexican American Indian" + }, + { + "code": "2156-8", + "display": "Costa Rican", + "definition": "Costa Rican" + }, + { + "code": "2157-6", + "display": "Guatemalan", + "definition": "Guatemalan" + }, + { + "code": "2158-4", + "display": "Honduran", + "definition": "Honduran" + }, + { + "code": "2159-2", + "display": "Nicaraguan", + "definition": "Nicaraguan" + }, + { + "code": "2160-0", + "display": "Panamanian", + "definition": "Panamanian" + }, + { + "code": "2161-8", + "display": "Salvadoran", + "definition": "Salvadoran" + }, + { + "code": "2162-6", + "display": "Central American Indian", + "definition": "Central American Indian" + }, + { + "code": "2163-4", + "display": "Canal Zone", + "definition": "Canal Zone" + }, + { + "code": "2166-7", + "display": "Argentinean", + "definition": "Argentinean" + }, + { + "code": "2167-5", + "display": "Bolivian", + "definition": "Bolivian" + }, + { + "code": "2168-3", + "display": "Chilean", + "definition": "Chilean" + }, + { + "code": "2169-1", + "display": "Colombian", + "definition": "Colombian" + }, + { + "code": "2170-9", + "display": "Ecuadorian", + "definition": "Ecuadorian" + }, + { + "code": "2171-7", + "display": "Paraguayan", + "definition": "Paraguayan" + }, + { + "code": "2172-5", + "display": "Peruvian", + "definition": "Peruvian" + }, + { + "code": "2173-3", + "display": "Uruguayan", + "definition": "Uruguayan" + }, + { + "code": "2174-1", + "display": "Venezuelan", + "definition": "Venezuelan" + }, + { + "code": "2175-8", + "display": "South American Indian", + "definition": "South American Indian" + }, + { + "code": "2176-6", + "display": "Criollo", + "definition": "Criollo" + } + ] + }, + { + "code": "2186-5", + "display": "Not Hispanic or Latino", + "definition": "Note that this term remains in the table for completeness, even though within HL7, the notion of \"not otherwise coded\" term is deprecated." + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CodeSystem-condition-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CodeSystem-condition-category.json new file mode 100644 index 00000000000..987707ea5dc --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CodeSystem-condition-category.json @@ -0,0 +1,76 @@ +{ + "resourceType": "CodeSystem", + "id": "condition-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "version": "4.0.0", + "name": "USCoreConditionCategoryExtensionCodes", + "title": "US Core Condition Category Extension Codes", + "status": "active", + "date": "2021-06-28T19:10:06+00:00", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Set of codes that are needed for implementation of the US-Core Condition Profile. These codes are used as extensions to the FHIR and US Core value sets.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "caseSensitive": true, + "content": "complete", + "property": [ + { + "code": "status", + "uri": "http://hl7.org/fhir/concept-properties#status", + "description": "A property that indicates the status of the concept. One of active, experimental, deprecated, retired", + "type": "code" + } + ], + "concept": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby", + "valueCoding": { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + } + ], + "code": "problem", + "display": "Problem", + "definition": "The patients problems as identified by the provider(s). Items on the provider’s problem list", + "property": [ + { + "code": "status", + "valueCode": "deprecated" + } + ] + }, + { + "code": "health-concern", + "display": "Health Concern", + "definition": "Additional health concerns from other stakeholders which are outside the provider’s problem list." + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CodeSystem-us-core-documentreference-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CodeSystem-us-core-documentreference-category.json new file mode 100644 index 00000000000..50964f4a01e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CodeSystem-us-core-documentreference-category.json @@ -0,0 +1,49 @@ +{ + "resourceType": "CodeSystem", + "id": "us-core-documentreference-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "version": "4.0.0", + "name": "USCoreDocumentReferencesCategoryCodes", + "title": "US Core DocumentReferences Category Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The US Core DocumentReferences Type Code System is a 'starter set' of categories supported for fetching and storing DocumentReference Resources.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "caseSensitive": true, + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category", + "content": "complete", + "count": 2, + "concept": [ + { + "code": "clinical-note", + "display": "Clinical Note", + "definition": "Part of health record where healthcare professionals record details to document a patient's clinical status or achievements during the course of a hospitalization or over the course of outpatient care ([Wikipedia](https://en.wikipedia.org/wiki/Progress_note))" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CodeSystem-us-core-provenance-participant-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CodeSystem-us-core-provenance-participant-type.json new file mode 100644 index 00000000000..0d8a4741868 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/CodeSystem-us-core-provenance-participant-type.json @@ -0,0 +1,47 @@ +{ + "resourceType": "CodeSystem", + "id": "us-core-provenance-participant-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", + "version": "4.0.0", + "name": "USCoreProvenancePaticipantTypeExtensionCodes", + "title": "US Core Provenance Participant Type Extension Codes", + "status": "active", + "date": "2021-06-28T19:10:06+00:00", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Set of codes that are needed for implementation of the US-Core Provenance Profile. These codes are used as extensions to the FHIR value sets.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "transmitter", + "display": "Transmitter", + "definition": "The entity that provided the copy to your system." + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ImplementationGuide-hl7.fhir.us.core.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ImplementationGuide-hl7.fhir.us.core.json new file mode 100644 index 00000000000..42b1657a339 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ImplementationGuide-hl7.fhir.us.core.json @@ -0,0 +1,3832 @@ +{ + "resourceType": "ImplementationGuide", + "id": "hl7.fhir.us.core", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core", + "version": "4.0.0", + "name": "USCore", + "title": "US Core Implementation Guide", + "status": "active", + "date": "2021-06-16", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The US Core Implementation Guide is based on FHIR Version R4 and defines the minimum conformance requirements for accessing patient data. The Argonaut pilot implementations, ONC 2015 Edition Common Clinical Data Set (CCDS), and ONC U.S. Core Data for Interoperability (USCDI) v1 provided the requirements for this guide. The prior Argonaut search and vocabulary requirements, based on FHIR DSTU2, are updated in this guide to support FHIR Version R4. This guide was used as the basis for further testing and guidance by the Argonaut Project Team to provide additional content and guidance specific to Data Query Access for purpose of ONC Certification testing. These profiles are the foundation for future US Realm FHIR implementation guides. In addition to Argonaut, they are used by DAF-Research, QI-Core, and CIMI. Under the guidance of HL7 and the HL7 US Realm Steering Committee, the content will expand in future versions to meet the needs specific to the US Realm.\nThese requirements were originally developed, balloted, and published in FHIR DSTU2 as part of the Office of the National Coordinator for Health Information Technology (ONC) sponsored Data Access Framework (DAF) project. For more information on how DAF became US Core see the US Core change notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "packageId": "hl7.fhir.us.core", + "license": "CC0-1.0", + "fhirVersion": [ + "4.0.1" + ], + "dependsOn": [ + { + "id": "hl7_fhir_uv_bulkdata", + "uri": "http://hl7.org/fhir/uv/bulkdata/ImplementationGuide/hl7.fhir.uv.bulkdata", + "packageId": "hl7.fhir.uv.bulkdata", + "version": "1.0.1" + }, + { + "id": "vsac", + "uri": "http://fhir.org/packages/us.nlm.vsac/ImplementationGuide/us.nlm.vsac", + "packageId": "us.nlm.vsac", + "version": "0.3.0" + } + ], + "definition": { + "extension": [ + { + "extension": [ + { + "url": "code", + "valueString": "copyrightyear" + }, + { + "url": "value", + "valueString": "2021+" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "releaselabel" + }, + { + "url": "value", + "valueString": "STU4 Release" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "path-expansion-params" + }, + { + "url": "value", + "valueString": "../../input/_resources/exp-params.json" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "active-tables" + }, + { + "url": "value", + "valueString": "false" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "apply-contact" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "apply-jurisdiction" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "apply-publisher" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "apply-version" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "show-inherited-invariants" + }, + { + "url": "value", + "valueString": "false" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "usage-stats-opt-out" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "excludexml" + }, + { + "url": "value", + "valueString": "false" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "excludejsn" + }, + { + "url": "value", + "valueString": "false" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "excludettl" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "excludemap" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "excludeexample" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "generate" + }, + { + "url": "value", + "valueString": "xml" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "generate" + }, + { + "url": "value", + "valueString": "json" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "path-history" + }, + { + "url": "value", + "valueString": "http://hl7.org/fhir/us/core/history.html" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "autoload-resources" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "path-liquid" + }, + { + "url": "value", + "valueString": "template/liquid" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "path-liquid" + }, + { + "url": "value", + "valueString": "input/liquid" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "path-qa" + }, + { + "url": "value", + "valueString": "temp/qa" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "path-temp" + }, + { + "url": "value", + "valueString": "temp/pages" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "path-output" + }, + { + "url": "value", + "valueString": "output" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "path-suppressed-warnings" + }, + { + "url": "value", + "valueString": "input/ignoreWarnings.txt" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "template-html" + }, + { + "url": "value", + "valueString": "template-page.html" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "template-md" + }, + { + "url": "value", + "valueString": "template-page-md.html" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "apply-context" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "apply-copyright" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "apply-license" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + } + ], + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/head-occipital-frontal-circumference-percentile" + }, + "name": "US Core Pediatric Head Occipital-frontal Circumference Percentile Profile", + "description": "Defines constraints on the Observation resource to represent head occipital-frontal circumference percentile for patients from birth to 36 months of age in FHIR using a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-allergyintolerance" + }, + "name": "US Core AllergyIntolerance Profile", + "description": "Defines constraints and extensions on the AllergyIntolerance resource for the minimal set of data to query and retrieve allergy information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-birthsex" + }, + "name": "US Core Birth Sex Extension", + "description": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc). This extension aligns with the C-CDA Birth Sex Observation (LOINC 76689-9).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-blood-pressure" + }, + "name": "US Core Blood Pressure Profile", + "description": "Defines constraints on Observation to represent diastolic and systolic blood pressure observations with standard LOINC codes and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-bmi" + }, + "name": "US Core BMI Profile", + "description": "Defines constraints on Observation to represent Body Mass Index (BMI) observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-body-height" + }, + "name": "US Core Body Height Profile", + "description": "Defines constraints on Observation to represent body height observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-body-temperature" + }, + "name": "US Core Body Temperature Profile", + "description": "Defines constraints on Observation to represent body temperature observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-body-weight" + }, + "name": "US Core Body Weight Profile", + "description": "Defines constraints on Observation to represent body weight observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-careplan" + }, + "name": "US Core CarePlan Profile", + "description": "Defines constraints and extensions on the CarePlan resource for the minimal set of data to query and retrieve a patient's Care Plan.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-careteam" + }, + "name": "US Core CareTeam Profile", + "description": "Defines constraints and extensions on the CareTeam resource for the minimal set of data to query and retrieve a patient's Care Team.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-condition" + }, + "name": "US Core Condition Profile", + "description": "Defines constraints and extensions on the Condition resource for the minimal set of data to query and retrieve problems and health concerns information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-diagnosticreport-lab" + }, + "name": "US Core DiagnosticReport Profile for Laboratory Results Reporting", + "description": "Defines constraints and extensions on the DiagnosticReport resource for the minimal set of data to query and retrieve diagnostic reports associated with laboratory results for a patient", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-diagnosticreport-note" + }, + "name": "US Core DiagnosticReport Profile for Report and Note exchange", + "description": "Defines constraints and extensions on the DiagnosticReport resource for the minimal set of data to query and retrieve diagnostic reports associated with clinical notes for a patient", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-direct" + }, + "name": "US Core Direct email Extension", + "description": "This email address is associated with a [direct](http://wiki.directproject.org/Addressing+Specification) service. This extension can only be used on contact points where the system = 'email'", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-documentreference" + }, + "name": "US Core DocumentReference Profile", + "description": "The document reference profile used in US Core.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-encounter" + }, + "name": "US Core Encounter Profile", + "description": "The Encounter referenced in the US Core profiles.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-ethnicity" + }, + "name": "US Core Ethnicity Extension", + "description": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-goal" + }, + "name": "US Core Goal Profile", + "description": "Defines constraints and extensions on the Goal resource for the minimal set of data to query and retrieve a patient's goal(s).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-head-circumference" + }, + "name": "US Core Head Circumference Profile", + "description": "Defines constraints on Observation to represent head circumference observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-heart-rate" + }, + "name": "US Core Heart Rate Profile", + "description": "Defines constraints on Observation to represent heart rate observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-immunization" + }, + "name": "US Core Immunization Profile", + "description": "Defines constraints and extensions on the Immunization resource for the minimal set of data to query and retrieve patient's immunization information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-implantable-device" + }, + "name": "US Core Implantable Device Profile", + "description": "Defines constraints and extensions on the Device resource for the minimal set of data to query and retrieve a patient's implantable device(s).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-location" + }, + "name": "US Core Location Profile", + "description": "Defines basic constraints and extensions on the Location resource for use with other US Core resources", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-medication" + }, + "name": "US Core Medication Profile", + "description": "Defines constraints and extensions on the Medication resource for the minimal set of data to query and retrieve patient retrieving patient's medication information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-medicationrequest" + }, + "name": "US Core MedicationRequest Profile", + "description": "Defines constraints and extensions on the MedicationRequest resource for the minimal set of data to query and retrieve prescription information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-lab" + }, + "name": "US Core Laboratory Result Observation Profile", + "description": "Defines constraints and extensions on the Observation resource for the minimal set of data to query and retrieve laboratory test results", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-organization" + }, + "name": "US Core Organization Profile", + "description": "Defines basic constraints and extensions on the Organization resource for use with other US Core resources", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/pediatric-bmi-for-age" + }, + "name": "US Core Pediatric BMI for Age Observation Profile", + "description": "Defines constraints on Observation to represent to represent BMI percentile per age and sex for youth 2-20 observations in FHIR using a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/pediatric-weight-for-height" + }, + "name": "US Core Pediatric Weight for Height Observation Profile", + "description": "Defines constraints on the Observation resource to represent pediatric Weight-for-length per age and gender observations in FHIR with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-practitioner" + }, + "name": "US Core Practitioner Profile", + "description": "The practitioner(s) referenced in US Core profiles.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-practitionerrole" + }, + "name": "US Core PractitionerRole Profile", + "description": "The practitioner roles referenced in the US Core profiles.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-procedure" + }, + "name": "US Core Procedure Profile", + "description": "Defines constraints and extensions on the Procedure resource for the minimal set of data to query and retrieve patient's procedure information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-provenance" + }, + "name": "US Core Provenance Profile", + "description": "Draft set of requirements to satisfy Basic Provenance Requirements.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-pulse-oximetry" + }, + "name": "US Core Pulse Oximetry Profile", + "description": "Defines constraints on the Observation resource to represent inspired O2 by pulse oximetry and inspired oxygen concentration observations with a standard LOINC codes and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-race" + }, + "name": "US Core Race Extension", + "description": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-respiratory-rate" + }, + "name": "US Core Respiratory Rate Profile", + "description": "Defines constraints on Observation to represent respiratory rate observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-smokingstatus" + }, + "name": "US Core Smoking Status Observation Profile", + "description": "Defines constraints and extensions on the Observation resource for the minimal set of data to query and retrieve patient's Smoking Status information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-vital-signs" + }, + "name": "US Core Vital Signs Profile", + "description": "Defines constraints on the Observation resource to represent vital signs observations. This profile is used as the base definition for the other US Core Vital Signs Profiles and based on the FHIR VitalSigns Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CapabilityStatement" + } + ], + "reference": { + "reference": "CapabilityStatement/us-core-client" + }, + "name": "US Core Client CapabilityStatement", + "description": "This Section describes the expected capabilities of the US Core Client which is responsible for creating and initiating the queries for information about an individual patient. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined in the [Conformance Requirements for Server](CapabilityStatement-us-core-server.html). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CapabilityStatement" + } + ], + "reference": { + "reference": "CapabilityStatement/us-core-server" + }, + "name": "US Core Server CapabilityStatement", + "description": "This Section describes the expected capabilities of the US Core Server actor which is responsible for providing responses to the queries submitted by the US Core Requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined. Systems implementing this capability statement should meet the ONC 2015 Common Clinical Data Set (CCDS) access requirement for Patient Selection 170.315(g)(7) and Application Access - Data Category Request 170.315(g)(8) and and the ONC [U.S. Core Data for Interoperability (USCDI)](https://www.healthit.gov/isa/sites/isa/files/2020-03/USCDI-Version1-2020-Final-Standard.pdf). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/careplan-category" + }, + "name": "US Core CarePlan Category Extension Codes", + "description": "Set of codes that are needed for implementation of the US-Core CarePlan Profile. These codes are used as extensions to the FHIR ValueSet.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/cdcrec" + }, + "name": "Race & Ethnicity - CDC", + "description": "The U.S. Centers for Disease Control and Prevention (CDC) has prepared a code set for use in codingrace and ethnicity data. This code set is based on current federal standards for classifying data onrace and ethnicity, specifically the minimum race and ethnicity categories defined by the U.S. Office ofManagement and Budget (OMB) and a more detailed set of race and ethnicity categories maintainedby the U.S. Bureau of the Census (BC). The main purpose of the code set is to facilitate use of federalstandards for classifying data on race and ethnicity when these data are exchanged, stored, retrieved,or analyzed in electronic form. At the same time, the code set can be applied to paper-based recordsystems to the extent that these systems are used to collect, maintain, and report data on race andethnicity in accordance with current federal standards. Source: [Race and Ethnicity Code Set Version 1.0](https://www.cdc.gov/phin/resources/vocabulary/documents/cdc-race--ethnicity-background-and-purpose.pdf).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/condition-category" + }, + "name": "US Core Condition Category Extension Codes", + "description": "Set of codes that are needed for implementation of the US-Core Condition Profile. These codes are used as extensions to the FHIR and US Core value sets.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/us-core-documentreference-category" + }, + "name": "US Core DocumentReferences Category Codes", + "description": "The US Core DocumentReferences Type Code System is a 'starter set' of categories supported for fetching and storing DocumentReference Resources.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/us-core-provenance-participant-type" + }, + "name": "US Core Provenance Participant Type Extension Codes", + "description": "Set of codes that are needed for implementation of the US-Core Provenance Profile. These codes are used as extensions to the FHIR value sets.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "OperationDefinition" + } + ], + "reference": { + "reference": "OperationDefinition/docref" + }, + "name": "US Core Fetch DocumentReference", + "description": "This operation is used to return all the references to documents related to a patient. \n\n The operation requires a patient id and takes the optional input parameters: \n - start date\n - end date\n - document type \n\n and returns a [Bundle](http://hl7.org/fhir/bundle.html) of type \"searchset\" containing [DocumentReference](http://hl7.org/fhir/documentreference.html) resources for the patient. The DocumentReference resources **SHOULD** conform to the [US Core DocumentReference\n Profiles](http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference). If the server has or can create documents that are related to the patient, and that are available for the given user, the server returns the DocumentReference resources needed to support the records. The principle intended use for this operation is to provide a provider or patient with access to their available document information. \n\n This operation is *different* from a search by patient and type and date range because: \n\n 1. It is used to request a server *generate* a document based on the specified parameters. \n\n 1. If no parameters are specified, the server SHALL return a DocumentReference to the patient's most current CCD \n\n 1. If the server cannot *generate* a document based on the specified parameters, the operation will return an empty search bundle. \n\n This operation is the *same* as a FHIR RESTful search by patient,type and date range because: \n\n 1. References for *existing* documents that meet the requirements of the request SHOULD also be returned unless the client indicates they are only interested in 'on-demand' documents using the *on-demand* parameter.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-allergyintolerance-clinical-status" + }, + "name": "USCoreAllergyIntoleranceClinicalStatus", + "description": "**active | inactive | resolved** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-allergyintolerance-patient" + }, + "name": "USCoreAllergyIntolerancePatient", + "description": "**Who the sensitivity is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-category" + }, + "name": "USCoreCarePlanCategory", + "description": "**Type of plan** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-date" + }, + "name": "USCoreCarePlanDate", + "description": "**Time period plan covers** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-patient" + }, + "name": "USCoreCarePlanPatient", + "description": "**Who the care plan is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-status" + }, + "name": "USCoreCarePlanStatus", + "description": "**draft | active | on-hold | revoked | completed | entered-in-error | unknown** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careteam-patient" + }, + "name": "USCoreCareTeamPatient", + "description": "**Who care team is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careteam-status" + }, + "name": "USCoreCareTeamStatus", + "description": "**proposed | active | suspended | inactive | entered-in-error** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-category" + }, + "name": "USCoreConditionCategory", + "description": "**The category of the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-clinical-status" + }, + "name": "USCoreConditionClinicalStatus", + "description": "**The clinical status of the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-code" + }, + "name": "USCoreConditionCode", + "description": "**Code for the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-onset-date" + }, + "name": "USCoreConditionOnsetDate", + "description": "**Date related onsets (dateTime and Period)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-patient" + }, + "name": "USCoreConditionPatient", + "description": "**Who has the condition?** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-device-patient" + }, + "name": "USCoreDevicePatient", + "description": "**Patient information, if the resource is affixed to a person** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-device-type" + }, + "name": "USCoreDeviceType", + "description": "**The type of the device** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-category" + }, + "name": "USCoreDiagnosticReportCategory", + "description": "**Which diagnostic discipline/department created the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-code" + }, + "name": "USCoreDiagnosticReportCode", + "description": "**The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-date" + }, + "name": "USCoreDiagnosticReportDate", + "description": "**The clinically relevant time of the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-patient" + }, + "name": "USCoreDiagnosticReportPatient", + "description": "**The subject of the report if a patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-status" + }, + "name": "USCoreDiagnosticReportStatus", + "description": "**The status of the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-category" + }, + "name": "USCoreDocumentReferenceCategory", + "description": "**Categorization of document** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-date" + }, + "name": "USCoreDocumentReferenceDate", + "description": "**When this document reference was created** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-id" + }, + "name": "USCoreDocumentReferenceId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-patient" + }, + "name": "USCoreDocumentReferencePatient", + "description": "**Who/what is the subject of the document** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-period" + }, + "name": "USCoreDocumentReferencePeriod", + "description": "**Time of service that is being documented** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-status" + }, + "name": "USCoreDocumentReferenceStatus", + "description": "**current | superseded | entered-in-error** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-type" + }, + "name": "USCoreDocumentReferenceType", + "description": "**Kind of document (LOINC if possible)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-class" + }, + "name": "USCoreEncounterClass", + "description": "**Classification of patient encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-date" + }, + "name": "USCoreEncounterDate", + "description": "**A date within the period the Encounter lasted** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-id" + }, + "name": "USCoreEncounterId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-identifier" + }, + "name": "USCoreEncounterIdentifier", + "description": "**Identifier(s) by which this encounter is known** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-patient" + }, + "name": "USCoreEncounterPatient", + "description": "**The patient or group present at the encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-status" + }, + "name": "USCoreEncounterStatus", + "description": "**planned | arrived | triaged | in-progress | onleave | finished | cancelled +** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-type" + }, + "name": "USCoreEncounterType", + "description": "**Specific type of encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-ethnicity" + }, + "name": "USCoreEthnicity", + "description": "Returns patients with an ethnicity extension matching the specified code.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-lifecycle-status" + }, + "name": "USCoreGoalLifecycleStatus", + "description": "**proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-patient" + }, + "name": "USCoreGoalPatient", + "description": "**Who this goal is intended for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-target-date" + }, + "name": "USCoreGoalTargetDate", + "description": "**Reach goal on or before** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-date" + }, + "name": "USCoreImmunizationDate", + "description": "**Vaccination (non)-Administration Date** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-patient" + }, + "name": "USCoreImmunizationPatient", + "description": "**The patient for the vaccination record** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-status" + }, + "name": "USCoreImmunizationStatus", + "description": "**Immunization event status** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-city" + }, + "name": "USCoreLocationAddressCity", + "description": "**A city specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-postalcode" + }, + "name": "USCoreLocationAddressPostalcode", + "description": "**A postal code specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-state" + }, + "name": "USCoreLocationAddressState", + "description": "**A state specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address" + }, + "name": "USCoreLocationAddress", + "description": "**A (part of the) address of the location** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-name" + }, + "name": "USCoreLocationName", + "description": "**A portion of the location's name or alias** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-authoredon" + }, + "name": "USCoreMedicationRequestAuthoredon", + "description": "**Return prescriptions written on this date** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-encounter" + }, + "name": "USCoreMedicationRequestEncounter", + "description": "**Return prescriptions with this encounter identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-intent" + }, + "name": "USCoreMedicationRequestIntent", + "description": "**Returns prescriptions with different intents** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-patient" + }, + "name": "USCoreMedicationRequestPatient", + "description": "**Returns prescriptions for a specific patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-status" + }, + "name": "USCoreMedicationRequestStatus", + "description": "**Status of the prescription** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-category" + }, + "name": "USCoreObservationCategory", + "description": "**The classification of the type of observation** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-code" + }, + "name": "USCoreObservationCode", + "description": "**The code of the observation type** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-date" + }, + "name": "USCoreObservationDate", + "description": "**Obtained date/time. If the obtained element is a period, a date that falls in the period** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-patient" + }, + "name": "USCoreObservationPatient", + "description": "**The subject that the observation is about (if patient)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-status" + }, + "name": "USCoreObservationStatus", + "description": "**The status of the observation** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-organization-address" + }, + "name": "USCoreOrganizationAddress", + "description": "**A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-organization-name" + }, + "name": "USCoreOrganizationName", + "description": "**A portion of the organization's name or alias** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-birthdate" + }, + "name": "USCorePatientBirthdate", + "description": "**The patient's date of birth** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-family" + }, + "name": "USCorePatientFamily", + "description": "**A portion of the family name of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-gender" + }, + "name": "USCorePatientGender", + "description": "**Gender of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-given" + }, + "name": "USCorePatientGiven", + "description": "**A portion of the given name of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-id" + }, + "name": "USCorePatientId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-identifier" + }, + "name": "USCorePatientIdentifier", + "description": "**A patient identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-name" + }, + "name": "USCorePatientName", + "description": "**A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitioner-identifier" + }, + "name": "USCorePractitionerIdentifier", + "description": "**A practitioner's Identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitioner-name" + }, + "name": "USCorePractitionerName", + "description": "**A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitionerrole-practitioner" + }, + "name": "USCorePractitionerRolePractitioner", + "description": "**Practitioner that is able to provide the defined services for the organization** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitionerrole-specialty" + }, + "name": "USCorePractitionerRoleSpecialty", + "description": "**The practitioner has this specialty at an organization** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-code" + }, + "name": "USCoreProcedureCode", + "description": "**A code to identify a procedure** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-date" + }, + "name": "USCoreProcedureDate", + "description": "**When the procedure was performed** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-patient" + }, + "name": "USCoreProcedurePatient", + "description": "**Search by subject - a patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-status" + }, + "name": "USCoreProcedureStatus", + "description": "**preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-race" + }, + "name": "USCoreRace", + "description": "Returns patients with a race extension matching the specified code.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-patient" + }, + "name": "US Core Patient Profile", + "description": "Defines constraints and extensions on the patient resource for the minimal set of data to query and retrieve patient demographic information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/detailed-ethnicity" + }, + "name": "Detailed ethnicity", + "description": "The 41 [CDC ethnicity codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 2 OMB ethnicity category codes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/detailed-race" + }, + "name": "Detailed Race", + "description": "The 900+ [CDC Race codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 5 OMB race category codes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/omb-ethnicity-category" + }, + "name": "OMB Ethnicity Categories", + "description": "The codes for the ethnicity categories - 'Hispanic or Latino' and 'Non Hispanic or Latino' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/omb-race-category" + }, + "name": "OMB Race Categories", + "description": "The codes for the concepts 'Unknown' and 'Asked but no answer' and the the codes for the five race categories - 'American Indian' or 'Alaska Native', 'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific Islander', and 'White' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf) .", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/simple-language" + }, + "name": "Language codes with language and optionally a region modifier", + "description": "This value set includes codes from [BCP-47](http://tools.ietf.org/html/bcp47). This value set matches the ONC 2015 Edition LanguageCommunication data element value set within C-CDA to use a 2 character language code if one exists, and a 3 character code if a 2 character code does not exist. It points back to [RFC 5646](https://tools.ietf.org/html/rfc5646), however only the language codes are required, all other elements are optional.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/birthsex" + }, + "name": "Birth Sex", + "description": "Codes for assigning sex at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc)", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-clinical-note-type" + }, + "name": "US Core Clinical Note Type", + "description": "The US Core Clinical Note Type Value Set is a 'starter set' of types supported for fetching and storing clinical notes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-condition-category" + }, + "name": "US Core Condition Category Codes", + "description": "The US Core Condition Category Codes support the separate concepts of problems and health concerns in Condition.category in order for API consumers to be able to separate health concerns and problems. However this is not mandatory for 2015 certification", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-condition-code" + }, + "name": "US Core Condition Code", + "description": "This describes the problem. Diagnosis/Problem List is broadly defined as a series of brief statements that catalog a patient's medical, nursing, dental, social, preventative and psychiatric events and issues that are relevant to that patient's healthcare (e.g., signs, symptoms, and defined conditions). ICD-10 is appropriate for Diagnosis information, and ICD-9 for historical information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-category" + }, + "name": "US Core DiagnosticReport Category", + "description": "The US Core Diagnostic Report Category Value Set is a 'starter set' of categories supported for fetching and Diagnostic Reports and notes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-lab-codes" + }, + "name": "US Core Diagnostic Report Laboratory Codes", + "description": "The Document Type value set includes all LOINC values whose CLASSTYPE is LABORATORY in the LOINC database", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-report-and-note-codes" + }, + "name": "US Core DiagnosticReport Report And Note Codes", + "description": "This value set currently contains all of LOINC. The codes selected should represent discrete and narrative diagnostic observations and reports", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-documentreference-category" + }, + "name": "US Core DocumentReference Category", + "description": "The US Core DocumentReferences Category Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-documentreference-type" + }, + "name": "US Core DocumentReference Type", + "description": "The US Core DocumentReference Type Value Set includes all LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-encounter-type" + }, + "name": "US Core Encounter Type", + "description": "The type of encounter: a specific code indicating type of service provided. This value set includes codes from SNOMED CT decending from the concept 308335008 (Patient encounter procedure (procedure)) and codes from the Current Procedure and Terminology (CPT) found in the following CPT sections:\n\n\n- 99201-99499 E/M\n\n- 99500-99600 home health (mainly nonphysician, such as newborn care in home)\n\n- 99605-99607 medication management\n\n- 98966-98968 non physician telephone services\n\n\n\n(subscription to AMA Required)", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-narrative-status" + }, + "name": "US Core Narrative Status", + "description": "The US Core Narrative Status Value Set limits the text status for the resource narrative.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-smokingstatus-max" + }, + "name": "US Core Smoking Status Max-Binding", + "description": "Representing a patient’s smoking behavior using concepts from SNOMED CT.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-smoking-status-status" + }, + "name": "US Core Status for Smoking Status Observation", + "description": "Codes providing the status of an observation for smoking status. Constrained to `final`and `entered-in-error`.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-value-codes" + }, + "name": "US Core Observation Value Codes (SNOMED-CT)", + "description": "[Snomed-CT](http://www.ihtsdo.org/) concept codes for coded results", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-procedure-code" + }, + "name": "US Core Procedure Codes", + "description": "Concepts from CPT, SNOMED CT, HCPCS Level II Alphanumeric Codes, ICD-10-PCS,CDT and LOINC code systems that can be used to indicate the type of procedure performed.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-provenance-participant-type" + }, + "name": "US Core Provenance Participant Type Codes", + "description": "The type of participation a provenance agent played for a given target.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-provider-role" + }, + "name": "US Core Provider Role (NUCC)", + "description": "Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set classification codes for providers. Only concepts with a classification and no specialization are included.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-smoking-status-observation-codes" + }, + "name": "US Core Smoking Status Observation Codes", + "description": "The US Core Smoking Status Observation Codes Value Set is a 'starter set' of concepts to capture smoking status.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-usps-state" + }, + "name": "USPS Two Letter Alphabetic Codes", + "description": "This value set defines two letter USPS alphabetic codes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-vital-signs" + }, + "name": "US Core Vital Signs ValueSet", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + } + ], + "reference": { + "reference": "Device/udi-2" + }, + "name": "Device Defib Example", + "description": "This is a Device defib example for the *US Core Implantable Device Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + } + ], + "reference": { + "reference": "Device/udi-3" + }, + "name": "Device Knee Example", + "description": "This is a Device knee example for the *US Core Implantable Device Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/cardiology-report" + }, + "name": "DiagnosticReport Cardiology Report Example", + "description": "This is a DiagnosticReport cardiology report example for the *US Core DiagnosticReport Note Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/chest-xray-report" + }, + "name": "DiagnosticReport Chest Xray Report Example", + "description": "This is a DiagnosticReport chest xray report example for the *US Core DiagnosticReport Note Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + } + ], + "reference": { + "reference": "Bundle/66c8856b-ba11-4876-8aa8-467aad8c11a2" + }, + "name": "PractitionerRole_Practitioner_Endpoint_Bundle_Example Example", + "description": "This is a PractitionerRole_Practitioner_Endpoint_Bundle_Example example for the *Bundle Profile*.", + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Procedure" + } + ], + "reference": { + "reference": "Procedure/defib-implant" + }, + "name": "Procedure R4 Defib Implant Example", + "description": "This is a Procedure R4 defib implant example for the *US Core Procedure Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + } + ], + "reference": { + "reference": "Organization/acme-lab" + }, + "name": "Acme Lab Example", + "description": "This is a acme lab example for the *US Core Organization Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "AllergyIntolerance" + } + ], + "reference": { + "reference": "AllergyIntolerance/example" + }, + "name": "AllergyIntolerance Example", + "description": "This is a allergyintolerance example for the *US Core AllergyIntolerance Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + } + ], + "reference": { + "reference": "Bundle/c887e62f-6166-419f-8268-b5ecd6c7b901" + }, + "name": "AllergyIntolerance Provenance Example", + "description": "This is a allergyintolerance provenance example for the *Bundle Profile*.", + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/blood-glucose" + }, + "name": "Blood Glucose Example", + "description": "This is a blood glucose example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/blood-pressure" + }, + "name": "Blood Pressure Example", + "description": "This is a blood pressure example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/bmi" + }, + "name": "BMI Example", + "description": "This is a BMI example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/bp-data-absent" + }, + "name": "BP Data Absent Example", + "description": "This is a bp data absent example for the *Vitalsigns Profile* showing how to reprsesent blood pressure with a missing diastolic measurement.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/bun" + }, + "name": "BUN Example", + "description": "This is a BUN example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CareTeam" + } + ], + "reference": { + "reference": "CareTeam/example" + }, + "name": "CareTeam Example", + "description": "This is a careteam example for the *US Core CareTeam Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/cbc" + }, + "name": "CBC Example", + "description": "This is a CBC example for the *US Core DiagnosticReport Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CarePlan" + } + ], + "reference": { + "reference": "CarePlan/colonoscopy" + }, + "name": "Colonoscopy Example", + "description": "This is a colonoscopy example for the *US Core CarePlan Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + } + ], + "reference": { + "reference": "Condition/example" + }, + "name": "Condition Example", + "description": "This is a condition example for the *US Core Condition Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Encounter" + } + ], + "reference": { + "reference": "Encounter/1036" + }, + "name": "Encounter 1036 Example", + "description": "This is a encounter 1036 example for the *Encounter Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Encounter" + } + ], + "reference": { + "reference": "Encounter/example-1" + }, + "name": "Encounter 1 Example", + "description": "This is a encounter 1 example for the *US Core Encounter Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DocumentReference" + } + ], + "reference": { + "reference": "DocumentReference/episode-summary" + }, + "name": "Episode Summary Example", + "description": "This is a episode summary example for the *US Core DocumentReference Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/erythrocytes" + }, + "name": "Erythrocytes Example", + "description": "This is a erythrocytes example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + } + ], + "reference": { + "reference": "Organization/example-organization-2" + }, + "name": "Organization 2 Example", + "description": "This is a organization 2 example for the *US Core Organization Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Goal" + } + ], + "reference": { + "reference": "Goal/goal-1" + }, + "name": "Goal 1 Example", + "description": "This is a goal 1 example for the *US Core Goal Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + } + ], + "reference": { + "reference": "Condition/hc1" + }, + "name": "HC1 Example", + "description": "This is a hc1 example for the *US Core Condition Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/head-circumference" + }, + "name": "Head Circumference Example", + "description": "This is a head circumference example for the *US Core Head Circumference Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/heart-rate" + }, + "name": "Heart Rate Example", + "description": "This is a heart rate example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/height" + }, + "name": "Height Example", + "description": "This is a height example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/hemoglobin" + }, + "name": "Hemoglobin Example", + "description": "This is a hemoglobin example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Location" + } + ], + "reference": { + "reference": "Location/hl7east" + }, + "name": "HL7East Example", + "description": "This is a HL7East example for the *US Core Location Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Immunization" + } + ], + "reference": { + "reference": "Immunization/imm-1" + }, + "name": "Imm 1 Example", + "description": "This is a imm 1 example for the *US Core Immunization Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/length" + }, + "name": "Length Example", + "description": "This is a length example for the *Vitalsigns Profile* which shows how body length (typically used for infants) is represented using 8306-3 -*Body height - lying* as an additional observation code.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/mchc" + }, + "name": "MCHC Example", + "description": "This is a MCHC example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/metabolic-panel" + }, + "name": "Metabolic Panel Example", + "description": "This is a metabolic panel example for the *US Core DiagnosticReport Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/neutrophils" + }, + "name": "Neutrophils Example", + "description": "This is a neutrophils example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/satO2-fiO2" + }, + "name": "Observation SatO2 FiO2 Example", + "description": "This is a observation satO2 fiO2 example for the *US Core Pulse Oximetry Profile* representing a spO2 value with a for a patient on 6 l/min of O2 suppplemental oxygen.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/ofc-percentile" + }, + "name": "OFC Percentile Example", + "description": "This is a OFC percentile example for the *Head Occipital Frontal Circumference Percentile Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/oxygen-saturation" + }, + "name": "Oxygen Saturation Example", + "description": "This is a typical oxygen saturation example for the *US Core Pulse Oximetry Profile* on room air where no oxygen concentration is recorded.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + } + ], + "reference": { + "reference": "Patient/child-example" + }, + "name": "Patient Child Example", + "description": "This is a patient child example for the *US Core Patient Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + } + ], + "reference": { + "reference": "Patient/example" + }, + "name": "Patient Example", + "description": "This is a patient example for the *US Core Patient Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + } + ], + "reference": { + "reference": "Patient/infant-example" + }, + "name": "Patient Infant Example", + "description": "This is a patient infant example for the *US Core Patient Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/pediatric-bmi-example" + }, + "name": "Pediatric BMI Example", + "description": "This is a pediatric BMI example for the *Pediatric BMI For Age Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/pediatric-wt-example" + }, + "name": "Pediatric Wt Example", + "description": "This is a pediatric wt example for the *Pediatric Weight For Height Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Practitioner" + } + ], + "reference": { + "reference": "Practitioner/practitioner-1" + }, + "name": "Practitioner 1 Example", + "description": "This is a practitioner 1 example for the *US Core Practitioner Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Practitioner" + } + ], + "reference": { + "reference": "Practitioner/practitioner-2" + }, + "name": "Practitioner 2 Example", + "description": "This is a practitioner 2 example for the *US Core Practitioner Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Procedure" + } + ], + "reference": { + "reference": "Procedure/rehab" + }, + "name": "Rehab Example", + "description": "This is a rehab example for the *US Core Procedure Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/respiratory-rate" + }, + "name": "Respiratory Rate Example", + "description": "This is a respiratory rate example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + } + ], + "reference": { + "reference": "Organization/saint-luke-w-endpoint" + }, + "name": "Saint Luke W Endpoint Example", + "description": "This is a saint luke w endpoint example for the *US Core Organization Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + } + ], + "reference": { + "reference": "MedicationRequest/self-tylenol" + }, + "name": "Self Tylenol Example", + "description": "This is a self tylenol example for the *MedicationRequest Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-calcium" + }, + "name": "Serum Calcium Example", + "description": "This is a serum calcium example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-chloride" + }, + "name": "Serum Chloride Example", + "description": "This is a serum chloride example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-co2" + }, + "name": "Serum CO2 Example", + "description": "This is a serum CO2 example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-creatinine" + }, + "name": "Serum Creatinine Example", + "description": "This is a serum creatinine example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-potassium" + }, + "name": "Serum Potassium Example", + "description": "This is a serum potassium example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-sodium" + }, + "name": "Serum Sodium Example", + "description": "This is a serum sodium example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-total-bilirubin" + }, + "name": "Serum Total Bilirubin Example", + "description": "This is a serum total bilirubin example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/some-day-smoker" + }, + "name": "Some Day Smoker Example", + "description": "This is a some day smoker example for the *US Core Smokingstatus Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/temperature" + }, + "name": "Temperature Example", + "description": "This is a temperature example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + } + ], + "reference": { + "reference": "Device/udi-1" + }, + "name": "UDI 1 Example", + "description": "This is a UDI 1 example for the *US Core Implantable Device Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/urinalysis" + }, + "name": "Urinalysis Example", + "description": "This is a urinalysis example for the *US Core DiagnosticReport Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-bacteria" + }, + "name": "Urine Bacteria Example", + "description": "This is a urine bacteria example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-bilirubin" + }, + "name": "Urine Bilirubin Example", + "description": "This is a urine bilirubin example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-cells" + }, + "name": "Urine Cells Example", + "description": "This is a urine cells example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-clarity" + }, + "name": "Urine Clarity Example", + "description": "This is a urine clarity example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-color" + }, + "name": "Urine Color Example", + "description": "This is a urine color example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-epi-cells" + }, + "name": "Urine Epi Cells Example", + "description": "This is a urine epi cells example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-glucose" + }, + "name": "Urine Glucose Example", + "description": "This is a urine glucose example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-hemoglobin" + }, + "name": "Urine Hemoglobin Example", + "description": "This is a urine hemoglobin example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-ketone" + }, + "name": "Urine Ketone Example", + "description": "This is a urine ketone example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-leukocyte-esterase" + }, + "name": "Urine Leukocyte Esterase Example", + "description": "This is a urine leukocyte esterase example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-nitrite" + }, + "name": "Urine Nitrite Example", + "description": "This is a urine nitrite example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-ph" + }, + "name": "Urine pH Example", + "description": "This is a urine pH example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-protein" + }, + "name": "Urine Protein Example", + "description": "This is a urine protein example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-rbcs" + }, + "name": "Urine RBCsExample", + "description": "This is a urine RBCsexample for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-sediment" + }, + "name": "Urine Sediment Example", + "description": "This is a urine sediment example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-wbcs" + }, + "name": "Urine WBCsExample", + "description": "This is a urine WBCsexample for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urobilinogen" + }, + "name": "Urobilinogen Example", + "description": "This is a urobilinogen example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Medication" + } + ], + "reference": { + "reference": "Medication/uscore-med1" + }, + "name": "Uscore Med1 Example", + "description": "This is a uscore med1 example for the *US Core Medication Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Medication" + } + ], + "reference": { + "reference": "Medication/uscore-med2" + }, + "name": "Uscore Med2 Example", + "description": "This is a uscore med2 example for the *US Core Medication Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + } + ], + "reference": { + "reference": "MedicationRequest/uscore-mo1" + }, + "name": "Uscore MO1 Example", + "description": "This is a uscore mo1 example for the *US Core MedicationRequest Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + } + ], + "reference": { + "reference": "MedicationRequest/uscore-mo2" + }, + "name": "Uscore MO2 Example", + "description": "This is a uscore MO2 example for the *US Core MedicationRequest Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + } + ], + "reference": { + "reference": "Bundle/uscore-mo3" + }, + "name": "Uscore MO3 Example", + "description": "This is a uscore mo3 example for the *Bundle Profile*.", + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/usg" + }, + "name": "USG Example", + "description": "This is a USG example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/weight" + }, + "name": "Weight Example", + "description": "This is a weight example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight" + } + ], + "page": { + "nameUrl": "toc.html", + "title": "Table of Contents", + "generation": "html", + "page": [ + { + "nameUrl": "index.html", + "title": "Index", + "generation": "markdown" + }, + { + "nameUrl": "guidance.html", + "title": "Guidance", + "generation": "markdown", + "page": [ + { + "nameUrl": "general-guidance.html", + "title": "General Guidance", + "generation": "markdown" + }, + { + "nameUrl": "conformance-expectations.html", + "title": "Conformance Expectations", + "generation": "markdown" + }, + { + "nameUrl": "clinical-notes-guidance.html", + "title": "Clinical Notes Guidance", + "generation": "markdown" + }, + { + "nameUrl": "medication-list-guidance.html", + "title": "Medication List Guidance", + "generation": "markdown" + }, + { + "nameUrl": "basic-provenance.html", + "title": "Basic Provenance", + "generation": "markdown" + }, + { + "nameUrl": "DSTU2-to-R4-conversion.html", + "title": "DSTU2 to R4 Conversion", + "generation": "markdown" + }, + { + "nameUrl": "future-of-US-core.html", + "title": "Future of US Core", + "generation": "markdown" + } + ] + }, + { + "nameUrl": "profiles-and-extensions.html", + "title": "Profiles and Extensions", + "generation": "markdown" + }, + { + "nameUrl": "capability-statements.html", + "title": "Capability Statements", + "generation": "markdown" + }, + { + "nameUrl": "search-parameters-and-operations.html", + "title": "Search Parameters and Operations", + "generation": "markdown" + }, + { + "nameUrl": "terminology.html", + "title": "Terminology", + "generation": "markdown" + }, + { + "nameUrl": "security.html", + "title": "Security", + "generation": "markdown" + }, + { + "nameUrl": "examples.html", + "title": "Examples", + "generation": "markdown" + }, + { + "nameUrl": "downloads.html", + "title": "Downloads", + "generation": "markdown" + } + ] + }, + "parameter": [ + { + "code": "path-resource", + "value": "input/resources" + }, + { + "code": "path-resource", + "value": "fsh-generated/resources" + }, + { + "code": "path-pages", + "value": "input/pagecontent" + }, + { + "code": "path-pages", + "value": "input/intro-notes" + }, + { + "code": "path-pages", + "value": "fsh-generated/includes" + }, + { + "code": "path-resource", + "value": "input/capabilities" + }, + { + "code": "path-resource", + "value": "input/examples" + }, + { + "code": "path-resource", + "value": "input/extensions" + }, + { + "code": "path-resource", + "value": "input/models" + }, + { + "code": "path-resource", + "value": "input/operations" + }, + { + "code": "path-resource", + "value": "input/profiles" + }, + { + "code": "path-resource", + "value": "input/vocabulary" + }, + { + "code": "path-resource", + "value": "input/testing" + }, + { + "code": "path-resource", + "value": "input/history" + }, + { + "code": "path-pages", + "value": "template/config" + }, + { + "code": "path-pages", + "value": "input/images" + }, + { + "code": "path-tx-cache", + "value": "input-cache/txcache" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/OperationDefinition-docref.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/OperationDefinition-docref.json new file mode 100644 index 00000000000..7a794279d37 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/OperationDefinition-docref.json @@ -0,0 +1,97 @@ +{ + "resourceType": "OperationDefinition", + "id": "docref", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/OperationDefinition/docref", + "version": "4.0.0", + "name": "USCoreFetchDocumentReference", + "title": "US Core Fetch DocumentReference", + "status": "active", + "kind": "operation", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "This operation is used to return all the references to documents related to a patient. \n\n The operation requires a patient id and takes the optional input parameters: \n - start date\n - end date\n - document type \n\n and returns a [Bundle](http://hl7.org/fhir/bundle.html) of type \"searchset\" containing [DocumentReference](http://hl7.org/fhir/documentreference.html) resources for the patient. The DocumentReference resources **SHOULD** conform to the [US Core DocumentReference\n Profiles](http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference). If the server has or can create documents that are related to the patient, and that are available for the given user, the server returns the DocumentReference resources needed to support the records. The principle intended use for this operation is to provide a provider or patient with access to their available document information. \n\n This operation is *different* from a search by patient and type and date range because: \n\n 1. It is used to request a server *generate* a document based on the specified parameters. \n\n 1. If no parameters are specified, the server SHALL return a DocumentReference to the patient's most current CCD \n\n 1. If the server cannot *generate* a document based on the specified parameters, the operation will return an empty search bundle. \n\n This operation is the *same* as a FHIR RESTful search by patient,type and date range because: \n\n 1. References for *existing* documents that meet the requirements of the request SHOULD also be returned unless the client indicates they are only interested in 'on-demand' documents using the *on-demand* parameter.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "docref", + "comment": " - The server is responsible for determining what resources, if any, to return as [included](http://hl7.org/fhir/R4/search.html#revinclude) resources rather than the client specifying which ones. This frees the client from needing to determine what it could or should ask for. For example, the server may return the referenced document as an included FHIR Binary resource within the return bundle. The server's CapabilityStatement should document this behavior. \n\n - The document itself can be subsequently retrieved using the link provided in the `DocumentReference.content.attachment.url element`. The link could be a FHIR endpoint to a [Binary](http://hl7.org/fhir/R4/binary.html) Resource or some other document repository. \n\n - It is assumed that the server has identified and secured the context appropriately, and can either associate the authorization context with a single patient, or determine whether the context has the rights to the nominated patient, if there is one. If there is no nominated patient (e.g. the operation is invoked at the system level) and the context is not associated with a single patient record, then the server should return an error. Specifying the relationship between the context, a user and patient records is outside the scope of this specification", + "system": false, + "type": true, + "instance": false, + "parameter": [ + { + "name": "patient", + "use": "in", + "min": 1, + "max": "1", + "documentation": "The id of the patient resource located on the server on which this operation is executed. If there is no match, an empty Bundle is returned", + "type": "id" + }, + { + "name": "start", + "use": "in", + "min": 0, + "max": "1", + "documentation": "The date range relates to care dates, not record currency dates - e.g. all records relating to care provided in a certain date range. If no start date is provided, all documents prior to the end date are in scope. If neither a start date nor an end date is provided, the most recent or current document is in scope. The client **SHOULD** provide values precise to the second + time offset.", + "type": "dateTime" + }, + { + "name": "end", + "use": "in", + "min": 0, + "max": "1", + "documentation": "The date range relates to care dates, not record currency dates - e.g. all records relating to care provided in a certain date range. If no end date is provided, all documents subsequent to the start date are in scope. If neither a start date nor an end date is provided, the most recent or current document is in scope. The client **SHOULD** provide values precise to the second + time offset.", + "type": "dateTime" + }, + { + "name": "type", + "use": "in", + "min": 0, + "max": "1", + "documentation": "The type relates to document type e.g. for the LOINC code for a C-CDA Clinical Summary of Care (CCD) is 34133-9 (Summary of episode note). If no type is provided, the CCD document, if available, SHALL be in scope and all other document types MAY be in scope", + "type": "CodeableConcept", + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/c80-doc-typecodes" + } + }, + { + "name": "on-demand", + "use": "in", + "min": 0, + "max": "1", + "documentation": "This on-demand parameter allows client to dictate whether they are requesting only ‘on-demand’ or both ‘on-demand’ and 'stable' documents (or delayed/deferred assembly) that meet the query parameters", + "type": "boolean" + }, + { + "name": "return", + "use": "out", + "min": 1, + "max": "1", + "documentation": "The bundle type is \"searchset\"containing [DocumentReference](http://hl7.org/fhir/documentreference.html) resources which **SHOULD** conform to the [US Core DocumentReference Profiles](http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference)", + "type": "Bundle" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-allergyintolerance-clinical-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-allergyintolerance-clinical-status.json new file mode 100644 index 00000000000..97f070a4214 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-allergyintolerance-clinical-status.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-allergyintolerance-clinical-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status", + "version": "4.0.0", + "name": "USCoreAllergyIntoleranceClinicalStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/AllergyIntolerance-clinical-status", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:26.898912Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**active | inactive | resolved** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "clinical-status", + "base": [ + "AllergyIntolerance" + ], + "type": "token", + "expression": "AllergyIntolerance.clinicalStatus", + "xpath": "f:AllergyIntolerance/f:clinicalStatus", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-allergyintolerance-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-allergyintolerance-patient.json new file mode 100644 index 00000000000..c3a74396686 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-allergyintolerance-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-allergyintolerance-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient", + "version": "4.0.0", + "name": "USCoreAllergyIntolerancePatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:26.966454Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Who the sensitivity is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "AllergyIntolerance" + ], + "type": "reference", + "expression": "AllergyIntolerance.patient", + "xpath": "f:AllergyIntolerance/f:patient", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careplan-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careplan-category.json new file mode 100644 index 00000000000..56a407c429f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careplan-category.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-careplan-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category", + "version": "4.0.0", + "name": "USCoreCarePlanCategory", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/CarePlan-category", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:29.764367Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Type of plan** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "category", + "base": [ + "CarePlan" + ], + "type": "token", + "expression": "CarePlan.category", + "xpath": "f:CarePlan/f:category", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careplan-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careplan-date.json new file mode 100644 index 00000000000..cf94b366f41 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careplan-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-careplan-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date", + "version": "4.0.0", + "name": "USCoreCarePlanDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:29.793290Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Time period plan covers** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "date", + "base": [ + "CarePlan" + ], + "type": "date", + "expression": "CarePlan.period", + "xpath": "f:CarePlan/f:period", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careplan-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careplan-patient.json new file mode 100644 index 00000000000..112fb21e1dc --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careplan-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-careplan-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient", + "version": "4.0.0", + "name": "USCoreCarePlanPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:29.827200Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Who the care plan is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "CarePlan" + ], + "type": "reference", + "expression": "CarePlan.subject.where(resolve() is Patient)", + "xpath": "f:CarePlan/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careplan-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careplan-status.json new file mode 100644 index 00000000000..f73e601fd76 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careplan-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-careplan-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/request-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status", + "version": "4.0.0", + "name": "USCoreCarePlanStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/CarePlan-status", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:29.875071Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**draft | active | on-hold | revoked | completed | entered-in-error | unknown** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "status", + "base": [ + "CarePlan" + ], + "type": "token", + "expression": "CarePlan.status", + "xpath": "f:CarePlan/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careteam-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careteam-patient.json new file mode 100644 index 00000000000..39e6d94001b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careteam-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-careteam-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient", + "version": "4.0.0", + "name": "USCoreCareTeamPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:29.906985Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Who care team is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "CareTeam" + ], + "type": "reference", + "expression": "CareTeam.subject.where(resolve() is Patient)", + "xpath": "f:CareTeam/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careteam-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careteam-status.json new file mode 100644 index 00000000000..3f5c85a525d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-careteam-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-careteam-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/care-team-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status", + "version": "4.0.0", + "name": "USCoreCareTeamStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/CareTeam-status", + "status": "active", + "experimental": false, + "date": "2021-06-08T02:15:48.112297Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**proposed | active | suspended | inactive | entered-in-error** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "status", + "base": [ + "CareTeam" + ], + "type": "token", + "expression": "CareTeam.status", + "xpath": "f:CareTeam/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-condition-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-condition-category.json new file mode 100644 index 00000000000..524a133a348 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-condition-category.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category", + "version": "4.0.0", + "name": "USCoreConditionCategory", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Condition-category", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:26.997340Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**The category of the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "category", + "base": [ + "Condition" + ], + "type": "token", + "expression": "Condition.category", + "xpath": "f:Condition/f:category", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-condition-clinical-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-condition-clinical-status.json new file mode 100644 index 00000000000..aa69f89f423 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-condition-clinical-status.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-clinical-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status", + "version": "4.0.0", + "name": "USCoreConditionClinicalStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Condition-clinical-status", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.109428Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**The clinical status of the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "clinical-status", + "base": [ + "Condition" + ], + "type": "token", + "expression": "Condition.clinicalStatus", + "xpath": "f:Condition/f:clinicalStatus", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-condition-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-condition-code.json new file mode 100644 index 00000000000..ce45c7e8669 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-condition-code.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-code", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code", + "version": "4.0.0", + "name": "USCoreConditionCode", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-code", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.846524Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Code for the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "code", + "base": [ + "Condition" + ], + "type": "token", + "expression": "Condition.code", + "xpath": "f:Condition/f:code", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-condition-onset-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-condition-onset-date.json new file mode 100644 index 00000000000..a6410572cf8 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-condition-onset-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-onset-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date", + "version": "4.0.0", + "name": "USCoreConditionOnsetDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Condition-onset-date", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.816607Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Date related onsets (dateTime and Period)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "onset-date", + "base": [ + "Condition" + ], + "type": "date", + "expression": "Condition.onset.as(dateTime)|Condition.onset.as(Period)", + "xpath": "f:Condition/f:onsetDateTime|f:Condition/f:onsetPeriod", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-condition-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-condition-patient.json new file mode 100644 index 00000000000..cbb30cf7bb4 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-condition-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient", + "version": "4.0.0", + "name": "USCoreConditionPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.197003Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Who has the condition?** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "Condition" + ], + "type": "reference", + "expression": "Condition.subject.where(resolve() is Patient)", + "xpath": "f:Condition/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-device-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-device-patient.json new file mode 100644 index 00000000000..80f68440f54 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-device-patient.json @@ -0,0 +1,67 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-device-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient", + "version": "4.0.0", + "name": "USCoreDevicePatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Device-patient", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:30.027004Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Patient information, if the resource is affixed to a person** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "Device" + ], + "type": "reference", + "expression": "Device.patient", + "xpath": "f:Device/f:patient", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-device-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-device-type.json new file mode 100644 index 00000000000..72b74b79991 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-device-type.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-device-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type", + "version": "4.0.0", + "name": "USCoreDeviceType", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Device-type", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:30.080848Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**The type of the device** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "type", + "base": [ + "Device" + ], + "type": "token", + "expression": "Device.type", + "xpath": "f:Device/f:type", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-diagnosticreport-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-diagnosticreport-category.json new file mode 100644 index 00000000000..5aa5c3c6703 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-diagnosticreport-category.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category", + "version": "4.0.0", + "name": "USCoreDiagnosticReportCategory", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/DiagnosticReport-category", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:28.362884Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Which diagnostic discipline/department created the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "category", + "base": [ + "DiagnosticReport" + ], + "type": "token", + "expression": "DiagnosticReport.category", + "xpath": "f:DiagnosticReport/f:category", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-diagnosticreport-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-diagnosticreport-code.json new file mode 100644 index 00000000000..9dfeb1c0a4c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-diagnosticreport-code.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-code", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code", + "version": "4.0.0", + "name": "USCoreDiagnosticReportCode", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-code", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:28.538956Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "code", + "base": [ + "DiagnosticReport" + ], + "type": "token", + "expression": "DiagnosticReport.code", + "xpath": "f:DiagnosticReport/f:code", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-diagnosticreport-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-diagnosticreport-date.json new file mode 100644 index 00000000000..b8db8b02419 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-diagnosticreport-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date", + "version": "4.0.0", + "name": "USCoreDiagnosticReportDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:28.611972Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**The clinically relevant time of the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "date", + "base": [ + "DiagnosticReport" + ], + "type": "date", + "expression": "DiagnosticReport.effective", + "xpath": "f:DiagnosticReport/f:effectiveDateTime|f:DiagnosticReport/f:effectivePeriod", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-diagnosticreport-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-diagnosticreport-patient.json new file mode 100644 index 00000000000..cf2e44684bd --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-diagnosticreport-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient", + "version": "4.0.0", + "name": "USCoreDiagnosticReportPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:28.323989Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**The subject of the report if a patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "DiagnosticReport" + ], + "type": "reference", + "expression": "DiagnosticReport.subject.where(resolve() is Patient)", + "xpath": "f:DiagnosticReport/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-diagnosticreport-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-diagnosticreport-status.json new file mode 100644 index 00000000000..28dc8f29874 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-diagnosticreport-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/diagnostic-report-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status", + "version": "4.0.0", + "name": "USCoreDiagnosticReportStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/DiagnosticReport-status", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:28.293077Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**The status of the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "status", + "base": [ + "DiagnosticReport" + ], + "type": "token", + "expression": "DiagnosticReport.status", + "xpath": "f:DiagnosticReport/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-category.json new file mode 100644 index 00000000000..4cfa9ad7cce --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-category.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category", + "version": "4.0.0", + "name": "USCoreDocumentReferenceCategory", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/DocumentReference-category", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:28.148458Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Categorization of document** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "category", + "base": [ + "DocumentReference" + ], + "type": "token", + "expression": "DocumentReference.category", + "xpath": "f:DocumentReference/f:category", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-date.json new file mode 100644 index 00000000000..f9f47679bc5 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date", + "version": "4.0.0", + "name": "USCoreDocumentReferenceDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/DocumentReference-date", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:28.229242Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**When this document reference was created** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "date", + "base": [ + "DocumentReference" + ], + "type": "date", + "expression": "DocumentReference.date", + "xpath": "f:DocumentReference/f:date", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-id.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-id.json new file mode 100644 index 00000000000..1ce9bf0171b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-id.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-id", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id", + "version": "4.0.0", + "name": "USCoreDocumentReferenceId", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Resource-id", + "status": "active", + "experimental": false, + "date": "2021-06-24T23:59:31.981452Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "_id", + "base": [ + "DocumentReference" + ], + "type": "token", + "expression": "DocumentReference.id", + "xpath": "f:DocumentReference/f:id", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-patient.json new file mode 100644 index 00000000000..5e3134d7539 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient", + "version": "4.0.0", + "name": "USCoreDocumentReferencePatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:28.111558Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Who/what is the subject of the document** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "DocumentReference" + ], + "type": "reference", + "expression": "DocumentReference.subject.where(resolve() is Patient)", + "xpath": "f:DocumentReference/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-period.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-period.json new file mode 100644 index 00000000000..01b039b209f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-period.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-period", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period", + "version": "4.0.0", + "name": "USCoreDocumentReferencePeriod", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/DocumentReference-period", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:28.258166Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Time of service that is being documented** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "period", + "base": [ + "DocumentReference" + ], + "type": "date", + "expression": "DocumentReference.context.period", + "xpath": "f:DocumentReference/f:context/f:period", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-status.json new file mode 100644 index 00000000000..610e9da77cc --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/document-reference-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status", + "version": "4.0.0", + "name": "USCoreDocumentReferenceStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/DocumentReference-status", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:28.061699Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**current | superseded | entered-in-error** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "status", + "base": [ + "DocumentReference" + ], + "type": "token", + "expression": "DocumentReference.status", + "xpath": "f:DocumentReference/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-type.json new file mode 100644 index 00000000000..f04eef32649 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-documentreference-type.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type", + "version": "4.0.0", + "name": "USCoreDocumentReferenceType", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-type", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:28.186357Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Kind of document (LOINC if possible)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "type", + "base": [ + "DocumentReference" + ], + "type": "token", + "expression": "DocumentReference.type", + "xpath": "f:DocumentReference/f:type", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-class.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-class.json new file mode 100644 index 00000000000..64d30b8390e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-class.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-class", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class", + "version": "4.0.0", + "name": "USCoreEncounterClass", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Encounter-class", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.305225Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Classification of patient encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "class", + "base": [ + "Encounter" + ], + "type": "token", + "expression": "Encounter.class", + "xpath": "f:Encounter/f:class", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-date.json new file mode 100644 index 00000000000..e32ea864100 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date", + "version": "4.0.0", + "name": "USCoreEncounterDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.336865Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**A date within the period the Encounter lasted** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "date", + "base": [ + "Encounter" + ], + "type": "date", + "expression": "Encounter.period", + "xpath": "f:Encounter/f:period", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-id.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-id.json new file mode 100644 index 00000000000..d0ee15ae780 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-id.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-id", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id", + "version": "4.0.0", + "name": "USCoreEncounterId", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Resource-id", + "status": "active", + "experimental": false, + "date": "2021-06-24T23:57:15.866673Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "_id", + "base": [ + "Encounter" + ], + "type": "token", + "expression": "Encounter.id", + "xpath": "f:Encounter/f:id", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-identifier.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-identifier.json new file mode 100644 index 00000000000..08454063889 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-identifier.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-identifier", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier", + "version": "4.0.0", + "name": "USCoreEncounterIdentifier", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-identifier", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.379776Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Identifier(s) by which this encounter is known** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "identifier", + "base": [ + "Encounter" + ], + "type": "token", + "expression": "Encounter.identifier", + "xpath": "f:Encounter/f:identifier", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-patient.json new file mode 100644 index 00000000000..7c732188797 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient", + "version": "4.0.0", + "name": "USCoreEncounterPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.413685Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**The patient or group present at the encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "Encounter" + ], + "type": "reference", + "expression": "Encounter.subject.where(resolve() is Patient)", + "xpath": "f:Encounter/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-status.json new file mode 100644 index 00000000000..280d85fff76 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/encounter-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status", + "version": "4.0.0", + "name": "USCoreEncounterStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Encounter-status", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.462552Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**planned | arrived | triaged | in-progress | onleave | finished | cancelled +** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "status", + "base": [ + "Encounter" + ], + "type": "token", + "expression": "Encounter.status", + "xpath": "f:Encounter/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-type.json new file mode 100644 index 00000000000..1da84a1956b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-encounter-type.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type", + "version": "4.0.0", + "name": "USCoreEncounterType", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-type", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.495436Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Specific type of encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "type", + "base": [ + "Encounter" + ], + "type": "token", + "expression": "Encounter.type", + "xpath": "f:Encounter/f:type", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-ethnicity.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-ethnicity.json new file mode 100644 index 00000000000..c33faf7d892 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-ethnicity.json @@ -0,0 +1,44 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-ethnicity", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-ethnicity", + "version": "4.0.0", + "name": "USCoreEthnicity", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Returns patients with an ethnicity extension matching the specified code.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "ethnicity", + "base": [ + "Patient" + ], + "type": "token", + "expression": "Patient.extension.where(url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity').extension.value.code", + "xpath": "f:Patient/f:extension[@url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity']/f:extension/f:valueCoding/f:code/@value", + "xpathUsage": "normal" +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-goal-lifecycle-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-goal-lifecycle-status.json new file mode 100644 index 00000000000..944573db56e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-goal-lifecycle-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-goal-lifecycle-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/goal-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status", + "version": "4.0.0", + "name": "USCoreGoalLifecycleStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Goal-lifecycle-status", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:28.712988Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "lifecycle-status", + "base": [ + "Goal" + ], + "type": "token", + "expression": "Goal.lifecycleStatus", + "xpath": "f:Goal/f:lifecycleStatus", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-goal-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-goal-patient.json new file mode 100644 index 00000000000..c0f5e46b1ad --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-goal-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-goal-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient", + "version": "4.0.0", + "name": "USCoreGoalPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:28.790820Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Who this goal is intended for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "Goal" + ], + "type": "reference", + "expression": "Goal.subject.where(resolve() is Patient)", + "xpath": "f:Goal/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-goal-target-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-goal-target-date.json new file mode 100644 index 00000000000..ba2203aeb69 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-goal-target-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-goal-target-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date", + "version": "4.0.0", + "name": "USCoreGoalTargetDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Goal-target-date", + "status": "active", + "experimental": false, + "date": "2021-06-25T00:22:14.972255Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Reach goal on or before** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "target-date", + "base": [ + "Goal" + ], + "type": "date", + "expression": "(Goal.target.due as date)", + "xpath": "f:Goal/f:target/f:dueDate", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-immunization-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-immunization-date.json new file mode 100644 index 00000000000..0e7f4ed0efd --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-immunization-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-immunization-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date", + "version": "4.0.0", + "name": "USCoreImmunizationDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.999173Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Vaccination (non)-Administration Date** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "date", + "base": [ + "Immunization" + ], + "type": "date", + "expression": "Immunization.occurrence", + "xpath": "f:Immunization/f:occurrenceDateTime|f:Immunization/f:occurrenceString", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-immunization-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-immunization-patient.json new file mode 100644 index 00000000000..b9a510ed514 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-immunization-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-immunization-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient", + "version": "4.0.0", + "name": "USCoreImmunizationPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.906368Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**The patient for the vaccination record** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "Immunization" + ], + "type": "reference", + "expression": "Immunization.patient", + "xpath": "f:Immunization/f:patient", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-immunization-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-immunization-status.json new file mode 100644 index 00000000000..0587f817a8b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-immunization-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-immunization-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/event-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status", + "version": "4.0.0", + "name": "USCoreImmunizationStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Immunization-status", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.944236Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Immunization event status** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "status", + "base": [ + "Immunization" + ], + "type": "token", + "expression": "Immunization.status", + "xpath": "f:Immunization/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-location-address-city.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-location-address-city.json new file mode 100644 index 00000000000..62e8b3d1940 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-location-address-city.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-location-address-city", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city", + "version": "4.0.0", + "name": "USCoreLocationAddressCity", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Location-address-city", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:30.202495Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**A city specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "address-city", + "base": [ + "Location" + ], + "type": "string", + "expression": "Location.address.city", + "xpath": "f:Location/f:address/f:city", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-location-address-postalcode.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-location-address-postalcode.json new file mode 100644 index 00000000000..04a1ff0f1c2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-location-address-postalcode.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-location-address-postalcode", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode", + "version": "4.0.0", + "name": "USCoreLocationAddressPostalcode", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Location-address-postalcode", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:30.269318Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**A postal code specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "address-postalcode", + "base": [ + "Location" + ], + "type": "string", + "expression": "Location.address.postalCode", + "xpath": "f:Location/f:address/f:postalCode", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-location-address-state.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-location-address-state.json new file mode 100644 index 00000000000..e04bae58f89 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-location-address-state.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-location-address-state", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state", + "version": "4.0.0", + "name": "USCoreLocationAddressState", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Location-address-state", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:30.236431Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**A state specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "address-state", + "base": [ + "Location" + ], + "type": "string", + "expression": "Location.address.state", + "xpath": "f:Location/f:address/f:state", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-location-address.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-location-address.json new file mode 100644 index 00000000000..674eee51515 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-location-address.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-location-address", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address", + "version": "4.0.0", + "name": "USCoreLocationAddress", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Location-address", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:30.151632Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**A (part of the) address of the location** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "address", + "base": [ + "Location" + ], + "type": "string", + "expression": "Location.address", + "xpath": "f:Location/f:address", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-location-name.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-location-name.json new file mode 100644 index 00000000000..8abba640bc8 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-location-name.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-location-name", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name", + "version": "4.0.0", + "name": "USCoreLocationName", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Location-name", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:30.120741Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**A portion of the location's name or alias** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "name", + "base": [ + "Location" + ], + "type": "string", + "expression": "Location.name|Location.alias", + "xpath": "f:Location/f:name|f:Location/f:alias", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-medicationrequest-authoredon.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-medicationrequest-authoredon.json new file mode 100644 index 00000000000..44736ca9464 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-medicationrequest-authoredon.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-authoredon", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon", + "version": "4.0.0", + "name": "USCoreMedicationRequestAuthoredon", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/MedicationRequest-authoredon", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:29.162396Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Return prescriptions written on this date** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "authoredon", + "base": [ + "MedicationRequest" + ], + "type": "date", + "expression": "MedicationRequest.authoredOn", + "xpath": "f:MedicationRequest/f:authoredOn", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-medicationrequest-encounter.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-medicationrequest-encounter.json new file mode 100644 index 00000000000..2ba36d82d18 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-medicationrequest-encounter.json @@ -0,0 +1,67 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-encounter", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter", + "version": "4.0.0", + "name": "USCoreMedicationRequestEncounter", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/medications-encounter", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:29.068351Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Return prescriptions with this encounter identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "encounter", + "base": [ + "MedicationRequest" + ], + "type": "reference", + "expression": "MedicationRequest.encounter", + "xpath": "f:MedicationRequest/f:encounter", + "xpathUsage": "normal", + "target": [ + "Encounter" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-medicationrequest-intent.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-medicationrequest-intent.json new file mode 100644 index 00000000000..a09c164ead9 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-medicationrequest-intent.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-intent", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/CodeSystem/medicationrequest-intent" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent", + "version": "4.0.0", + "name": "USCoreMedicationRequestIntent", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/MedicationRequest-intent", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:28.926435Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Returns prescriptions with different intents** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "intent", + "base": [ + "MedicationRequest" + ], + "type": "token", + "expression": "MedicationRequest.intent", + "xpath": "f:MedicationRequest/f:intent", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-medicationrequest-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-medicationrequest-patient.json new file mode 100644 index 00000000000..dcadb83fa45 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-medicationrequest-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient", + "version": "4.0.0", + "name": "USCoreMedicationRequestPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:29.028336Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Returns prescriptions for a specific patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "MedicationRequest" + ], + "type": "reference", + "expression": "MedicationRequest.subject.where(resolve() is Patient)", + "xpath": "f:MedicationRequest/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-medicationrequest-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-medicationrequest-status.json new file mode 100644 index 00000000000..6cadf5b7089 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-medicationrequest-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/CodeSystem/medicationrequest-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status", + "version": "4.0.0", + "name": "USCoreMedicationRequestStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/medications-status", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:28.858896Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Status of the prescription** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "status", + "base": [ + "MedicationRequest" + ], + "type": "token", + "expression": "MedicationRequest.status", + "xpath": "f:MedicationRequest/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-observation-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-observation-category.json new file mode 100644 index 00000000000..263acfd3b30 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-observation-category.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-observation-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category", + "version": "4.0.0", + "name": "USCoreObservationCategory", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Observation-category", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:29.573477Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**The classification of the type of observation** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "category", + "base": [ + "Observation" + ], + "type": "token", + "expression": "Observation.category", + "xpath": "f:Observation/f:category", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-observation-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-observation-code.json new file mode 100644 index 00000000000..6d376428602 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-observation-code.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-observation-code", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code", + "version": "4.0.0", + "name": "USCoreObservationCode", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-code", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:29.609416Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**The code of the observation type** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "code", + "base": [ + "Observation" + ], + "type": "token", + "expression": "Observation.code", + "xpath": "f:Observation/f:code", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-observation-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-observation-date.json new file mode 100644 index 00000000000..44c30c6988c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-observation-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-observation-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date", + "version": "4.0.0", + "name": "USCoreObservationDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:29.697843Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Obtained date/time. If the obtained element is a period, a date that falls in the period** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "date", + "base": [ + "Observation" + ], + "type": "date", + "expression": "Observation.effective", + "xpath": "f:Observation/f:effectiveDateTime|f:Observation/f:effectivePeriod|f:Observation/f:effectiveTiming|f:Observation/f:effectiveInstant", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-observation-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-observation-patient.json new file mode 100644 index 00000000000..a1a6e1ba678 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-observation-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-observation-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient", + "version": "4.0.0", + "name": "USCoreObservationPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:29.729464Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**The subject that the observation is about (if patient)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "Observation" + ], + "type": "reference", + "expression": "Observation.subject.where(resolve() is Patient)", + "xpath": "f:Observation/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-observation-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-observation-status.json new file mode 100644 index 00000000000..12c3e5bbe52 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-observation-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-observation-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/observation-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status", + "version": "4.0.0", + "name": "USCoreObservationStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Observation-status", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:29.49649Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**The status of the observation** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "status", + "base": [ + "Observation" + ], + "type": "token", + "expression": "Observation.status", + "xpath": "f:Observation/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-organization-address.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-organization-address.json new file mode 100644 index 00000000000..da287c91fc3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-organization-address.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-organization-address", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address", + "version": "4.0.0", + "name": "USCoreOrganizationAddress", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Organization-address", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:30.411091Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "address", + "base": [ + "Organization" + ], + "type": "string", + "expression": "Organization.address", + "xpath": "f:Organization/f:address", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-organization-name.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-organization-name.json new file mode 100644 index 00000000000..d74bad12e0b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-organization-name.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-organization-name", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name", + "version": "4.0.0", + "name": "USCoreOrganizationName", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Organization-name", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:30.301231Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**A portion of the organization's name or alias** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "name", + "base": [ + "Organization" + ], + "type": "string", + "expression": "Organization.name|Organization.alias", + "xpath": "f:Organization/f:name|f:Organization/f:alias", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-birthdate.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-birthdate.json new file mode 100644 index 00000000000..79ff825e315 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-birthdate.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-birthdate", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate", + "version": "4.0.0", + "name": "USCorePatientBirthdate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/individual-birthdate", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.587218Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**The patient's date of birth** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "birthdate", + "base": [ + "Patient" + ], + "type": "date", + "expression": "Patient.birthDate", + "xpath": "f:Patient/f:birthDate", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-family.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-family.json new file mode 100644 index 00000000000..3df6b020c12 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-family.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-family", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family", + "version": "4.0.0", + "name": "USCorePatientFamily", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/individual-family", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.620105Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**A portion of the family name of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "family", + "base": [ + "Patient" + ], + "type": "string", + "expression": "Patient.name.family", + "xpath": "f:Patient/f:name/f:family", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-gender.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-gender.json new file mode 100644 index 00000000000..f02ebdce83a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-gender.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-gender", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/administrative-gender" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender", + "version": "4.0.0", + "name": "USCorePatientGender", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/individual-gender", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.671986Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Gender of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "gender", + "base": [ + "Patient" + ], + "type": "token", + "expression": "Patient.gender", + "xpath": "f:Patient/f:gender", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-given.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-given.json new file mode 100644 index 00000000000..b06f47b3da1 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-given.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-given", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given", + "version": "4.0.0", + "name": "USCorePatientGiven", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/individual-given", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.703906Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**A portion of the given name of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "given", + "base": [ + "Patient" + ], + "type": "string", + "expression": "Patient.name.given", + "xpath": "f:Patient/f:name/f:given", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-id.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-id.json new file mode 100644 index 00000000000..1ef6b6ef771 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-id.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-id", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id", + "version": "4.0.0", + "name": "USCorePatientId", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Resource-id", + "status": "active", + "experimental": false, + "date": "2021-06-24T23:54:41.938698Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "_id", + "base": [ + "Patient" + ], + "type": "token", + "expression": "Patient.id", + "xpath": "f:Patient/f:id", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-identifier.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-identifier.json new file mode 100644 index 00000000000..fb24179f6f1 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-identifier.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-identifier", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier", + "version": "4.0.0", + "name": "USCorePatientIdentifier", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.736817Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**A patient identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "identifier", + "base": [ + "Patient" + ], + "type": "token", + "expression": "Patient.identifier", + "xpath": "f:Patient/f:identifier", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-name.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-name.json new file mode 100644 index 00000000000..8e50b2c9be1 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-patient-name.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-name", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name", + "version": "4.0.0", + "name": "USCorePatientName", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Patient-name", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:27.775687Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "name", + "base": [ + "Patient" + ], + "type": "string", + "expression": "Patient.name", + "xpath": "f:Patient/f:name", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-practitioner-identifier.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-practitioner-identifier.json new file mode 100644 index 00000000000..5d0681df6dc --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-practitioner-identifier.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-practitioner-identifier", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier", + "version": "4.0.0", + "name": "USCorePractitionerIdentifier", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Practitioner-identifier", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:30.531808Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**A practitioner's Identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "identifier", + "base": [ + "Practitioner" + ], + "type": "token", + "expression": "Practitioner.identifier", + "xpath": "f:Practitioner/f:identifier", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-practitioner-name.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-practitioner-name.json new file mode 100644 index 00000000000..033701ec07a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-practitioner-name.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-practitioner-name", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name", + "version": "4.0.0", + "name": "USCorePractitionerName", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Practitioner-name", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:30.450985Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "name", + "base": [ + "Practitioner" + ], + "type": "string", + "expression": "Practitioner.name", + "xpath": "f:Practitioner/f:name", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-practitionerrole-practitioner.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-practitionerrole-practitioner.json new file mode 100644 index 00000000000..2b9f0e29407 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-practitionerrole-practitioner.json @@ -0,0 +1,89 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-practitionerrole-practitioner", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner", + "version": "4.0.0", + "name": "USCorePractitionerRolePractitioner", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/PractitionerRole-practitioner", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:30.639824Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Practitioner that is able to provide the defined services for the organization** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "practitioner", + "base": [ + "PractitionerRole" + ], + "type": "reference", + "expression": "PractitionerRole.practitioner", + "xpath": "f:PractitionerRole/f:practitioner", + "xpathUsage": "normal", + "target": [ + "Practitioner" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "chain": [ + "identifier", + "name" + ], + "_chain": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-practitionerrole-specialty.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-practitionerrole-specialty.json new file mode 100644 index 00000000000..d0233d3b1e0 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-practitionerrole-specialty.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-practitionerrole-specialty", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty", + "version": "4.0.0", + "name": "USCorePractitionerRoleSpecialty", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/PractitionerRole-specialty", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:30.613929Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**The practitioner has this specialty at an organization** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "specialty", + "base": [ + "PractitionerRole" + ], + "type": "token", + "expression": "PractitionerRole.specialty", + "xpath": "f:PractitionerRole/f:specialty", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-procedure-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-procedure-code.json new file mode 100644 index 00000000000..8977a5fb883 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-procedure-code.json @@ -0,0 +1,64 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-procedure-code", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code", + "version": "4.0.0", + "name": "USCoreProcedureCode", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-code", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:29.419516Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**A code to identify a procedure** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "code", + "base": [ + "Procedure" + ], + "type": "token", + "expression": "Procedure.code", + "xpath": "f:Procedure/f:code", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-procedure-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-procedure-date.json new file mode 100644 index 00000000000..3e372533339 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-procedure-date.json @@ -0,0 +1,149 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-procedure-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date", + "version": "4.0.0", + "name": "USCoreProcedureDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:29.345870Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**When the procedure was performed** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "date", + "base": [ + "Procedure" + ], + "type": "date", + "expression": "Procedure.performed", + "xpath": "f:Procedure/f:performedDateTime|f:Procedure/f:performedPeriod|f:Procedure/f:performedString|f:Procedure/f:performedAge|f:Procedure/f:performedRange", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-procedure-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-procedure-patient.json new file mode 100644 index 00000000000..43f35e5fd7c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-procedure-patient.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-procedure-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient", + "version": "4.0.0", + "name": "USCoreProcedurePatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:29.297983Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**Search by subject - a patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "Procedure" + ], + "type": "reference", + "expression": "Procedure.subject.where(resolve() is Patient)", + "xpath": "f:Procedure/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient", + "Group" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-procedure-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-procedure-status.json new file mode 100644 index 00000000000..24f788ff88e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-procedure-status.json @@ -0,0 +1,70 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-procedure-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "extension": [ + { + "url": "http://ibm.com/fhir/extension/implicit-system", + "valueUri": "http://hl7.org/fhir/event-status" + } + ], + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status", + "version": "4.0.0", + "name": "USCoreProcedureStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Procedure-status", + "status": "active", + "experimental": false, + "date": "2020-11-20T05:19:29.196316Z", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "**preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "status", + "base": [ + "Procedure" + ], + "type": "token", + "expression": "Procedure.status", + "xpath": "f:Procedure/f:status", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-race.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-race.json new file mode 100644 index 00000000000..d92b30024bf --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-us-core-race.json @@ -0,0 +1,44 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-race", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-race", + "version": "4.0.0", + "name": "USCoreRace", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Returns patients with a race extension matching the specified code.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "race", + "base": [ + "Patient" + ], + "type": "token", + "expression": "Patient.extension.where(url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race').extension.value.code", + "xpath": "f:Patient/f:extension[@url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-race']/f:extension/f:valueCoding/f:code/@value", + "xpathUsage": "normal" +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-head-occipital-frontal-circumference-percentile.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-head-occipital-frontal-circumference-percentile.json new file mode 100644 index 00000000000..4084bd0f786 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-head-occipital-frontal-circumference-percentile.json @@ -0,0 +1,3810 @@ +{ + "resourceType": "StructureDefinition", + "id": "head-occipital-frontal-circumference-percentile", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile", + "version": "4.0.0", + "name": "USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile", + "title": "US Core Pediatric Head Occipital-frontal Circumference Percentile Profile", + "status": "active", + "experimental": false, + "date": "2020-11-18", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints on the Observation resource to represent head occipital-frontal circumference percentile for patients from birth to 36 months of age in FHIR using a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Pediatric Head Occipital-frontal Circumference Percentile Profile", + "definition": "Defines constraints on the Observation resource to represent head occipital-frontal circumference percentile for patients from birth to 36 months of age in FHIR using a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.extension", + "path": "Observation.category.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Head Occipital-frontal circumference Percentile", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8289-1" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Pediatric Head Occipital-frontal Circumference Percentile Profile", + "definition": "Defines constraints on the Observation resource to represent head occipital-frontal circumference percentile for patients from birth to 36 months of age in FHIR using a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "mustSupport": false + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Head Occipital-frontal circumference Percentile", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8289-1" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-pediatric-bmi-for-age.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-pediatric-bmi-for-age.json new file mode 100644 index 00000000000..80164be091c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-pediatric-bmi-for-age.json @@ -0,0 +1,3810 @@ +{ + "resourceType": "StructureDefinition", + "id": "pediatric-bmi-for-age", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", + "version": "4.0.0", + "name": "USCorePediatricBMIforAgeObservationProfile", + "title": "US Core Pediatric BMI for Age Observation Profile", + "status": "active", + "experimental": false, + "date": "2020-11-18", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints on Observation to represent to represent BMI percentile per age and sex for youth 2-20 observations in FHIR using a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Pediatric BMI for Age Observation Profile", + "definition": "Defines constraints on Observation to represent to represent BMI percentile per age and sex for youth 2-20 observations in FHIR using a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.extension", + "path": "Observation.category.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "BMI percentile per age and sex for youth 2-20", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59576-9" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Pediatric BMI for Age Observation Profile", + "definition": "Defines constraints on Observation to represent to represent BMI percentile per age and sex for youth 2-20 observations in FHIR using a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "mustSupport": false + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "BMI percentile per age and sex for youth 2-20", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59576-9" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-pediatric-weight-for-height.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-pediatric-weight-for-height.json new file mode 100644 index 00000000000..044a2b3656f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-pediatric-weight-for-height.json @@ -0,0 +1,3812 @@ +{ + "resourceType": "StructureDefinition", + "id": "pediatric-weight-for-height", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height", + "version": "4.0.0", + "name": "USCorePediatricWeightForHeightObservationProfile", + "title": "US Core Pediatric Weight for Height Observation Profile", + "status": "active", + "experimental": false, + "date": "2020-11-18", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints on the Observation resource to represent pediatric Weight-for-length per age and gender observations in FHIR with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Pediatric Weight for Height Observation Profile", + "definition": "Defines constraints on the Observation resource to represent pediatric Weight-for-length per age and gender observations in FHIR with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.extension", + "path": "Observation.category.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Weight-for-length per age and gender", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "77606-2" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Pediatric Weight for Height Observation Profile", + "definition": "Defines constraints on the Observation resource to represent pediatric Weight-for-length per age and gender observations in FHIR with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "mustSupport": false + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Weight-for-length per age and gender", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "77606-2" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-allergyintolerance.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-allergyintolerance.json new file mode 100644 index 00000000000..a05b8d09ff0 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-allergyintolerance.json @@ -0,0 +1,1848 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-allergyintolerance", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance", + "version": "4.0.0", + "name": "USCoreAllergyIntolerance", + "title": "US Core AllergyIntolerance Profile", + "status": "active", + "experimental": false, + "date": "2020-06-29", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints and extensions on the AllergyIntolerance resource for the minimal set of data to query and retrieve allergy information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "AllergyIntolerance", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "AllergyIntolerance", + "path": "AllergyIntolerance", + "short": "Allergy or Intolerance (generally: Risk of adverse reaction to a substance)", + "definition": "The US Core Allergies Profile is based upon the core FHIR AllergyIntolerance Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medical allergies' requirements.", + "comment": "Substances include, but are not limited to: a therapeutic substance administered correctly at an appropriate dosage for the individual; food; material derived from plants or animals; or venom from insect stings.", + "alias": [ + "Allergy", + "Intolerance", + "Adverse Reaction" + ], + "min": 0, + "max": "*", + "base": { + "path": "AllergyIntolerance", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "ait-1", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.", + "expression": "verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()", + "xpath": "f:verificationStatus/f:coding/f:code/@value='entered-in-error' or exists(f:clinicalStatus)", + "source": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance" + }, + { + "key": "ait-2", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error", + "expression": "verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()", + "xpath": "not(f:verificationStatus/f:coding/f:code/@value='entered-in-error') or not(exists(f:clinicalStatus))", + "source": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance" + }, + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance" + } + ] + }, + { + "id": "AllergyIntolerance.id", + "path": "AllergyIntolerance.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "AllergyIntolerance.meta", + "path": "AllergyIntolerance.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "AllergyIntolerance.implicitRules", + "path": "AllergyIntolerance.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "AllergyIntolerance.language", + "path": "AllergyIntolerance.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "AllergyIntolerance.text", + "path": "AllergyIntolerance.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "AllergyIntolerance.contained", + "path": "AllergyIntolerance.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance.extension", + "path": "AllergyIntolerance.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance.modifierExtension", + "path": "AllergyIntolerance.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance.identifier", + "path": "AllergyIntolerance.identifier", + "short": "External ids for this item", + "definition": "Business identifiers assigned to this AllergyIntolerance by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", + "comment": "This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.", + "requirements": "Allows identification of the AllergyIntolerance as it is known by various participating systems and in a way that remains consistent across servers.", + "min": 0, + "max": "*", + "base": { + "path": "AllergyIntolerance.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "IAM-7" + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "AllergyIntolerance.clinicalStatus", + "path": "AllergyIntolerance.clinicalStatus", + "short": "active | inactive | resolved", + "definition": "The clinical status of the allergy or intolerance.", + "comment": "Refer to [discussion](http://hl7.org/fhir/R4/extensibility.html#Special-Case) if clincalStatus is missing data.\nThe data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.clinicalStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "ait-1", + "ait-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the status contains the codes inactive and resolved that mark the AllergyIntolerance as no longer active.", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"clinicalStatus\", moodCode=EVN].value" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.status" + } + ] + }, + { + "id": "AllergyIntolerance.verificationStatus", + "path": "AllergyIntolerance.verificationStatus", + "short": "unconfirmed | confirmed | refuted | entered-in-error", + "definition": "Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product).", + "comment": "The data type is CodeableConcept because verificationStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.verificationStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "ait-1", + "ait-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the status contains the codes refuted and entered-in-error that mark the AllergyIntolerance as not currently valid.", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-verification" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"verificationStatus\", moodCode=EVN].value" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.status" + } + ] + }, + { + "id": "AllergyIntolerance.type", + "path": "AllergyIntolerance.type", + "short": "allergy | intolerance - Underlying mechanism (if known)", + "definition": "Identification of the underlying physiological mechanism for the reaction risk.", + "comment": "Allergic (typically immune-mediated) reactions have been traditionally regarded as an indicator for potential escalation to significant future risk. Contemporary knowledge suggests that some reactions previously thought to be immune-mediated are, in fact, non-immune, but in some cases can still pose a life threatening risk. It is acknowledged that many clinicians might not be in a position to distinguish the mechanism of a particular reaction. Often the term \"allergy\" is used rather generically and may overlap with the use of \"intolerance\" - in practice the boundaries between these two concepts might not be well-defined or understood. This data element is included nevertheless, because many legacy systems have captured this attribute. Immunologic testing may provide supporting evidence for the basis of the reaction and the causative substance, but no tests are 100% sensitive or specific for sensitivity to a particular substance. If, as is commonly the case, it is unclear whether the reaction is due to an allergy or an intolerance, then the type element should be omitted from the resource.", + "alias": [ + "Category", + "Class" + ], + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AllergyIntoleranceType" + } + ], + "strength": "required", + "description": "Identification of the underlying physiological mechanism for a Reaction Risk.", + "valueSet": "http://hl7.org/fhir/ValueSet/allergy-intolerance-type|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "IAM-9" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "AllergyIntolerance.category", + "path": "AllergyIntolerance.category", + "short": "food | medication | environment | biologic", + "definition": "Category of the identified substance.", + "comment": "This data element has been included because it is currently being captured in some clinical systems. This data can be derived from the substance where coding systems are used, and is effectively redundant in that situation. When searching on category, consider the implications of AllergyIntolerance resources without a category. For example, when searching on category = medication, medication allergies that don't have a category valued will not be returned. Refer to [search](http://hl7.org/fhir/R4/search.html) for more information on how to search category with a :missing modifier to get allergies that don't have a category. Additionally, category should be used with caution because category can be subjective based on the sender.", + "alias": [ + "Category", + "Type", + "Reaction Type", + "Class" + ], + "min": 0, + "max": "*", + "base": { + "path": "AllergyIntolerance.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AllergyIntoleranceCategory" + } + ], + "strength": "required", + "description": "Category of an identified substance associated with allergies or intolerances.", + "valueSet": "http://hl7.org/fhir/ValueSet/allergy-intolerance-category|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "AL1-2" + }, + { + "identity": "rim", + "map": "value < IntoleranceValue (Agent)" + } + ] + }, + { + "id": "AllergyIntolerance.criticality", + "path": "AllergyIntolerance.criticality", + "short": "low | high | unable-to-assess", + "definition": "Estimate of the potential clinical harm, or seriousness, of the reaction to the identified substance.", + "comment": "The default criticality value for any propensity to an adverse reaction should be 'Low Risk', indicating at the very least a relative contraindication to deliberate or voluntary exposure to the substance. 'High Risk' is flagged if the clinician has identified a propensity for a more serious or potentially life-threatening reaction, such as anaphylaxis, and implies an absolute contraindication to deliberate or voluntary exposure to the substance. If this element is missing, the criticality is unknown (though it may be known elsewhere). Systems that capture a severity at the condition level are actually representing the concept of criticality whereas the severity documented at the reaction level is representing the true reaction severity. Existing systems that are capturing both condition criticality and reaction severity may use the term \"severity\" to represent both. Criticality is the worst it could be in the future (i.e. situation-agnostic) whereas severity is situation-dependent.", + "alias": [ + "Severity", + "Seriousness", + "Contra-indication", + "Risk" + ], + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.criticality", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AllergyIntoleranceCriticality" + } + ], + "strength": "required", + "description": "Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.", + "valueSet": "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.grade" + }, + { + "identity": "v2", + "map": "AL1-4" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + } + ] + }, + { + "id": "AllergyIntolerance.code", + "path": "AllergyIntolerance.code", + "short": "Code that identifies the allergy or intolerance", + "definition": "Code for an allergy or intolerance statement (either a positive or a negated/excluded statement). This may be a code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk (e.g., \"Latex\"), an allergy or intolerance condition (e.g., \"Latex allergy\"), or a negated/excluded code for a specific substance or class (e.g., \"No latex allergy\") or a general or categorical negated statement (e.g., \"No known allergy\", \"No known drug allergies\"). Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'. If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance.", + "comment": "It is strongly recommended that this element be populated using a terminology, where possible. For example, some terminologies used include RxNorm, SNOMED CT, DM+D, NDFRT, ICD-9, IDC-10, UNII, and ATC. Plain text should only be used if there is no appropriate terminology available. Additional details can be specified in the text.\r\rWhen a substance or product code is specified for the 'code' element, the \"default\" semantic context is that this is a positive statement of an allergy or intolerance (depending on the value of the 'type' element, if present) condition to the specified substance/product. In the corresponding SNOMED CT allergy model, the specified substance/product is the target (destination) of the \"Causative agent\" relationship.\r\rThe 'substanceExposureRisk' extension is available as a structured and more flexible alternative to the 'code' element for making positive or negative allergy or intolerance statements. This extension provides the capability to make \"no known allergy\" (or \"no risk of adverse reaction\") statements regarding any coded substance/product (including cases when a pre-coordinated \"no allergy to x\" concept for that substance/product does not exist). If the 'substanceExposureRisk' extension is present, the AllergyIntolerance.code element SHALL be omitted.", + "alias": [ + "Code" + ], + "min": 1, + "max": "1", + "base": { + "path": "AllergyIntolerance.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1186.8" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "AL1-3 / IAM-3" + }, + { + "identity": "rim", + "map": "substance/product:\r\r.participation[typeCode=CAGNT].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]\r\rnegated/excluded substance/product:\r\r.participation[typeCode=CAGNT, negationInd=true].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]\r\rpositive or negated/excluded condition/situation:\r\rObservation.code=ASSERTION; Observation.value" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.substance" + } + ] + }, + { + "id": "AllergyIntolerance.patient", + "path": "AllergyIntolerance.patient", + "short": "Who the sensitivity is for", + "definition": "The patient who has the allergy or intolerance.", + "alias": [ + "Patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "AllergyIntolerance.patient", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "(PID-3)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.patient" + } + ] + }, + { + "id": "AllergyIntolerance.encounter", + "path": "AllergyIntolerance.encounter", + "short": "Encounter when the allergy or intolerance was asserted", + "definition": "The encounter when the allergy or intolerance was asserted.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "AllergyIntolerance.onset[x]", + "path": "AllergyIntolerance.onset[x]", + "short": "When allergy or intolerance was identified", + "definition": "Estimated or actual date, date-time, or age when allergy or intolerance was identified.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.onset[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.init" + }, + { + "identity": "rim", + "map": "effectiveTime.low" + } + ] + }, + { + "id": "AllergyIntolerance.recordedDate", + "path": "AllergyIntolerance.recordedDate", + "short": "Date first version of the resource instance was recorded", + "definition": "The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.recordedDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "IAM-13" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + } + ] + }, + { + "id": "AllergyIntolerance.recorder", + "path": "AllergyIntolerance.recorder", + "short": "Who recorded the sensitivity", + "definition": "Individual who recorded the record and takes responsibility for its content.", + "alias": [ + "Author" + ], + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.recorder", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.author" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + } + ] + }, + { + "id": "AllergyIntolerance.asserter", + "path": "AllergyIntolerance.asserter", + "short": "Source of the information about the allergy", + "definition": "The source of the information about the allergy that is recorded.", + "comment": "The recorder takes responsibility for the content, but can reference the source from where they got it.", + "alias": [ + "Source", + "Informant" + ], + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.asserter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + }, + { + "identity": "v2", + "map": "IAM-14 (if patient) / IAM-18 (if practitioner)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role" + } + ] + }, + { + "id": "AllergyIntolerance.lastOccurrence", + "path": "AllergyIntolerance.lastOccurrence", + "short": "Date(/time) of last known occurrence of a reaction", + "definition": "Represents the date and/or time of the last known occurrence of a reaction event.", + "comment": "This date may be replicated by one of the Onset of Reaction dates. Where a textual representation of the date of last occurrence is required e.g. 'In Childhood, '10 years ago' the Comment element should be used.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.lastOccurrence", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)].effectiveTime" + } + ] + }, + { + "id": "AllergyIntolerance.note", + "path": "AllergyIntolerance.note", + "short": "Additional text not captured in other fields", + "definition": "Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.", + "comment": "For example: including reason for flagging a seriousness of 'High Risk'; and instructions related to future exposure or administration of the substance, such as administration within an Intensive Care Unit or under corticosteroid cover. The notes should be related to an allergy or intolerance as a condition in general and not related to any particular episode of it. For episode notes and descriptions, use AllergyIntolerance.event.description and AllergyIntolerance.event.notes.", + "min": 0, + "max": "*", + "base": { + "path": "AllergyIntolerance.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "AllergyIntolerance.reaction", + "path": "AllergyIntolerance.reaction", + "short": "Adverse Reaction Events linked to exposure to substance", + "definition": "Details about each adverse reaction event linked to exposure to the identified substance.", + "min": 0, + "max": "*", + "base": { + "path": "AllergyIntolerance.reaction", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.id", + "path": "AllergyIntolerance.reaction.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.extension", + "path": "AllergyIntolerance.reaction.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.modifierExtension", + "path": "AllergyIntolerance.reaction.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.substance", + "path": "AllergyIntolerance.reaction.substance", + "short": "Specific substance or pharmaceutical product considered to be responsible for event", + "definition": "Identification of the specific substance (or pharmaceutical product) considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'. If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance.", + "comment": "Coding of the specific substance (or pharmaceutical product) with a terminology capable of triggering decision support should be used wherever possible. The 'code' element allows for the use of a specific substance or pharmaceutical product, or a group or class of substances. In the case of an allergy or intolerance to a class of substances, (for example, \"penicillins\"), the 'reaction.substance' element could be used to code the specific substance that was identified as having caused the reaction (for example, \"amoxycillin\"). Duplication of the value in the 'code' and 'reaction.substance' elements is acceptable when a specific substance has been recorded in 'code'.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.reaction.substance", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "SubstanceCode" + } + ], + "strength": "example", + "description": "Codes defining the type of the substance (including pharmaceutical products).", + "valueSet": "http://hl7.org/fhir/ValueSet/substance-code" + }, + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].participation[typeCode=CSM].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.manifestation", + "path": "AllergyIntolerance.reaction.manifestation", + "short": "Clinical symptoms/signs associated with the Event", + "definition": "Clinical symptoms and/or signs that are observed or associated with the adverse reaction event.", + "comment": "Manifestation can be expressed as a single word, phrase or brief description. For example: nausea, rash or no reaction. It is preferable that manifestation should be coded with a terminology, where possible. The values entered here may be used to display on an application screen as part of a list of adverse reactions, as recommended in the UK NHS CUI guidelines. Terminologies commonly used include, but are not limited to, SNOMED CT or ICD10.", + "alias": [ + "Symptoms", + "Signs" + ], + "min": 1, + "max": "*", + "base": { + "path": "AllergyIntolerance.reaction.manifestation", + "min": 1, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-5" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.description", + "path": "AllergyIntolerance.reaction.description", + "short": "Description of the event as a whole", + "definition": "Text description about the reaction as a whole, including details of the manifestation if required.", + "comment": "Use the description to provide any details of a particular event of the occurred reaction such as circumstances, reaction specifics, what happened before/after. Information, related to the event, but not describing a particular care should be captured in the comment field. For example: at the age of four, the patient was given penicillin for strep throat and subsequently developed severe hives.", + "alias": [ + "Narrative", + "Text" + ], + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.reaction.description", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "text" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.onset", + "path": "AllergyIntolerance.reaction.onset", + "short": "Date(/time) when manifestations showed", + "definition": "Record of the date and/or time of the onset of the Reaction.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.reaction.onset", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "AL1-6" + }, + { + "identity": "rim", + "map": "effectiveTime.low" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.severity", + "path": "AllergyIntolerance.reaction.severity", + "short": "mild | moderate | severe (of event as a whole)", + "definition": "Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations.", + "comment": "It is acknowledged that this assessment is very subjective. There may be some specific practice domains where objective scales have been applied. Objective scales can be included in this model as extensions.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.reaction.severity", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AllergyIntoleranceSeverity" + } + ], + "strength": "required", + "description": "Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.", + "valueSet": "http://hl7.org/fhir/ValueSet/reaction-event-severity|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.exposureRoute", + "path": "AllergyIntolerance.reaction.exposureRoute", + "short": "How the subject was exposed to the substance", + "definition": "Identification of the route by which the subject was exposed to the substance.", + "comment": "Coding of the route of exposure with a terminology should be used wherever possible.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.reaction.exposureRoute", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "RouteOfAdministration" + } + ], + "strength": "example", + "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.", + "valueSet": "http://hl7.org/fhir/ValueSet/route-codes" + }, + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].routeCode" + } + ] + }, + { + "id": "AllergyIntolerance.reaction.note", + "path": "AllergyIntolerance.reaction.note", + "short": "Text about event not captured in other fields", + "definition": "Additional text about the adverse reaction event not captured in other fields.", + "comment": "Use this field to record information indirectly related to a particular event and not captured in the description. For example: Clinical records are no longer available, recorded based on information provided to the patient by her mother and her mother is deceased.", + "min": 0, + "max": "*", + "base": { + "path": "AllergyIntolerance.reaction.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "AllergyIntolerance", + "path": "AllergyIntolerance", + "definition": "The US Core Allergies Profile is based upon the core FHIR AllergyIntolerance Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medical allergies' requirements.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance" + } + ] + }, + { + "id": "AllergyIntolerance.clinicalStatus", + "path": "AllergyIntolerance.clinicalStatus", + "min": 0, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.status" + } + ] + }, + { + "id": "AllergyIntolerance.verificationStatus", + "path": "AllergyIntolerance.verificationStatus", + "min": 0, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-verification" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.status" + } + ] + }, + { + "id": "AllergyIntolerance.code", + "path": "AllergyIntolerance.code", + "min": 1, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1186.8" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.substance" + } + ] + }, + { + "id": "AllergyIntolerance.patient", + "path": "AllergyIntolerance.patient", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.patient" + } + ] + }, + { + "id": "AllergyIntolerance.reaction", + "path": "AllergyIntolerance.reaction", + "min": 0, + "max": "*", + "mustSupport": true + }, + { + "id": "AllergyIntolerance.reaction.manifestation", + "path": "AllergyIntolerance.reaction.manifestation", + "min": 1, + "max": "*", + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + } + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-birthsex.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-birthsex.json new file mode 100644 index 00000000000..fd8cf261c74 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-birthsex.json @@ -0,0 +1,370 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-birthsex", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "version": "4.0.0", + "name": "USCoreBirthSexExtension", + "title": "US Core Birth Sex Extension", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc). This extension aligns with the C-CDA Birth Sex Observation (LOINC 76689-9).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Patient" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Extension", + "definition": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc).", + "comment": "The codes required are intended to present birth sex (i.e., the sex recorded on the patient’s birth certificate) and not gender identity or reassigned sex.", + "min": 0, + "max": "1", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "iso11179", + "map": ".patient.administrativeGenderCode" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]:valueCode", + "path": "Extension.value[x]", + "sliceName": "valueCode", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Code for sex assigned at birth", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/birthsex" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "definition": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc).", + "comment": "The codes required are intended to present birth sex (i.e., the sex recorded on the patient’s birth certificate) and not gender identity or reassigned sex.", + "min": 0, + "max": "1", + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "iso11179", + "map": ".patient.administrativeGenderCode" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" + }, + { + "id": "Extension.valueCode", + "path": "Extension.valueCode", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Code for sex assigned at birth", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/birthsex" + } + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-blood-pressure.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-blood-pressure.json new file mode 100644 index 00000000000..ba299fce99d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-blood-pressure.json @@ -0,0 +1,5183 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-blood-pressure", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure", + "version": "4.0.0", + "name": "USCoreBloodPressureProfile", + "title": "US Core Blood Pressure Profile", + "status": "active", + "experimental": false, + "date": "2020-11-17", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints on Observation to represent diastolic and systolic blood pressure observations with standard LOINC codes and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Blood Pressure Profile", + "definition": "Defines constraints on Observation to represent diastolic and systolic blood pressure observations with standard LOINC codes and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.extension", + "path": "Observation.category.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Blood Pressure", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "code" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 2, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.component:systolic", + "path": "Observation.component", + "sliceName": "systolic", + "short": "Systolic Blood Pressure", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component:systolic.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:systolic.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:systolic.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component:systolic.code", + "path": "Observation.component.code", + "short": "Systolic Blood Pressure Code", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component:systolic.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component:systolic.value[x].id", + "path": "Observation.component.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:systolic.value[x].extension", + "path": "Observation.component.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:systolic.value[x].value", + "path": "Observation.component.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.component:systolic.value[x].comparator", + "path": "Observation.component.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.component:systolic.value[x].unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.component.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.component:systolic.value[x].system", + "path": "Observation.component.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.component:systolic.value[x].code", + "path": "Observation.component.value[x].code", + "short": "Coded form of the unit", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "mm[Hg]", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.component:systolic.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component:systolic.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component:systolic.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.component:diastolic", + "path": "Observation.component", + "sliceName": "diastolic", + "short": "Diastolic Blood Pressure", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component:diastolic.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:diastolic.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:diastolic.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component:diastolic.code", + "path": "Observation.component.code", + "short": "Diastolic Blood Pressure Code", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component:diastolic.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component:diastolic.value[x].id", + "path": "Observation.component.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:diastolic.value[x].extension", + "path": "Observation.component.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:diastolic.value[x].value", + "path": "Observation.component.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.component:diastolic.value[x].comparator", + "path": "Observation.component.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.component:diastolic.value[x].unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.component.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.component:diastolic.value[x].system", + "path": "Observation.component.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.component:diastolic.value[x].code", + "path": "Observation.component.value[x].code", + "short": "Coded form of the unit", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "mm[Hg]", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.component:diastolic.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component:diastolic.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component:diastolic.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Blood Pressure Profile", + "definition": "Defines constraints on Observation to represent diastolic and systolic blood pressure observations with standard LOINC codes and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile." + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Blood Pressure", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.component", + "path": "Observation.component", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "code" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 2, + "max": "*", + "mustSupport": true + }, + { + "id": "Observation.component:systolic", + "path": "Observation.component", + "sliceName": "systolic", + "short": "Systolic Blood Pressure", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:systolic.code", + "path": "Observation.component.code", + "short": "Systolic Blood Pressure Code", + "min": 1, + "max": "1", + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.component:systolic.valueQuantity", + "path": "Observation.component.valueQuantity", + "type": [ + { + "code": "Quantity" + } + ], + "mustSupport": true + }, + { + "id": "Observation.component:systolic.valueQuantity.value", + "path": "Observation.component.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.component:systolic.valueQuantity.unit", + "path": "Observation.component.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.component:systolic.valueQuantity.system", + "path": "Observation.component.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.component:systolic.valueQuantity.code", + "path": "Observation.component.valueQuantity.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "mm[Hg]", + "mustSupport": true + }, + { + "id": "Observation.component:diastolic", + "path": "Observation.component", + "sliceName": "diastolic", + "short": "Diastolic Blood Pressure", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:diastolic.code", + "path": "Observation.component.code", + "short": "Diastolic Blood Pressure Code", + "min": 1, + "max": "1", + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.component:diastolic.valueQuantity", + "path": "Observation.component.valueQuantity", + "type": [ + { + "code": "Quantity" + } + ], + "mustSupport": true + }, + { + "id": "Observation.component:diastolic.valueQuantity.value", + "path": "Observation.component.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.component:diastolic.valueQuantity.unit", + "path": "Observation.component.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.component:diastolic.valueQuantity.system", + "path": "Observation.component.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.component:diastolic.valueQuantity.code", + "path": "Observation.component.valueQuantity.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "mm[Hg]", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-bmi.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-bmi.json new file mode 100644 index 00000000000..c338a7076e6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-bmi.json @@ -0,0 +1,3807 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-bmi", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi", + "version": "4.0.0", + "name": "USCoreBMIProfileProfile", + "title": "US Core BMI Profile", + "status": "active", + "experimental": false, + "date": "2020-11-17", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints on Observation to represent Body Mass Index (BMI) observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Body Mass Index (BMI) Profile", + "definition": "Defines constraints on Observation to represent Body Mass Index (BMI) observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.extension", + "path": "Observation.category.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Coded Responses from C-CDA Vital Sign Results", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "kg/m2", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Body Mass Index (BMI) Profile", + "definition": "Defines constraints on Observation to represent Body Mass Index (BMI) observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile." + }, + { + "id": "Observation.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "kg/m2", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-height.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-height.json new file mode 100644 index 00000000000..6e7b788c506 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-height.json @@ -0,0 +1,3814 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-body-height", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height", + "version": "4.0.0", + "name": "USCoreBodyHeightProfile", + "title": "US Core Body Height Profile", + "status": "active", + "experimental": false, + "date": "2020-11-17", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints on Observation to represent body height observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Body Height Profile", + "definition": "Defines constraints on Observation to represent body height observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.extension", + "path": "Observation.category.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Body Height", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodylength|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Body Height Profile", + "definition": "Defines constraints on Observation to represent body height observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile." + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Body Height", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodylength|4.0.1" + } + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-temperature.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-temperature.json new file mode 100644 index 00000000000..621f280d2da --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-temperature.json @@ -0,0 +1,3814 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-body-temperature", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature", + "version": "4.0.0", + "name": "USCoreBodyTemperatureProfile", + "title": "US Core Body Temperature Profile", + "status": "active", + "experimental": false, + "date": "2020-11-17", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints on Observation to represent body temperature observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Body Temperature Profile", + "definition": "Defines constraints on Observation to represent body temperature observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.extension", + "path": "Observation.category.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Body Temperature", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8310-5" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodytemp|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Body Temperature Profile", + "definition": "Defines constraints on Observation to represent body temperature observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile." + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Body Temperature", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8310-5" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodytemp|4.0.1" + } + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-weight.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-weight.json new file mode 100644 index 00000000000..333a2a016e6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-weight.json @@ -0,0 +1,3814 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-body-weight", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight", + "version": "4.0.0", + "name": "USCoreBodyWeightProfile", + "title": "US Core Body Weight Profile", + "status": "active", + "experimental": false, + "date": "2020-11-17", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints on Observation to represent body weight observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Body Weight Profile", + "definition": "Defines constraints on Observation to represent body weight observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.extension", + "path": "Observation.category.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Body Weight", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodyweight|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Body Weight Profile", + "definition": "Defines constraints on Observation to represent body weight observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile." + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Body Weight", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodyweight|4.0.1" + } + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-careplan.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-careplan.json new file mode 100644 index 00000000000..c1b52ca1ee6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-careplan.json @@ -0,0 +1,3326 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-careplan", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan", + "version": "4.0.0", + "name": "USCoreCarePlanProfile", + "title": "US Core CarePlan Profile", + "status": "active", + "experimental": false, + "date": "2019-08-29", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints and extensions on the CarePlan resource for the minimal set of data to query and retrieve a patient's Care Plan.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "CarePlan", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CarePlan", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "CarePlan", + "path": "CarePlan", + "short": "Healthcare plan for patient or group", + "definition": "The US Core CarePlan Profile is based upon the core FHIR CarePlan Resource and created to meet the 2015 Edition Common Clinical Data Set 'Assessment and Plan of Treatment requirements.", + "alias": [ + "Care Team" + ], + "min": 0, + "max": "*", + "base": { + "path": "CarePlan", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Request" + }, + { + "identity": "rim", + "map": "Act[classCode=PCPR, moodCode=INT]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan" + } + ] + }, + { + "id": "CarePlan.id", + "path": "CarePlan.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CarePlan.meta", + "path": "CarePlan.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CarePlan.implicitRules", + "path": "CarePlan.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "CarePlan.language", + "path": "CarePlan.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "CarePlan.text", + "path": "CarePlan.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.text" + } + ] + }, + { + "id": "CarePlan.text.id", + "path": "CarePlan.text.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan.text.extension", + "path": "CarePlan.text.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan.text.status", + "path": "CarePlan.text.status", + "short": "generated | extensions | additional | empty", + "definition": "The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.", + "min": 1, + "max": "1", + "base": { + "path": "Narrative.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "NarrativeStatus" + } + ], + "strength": "required", + "description": "The status of a resource narrative.", + "valueSet": "http://hl7.org/fhir/ValueSet/narrative-status|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan.text.div", + "path": "CarePlan.text.div", + "short": "Limited xhtml content", + "definition": "The actual narrative content, a stripped down version of XHTML.", + "comment": "The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard,
elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.", + "min": 1, + "max": "1", + "base": { + "path": "Narrative.div", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "xhtml" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "txt-1", + "severity": "error", + "human": "The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, elements (either name or href), images and internally contained style attributes", + "expression": "htmlChecks()", + "xpath": "not(descendant-or-self::*[not(local-name(.)=('a', 'abbr', 'acronym', 'b', 'big', 'blockquote', 'br', 'caption', 'cite', 'code', 'col', 'colgroup', 'dd', 'dfn', 'div', 'dl', 'dt', 'em', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'li', 'ol', 'p', 'pre', 'q', 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'ul', 'var'))]) and not(descendant-or-self::*/@*[not(name(.)=('abbr', 'accesskey', 'align', 'alt', 'axis', 'bgcolor', 'border', 'cellhalign', 'cellpadding', 'cellspacing', 'cellvalign', 'char', 'charoff', 'charset', 'cite', 'class', 'colspan', 'compact', 'coords', 'dir', 'frame', 'headers', 'height', 'href', 'hreflang', 'hspace', 'id', 'lang', 'longdesc', 'name', 'nowrap', 'rel', 'rev', 'rowspan', 'rules', 'scope', 'shape', 'span', 'src', 'start', 'style', 'summary', 'tabindex', 'title', 'type', 'valign', 'value', 'vspace', 'width'))])", + "source": "http://hl7.org/fhir/StructureDefinition/CarePlan" + }, + { + "key": "txt-2", + "severity": "error", + "human": "The narrative SHALL have some non-whitespace content", + "expression": "htmlChecks()", + "xpath": "descendant::text()[normalize-space(.)!=''] or descendant::h:img[@src]", + "source": "http://hl7.org/fhir/StructureDefinition/CarePlan" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.text.status" + } + ] + }, + { + "id": "CarePlan.contained", + "path": "CarePlan.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan.extension", + "path": "CarePlan.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan.modifierExtension", + "path": "CarePlan.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan.identifier", + "path": "CarePlan.identifier", + "short": "External Ids for this plan", + "definition": "Business identifiers assigned to this care plan by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", + "comment": "This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.", + "requirements": "Allows identification of the care plan as it is known by various participating systems and in a way that remains consistent across servers.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "PTH-3" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "CarePlan.instantiatesCanonical", + "path": "CarePlan.instantiatesCanonical", + "short": "Instantiates FHIR protocol or definition", + "definition": "The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.instantiatesCanonical", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "canonical", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/PlanDefinition", + "http://hl7.org/fhir/StructureDefinition/Questionnaire", + "http://hl7.org/fhir/StructureDefinition/Measure", + "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", + "http://hl7.org/fhir/StructureDefinition/OperationDefinition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.instantiatesCanonical" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "CarePlan.instantiatesUri", + "path": "CarePlan.instantiatesUri", + "short": "Instantiates external protocol or definition", + "definition": "The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.", + "comment": "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.instantiatesUri", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.instantiatesUri" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "CarePlan.basedOn", + "path": "CarePlan.basedOn", + "short": "Fulfills CarePlan", + "definition": "A care plan that is fulfilled in whole or in part by this care plan.", + "requirements": "Allows tracing of the care plan and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.basedOn" + } + ] + }, + { + "id": "CarePlan.replaces", + "path": "CarePlan.replaces", + "short": "CarePlan replaced by this CarePlan", + "definition": "Completed or terminated care plan whose function is taken by this new care plan.", + "comment": "The replacement could be because the initial care plan was immediately rejected (due to an issue) or because the previous care plan was completed, but the need for the action described by the care plan remains ongoing.", + "requirements": "Allows tracing the continuation of a therapy or administrative process instantiated through multiple care plans.", + "alias": [ + "supersedes" + ], + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.replaces", + "min": 0, + "max": "*" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.replaces" + } + ] + }, + { + "id": "CarePlan.partOf", + "path": "CarePlan.partOf", + "short": "Part of referenced CarePlan", + "definition": "A larger care plan of which this particular care plan is a component or step.", + "comment": "Each care plan is an independent request, such that having a care plan be part of another care plan can cause issues with cascading statuses. As such, this element is still being discussed.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CarePlan.status", + "path": "CarePlan.status", + "short": "draft | active | on-hold | revoked | completed | entered-in-error | unknown", + "definition": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "comment": "The unknown code is not to be used to convey other statuses. The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the care plan.\n\nThis element is labeled as a modifier because the status contains the code entered-in-error that marks the plan as not currently valid.", + "requirements": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "min": 1, + "max": "1", + "base": { + "path": "CarePlan.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "valueSet": "http://hl7.org/fhir/ValueSet/request-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.status {uses different ValueSet}" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "PTH-5" + }, + { + "identity": "rim", + "map": ".statusCode planned = new active = active completed = completed" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.status" + } + ] + }, + { + "id": "CarePlan.intent", + "path": "CarePlan.intent", + "short": "proposal | plan | order | option", + "definition": "Indicates the level of authority/intentionality associated with the care plan and where the care plan fits into the workflow chain.", + "comment": "This element is labeled as a modifier because the intent alters when and how the resource is actually applicable.", + "requirements": "Proposals/recommendations, plans and orders all use the same structure and can exist in the same fulfillment chain.", + "min": 1, + "max": "1", + "base": { + "path": "CarePlan.intent", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element changes the interpretation of all descriptive attributes. For example \"the time the request is recommended to occur\" vs. \"the time the request is authorized to occur\" or \"who is recommended to perform the request\" vs. \"who is authorized to perform the request\"", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes indicating the degree of authority/intentionality associated with a care plan", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-intent" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.intent" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (new element in STU3)" + } + ] + }, + { + "id": "CarePlan.category", + "path": "CarePlan.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Type of plan", + "definition": "Type of plan.", + "comment": "There may be multiple axes of categorization and one plan may serve multiple purposes. In some cases, this may be redundant with references to CarePlan.concern.", + "requirements": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.", + "min": 1, + "max": "*", + "base": { + "path": "CarePlan.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanCategory" + } + ], + "strength": "example", + "description": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", etc.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.category" + } + ] + }, + { + "id": "CarePlan.category:AssessPlan", + "path": "CarePlan.category", + "sliceName": "AssessPlan", + "short": "Type of plan", + "definition": "Type of plan.", + "comment": "There may be multiple axes of categorization and one plan may serve multiple purposes. In some cases, this may be redundant with references to CarePlan.concern.", + "requirements": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.", + "min": 1, + "max": "1", + "base": { + "path": "CarePlan.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanCategory" + } + ], + "strength": "example", + "description": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", etc.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.category" + } + ] + }, + { + "id": "CarePlan.title", + "path": "CarePlan.title", + "short": "Human-friendly name for the care plan", + "definition": "Human-friendly name for the care plan.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.title", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CarePlan.description", + "path": "CarePlan.description", + "short": "Summary of nature of plan", + "definition": "A description of the scope and nature of the plan.", + "requirements": "Provides more detail than conveyed by category.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.description", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + } + ] + }, + { + "id": "CarePlan.subject", + "path": "CarePlan.subject", + "short": "Who the care plan is for", + "definition": "Who care plan is for.", + "requirements": "Identifies the patient or group whose intended care is described by the plan.", + "alias": [ + "patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "CarePlan.subject", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PAT].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.subject" + } + ] + }, + { + "id": "CarePlan.encounter", + "path": "CarePlan.encounter", + "short": "Encounter created as part of", + "definition": "The Encounter during which this CarePlan was created or to which the creation of this record is tightly associated.", + "comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter. CarePlan activities conducted as a result of the care plan may well occur as part of other encounters.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "Associated PV1" + }, + { + "identity": "rim", + "map": "." + } + ] + }, + { + "id": "CarePlan.period", + "path": "CarePlan.period", + "short": "Time period plan covers", + "definition": "Indicates when the plan did (or is intended to) come into effect and end.", + "comment": "Any activities scheduled as part of the plan should be constrained to the specified period regardless of whether the activities are planned within a single encounter/episode or across multiple encounters/episodes (e.g. the longitudinal management of a chronic condition).", + "requirements": "Allows tracking what plan(s) are in effect at a particular time.", + "alias": [ + "timing" + ], + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.planned" + }, + { + "identity": "v2", + "map": "GOL-7 / GOL-8" + }, + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "CarePlan.created", + "path": "CarePlan.created", + "short": "Date record was first recorded", + "definition": "Represents when this particular CarePlan record was created in the system, which is often a system-generated date.", + "alias": [ + "authoredOn" + ], + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.created", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.authoredOn" + }, + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + } + ] + }, + { + "id": "CarePlan.author", + "path": "CarePlan.author", + "short": "Who is the designated responsible party", + "definition": "When populated, the author is responsible for the care plan. The care plan is attributed to the author.", + "comment": "The author may also be a contributor. For example, an organization can be an author, but not listed as a contributor.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.author", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.requester" + }, + { + "identity": "w5", + "map": "FiveWs.author" + } + ] + }, + { + "id": "CarePlan.contributor", + "path": "CarePlan.contributor", + "short": "Who provided the content of the care plan", + "definition": "Identifies the individual(s) or organization who provided the contents of the care plan.", + "comment": "Collaborative care plans may have multiple contributors.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.contributor", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "CarePlan.careTeam", + "path": "CarePlan.careTeam", + "short": "Who's involved in plan?", + "definition": "Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.", + "requirements": "Allows representation of care teams, helps scope care plan. In some cases may be a determiner of access permissions.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.careTeam", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.performer {similar but does not entail CareTeam}" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + } + ] + }, + { + "id": "CarePlan.addresses", + "path": "CarePlan.addresses", + "short": "Health issues this plan addresses", + "definition": "Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.", + "comment": "When the diagnosis is related to an allergy or intolerance, the Condition and AllergyIntolerance resources can both be used. However, to be actionable for decision support, using Condition alone is not sufficient as the allergy or intolerance condition needs to be represented as an AllergyIntolerance.", + "requirements": "Links plan to the conditions it manages. The element can identify risks addressed by the plan as well as active conditions. (The Condition resource can include things like \"at risk for hypertension\" or \"fall risk\".) Also scopes plans - multiple plans may exist addressing different concerns.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.addresses", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.reasonReference" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "v2", + "map": "PRB-4" + }, + { + "identity": "rim", + "map": ".actRelationship[typeCode=SUBJ].target[classCode=CONC, moodCode=EVN]" + } + ] + }, + { + "id": "CarePlan.supportingInfo", + "path": "CarePlan.supportingInfo", + "short": "Information considered as part of plan", + "definition": "Identifies portions of the patient's record that specifically influenced the formation of the plan. These might include comorbidities, recent procedures, limitations, recent assessments, etc.", + "comment": "Use \"concern\" to identify specific conditions addressed by the care plan.", + "requirements": "Identifies barriers and other considerations associated with the care plan.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.supportingInfo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.supportingInfo" + } + ] + }, + { + "id": "CarePlan.goal", + "path": "CarePlan.goal", + "short": "Desired outcome of plan", + "definition": "Describes the intended objective(s) of carrying out the care plan.", + "comment": "Goal can be achieving a particular change or merely maintaining a current state or even slowing a decline.", + "requirements": "Provides context for plan. Allows plan effectiveness to be evaluated by clinicians.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.goal", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Goal" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "GOL.1" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode<=OBJ]." + } + ] + }, + { + "id": "CarePlan.activity", + "path": "CarePlan.activity", + "short": "Action to occur as part of plan", + "definition": "Identifies a planned action to occur as part of the plan. For example, a medication to be used, lab tests to perform, self-monitoring, education, etc.", + "requirements": "Allows systems to prompt for performance of planned activities, and validate plans against best practice.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "cpl-3", + "severity": "error", + "human": "Provide a reference or detail, not both", + "expression": "detail.empty() or reference.empty()", + "xpath": "not(exists(f:detail)) or not(exists(f:reference))" + }, + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "{no mapping\nNOTE: This is a list of contained Request-Event tuples!}" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "CarePlan.activity.id", + "path": "CarePlan.activity.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan.activity.extension", + "path": "CarePlan.activity.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan.activity.modifierExtension", + "path": "CarePlan.activity.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan.activity.outcomeCodeableConcept", + "path": "CarePlan.activity.outcomeCodeableConcept", + "short": "Results of the activity", + "definition": "Identifies the outcome at the point when the status of the activity is assessed. For example, the outcome of an education activity could be patient understands (or not).", + "comment": "Note that this should not duplicate the activity status (e.g. completed or in progress).", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.outcomeCodeableConcept", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanActivityOutcome" + } + ], + "strength": "example", + "description": "Identifies the results of the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-activity-outcome" + } + }, + { + "id": "CarePlan.activity.outcomeReference", + "path": "CarePlan.activity.outcomeReference", + "short": "Appointment, Encounter, Procedure, etc.", + "definition": "Details of the outcome or action resulting from the activity. The reference to an \"event\" resource, such as Procedure or Encounter or Observation, is the result/outcome of the activity itself. The activity can be conveyed using CarePlan.activity.detail OR using the CarePlan.activity.reference (a reference to a “request” resource).", + "comment": "The activity outcome is independent of the outcome of the related goal(s). For example, if the goal is to achieve a target body weight of 150 lbs and an activity is defined to diet, then the activity outcome could be calories consumed whereas the goal outcome is an observation for the actual body weight measured.", + "requirements": "Links plan to resulting actions.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.outcomeReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "{Event that is outcome of Request in activity.reference}" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=FLFS].source" + } + ] + }, + { + "id": "CarePlan.activity.progress", + "path": "CarePlan.activity.progress", + "short": "Comments about the activity status/progress", + "definition": "Notes about the adherence/status/progress of the activity.", + "comment": "This element should NOT be used to describe the activity to be performed - that occurs either within the resource pointed to by activity.detail.reference or in activity.detail.description.", + "requirements": "Can be used to capture information about adherence, progress, concerns, etc.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.progress", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE?" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "CarePlan.activity.reference", + "path": "CarePlan.activity.reference", + "short": "Activity details defined in specific resource", + "definition": "The details of the proposed activity represented in a specific resource.", + "comment": "Standard extension exists ([resource-pertainsToGoal](http://hl7.org/fhir/R4/extension-resource-pertainstogoal.html)) that allows goals to be referenced from any of the referenced resources in CarePlan.activity.reference. \rThe goal should be visible when the resource referenced by CarePlan.activity.reference is viewed independently from the CarePlan. Requests that are pointed to by a CarePlan using this element should *not* point to this CarePlan using the \"basedOn\" element. i.e. Requests that are part of a CarePlan are not \"based on\" the CarePlan.", + "requirements": "Details in a form consistent with other applications and contexts of use.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.reference", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Appointment", + "http://hl7.org/fhir/StructureDefinition/CommunicationRequest", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/Task", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest", + "http://hl7.org/fhir/StructureDefinition/VisionPrescription", + "http://hl7.org/fhir/StructureDefinition/RequestGroup" + ] + } + ], + "condition": [ + "cpl-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "{Request that resulted in Event in activity.actionResulting}" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "CarePlan.activity.detail", + "path": "CarePlan.activity.detail", + "short": "In-line definition of activity", + "definition": "A simple summary of a planned activity suitable for a general care plan system (e.g. form driven) that doesn't know about specific resources such as procedure etc.", + "requirements": "Details in a simple form for generic care plan systems.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "condition": [ + "cpl-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP, subsetCode=SUMM].target" + } + ] + }, + { + "id": "CarePlan.activity.detail.id", + "path": "CarePlan.activity.detail.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan.activity.detail.extension", + "path": "CarePlan.activity.detail.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan.activity.detail.modifierExtension", + "path": "CarePlan.activity.detail.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan.activity.detail.kind", + "path": "CarePlan.activity.detail.kind", + "short": "Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription", + "definition": "A description of the kind of resource the in-line definition of a care plan activity is representing. The CarePlan.activity.detail is an in-line definition when a resource is not referenced using CarePlan.activity.reference. For example, a MedicationRequest, a ServiceRequest, or a CommunicationRequest.", + "requirements": "May determine what types of extensions are permitted.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.kind", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanActivityKind" + } + ], + "strength": "required", + "description": "Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-activity-kind|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=LIST].code" + } + ] + }, + { + "id": "CarePlan.activity.detail.instantiatesCanonical", + "path": "CarePlan.activity.detail.instantiatesCanonical", + "short": "Instantiates FHIR protocol or definition", + "definition": "The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity.", + "requirements": "Allows Questionnaires that the patient (or practitioner) should fill in to fulfill the care plan activity.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.instantiatesCanonical", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "canonical", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/PlanDefinition", + "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", + "http://hl7.org/fhir/StructureDefinition/Questionnaire", + "http://hl7.org/fhir/StructureDefinition/Measure", + "http://hl7.org/fhir/StructureDefinition/OperationDefinition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.instantiatesCanonical" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "CarePlan.activity.detail.instantiatesUri", + "path": "CarePlan.activity.detail.instantiatesUri", + "short": "Instantiates external protocol or definition", + "definition": "The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity.", + "comment": "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.", + "requirements": "Allows Questionnaires that the patient (or practitioner) should fill in to fulfill the care plan activity.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.instantiatesUri", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.instantiatesUri" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "CarePlan.activity.detail.code", + "path": "CarePlan.activity.detail.code", + "short": "Detail type of activity", + "definition": "Detailed description of the type of planned activity; e.g. what lab test, what procedure, what kind of encounter.", + "comment": "Tends to be less relevant for activities involving particular products. Codes should not convey negation - use \"prohibited\" instead.", + "requirements": "Allows matching performed to planned as well as validation against protocols.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanActivityType" + } + ], + "strength": "example", + "description": "Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-code" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.code" + }, + { + "identity": "v2", + "map": "OBR-4 / RXE-2 / RXO-1 / RXD-2" + }, + { + "identity": "rim", + "map": ".code" + } + ] + }, + { + "id": "CarePlan.activity.detail.reasonCode", + "path": "CarePlan.activity.detail.reasonCode", + "short": "Why activity should be done or why activity was prohibited", + "definition": "Provides the rationale that drove the inclusion of this particular activity as part of the plan or the reason why the activity was prohibited.", + "comment": "This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonCondition instead.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.reasonCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanActivityReason" + } + ], + "strength": "example", + "description": "Identifies why a care plan activity is needed. Can include any health condition codes as well as such concepts as \"general wellness\", prophylaxis, surgical preparation, etc.", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.reasonCode" + } + ] + }, + { + "id": "CarePlan.activity.detail.reasonReference", + "path": "CarePlan.activity.detail.reasonReference", + "short": "Why activity is needed", + "definition": "Indicates another resource, such as the health condition(s), whose existence justifies this request and drove the inclusion of this particular activity as part of the plan.", + "comment": "Conditions can be identified at the activity level that are not identified as reasons for the overall plan.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.reasonReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "http://hl7.org/fhir/StructureDefinition/DocumentReference" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.reasonReference" + } + ] + }, + { + "id": "CarePlan.activity.detail.goal", + "path": "CarePlan.activity.detail.goal", + "short": "Goals this activity relates to", + "definition": "Internal reference that identifies the goals that this activity is intended to contribute towards meeting.", + "requirements": "So that participants know the link explicitly.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.goal", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Goal" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode<=OBJ]." + } + ] + }, + { + "id": "CarePlan.activity.detail.status", + "path": "CarePlan.activity.detail.status", + "short": "not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error", + "definition": "Identifies what progress is being made for the specific activity.", + "comment": "Some aspects of status can be inferred based on the resources linked in actionTaken. Note that \"status\" is only as current as the plan was most recently updated. \nThe unknown code is not to be used to convey other statuses. The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the activity.", + "requirements": "Indicates progress against the plan, whether the activity is still relevant for the plan.", + "min": 1, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the activity should not be treated as valid", + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanActivityStatus" + } + ], + "strength": "required", + "description": "Codes that reflect the current state of a care plan activity within its overall life cycle.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.status" + }, + { + "identity": "v2", + "map": "ORC-5?" + }, + { + "identity": "rim", + "map": ".statusCode not-started = new scheduled = not-started (and fulfillment relationship to appointent) in-progress = active on-hold = suspended completed = completed cancelled = aborted" + } + ] + }, + { + "id": "CarePlan.activity.detail.statusReason", + "path": "CarePlan.activity.detail.statusReason", + "short": "Reason for current status", + "definition": "Provides reason why the activity isn't yet started, is on hold, was cancelled, etc.", + "comment": "Will generally not be present if status is \"complete\". Be sure to prompt to update this (or at least remove the existing value) if the status is changed.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.statusReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.statusReason" + } + ] + }, + { + "id": "CarePlan.activity.detail.doNotPerform", + "path": "CarePlan.activity.detail.doNotPerform", + "short": "If true, activity is prohibiting action", + "definition": "If true, indicates that the described activity is one that must NOT be engaged in when following the plan. If false, or missing, indicates that the described activity is one that should be engaged in when following the plan.", + "comment": "This element is labeled as a modifier because it marks an activity as an activity that is not to be performed.", + "requirements": "Captures intention to not do something that may have been previously typical.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.doNotPerform", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "If missing indicates that the described activity is one that should be engaged in when following the plan.", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "If true this element negates the specified action. For example, instead of a request for a procedure, it is a request for the procedure to not occur.", + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.doNotPerform" + }, + { + "identity": "rim", + "map": "actionNegationInd" + } + ] + }, + { + "id": "CarePlan.activity.detail.scheduled[x]", + "path": "CarePlan.activity.detail.scheduled[x]", + "short": "When activity is to occur", + "definition": "The period, timing or frequency upon which the described activity is to occur.", + "requirements": "Allows prompting for activities and detection of missed planned activities.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.scheduled[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Timing" + }, + { + "code": "Period" + }, + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.occurrence[x]" + }, + { + "identity": "v2", + "map": "TQ1" + }, + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "CarePlan.activity.detail.location", + "path": "CarePlan.activity.detail.location", + "short": "Where it should happen", + "definition": "Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.", + "comment": "May reference a specific clinical location or may identify a type of location.", + "requirements": "Helps in planning of activity.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.location", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBR-24(???!!)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=LOC].role" + } + ] + }, + { + "id": "CarePlan.activity.detail.performer", + "path": "CarePlan.activity.detail.performer", + "short": "Who will be responsible?", + "definition": "Identifies who's expected to be involved in the activity.", + "comment": "A performer MAY also be a participant in the care plan.", + "requirements": "Helps in planning of activity.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/HealthcareService", + "http://hl7.org/fhir/StructureDefinition/Device" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.performer" + }, + { + "identity": "v2", + "map": "PRT-5 : ( PRV-4 = (provider participations)); PRT-5 : ( PRV-4 = (non-provider person participations )) ; PRT-5 : ( PRV-4 = (patient non-subject of care) ) ; PRT-8" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PFM]" + } + ] + }, + { + "id": "CarePlan.activity.detail.product[x]", + "path": "CarePlan.activity.detail.product[x]", + "short": "What is to be administered/supplied", + "definition": "Identifies the food, drug or other product to be consumed or supplied in the activity.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.product[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Medication", + "http://hl7.org/fhir/StructureDefinition/Substance" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanProduct" + } + ], + "strength": "example", + "description": "A product supplied or administered as part of a care plan activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/medication-codes" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXE-2 / RXO-1 / RXD-2" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRD].role" + } + ] + }, + { + "id": "CarePlan.activity.detail.dailyAmount", + "path": "CarePlan.activity.detail.dailyAmount", + "short": "How to consume/day?", + "definition": "Identifies the quantity expected to be consumed in a given day.", + "requirements": "Allows rough dose checking.", + "alias": [ + "daily dose" + ], + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.dailyAmount", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "RXO-23 / RXE-19 / RXD-12" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP][classCode=SBADM].doseQuantity" + } + ] + }, + { + "id": "CarePlan.activity.detail.quantity", + "path": "CarePlan.activity.detail.quantity", + "short": "How much to administer/supply/consume", + "definition": "Identifies the quantity expected to be supplied, administered or consumed by the subject.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.quantity", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "RXO-11 / RXE-10 / RXD-4 / RXG-5 / RXA-6 / TQ1-2.1 *and* RXO-12 / RXE-11 / RXD-5 / RXG-7 / RXA-7 / TQ1-2.2" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP][classCode=SPLY].quantity" + } + ] + }, + { + "id": "CarePlan.activity.detail.description", + "path": "CarePlan.activity.detail.description", + "short": "Extra info describing activity to perform", + "definition": "This provides a textual description of constraints on the intended activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.description", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE?" + }, + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "CarePlan.note", + "path": "CarePlan.note", + "short": "Comments about the plan", + "definition": "General notes about the care plan not covered elsewhere.", + "requirements": "Used to capture information that applies to the plan as a whole that doesn't fit into discrete elements.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.note" + }, + { + "identity": "v2", + "map": "NTE?" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "CarePlan", + "path": "CarePlan", + "definition": "The US Core CarePlan Profile is based upon the core FHIR CarePlan Resource and created to meet the 2015 Edition Common Clinical Data Set 'Assessment and Plan of Treatment requirements.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan" + } + ] + }, + { + "id": "CarePlan.text", + "path": "CarePlan.text", + "min": 1, + "max": "1", + "type": [ + { + "code": "Narrative" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.text" + } + ] + }, + { + "id": "CarePlan.text.status", + "path": "CarePlan.text.status", + "mustSupport": true + }, + { + "id": "CarePlan.text.div", + "path": "CarePlan.text.div", + "mustSupport": true, + "binding": { + "strength": "required", + "description": "Constrained value set of narrative statuses.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.text.status" + } + ] + }, + { + "id": "CarePlan.status", + "path": "CarePlan.status", + "requirements": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "description": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "valueSet": "http://hl7.org/fhir/ValueSet/request-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.status" + } + ] + }, + { + "id": "CarePlan.intent", + "path": "CarePlan.intent", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "description": "Codes indicating the degree of authority/intentionality associated with a care plan", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-intent" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (new element in STU3)" + } + ] + }, + { + "id": "CarePlan.category", + "path": "CarePlan.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "definition": "Type of plan.", + "requirements": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.category" + } + ] + }, + { + "id": "CarePlan.category:AssessPlan", + "path": "CarePlan.category", + "sliceName": "AssessPlan", + "definition": "Type of plan.", + "requirements": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + }, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.category" + } + ] + }, + { + "id": "CarePlan.subject", + "path": "CarePlan.subject", + "definition": "Who care plan is for.", + "requirements": "Identifies the patient or group whose intended care is described by the plan.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.subject" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-careteam.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-careteam.json new file mode 100644 index 00000000000..1ae98e9c66c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-careteam.json @@ -0,0 +1,1521 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-careteam", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "version": "4.0.0", + "name": "USCoreCareTeam", + "title": "US Core CareTeam Profile", + "status": "active", + "experimental": false, + "date": "2020-06-26", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints and extensions on the CareTeam resource for the minimal set of data to query and retrieve a patient's Care Team.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "CareTeam", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CareTeam", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "CareTeam", + "path": "CareTeam", + "short": "Planned participants in the coordination and delivery of care for a patient or group", + "definition": "The US Core CareTeam Profile is based upon the core FHIR CareTeam Resource and created to meet the 2015 Edition Common Clinical Data Set 'Care team member(s)' requirements.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan" + } + ] + }, + { + "id": "CareTeam.id", + "path": "CareTeam.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CareTeam.meta", + "path": "CareTeam.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CareTeam.implicitRules", + "path": "CareTeam.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "CareTeam.language", + "path": "CareTeam.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "CareTeam.text", + "path": "CareTeam.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "CareTeam.contained", + "path": "CareTeam.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam.extension", + "path": "CareTeam.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam.modifierExtension", + "path": "CareTeam.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam.identifier", + "path": "CareTeam.identifier", + "short": "External Ids for this team", + "definition": "Business identifiers assigned to this care team by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", + "comment": "This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.", + "requirements": "Allows identification of the care team as it is known by various participating systems and in a way that remains consistent across servers.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + } + ] + }, + { + "id": "CareTeam.status", + "path": "CareTeam.status", + "short": "proposed | active | suspended | inactive | entered-in-error", + "definition": "Indicates the current state of the care team.", + "comment": "This element is labeled as a modifier because the status contains the code entered-in-error that marks the care team as not currently valid.", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.status", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Indicates whether the team is current , represents future intentions or is now a historical record.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-team-status" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.status" + } + ] + }, + { + "id": "CareTeam.category", + "path": "CareTeam.category", + "short": "Type of team", + "definition": "Identifies what kind of team. This is to support differentiation between multiple co-existing teams, such as care plan team, episode of care team, longitudinal care team.", + "comment": "There may be multiple axis of categorization and one team may serve multiple purposes.", + "requirements": "Used for filtering what teams(s) are retrieved and displayed to different types of users.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CareTeamCategory" + } + ], + "strength": "example", + "description": "Indicates the type of care team.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-team-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + } + ] + }, + { + "id": "CareTeam.name", + "path": "CareTeam.name", + "short": "Name of the team, such as crisis assessment team", + "definition": "A label for human use intended to distinguish like teams. E.g. the \"red\" vs. \"green\" trauma teams.", + "comment": "The meaning/purpose of the team is conveyed in CareTeam.category. This element may also convey semantics of the team (e.g. \"Red trauma team\"), but its primary purpose is to distinguish between identical teams in a human-friendly way. (\"Team 18735\" isn't as friendly.).", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.name", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CareTeam.subject", + "path": "CareTeam.subject", + "short": "Who care team is for", + "definition": "Identifies the patient or group whose intended care is handled by the team.", + "requirements": "Allows the team to care for a group (e.g. marriage) therapy. \nAllows for an organization to designate a team such as the PICC line team.", + "alias": [ + "patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "CareTeam.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.subject" + } + ] + }, + { + "id": "CareTeam.encounter", + "path": "CareTeam.encounter", + "short": "Encounter created as part of", + "definition": "The Encounter during which this CareTeam was created or to which the creation of this record is tightly associated.", + "comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.context" + } + ] + }, + { + "id": "CareTeam.period", + "path": "CareTeam.period", + "short": "Time period team covers", + "definition": "Indicates when the team did (or is intended to) come into effect and end.", + "requirements": "Allows tracking what team(s) are in effect at a particular time.", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.init" + } + ] + }, + { + "id": "CareTeam.participant", + "path": "CareTeam.participant", + "short": "Members of the team", + "definition": "Identifies all people and organizations who are expected to be involved in the care team.", + "min": 1, + "max": "*", + "base": { + "path": "CareTeam.participant", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "condition": [ + "ctm-1" + ], + "constraint": [ + { + "key": "ctm-1", + "severity": "error", + "human": "CareTeam.participant.onBehalfOf can only be populated when CareTeam.participant.member is a Practitioner", + "expression": "onBehalfOf.exists() implies (member.resolve().iif(empty(), true, ofType(Practitioner).exists()))", + "xpath": "starts-with(f:member/f:reference/@value, 'Practitioner/') or contains(f:member/f:reference/@value, '/Practitioner/') or exists(ancestor::*/f:contains/f:Practitioner/f:id[@value=substring-after(current()/f:member/f:reference/@value, '#')]) or not(exists(f:onBehalfOf))", + "source": "http://hl7.org/fhir/StructureDefinition/CareTeam" + }, + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "REL (REL.4 is always the Patient) ( or PRT?)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant" + } + ] + }, + { + "id": "CareTeam.participant.id", + "path": "CareTeam.participant.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CareTeam.participant.extension", + "path": "CareTeam.participant.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CareTeam.participant.modifierExtension", + "path": "CareTeam.participant.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam.participant.role", + "path": "CareTeam.participant.role", + "short": "Type of involvement", + "definition": "Indicates specific responsibility of an individual within the care team, such as \"Primary care physician\", \"Trained social worker counselor\", \"Caregiver\", etc.", + "comment": "Roles may sometimes be inferred by type of Practitioner. These are relationships that hold only within the context of the care team. General relationships should be handled as properties of the Patient resource directly.", + "min": 1, + "max": "1", + "base": { + "path": "CareTeam.participant.role", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.30" + }, + "mapping": [ + { + "identity": "v2", + "map": "REL.2 (or PRT-4?)" + }, + { + "identity": "rim", + "map": ".functionCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant.role" + } + ] + }, + { + "id": "CareTeam.participant.member", + "path": "CareTeam.participant.member", + "short": "Who is involved", + "definition": "The specific person or organization who is participating/expected to participate in the care team.", + "comment": "Patient only needs to be listed if they have a role other than \"subject of care\".\n\nMember is optional because some participants may be known only by their role, particularly in draft plans.", + "min": 1, + "max": "1", + "base": { + "path": "CareTeam.participant.member", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "REL.5 (or PRT-5 : ( PRV-4 {provider participations} ) / PRT-5 : ( PRV-4 {non-provider person participations} ) / PRT-5 : ( PRV-4 = (patient non-subject of care) ) / PRT-8?)" + }, + { + "identity": "rim", + "map": ".role" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant.member" + } + ] + }, + { + "id": "CareTeam.participant.onBehalfOf", + "path": "CareTeam.participant.onBehalfOf", + "short": "Organization of the practitioner", + "definition": "The organization of the practitioner.", + "requirements": "Practitioners can be associated with multiple organizations. This element indicates which organization they were acting on behalf of.", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.participant.onBehalfOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CareTeam.participant.period", + "path": "CareTeam.participant.period", + "short": "Time period of participant", + "definition": "Indicates when the specific member or organization did (or is intended to) come into effect and end.", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.participant.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "CareTeam.reasonCode", + "path": "CareTeam.reasonCode", + "short": "Why the care team exists", + "definition": "Describes why the care team exists.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.reasonCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CareTeamReason" + } + ], + "strength": "example", + "description": "Indicates the reason for the care team.", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.why[x]" + } + ] + }, + { + "id": "CareTeam.reasonReference", + "path": "CareTeam.reasonReference", + "short": "Why the care team exists", + "definition": "Condition(s) that this care team addresses.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.reasonReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.why[x]" + } + ] + }, + { + "id": "CareTeam.managingOrganization", + "path": "CareTeam.managingOrganization", + "short": "Organization responsible for the care team", + "definition": "The organization responsible for the care team.", + "requirements": "Allows for multiple organizations to collaboratively manage cross-organizational, longitudinal care plan.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.managingOrganization", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CareTeam.telecom", + "path": "CareTeam.telecom", + "short": "A contact detail for the care team (that applies to all members)", + "definition": "A central contact detail for the care team (that applies to all members).", + "comment": "The ContactPoint.use code of home is not appropriate to use. These contacts are not the contact details of individual care team members.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "CareTeam.note", + "path": "CareTeam.note", + "short": "Comments made about the CareTeam", + "definition": "Comments made about the CareTeam.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + } + ] + }, + "differential": { + "element": [ + { + "id": "CareTeam", + "path": "CareTeam", + "definition": "The US Core CareTeam Profile is based upon the core FHIR CareTeam Resource and created to meet the 2015 Edition Common Clinical Data Set 'Care team member(s)' requirements.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan" + } + ] + }, + { + "id": "CareTeam.status", + "path": "CareTeam.status", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "description": "Indicates whether the team is current , represents future intentions or is now a historical record.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-team-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.status" + } + ] + }, + { + "id": "CareTeam.subject", + "path": "CareTeam.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.subject" + } + ] + }, + { + "id": "CareTeam.participant", + "path": "CareTeam.participant", + "min": 1, + "max": "*", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant" + } + ] + }, + { + "id": "CareTeam.participant.role", + "path": "CareTeam.participant.role", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.30" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant.role" + } + ] + }, + { + "id": "CareTeam.participant.member", + "path": "CareTeam.participant.member", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant.member" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-condition.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-condition.json new file mode 100644 index 00000000000..1ce501a61c0 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-condition.json @@ -0,0 +1,2150 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-condition", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition", + "version": "4.0.0", + "name": "USCoreCondition", + "title": "US Core Condition Profile", + "status": "active", + "experimental": false, + "date": "2020-06-27", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints and extensions on the Condition resource for the minimal set of data to query and retrieve problems and health concerns information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Condition", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Condition", + "path": "Condition", + "short": "Detailed information about conditions, problems or diagnoses", + "definition": "The US Core Condition Profile is based upon the core FHIR Condition Resource and created to meet the 2015 Edition Common Clinical Data Set 'Problems' and 'Health Concerns' requirements.", + "min": 0, + "max": "*", + "base": { + "path": "Condition", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "Most systems will expect a clinicalStatus to be valued for problem-list-items that are managed over time, but might not need a clinicalStatus for point in time encounter-diagnosis." + } + ], + "key": "con-3", + "severity": "warning", + "human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item", + "expression": "clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()", + "xpath": "exists(f:clinicalStatus) or exists(f:verificationStatus/f:coding/f:code/@value='entered-in-error') or not(exists(category[@value='problem-list-item']))", + "source": "http://hl7.org/fhir/StructureDefinition/Condition" + }, + { + "key": "con-4", + "severity": "error", + "human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission", + "expression": "abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()", + "xpath": "not(exists(*[starts-with(local-name(.), 'abatement')])) or exists(f:clinicalStatus/f:coding[f:system/@value='http://terminology.hl7.org/CodeSystem/condition-clinical' and f:code/@value=('resolved', 'remission', 'inactive')])", + "source": "http://hl7.org/fhir/StructureDefinition/Condition" + }, + { + "key": "con-5", + "severity": "error", + "human": "Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error", + "expression": "verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()", + "xpath": "not(exists(f:verificationStatus/f:coding[f:system/@value='http://terminology.hl7.org/CodeSystem/condition-ver-status' and f:code/@value='entered-in-error'])) or not(exists(f:clinicalStatus))", + "source": "http://hl7.org/fhir/StructureDefinition/Condition" + }, + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "us-core-1", + "severity": "warning", + "human": "A code in Condition.category SHOULD be from US Core Condition Category Codes value set.", + "expression": "where(category.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category')).exists()", + "xpath": "(no xpath equivalent)" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 243796009 |Situation with explicit context| : 246090004 |Associated finding| = ( ( < 404684003 |Clinical finding| MINUS ( << 420134006 |Propensity to adverse reactions| OR << 473010000 |Hypersensitivity condition| OR << 79899007 |Drug interaction| OR << 69449002 |Drug action| OR << 441742003 |Evaluation finding| OR << 307824009 |Administrative status| OR << 385356007 |Tumor stage finding|)) OR < 272379006 |Event|)" + }, + { + "identity": "v2", + "map": "PPR message" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Condition.implicitRules", + "path": "Condition.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Condition.language", + "path": "Condition.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Condition.text", + "path": "Condition.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Condition.contained", + "path": "Condition.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition.extension", + "path": "Condition.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition.modifierExtension", + "path": "Condition.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition.identifier", + "path": "Condition.identifier", + "short": "External Ids for this condition", + "definition": "Business identifiers assigned to this condition by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", + "comment": "This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.", + "requirements": "Allows identification of the condition as it is known by various participating systems and in a way that remains consistent across servers.", + "min": 0, + "max": "*", + "base": { + "path": "Condition.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Condition.clinicalStatus", + "path": "Condition.clinicalStatus", + "short": "active | recurrence | relapse | inactive | remission | resolved", + "definition": "The clinical status of the condition.", + "comment": "The data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.clinicalStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "con-3", + "con-4", + "con-5" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the status contains codes that mark the condition as no longer active.", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-clinical" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 303105007 |Disease phases|" + }, + { + "identity": "v2", + "map": "PRB-14" + }, + { + "identity": "rim", + "map": "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"clinicalStatus\", moodCode=EVN].value" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.clinicalStatus" + } + ] + }, + { + "id": "Condition.verificationStatus", + "path": "Condition.verificationStatus", + "short": "unconfirmed | provisional | differential | confirmed | refuted | entered-in-error", + "definition": "The verification status to support the clinical status of the condition.", + "comment": "verificationStatus is not required. For example, when a patient has abdominal pain in the ED, there is not likely going to be a verification status.\nThe data type is CodeableConcept because verificationStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.verificationStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "con-3", + "con-5" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the status contains the code refuted and entered-in-error that mark the Condition as not currently valid.", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-ver-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 410514004 |Finding context value|" + }, + { + "identity": "v2", + "map": "PRB-13" + }, + { + "identity": "rim", + "map": "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"verificationStatus\", moodCode=EVN].value" + }, + { + "identity": "sct-attr", + "map": "408729009" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.verificationStatus" + } + ] + }, + { + "id": "Condition.category", + "path": "Condition.category", + "short": "problem-list-item | encounter-diagnosis | health-concern", + "definition": "A category assigned to the condition.", + "comment": "The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts.", + "min": 1, + "max": "*", + "base": { + "path": "Condition.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "us-core-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "sct-concept", + "map": "< 404684003 |Clinical finding|" + }, + { + "identity": "v2", + "map": "'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.category" + } + ] + }, + { + "id": "Condition.severity", + "path": "Condition.severity", + "short": "Subjective severity of condition", + "definition": "A subjective assessment of the severity of the condition as evaluated by the clinician.", + "comment": "Coding of the severity with a terminology is preferred, where possible.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.severity", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ConditionSeverity" + } + ], + "strength": "preferred", + "description": "A subjective assessment of the severity of the condition as evaluated by the clinician.", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-severity" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.grade" + }, + { + "identity": "sct-concept", + "map": "< 272141005 |Severities|" + }, + { + "identity": "v2", + "map": "PRB-26 / ABS-3" + }, + { + "identity": "rim", + "map": "Can be pre/post-coordinated into value. Or ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"severity\"].value" + }, + { + "identity": "sct-attr", + "map": "246112005" + } + ] + }, + { + "id": "Condition.code", + "path": "Condition.code", + "short": "Identification of the condition, problem or diagnosis", + "definition": "Identification of the condition, problem or diagnosis.", + "requirements": "0..1 to account for primarily narrative only resources.", + "alias": [ + "type" + ], + "min": 1, + "max": "1", + "base": { + "path": "Condition.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Valueset to describe the actual problem experienced by the patient", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "code 246090004 |Associated finding| (< 404684003 |Clinical finding| MINUS\n<< 420134006 |Propensity to adverse reactions| MINUS \n<< 473010000 |Hypersensitivity condition| MINUS \n<< 79899007 |Drug interaction| MINUS\n<< 69449002 |Drug action| MINUS \n<< 441742003 |Evaluation finding| MINUS \n<< 307824009 |Administrative status| MINUS \n<< 385356007 |Tumor stage finding|) \nOR < 413350009 |Finding with explicit context|\nOR < 272379006 |Event|" + }, + { + "identity": "v2", + "map": "PRB-3" + }, + { + "identity": "rim", + "map": ".value" + }, + { + "identity": "sct-attr", + "map": "246090004" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.code" + } + ] + }, + { + "id": "Condition.bodySite", + "path": "Condition.bodySite", + "short": "Anatomical location, if relevant", + "definition": "The anatomical location where this condition manifests itself.", + "comment": "Only used if not implicit in code found in Condition.code. If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](http://hl7.org/fhir/R4/extension-bodysite.html). May be a summary code, or a reference to a very precise definition of the location, or both.", + "min": 0, + "max": "*", + "base": { + "path": "Condition.bodySite", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 442083009 |Anatomical or acquired body structure|" + }, + { + "identity": "rim", + "map": ".targetBodySiteCode" + }, + { + "identity": "sct-attr", + "map": "363698007" + } + ] + }, + { + "id": "Condition.subject", + "path": "Condition.subject", + "short": "Who has the condition?", + "definition": "Indicates the patient or group who the condition record is associated with.", + "requirements": "Group is typically used for veterinary or public health use cases.", + "alias": [ + "patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "Condition.subject", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.patient" + } + ] + }, + { + "id": "Condition.encounter", + "path": "Condition.encounter", + "short": "Encounter created as part of", + "definition": "The Encounter during which this Condition was created or to which the creation of this record is tightly associated.", + "comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter. This record indicates the encounter this particular record is associated with. In the case of a \"new\" diagnosis reflecting ongoing/revised information about the condition, this might be distinct from the first encounter in which the underlying condition was first \"known\".", + "min": 0, + "max": "1", + "base": { + "path": "Condition.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1-19 (+PV1-54)" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Condition.onset[x]", + "path": "Condition.onset[x]", + "short": "Estimated or actual date, date-time, or age", + "definition": "Estimated or actual date or date-time the condition began, in the opinion of the clinician.", + "comment": "Age is generally used when the patient reports an age at which the Condition began to occur.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.onset[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.init" + }, + { + "identity": "v2", + "map": "PRB-16" + }, + { + "identity": "rim", + "map": ".effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at onset\"].value" + } + ] + }, + { + "id": "Condition.abatement[x]", + "path": "Condition.abatement[x]", + "short": "When in resolution/remission", + "definition": "The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate.", + "comment": "There is no explicit distinction between resolution and remission because in many cases the distinction is not clear. Age is generally used when the patient reports an age at which the Condition abated. If there is no abatement element, it is unknown whether the condition has resolved or entered remission; applications and users should generally assume that the condition is still valid. When abatementString exists, it implies the condition is abated.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.abatement[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "condition": [ + "con-4" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "rim", + "map": ".effectiveTime.high or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at remission\"].value or .inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed" + } + ] + }, + { + "id": "Condition.recordedDate", + "path": "Condition.recordedDate", + "short": "Date record was first recorded", + "definition": "The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.recordedDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "REL-11" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Condition.recorder", + "path": "Condition.recorder", + "short": "Who recorded the condition", + "definition": "Individual who recorded the record and takes responsibility for its content.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.recorder", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.author" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + } + ] + }, + { + "id": "Condition.asserter", + "path": "Condition.asserter", + "short": "Person who asserts this condition", + "definition": "Individual who is making the condition statement.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.asserter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + }, + { + "identity": "v2", + "map": "REL-7.1 identifier + REL-7.12 type code" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role" + } + ] + }, + { + "id": "Condition.stage", + "path": "Condition.stage", + "short": "Stage/grade, usually assessed formally", + "definition": "Clinical stage or grade of a condition. May include formal severity assessments.", + "min": 0, + "max": "*", + "base": { + "path": "Condition.stage", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "con-1", + "severity": "error", + "human": "Stage SHALL have summary or assessment", + "expression": "summary.exists() or assessment.exists()", + "xpath": "exists(f:summary) or exists(f:assessment)" + }, + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]" + } + ] + }, + { + "id": "Condition.stage.id", + "path": "Condition.stage.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition.stage.extension", + "path": "Condition.stage.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition.stage.modifierExtension", + "path": "Condition.stage.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition.stage.summary", + "path": "Condition.stage.summary", + "short": "Simple summary (disease specific)", + "definition": "A simple summary of the stage such as \"Stage 3\". The determination of the stage is disease-specific.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.stage.summary", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "con-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ConditionStage" + } + ], + "strength": "example", + "description": "Codes describing condition stages (e.g. Cancer stages).", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-stage" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 254291000 |Staging and scales|" + }, + { + "identity": "v2", + "map": "PRB-14" + }, + { + "identity": "rim", + "map": ".value" + } + ] + }, + { + "id": "Condition.stage.assessment", + "path": "Condition.stage.assessment", + "short": "Formal record of assessment", + "definition": "Reference to a formal record of the evidence on which the staging assessment is based.", + "min": 0, + "max": "*", + "base": { + "path": "Condition.stage.assessment", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/ClinicalImpression", + "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "http://hl7.org/fhir/StructureDefinition/Observation" + ] + } + ], + "condition": [ + "con-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition.stage.type", + "path": "Condition.stage.type", + "short": "Kind of staging", + "definition": "The kind of staging, such as pathological or clinical staging.", + "min": 0, + "max": "1", + "base": { + "path": "Condition.stage.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ConditionStageType" + } + ], + "strength": "example", + "description": "Codes describing the kind of condition staging (e.g. clinical or pathological).", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-stage-type" + }, + "mapping": [ + { + "identity": "rim", + "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage type\"]" + } + ] + }, + { + "id": "Condition.evidence", + "path": "Condition.evidence", + "short": "Supporting evidence", + "definition": "Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.", + "comment": "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.", + "min": 0, + "max": "*", + "base": { + "path": "Condition.evidence", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "con-2", + "severity": "error", + "human": "evidence SHALL have code or details", + "expression": "code.exists() or detail.exists()", + "xpath": "exists(f:code) or exists(f:detail)" + }, + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Condition.evidence.id", + "path": "Condition.evidence.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition.evidence.extension", + "path": "Condition.evidence.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition.evidence.modifierExtension", + "path": "Condition.evidence.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition.evidence.code", + "path": "Condition.evidence.code", + "short": "Manifestation/symptom", + "definition": "A manifestation or symptom that led to the recording of this condition.", + "min": 0, + "max": "*", + "base": { + "path": "Condition.evidence.code", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "con-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ManifestationOrSymptom" + } + ], + "strength": "example", + "description": "Codes that describe the manifestation or symptoms of a condition.", + "valueSet": "http://hl7.org/fhir/ValueSet/manifestation-or-symptom" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonCode" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "sct-concept", + "map": "< 404684003 |Clinical finding|" + }, + { + "identity": "rim", + "map": "[code=\"diagnosis\"].value" + } + ] + }, + { + "id": "Condition.evidence.detail", + "path": "Condition.evidence.detail", + "short": "Supporting information found elsewhere", + "definition": "Links to other relevant information, including pathology reports.", + "min": 0, + "max": "*", + "base": { + "path": "Condition.evidence.detail", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "condition": [ + "con-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition.note", + "path": "Condition.note", + "short": "Additional information about the Condition", + "definition": "Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.", + "min": 0, + "max": "*", + "base": { + "path": "Condition.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.note" + }, + { + "identity": "v2", + "map": "NTE child of PRB" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Condition", + "path": "Condition", + "definition": "The US Core Condition Profile is based upon the core FHIR Condition Resource and created to meet the 2015 Edition Common Clinical Data Set 'Problems' and 'Health Concerns' requirements.", + "constraint": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "us-core-1", + "severity": "warning", + "human": "A code in Condition.category SHOULD be from US Core Condition Category Codes value set.", + "expression": "where(category.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category')).exists()", + "xpath": "(no xpath equivalent)" + } + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition" + } + ] + }, + { + "id": "Condition.clinicalStatus", + "path": "Condition.clinicalStatus", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-clinical" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.clinicalStatus" + } + ] + }, + { + "id": "Condition.verificationStatus", + "path": "Condition.verificationStatus", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-ver-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.verificationStatus" + } + ] + }, + { + "id": "Condition.category", + "path": "Condition.category", + "short": "problem-list-item | encounter-diagnosis | health-concern", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "us-core-1" + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.category" + } + ] + }, + { + "id": "Condition.code", + "path": "Condition.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Valueset to describe the actual problem experienced by the patient", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.code" + } + ] + }, + { + "id": "Condition.subject", + "path": "Condition.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.patient" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-diagnosticreport-lab.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-diagnosticreport-lab.json new file mode 100644 index 00000000000..e414e7a695d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-diagnosticreport-lab.json @@ -0,0 +1,1998 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-diagnosticreport-lab", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab", + "version": "4.0.0", + "name": "USCoreDiagnosticReportProfileLaboratoryReporting", + "title": "US Core DiagnosticReport Profile for Laboratory Results Reporting", + "status": "active", + "experimental": false, + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints and extensions on the DiagnosticReport resource for the minimal set of data to query and retrieve diagnostic reports associated with laboratory results for a patient", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "DiagnosticReport", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DiagnosticReport", + "path": "DiagnosticReport", + "short": "A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports", + "definition": "The US Core Diagnostic Report Profile is based upon the core FHIR DiagnosticReport Resource and created to meet the 2015 Edition Common Clinical Data Set 'Laboratory test(s) and Laboratory value(s)/result(s)' requirements.", + "comment": "This is intended to capture a single report and is not suitable for use in displaying summary information that covers multiple reports. For example, this resource has not been designed for laboratory cumulative reporting formats nor detailed structured reports for sequencing.", + "alias": [ + "Report", + "Test", + "Result", + "Results", + "Labs", + "Laboratory", + "Lab Result", + "Lab Report" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "v2", + "map": "ORU -> OBR" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.id", + "path": "DiagnosticReport.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "DiagnosticReport.meta", + "path": "DiagnosticReport.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "DiagnosticReport.implicitRules", + "path": "DiagnosticReport.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "DiagnosticReport.language", + "path": "DiagnosticReport.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "DiagnosticReport.text", + "path": "DiagnosticReport.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DiagnosticReport.contained", + "path": "DiagnosticReport.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport.extension", + "path": "DiagnosticReport.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport.modifierExtension", + "path": "DiagnosticReport.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport.identifier", + "path": "DiagnosticReport.identifier", + "short": "Business identifier for report", + "definition": "Identifiers assigned to this report by the performer or other systems.", + "comment": "Usually assigned by the Information System of the diagnostic service provider (filler id).", + "requirements": "Need to know what identifier to use when making queries about this report from the source laboratory, and for linking to the report outside FHIR context.", + "alias": [ + "ReportID", + "Filler ID", + "Placer ID" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBR-51/ for globally unique filler ID - OBR-3 , For non-globally unique filler-id the flller/placer number must be combined with the universal service Id - OBR-2(if present)+OBR-3+OBR-4" + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "DiagnosticReport.basedOn", + "path": "DiagnosticReport.basedOn", + "short": "What was requested", + "definition": "Details concerning a service requested.", + "comment": "Note: Usually there is one test request for each result, however in some circumstances multiple test requests may be represented using a single test result resource. Note that there are also cases where one request leads to multiple reports.", + "requirements": "This allows tracing of authorization for the report and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Request" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC? OBR-2/3?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "DiagnosticReport.status", + "path": "DiagnosticReport.status", + "short": "registered | partial | preliminary | final +", + "definition": "The status of the diagnostic report.", + "requirements": "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.", + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "OBR-25 (not 1:1 mapping)" + }, + { + "identity": "rim", + "map": "statusCode Note: final and amended are distinguished by whether observation is the subject of a ControlAct event of type \"revise\"" + } + ] + }, + { + "id": "DiagnosticReport.category", + "path": "DiagnosticReport.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Service category", + "definition": "A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.", + "comment": "Multiple categories are allowed using various categorization schemes. The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code.", + "alias": [ + "Department", + "Sub-department", + "Service", + "Discipline" + ], + "min": 1, + "max": "*", + "base": { + "path": "DiagnosticReport.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DiagnosticServiceSection" + } + ], + "strength": "example", + "description": "Codes for diagnostic service sections.", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-service-sections" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + } + ] + }, + { + "id": "DiagnosticReport.category:LaboratorySlice", + "path": "DiagnosticReport.category", + "sliceName": "LaboratorySlice", + "short": "Service category", + "definition": "A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.", + "comment": "Multiple categories are allowed using various categorization schemes. The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code.", + "alias": [ + "Department", + "Sub-department", + "Service", + "Discipline" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DiagnosticServiceSection" + } + ], + "strength": "example", + "description": "Codes for diagnostic service sections.", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-service-sections" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + } + ] + }, + { + "id": "DiagnosticReport.code", + "path": "DiagnosticReport.code", + "short": "US Core Laboratory Report Order Code", + "definition": "The test, panel or battery that was ordered.", + "comment": "UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.", + "alias": [ + "Type" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "OBR-4 (HL7 v2 doesn't provide an easy way to indicate both the ordered test and the performed panel)" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "DiagnosticReport.subject", + "path": "DiagnosticReport.subject", + "short": "The subject of the report - usually, but not always, the patient", + "definition": "The subject of the report. Usually, but not always, this is a patient. However, diagnostic services also perform analyses on specimens collected from a variety of other sources.", + "requirements": "SHALL know the subject context.", + "alias": [ + "Patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3 (no HL7 v2 mapping for Group or Device)" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "DiagnosticReport.encounter", + "path": "DiagnosticReport.encounter", + "short": "Health care event when test ordered", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) which this DiagnosticReport is about.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "Links the request to the Encounter context.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.encounter" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.effective[x]", + "path": "DiagnosticReport.effective[x]", + "short": "Clinically relevant time/time-period for report", + "definition": "The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself.", + "comment": "If the diagnostic procedure was performed on the patient, this is the time it was performed. If there are specimens, the diagnostically relevant time can be derived from the specimen collection times, but the specimen information is not always available, and the exact relationship between the specimens and the diagnostically relevant time is not always automatic.", + "requirements": "Need to know where in the patient history to file/present this report.", + "alias": [ + "Observation time", + "Effective Time", + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "DiagnosticReport.issued", + "path": "DiagnosticReport.issued", + "short": "DateTime this version was made", + "definition": "The date and time that this version of the report was made available to providers, typically after the report was reviewed and verified.", + "comment": "May be different from the update time of the resource itself, because that is the status of the record (potentially a secondary copy), not the actual release time of the report.", + "requirements": "Clinicians need to be able to check the date that the report was released.", + "alias": [ + "Date published", + "Date Issued", + "Date Verified" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR-22" + }, + { + "identity": "rim", + "map": "participation[typeCode=VRF or AUT].time" + } + ] + }, + { + "id": "DiagnosticReport.performer", + "path": "DiagnosticReport.performer", + "short": "Responsible Diagnostic Service", + "definition": "The diagnostic service that is responsible for issuing the report.", + "comment": "This is not necessarily the source of the atomic data items or the entity that interpreted the results. It is the entity that takes responsibility for the clinical report.", + "requirements": "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.", + "alias": [ + "Laboratory", + "Service", + "Practitioner", + "Department", + "Company", + "Authorized by", + "Director" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "PRT-8 (where this PRT-4-Participation = \"PO\")" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF]" + } + ] + }, + { + "id": "DiagnosticReport.resultsInterpreter", + "path": "DiagnosticReport.resultsInterpreter", + "short": "Primary result interpreter", + "definition": "The practitioner or organization that is responsible for the report's conclusions and interpretations.", + "comment": "Might not be the same entity that takes responsibility for the clinical report.", + "requirements": "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.", + "alias": [ + "Analyzed by", + "Reported by" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.resultsInterpreter", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBR-32, PRT-8 (where this PRT-4-Participation = \"PI\")" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF]" + } + ] + }, + { + "id": "DiagnosticReport.specimen", + "path": "DiagnosticReport.specimen", + "short": "Specimens this report is based on", + "definition": "Details about the specimens on which this diagnostic report is based.", + "comment": "If the specimen is sufficiently specified with a code in the test result name, then this additional data may be redundant. If there are multiple specimens, these may be represented per observation or group.", + "requirements": "Need to be able to report information about the collected specimens on which the report is based.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.specimen", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "SPM" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + } + ] + }, + { + "id": "DiagnosticReport.result", + "path": "DiagnosticReport.result", + "short": "Observations", + "definition": "[Observations](http://hl7.org/fhir/R4/observation.html) that are part of this diagnostic report.", + "comment": "Observations can contain observations.", + "requirements": "Need to support individual results, or groups of results, where the result grouping is arbitrary, but meaningful.", + "alias": [ + "Data", + "Atomic Value", + "Result", + "Atomic result", + "Data", + "Test", + "Analyte", + "Battery", + "Organizer" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.result", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBXs" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport.imagingStudy", + "path": "DiagnosticReport.imagingStudy", + "short": "Reference to full details of imaging associated with the diagnostic report", + "definition": "One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.", + "comment": "ImagingStudy and the image element are somewhat overlapping - typically, the list of image references in the image element will also be found in one of the imaging study resources. However, each caters to different types of displays for different types of purposes. Neither, either, or both may be provided.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.imagingStudy", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.media", + "path": "DiagnosticReport.media", + "short": "Key images associated with this report", + "definition": "A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).", + "requirements": "Many diagnostic services include images in the report as part of their service.", + "alias": [ + "DICOM", + "Slides", + "Scans" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.media", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport.media.id", + "path": "DiagnosticReport.media.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport.media.extension", + "path": "DiagnosticReport.media.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport.media.modifierExtension", + "path": "DiagnosticReport.media.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport.media.comment", + "path": "DiagnosticReport.media.comment", + "short": "Comment about the image (e.g. explanation)", + "definition": "A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features.", + "comment": "The comment should be displayed with the image. It would be common for the report to include additional discussion of the image contents in other sections such as the conclusion.", + "requirements": "The provider of the report should make a comment about each image included in the report.", + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.media.comment", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "DiagnosticReport.media.link", + "path": "DiagnosticReport.media.link", + "short": "Reference to the image source", + "definition": "Reference to the image source.", + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.media.link", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Media" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".value.reference" + } + ] + }, + { + "id": "DiagnosticReport.conclusion", + "path": "DiagnosticReport.conclusion", + "short": "Clinical conclusion (interpretation) of test results", + "definition": "Concise and clinically contextualized summary conclusion (interpretation/impression) of the diagnostic report.", + "requirements": "Need to be able to provide a conclusion that is not lost among the basic result data.", + "alias": [ + "Report" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.conclusion", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=\"SPRT\"].source[classCode=OBS, moodCode=EVN, code=LOINC:48767-8].value (type=ST)" + } + ] + }, + { + "id": "DiagnosticReport.conclusionCode", + "path": "DiagnosticReport.conclusionCode", + "short": "Codes for the clinical conclusion of test results", + "definition": "One or more codes that represent the summary conclusion (interpretation/impression) of the diagnostic report.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.conclusionCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AdjunctDiagnosis" + } + ], + "strength": "example", + "description": "Diagnosis codes provided as adjuncts to the report.", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SPRT].source[classCode=OBS, moodCode=EVN, code=LOINC:54531-9].value (type=CD)" + } + ] + }, + { + "id": "DiagnosticReport.presentedForm", + "path": "DiagnosticReport.presentedForm", + "short": "Entire report as issued", + "definition": "Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.", + "comment": "\"application/pdf\" is recommended as the most reliable and interoperable in this context.", + "requirements": "Gives laboratory the ability to provide its own fully formatted report for clinical fidelity.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.presentedForm", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "text (type=ED)" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DiagnosticReport", + "path": "DiagnosticReport", + "definition": "The US Core Diagnostic Report Profile is based upon the core FHIR DiagnosticReport Resource and created to meet the 2015 Edition Common Clinical Data Set 'Laboratory test(s) and Laboratory value(s)/result(s)' requirements.", + "alias": [ + "Lab Result", + "Lab Report" + ], + "mustSupport": false, + "isModifier": false + }, + { + "id": "DiagnosticReport.status", + "path": "DiagnosticReport.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + } + }, + { + "id": "DiagnosticReport.category", + "path": "DiagnosticReport.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.category:LaboratorySlice", + "path": "DiagnosticReport.category", + "sliceName": "LaboratorySlice", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB" + } + ] + }, + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.code", + "path": "DiagnosticReport.code", + "short": "US Core Laboratory Report Order Code", + "definition": "The test, panel or battery that was ordered.", + "comment": "UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes" + } + }, + { + "id": "DiagnosticReport.subject", + "path": "DiagnosticReport.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.effective[x]", + "path": "DiagnosticReport.effective[x]", + "min": 1, + "max": "1", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.issued", + "path": "DiagnosticReport.issued", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.performer", + "path": "DiagnosticReport.performer", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.result", + "path": "DiagnosticReport.result", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + } + ], + "mustSupport": true, + "isModifier": false + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-diagnosticreport-note.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-diagnosticreport-note.json new file mode 100644 index 00000000000..5e42c83701e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-diagnosticreport-note.json @@ -0,0 +1,1914 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-diagnosticreport-note", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note", + "version": "4.0.0", + "name": "USCoreDiagnosticReportProfileNoteExchange", + "title": "US Core DiagnosticReport Profile for Report and Note exchange", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints and extensions on the DiagnosticReport resource for the minimal set of data to query and retrieve diagnostic reports associated with clinical notes for a patient", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "DiagnosticReport", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DiagnosticReport", + "path": "DiagnosticReport", + "short": "US Core Diagnostic Report Profile for Report and Note exchange", + "definition": "The US Core Diagnostic Report Profile for Report and Note exchange is based upon the requirements of the Argonauts to exchang imaginge reports.", + "comment": "This is intended to capture a single report and is not suitable for use in displaying summary information that covers multiple reports. For example, this resource has not been designed for laboratory cumulative reporting formats nor detailed structured reports for sequencing.", + "alias": [ + "Report", + "Test", + "Result", + "Results", + "Labs", + "Laboratory", + "Imaging Report", + "Radiology Report" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "v2", + "map": "ORU -> OBR" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.id", + "path": "DiagnosticReport.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "DiagnosticReport.meta", + "path": "DiagnosticReport.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "DiagnosticReport.implicitRules", + "path": "DiagnosticReport.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "DiagnosticReport.language", + "path": "DiagnosticReport.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "DiagnosticReport.text", + "path": "DiagnosticReport.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DiagnosticReport.contained", + "path": "DiagnosticReport.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport.extension", + "path": "DiagnosticReport.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport.modifierExtension", + "path": "DiagnosticReport.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport.identifier", + "path": "DiagnosticReport.identifier", + "short": "Business identifier for report", + "definition": "Identifiers assigned to this report by the performer or other systems.", + "comment": "Usually assigned by the Information System of the diagnostic service provider (filler id).", + "requirements": "Need to know what identifier to use when making queries about this report from the source laboratory, and for linking to the report outside FHIR context.", + "alias": [ + "ReportID", + "Filler ID", + "Placer ID" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBR-51/ for globally unique filler ID - OBR-3 , For non-globally unique filler-id the flller/placer number must be combined with the universal service Id - OBR-2(if present)+OBR-3+OBR-4" + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "DiagnosticReport.basedOn", + "path": "DiagnosticReport.basedOn", + "short": "What was requested", + "definition": "Details concerning a service requested.", + "comment": "Note: Usually there is one test request for each result, however in some circumstances multiple test requests may be represented using a single test result resource. Note that there are also cases where one request leads to multiple reports.", + "requirements": "This allows tracing of authorization for the report and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Request" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC? OBR-2/3?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "DiagnosticReport.status", + "path": "DiagnosticReport.status", + "short": "registered | partial | preliminary | final +", + "definition": "The status of the diagnostic report.", + "requirements": "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.", + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "OBR-25 (not 1:1 mapping)" + }, + { + "identity": "rim", + "map": "statusCode Note: final and amended are distinguished by whether observation is the subject of a ControlAct event of type \"revise\"" + } + ] + }, + { + "id": "DiagnosticReport.category", + "path": "DiagnosticReport.category", + "short": "Service category", + "definition": "A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.", + "comment": "Multiple categories are allowed using various categorization schemes. The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code.", + "alias": [ + "Department", + "Sub-department", + "Service", + "Discipline", + "service", + "discipline" + ], + "min": 1, + "max": "*", + "base": { + "path": "DiagnosticReport.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + } + ] + }, + { + "id": "DiagnosticReport.code", + "path": "DiagnosticReport.code", + "short": "US Core Report Code", + "definition": "The test, panel, report, or note that was ordered.", + "comment": "UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.", + "alias": [ + "Type" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "OBR-4 (HL7 v2 doesn't provide an easy way to indicate both the ordered test and the performed panel)" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "DiagnosticReport.subject", + "path": "DiagnosticReport.subject", + "short": "The subject of the report - usually, but not always, the patient", + "definition": "The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources.", + "requirements": "SHALL know the subject context.", + "alias": [ + "Patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3 (no HL7 v2 mapping for Group or Device)" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "DiagnosticReport.encounter", + "path": "DiagnosticReport.encounter", + "short": "Health care event when test ordered", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) which this DiagnosticReport is about.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "Links the request to the Encounter context.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.encounter" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.effective[x]", + "path": "DiagnosticReport.effective[x]", + "short": "Clinically relevant time/time-period for report", + "definition": "The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself.", + "comment": "If the diagnostic procedure was performed on the patient, this is the time it was performed. If there are specimens, the diagnostically relevant time can be derived from the specimen collection times, but the specimen information is not always available, and the exact relationship between the specimens and the diagnostically relevant time is not always automatic.", + "requirements": "Need to know where in the patient history to file/present this report.", + "alias": [ + "Observation time", + "Effective Time", + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "DiagnosticReport.issued", + "path": "DiagnosticReport.issued", + "short": "DateTime this version was made", + "definition": "The date and time that this version of the report was made available to providers, typically after the report was reviewed and verified.", + "comment": "May be different from the update time of the resource itself, because that is the status of the record (potentially a secondary copy), not the actual release time of the report.", + "requirements": "Clinicians need to be able to check the date that the report was released.", + "alias": [ + "Date published", + "Date Issued", + "Date Verified" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR-22" + }, + { + "identity": "rim", + "map": "participation[typeCode=VRF or AUT].time" + } + ] + }, + { + "id": "DiagnosticReport.performer", + "path": "DiagnosticReport.performer", + "short": "Responsible Diagnostic Service", + "definition": "The diagnostic service that is responsible for issuing the report.", + "comment": "This is not necessarily the source of the atomic data items or the entity that interpreted the results. It is the entity that takes responsibility for the clinical report.", + "requirements": "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.", + "alias": [ + "Laboratory", + "Service", + "Practitioner", + "Department", + "Company", + "Authorized by", + "Director" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "PRT-8 (where this PRT-4-Participation = \"PO\")" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF]" + } + ] + }, + { + "id": "DiagnosticReport.resultsInterpreter", + "path": "DiagnosticReport.resultsInterpreter", + "short": "Primary result interpreter", + "definition": "The practitioner or organization that is responsible for the report's conclusions and interpretations.", + "comment": "Might not be the same entity that takes responsibility for the clinical report.", + "requirements": "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.", + "alias": [ + "Analyzed by", + "Reported by" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.resultsInterpreter", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBR-32, PRT-8 (where this PRT-4-Participation = \"PI\")" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF]" + } + ] + }, + { + "id": "DiagnosticReport.specimen", + "path": "DiagnosticReport.specimen", + "short": "Specimens this report is based on", + "definition": "Details about the specimens on which this diagnostic report is based.", + "comment": "If the specimen is sufficiently specified with a code in the test result name, then this additional data may be redundant. If there are multiple specimens, these may be represented per observation or group.", + "requirements": "Need to be able to report information about the collected specimens on which the report is based.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.specimen", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "SPM" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + } + ] + }, + { + "id": "DiagnosticReport.result", + "path": "DiagnosticReport.result", + "short": "Observations", + "definition": "[Observations](http://hl7.org/fhir/R4/observation.html) that are part of this diagnostic report.", + "comment": "Observations can contain observations.", + "requirements": "Need to support individual results, or groups of results, where the result grouping is arbitrary, but meaningful.", + "alias": [ + "Data", + "Atomic Value", + "Result", + "Atomic result", + "Data", + "Test", + "Analyte", + "Battery", + "Organizer" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.result", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Observation" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBXs" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport.imagingStudy", + "path": "DiagnosticReport.imagingStudy", + "short": "Reference to full details of imaging associated with the diagnostic report", + "definition": "One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.", + "comment": "ImagingStudy and the image element are somewhat overlapping - typically, the list of image references in the image element will also be found in one of the imaging study resources. However, each caters to different types of displays for different types of purposes. Neither, either, or both may be provided.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.imagingStudy", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.media", + "path": "DiagnosticReport.media", + "short": "Key images associated with this report", + "definition": "A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).", + "requirements": "Many diagnostic services include images in the report as part of their service.", + "alias": [ + "DICOM", + "Slides", + "Scans" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.media", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport.media.id", + "path": "DiagnosticReport.media.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport.media.extension", + "path": "DiagnosticReport.media.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport.media.modifierExtension", + "path": "DiagnosticReport.media.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport.media.comment", + "path": "DiagnosticReport.media.comment", + "short": "Comment about the image (e.g. explanation)", + "definition": "A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features.", + "comment": "The comment should be displayed with the image. It would be common for the report to include additional discussion of the image contents in other sections such as the conclusion.", + "requirements": "The provider of the report should make a comment about each image included in the report.", + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.media.comment", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "DiagnosticReport.media.link", + "path": "DiagnosticReport.media.link", + "short": "Reference to the image source", + "definition": "Reference to the image source.", + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.media.link", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Media" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".value.reference" + } + ] + }, + { + "id": "DiagnosticReport.conclusion", + "path": "DiagnosticReport.conclusion", + "short": "Clinical conclusion (interpretation) of test results", + "definition": "Concise and clinically contextualized summary conclusion (interpretation/impression) of the diagnostic report.", + "requirements": "Need to be able to provide a conclusion that is not lost among the basic result data.", + "alias": [ + "Report" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.conclusion", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=\"SPRT\"].source[classCode=OBS, moodCode=EVN, code=LOINC:48767-8].value (type=ST)" + } + ] + }, + { + "id": "DiagnosticReport.conclusionCode", + "path": "DiagnosticReport.conclusionCode", + "short": "Codes for the clinical conclusion of test results", + "definition": "One or more codes that represent the summary conclusion (interpretation/impression) of the diagnostic report.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.conclusionCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AdjunctDiagnosis" + } + ], + "strength": "example", + "description": "Diagnosis codes provided as adjuncts to the report.", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SPRT].source[classCode=OBS, moodCode=EVN, code=LOINC:54531-9].value (type=CD)" + } + ] + }, + { + "id": "DiagnosticReport.presentedForm", + "path": "DiagnosticReport.presentedForm", + "short": "Entire report as issued", + "definition": "Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.", + "comment": "\"application/pdf\" is recommended as the most reliable and interoperable in this context.", + "requirements": "Gives laboratory the ability to provide its own fully formatted report for clinical fidelity.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.presentedForm", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "text (type=ED)" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DiagnosticReport", + "path": "DiagnosticReport", + "short": "US Core Diagnostic Report Profile for Report and Note exchange", + "definition": "The US Core Diagnostic Report Profile for Report and Note exchange is based upon the requirements of the Argonauts to exchang imaginge reports.", + "alias": [ + "Imaging Report", + "Radiology Report" + ], + "mustSupport": false, + "isModifier": false + }, + { + "id": "DiagnosticReport.status", + "path": "DiagnosticReport.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + } + }, + { + "id": "DiagnosticReport.category", + "path": "DiagnosticReport.category", + "alias": [ + "Department", + "Sub-department", + "service", + "discipline" + ], + "min": 1, + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category" + } + }, + { + "id": "DiagnosticReport.code", + "path": "DiagnosticReport.code", + "short": "US Core Report Code", + "definition": "The test, panel, report, or note that was ordered.", + "comment": "UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes" + } + }, + { + "id": "DiagnosticReport.subject", + "path": "DiagnosticReport.subject", + "short": "The subject of the report - usually, but not always, the patient", + "definition": "The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources.", + "requirements": "SHALL know the subject context.", + "alias": [ + "Patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true + }, + { + "id": "DiagnosticReport.encounter", + "path": "DiagnosticReport.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.effective[x]", + "path": "DiagnosticReport.effective[x]", + "min": 1, + "max": "1", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.issued", + "path": "DiagnosticReport.issued", + "min": 0, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.performer", + "path": "DiagnosticReport.performer", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "DiagnosticReport.presentedForm", + "path": "DiagnosticReport.presentedForm", + "min": 0, + "max": "*", + "type": [ + { + "code": "Attachment" + } + ], + "mustSupport": true, + "isModifier": false + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-direct.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-direct.json new file mode 100644 index 00000000000..ccced4f4c40 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-direct.json @@ -0,0 +1,361 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-direct", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "version": "4.0.0", + "name": "USCoreDirectEmailExtension", + "title": "US Core Direct email Extension", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "This email address is associated with a [direct](http://wiki.directproject.org/Addressing+Specification) service. This extension can only be used on contact points where the system = 'email'", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "ContactPoint" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Email is a \"direct\" email", + "definition": "This email address is associated with a \"direct\" service - e.g. http://wiki.directproject.org/Addressing+Specification. This extension can only be used on contact points where the system = 'email'", + "comment": "This extension can only be used on contact points where the system = 'email'.", + "min": 0, + "max": "1", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "v2", + "map": "No v2 equivalent" + }, + { + "identity": "rim", + "map": "No RIM equivalent" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]:valueBoolean", + "path": "Extension.value[x]", + "sliceName": "valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Email is a \"direct\" email", + "definition": "This email address is associated with a \"direct\" service - e.g. http://wiki.directproject.org/Addressing+Specification. This extension can only be used on contact points where the system = 'email'", + "comment": "This extension can only be used on contact points where the system = 'email'.", + "min": 0, + "max": "1", + "isModifier": false, + "mapping": [ + { + "identity": "v2", + "map": "No v2 equivalent" + }, + { + "identity": "rim", + "map": "No RIM equivalent" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct" + }, + { + "id": "Extension.valueBoolean", + "path": "Extension.valueBoolean", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-documentreference.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-documentreference.json new file mode 100644 index 00000000000..10c7367eca6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-documentreference.json @@ -0,0 +1,3172 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-documentreference", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference", + "version": "4.0.0", + "name": "USCoreDocumentReferenceProfile", + "title": "US Core DocumentReference Profile", + "status": "active", + "experimental": false, + "date": "2020-07-02", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The document reference profile used in US Core.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "fhircomposition", + "uri": "http://hl7.org/fhir/composition", + "name": "FHIR Composition" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "cda", + "uri": "http://hl7.org/v3/cda", + "name": "CDA (R2)" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "xds", + "uri": "http://ihe.net/xds", + "name": "XDS metadata equivalent" + } + ], + "kind": "resource", + "abstract": false, + "type": "DocumentReference", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DocumentReference", + "path": "DocumentReference", + "short": "A reference to a document", + "definition": "This is a basic constraint on DocumentRefernce for use in the US Core IG.", + "comment": "Usually, this is used for documents other than those defined by FHIR.", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "fhircomposition", + "map": "when describing a Composition" + }, + { + "identity": "rim", + "map": "Document[classCode=\"DOC\" and moodCode=\"EVN\"]" + }, + { + "identity": "cda", + "map": "when describing a CDA" + } + ] + }, + { + "id": "DocumentReference.id", + "path": "DocumentReference.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "DocumentReference.meta", + "path": "DocumentReference.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "DocumentReference.implicitRules", + "path": "DocumentReference.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "DocumentReference.language", + "path": "DocumentReference.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "DocumentReference.text", + "path": "DocumentReference.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DocumentReference.contained", + "path": "DocumentReference.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DocumentReference.extension", + "path": "DocumentReference.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DocumentReference.modifierExtension", + "path": "DocumentReference.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DocumentReference.masterIdentifier", + "path": "DocumentReference.masterIdentifier", + "short": "Master Version Specific Identifier", + "definition": "Document identifier as assigned by the source of the document. This identifier is specific to this version of the document. This unique identifier may be used elsewhere to identify this version of the document.", + "comment": "CDA Document Id extension and root.", + "requirements": "The structure and format of this Id shall be consistent with the specification corresponding to the formatCode attribute. (e.g. for a DICOM standard document a 64-character numeric UID, for an HL7 CDA format a serialization of the CDA Document Id extension and root in the form \"oid^extension\", where OID is a 64 digits max, and the Id is a 16 UTF-8 char max. If the OID is coded without the extension then the '^' character shall not be included.).", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.masterIdentifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "fhircomposition", + "map": "Composition.identifier" + }, + { + "identity": "v2", + "map": "TXA-12" + }, + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "xds", + "map": "DocumentEntry.uniqueId" + }, + { + "identity": "cda", + "map": "ClinicalDocument/id" + } + ] + }, + { + "id": "DocumentReference.identifier", + "path": "DocumentReference.identifier", + "short": "Other identifiers for the document", + "definition": "Other identifiers associated with the document, including version independent identifiers.", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "TXA-16?" + }, + { + "identity": "rim", + "map": ".id / .setId" + }, + { + "identity": "xds", + "map": "DocumentEntry.entryUUID" + } + ] + }, + { + "id": "DocumentReference.status", + "path": "DocumentReference.status", + "short": "current | superseded | entered-in-error", + "definition": "The status of this document reference.", + "comment": "This is the status of the DocumentReference object, which might be independent from the docStatus element.\n\nThis element is labeled as a modifier because the status contains the codes that mark the document or reference as not currently valid.", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/document-reference-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "TXA-19" + }, + { + "identity": "rim", + "map": "interim: .completionCode=\"IN\" & ./statusCode[isNormalDatatype()]=\"active\"; final: .completionCode=\"AU\" && ./statusCode[isNormalDatatype()]=\"complete\" and not(./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseDocument\", code) and isNormalAct()]); amended: .completionCode=\"AU\" && ./statusCode[isNormalDatatype()]=\"complete\" and ./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseDocument\", code) and isNormalAct() and statusCode=\"completed\"]; withdrawn : .completionCode=NI && ./statusCode[isNormalDatatype()]=\"obsolete\"" + }, + { + "identity": "xds", + "map": "DocumentEntry.availabilityStatus" + } + ] + }, + { + "id": "DocumentReference.docStatus", + "path": "DocumentReference.docStatus", + "short": "preliminary | final | amended | entered-in-error", + "definition": "The status of the underlying document.", + "comment": "The document that is pointed to might be in various lifecycle states.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.docStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ReferredDocumentStatus" + } + ], + "strength": "required", + "description": "Status of the underlying document.", + "valueSet": "http://hl7.org/fhir/ValueSet/composition-status|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "fhircomposition", + "map": "Composition.status" + }, + { + "identity": "v2", + "map": "TXA-17" + }, + { + "identity": "rim", + "map": ".statusCode" + } + ] + }, + { + "id": "DocumentReference.type", + "path": "DocumentReference.type", + "short": "Kind of document (LOINC if possible)", + "definition": "Specifies the particular kind of document referenced (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced.", + "comment": "Key metadata element describing the document that describes he exact type of document. Helps humans to assess whether the document is of interest when viewing a list of documents.", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet", + "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type" + } + ], + "strength": "required", + "description": "All LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "fhircomposition", + "map": "Composition.type" + }, + { + "identity": "v2", + "map": "TXA-2" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "xds", + "map": "DocumentEntry.type" + }, + { + "identity": "cda", + "map": "ClinicalDocument/code/@code \n\nThe typeCode should be mapped from the ClinicalDocument/code element to a set of document type codes configured in the affinity domain. One suggested coding system to use for typeCode is LOINC, in which case the mapping step can be omitted." + } + ] + }, + { + "id": "DocumentReference.category", + "path": "DocumentReference.category", + "short": "Categorization of document", + "definition": "A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type.", + "comment": "Key metadata element describing the the category or classification of the document. This is a broader perspective that groups similar documents based on how they would be used. This is a primary key used in searching.", + "alias": [ + "claxs" + ], + "min": 1, + "max": "*", + "base": { + "path": "DocumentReference.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The US Core DocumentReferences Type Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "fhircomposition", + "map": "Composition.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "xds", + "map": "DocumentEntry.class" + }, + { + "identity": "cda", + "map": "Derived from a mapping of /ClinicalDocument/code/@code to an Affinity Domain specified coded value to use and coding system. Affinity Domains are encouraged to use the appropriate value for Type of Service, based on the LOINC Type of Service (see Page 53 of the LOINC User's Manual). Must be consistent with /ClinicalDocument/code/@code" + } + ] + }, + { + "id": "DocumentReference.subject", + "path": "DocumentReference.subject", + "short": "Who/what is the subject of the document", + "definition": "Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure).", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "fhircomposition", + "map": "Composition.subject" + }, + { + "identity": "v2", + "map": "PID-3 (No standard way to define a Practitioner or Group subject in HL7 v2 MDM message)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" + }, + { + "identity": "xds", + "map": "DocumentEntry.patientId" + }, + { + "identity": "cda", + "map": "ClinicalDocument/recordTarget/" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "DocumentReference.date", + "path": "DocumentReference.date", + "short": "When this document reference was created", + "definition": "When the document reference was created.", + "comment": "Referencing/indexing time is used for tracking, organizing versions and searching.", + "alias": [ + "indexed" + ], + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.date", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "fhircomposition", + "map": "Composition.date" + }, + { + "identity": "rim", + "map": ".availabilityTime[type=\"TS\"]" + } + ] + }, + { + "id": "DocumentReference.author", + "path": "DocumentReference.author", + "short": "Who and/or what authored the document", + "definition": "Identifies who is responsible for adding the information to the document.", + "comment": "Not necessarily who did the actual data entry (i.e. typist) or who was the source (informant).", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.author", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Device" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "fhircomposition", + "map": "Composition.author" + }, + { + "identity": "v2", + "map": "TXA-9 (No standard way to indicate a Device in HL7 v2 MDM message)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]" + }, + { + "identity": "xds", + "map": "DocumentEntry.author" + }, + { + "identity": "cda", + "map": "ClinicalDocument/author" + } + ] + }, + { + "id": "DocumentReference.authenticator", + "path": "DocumentReference.authenticator", + "short": "Who/what authenticated the document", + "definition": "Which person or organization authenticates that this document is valid.", + "comment": "Represents a participant within the author institution who has legally authenticated or attested the document. Legal authentication implies that a document has been signed manually or electronically by the legal Authenticator.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.authenticator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.witness" + }, + { + "identity": "fhircomposition", + "map": "Composition.attester" + }, + { + "identity": "v2", + "map": "TXA-10" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"AUTHEN\"].role[classCode=\"ASSIGNED\"]" + }, + { + "identity": "xds", + "map": "DocumentEntry.legalAuthenticator" + }, + { + "identity": "cda", + "map": "ClinicalDocument/legalAuthenticator" + } + ] + }, + { + "id": "DocumentReference.custodian", + "path": "DocumentReference.custodian", + "short": "Organization which maintains the document", + "definition": "Identifies the organization or group who is responsible for ongoing maintenance of and access to the document.", + "comment": "Identifies the logical organization (software system, vendor, or department) to go to find the current version, where to report issues, etc. This is different from the physical location (URL, disk drive, or server) of the document, which is the technical location of the document, which host may be delegated to the management of some other organization.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.custodian", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "fhircomposition", + "map": "Composition.custodian" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"RCV\"].role[classCode=\"CUST\"].scoper[classCode=\"ORG\" and determinerCode=\"INST\"]" + } + ] + }, + { + "id": "DocumentReference.relatesTo", + "path": "DocumentReference.relatesTo", + "short": "Relationships to other documents", + "definition": "Relationships that this document has with other document references that already exist.", + "comment": "This element is labeled as a modifier because documents that append to other documents are incomplete on their own.", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.relatesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.relatesTo" + }, + { + "identity": "rim", + "map": ".outboundRelationship" + }, + { + "identity": "xds", + "map": "DocumentEntry Associations" + } + ] + }, + { + "id": "DocumentReference.relatesTo.id", + "path": "DocumentReference.relatesTo.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DocumentReference.relatesTo.extension", + "path": "DocumentReference.relatesTo.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DocumentReference.relatesTo.modifierExtension", + "path": "DocumentReference.relatesTo.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DocumentReference.relatesTo.code", + "path": "DocumentReference.relatesTo.code", + "short": "replaces | transforms | signs | appends", + "definition": "The type of relationship that this document has with anther document.", + "comment": "If this document appends another document, then the document cannot be fully understood without also accessing the referenced document.", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.relatesTo.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DocumentRelationshipType" + } + ], + "strength": "required", + "description": "The type of relationship between documents.", + "valueSet": "http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.relatesTo.code" + }, + { + "identity": "rim", + "map": ".outboundRelationship.typeCode" + }, + { + "identity": "xds", + "map": "DocumentEntry Associations type" + } + ] + }, + { + "id": "DocumentReference.relatesTo.target", + "path": "DocumentReference.relatesTo.target", + "short": "Target of the relationship", + "definition": "The target document of this relationship.", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.relatesTo.target", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.relatesTo.target" + }, + { + "identity": "rim", + "map": ".target[classCode=\"DOC\", moodCode=\"EVN\"].id" + }, + { + "identity": "xds", + "map": "DocumentEntry Associations reference" + } + ] + }, + { + "id": "DocumentReference.description", + "path": "DocumentReference.description", + "short": "Human-readable description", + "definition": "Human-readable description of the source document.", + "comment": "What the document is about, a terse summary of the document.", + "requirements": "Helps humans to assess whether the document is of interest.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.description", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "TXA-25" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"SUBJ\"].target.text" + }, + { + "identity": "xds", + "map": "DocumentEntry.comments" + } + ] + }, + { + "id": "DocumentReference.securityLabel", + "path": "DocumentReference.securityLabel", + "short": "Document security-tags", + "definition": "A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the \"reference\" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to.", + "comment": "The confidentiality codes can carry multiple vocabulary items. HL7 has developed an understanding of security and privacy tags that might be desirable in a Document Sharing environment, called HL7 Healthcare Privacy and Security Classification System (HCS). The following specification is recommended but not mandated, as the vocabulary bindings are an administrative domain responsibility. The use of this method is up to the policy domain such as the XDS Affinity Domain or other Trust Domain where all parties including sender and recipients are trusted to appropriately tag and enforce. \n\nIn the HL7 Healthcare Privacy and Security Classification (HCS) there are code systems specific to Confidentiality, Sensitivity, Integrity, and Handling Caveats. Some values would come from a local vocabulary as they are related to workflow roles and special projects.", + "requirements": "Use of the Health Care Privacy/Security Classification (HCS) system of security-tag use is recommended.", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.securityLabel", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "SecurityLabels" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "Security Labels from the Healthcare Privacy and Security Classification System.", + "valueSet": "http://hl7.org/fhir/ValueSet/security-labels" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.confidentiality, Composition.meta.security" + }, + { + "identity": "v2", + "map": "TXA-18" + }, + { + "identity": "rim", + "map": ".confidentialityCode" + }, + { + "identity": "xds", + "map": "DocumentEntry.confidentialityCode" + }, + { + "identity": "cda", + "map": "ClinicalDocument/confidentialityCode/@code" + } + ] + }, + { + "id": "DocumentReference.content", + "path": "DocumentReference.content", + "short": "Document referenced", + "definition": "The document and format referenced. There may be multiple content element repetitions, each with a different format.", + "min": 1, + "max": "*", + "base": { + "path": "DocumentReference.content", + "min": 1, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Bundle(Composition+*)" + }, + { + "identity": "rim", + "map": "document.text" + } + ] + }, + { + "id": "DocumentReference.content.id", + "path": "DocumentReference.content.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DocumentReference.content.extension", + "path": "DocumentReference.content.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DocumentReference.content.modifierExtension", + "path": "DocumentReference.content.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DocumentReference.content.attachment", + "path": "DocumentReference.content.attachment", + "short": "Where to access the document", + "definition": "The document or URL of the document along with critical metadata to prove content has integrity.", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.content.attachment", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "us-core-6", + "severity": "error", + "human": "DocumentReference.content.attachment.url or DocumentReference.content.attachment.data or both SHALL be present.", + "expression": "url.exists() or data.exists()", + "xpath": "f:url or f:content" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.language, \nComposition.title, \nComposition.date" + }, + { + "identity": "v2", + "map": "TXA-3 for mime type" + }, + { + "identity": "rim", + "map": "document.text" + }, + { + "identity": "xds", + "map": "DocumentEntry.mimeType, DocumentEntry.languageCode, DocumentEntry.URI, DocumentEntry.size, DocumentEntry.hash, DocumentEntry.title, DocumentEntry.creationTime" + }, + { + "identity": "cda", + "map": "ClinicalDocument/languageCode, ClinicalDocument/title, ClinicalDocument/date" + } + ] + }, + { + "id": "DocumentReference.content.attachment.id", + "path": "DocumentReference.content.attachment.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DocumentReference.content.attachment.extension", + "path": "DocumentReference.content.attachment.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DocumentReference.content.attachment.contentType", + "path": "DocumentReference.content.attachment.contentType", + "short": "Mime type of the content, with charset etc.", + "definition": "Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.", + "requirements": "Processors of the data need to be able to know how to interpret the data.", + "min": 1, + "max": "1", + "base": { + "path": "Attachment.contentType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "text/plain; charset=UTF-8, image/png" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MimeType" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "required", + "description": "The mime type of an attachment. Any valid mime type is allowed.", + "valueSet": "http://hl7.org/fhir/ValueSet/mimetypes|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used" + }, + { + "identity": "rim", + "map": "./mediaType, ./charset" + } + ] + }, + { + "id": "DocumentReference.content.attachment.language", + "path": "DocumentReference.content.attachment.language", + "short": "Human language of the content (BCP-47)", + "definition": "The human language of the content. The value can be any valid value according to BCP 47.", + "requirements": "Users need to be able to choose between the languages in a set of attachments.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "en-AU" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + }, + "mapping": [ + { + "identity": "rim", + "map": "./language" + } + ] + }, + { + "id": "DocumentReference.content.attachment.data", + "path": "DocumentReference.content.attachment.data", + "short": "Data inline, base64ed", + "definition": "The actual data of the attachment - a sequence of bytes, base64 encoded.", + "comment": "The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON.", + "requirements": "The data needs to able to be transmitted inline.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.data", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + } + ], + "condition": [ + "us-core-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "ED.5" + }, + { + "identity": "rim", + "map": "./data" + } + ] + }, + { + "id": "DocumentReference.content.attachment.url", + "path": "DocumentReference.content.attachment.url", + "short": "Uri where the data can be found", + "definition": "A location where the data can be accessed.", + "comment": "If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data.", + "requirements": "The data needs to be transmitted by reference.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.url", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "url" + } + ], + "example": [ + { + "label": "General", + "valueUrl": "http://www.acme.com/logo-small.png" + } + ], + "condition": [ + "us-core-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RP.1+RP.2 - if they refer to a URL (see v2.6)" + }, + { + "identity": "rim", + "map": "./reference/literal" + } + ] + }, + { + "id": "DocumentReference.content.attachment.size", + "path": "DocumentReference.content.attachment.size", + "short": "Number of bytes of content (if url provided)", + "definition": "The number of bytes of data that make up this attachment (before base64 encoding, if that is done).", + "comment": "The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference.", + "requirements": "Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.size", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "unsignedInt" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A (needs data type R3 proposal)" + } + ] + }, + { + "id": "DocumentReference.content.attachment.hash", + "path": "DocumentReference.content.attachment.hash", + "short": "Hash of the data (sha-1, base64ed)", + "definition": "The calculated hash of the data using SHA-1. Represented using base64.", + "comment": "The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](http://hl7.org/fhir/R4/provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature.", + "requirements": "Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version).", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.hash", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".integrityCheck[parent::ED/integrityCheckAlgorithm=\"SHA-1\"]" + } + ] + }, + { + "id": "DocumentReference.content.attachment.title", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "DocumentReference.content.attachment.title", + "short": "Label to display in place of the data", + "definition": "A label or set of text to display in place of the data.", + "requirements": "Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.title", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Official Corporate Logo" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./title/data" + } + ] + }, + { + "id": "DocumentReference.content.attachment.creation", + "path": "DocumentReference.content.attachment.creation", + "short": "Date attachment was first created", + "definition": "The date that the attachment was first created.", + "requirements": "This is often tracked as an integrity issue for use of the attachment.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.creation", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A (needs data type R3 proposal)" + } + ] + }, + { + "id": "DocumentReference.content.format", + "path": "DocumentReference.content.format", + "short": "Format/content rules for the document", + "definition": "An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType.", + "comment": "Note that while IHE mostly issues URNs for format types, not all documents can be identified by a URI.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.content.format", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/formatcodes" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.meta.profile" + }, + { + "identity": "rim", + "map": "document.text" + }, + { + "identity": "xds", + "map": "DocumentEntry.formatCode" + }, + { + "identity": "cda", + "map": "derived from the IHE Profile or Implementation Guide templateID" + } + ] + }, + { + "id": "DocumentReference.context", + "path": "DocumentReference.context", + "short": "Clinical context of document", + "definition": "The clinical context in which the document was prepared.", + "comment": "These values are primarily added to help with searching for interesting/relevant documents.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=\"SUBJ\"].target[classCode<'ACT']" + } + ] + }, + { + "id": "DocumentReference.context.id", + "path": "DocumentReference.context.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DocumentReference.context.extension", + "path": "DocumentReference.context.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DocumentReference.context.modifierExtension", + "path": "DocumentReference.context.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DocumentReference.context.encounter", + "path": "DocumentReference.context.encounter", + "short": "Context of the document content", + "definition": "Describes the clinical encounter or type of care that the document content is associated with.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context.encounter", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "fhircomposition", + "map": "Composition.encounter" + }, + { + "identity": "rim", + "map": "unique(highest(./outboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()], priorityNumber)/target[moodCode=\"EVN\" and classCode=(\"ENC\", \"PCPR\") and isNormalAct])" + } + ] + }, + { + "id": "DocumentReference.context.event", + "path": "DocumentReference.context.event", + "short": "Main clinical acts documented", + "definition": "This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the type Code, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.", + "comment": "An event can further specialize the act inherent in the type, such as where it is simply \"Procedure Report\" and the procedure was a \"colonoscopy\". If one or more event codes are included, they shall not conflict with the values inherent in the class or type elements as such a conflict would create an ambiguous situation.", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.context.event", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DocumentEventType" + } + ], + "strength": "example", + "description": "This list of codes represents the main clinical acts being documented.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActCode" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.event.code" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "xds", + "map": "DocumentEntry.eventCodeList" + } + ] + }, + { + "id": "DocumentReference.context.period", + "path": "DocumentReference.context.period", + "short": "Time of service that is being documented", + "definition": "The time period over which the service that is described by the document was provided.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.event.period" + }, + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "xds", + "map": "DocumentEntry.serviceStartTime, DocumentEntry.serviceStopTime" + }, + { + "identity": "cda", + "map": "ClinicalDocument/documentationOf/\nserviceEvent/effectiveTime/low/\n@value --> ClinicalDocument/documentationOf/\nserviceEvent/effectiveTime/high/\n@value" + } + ] + }, + { + "id": "DocumentReference.context.facilityType", + "path": "DocumentReference.context.facilityType", + "short": "Kind of facility where patient was seen", + "definition": "The kind of facility where the patient was seen.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context.facilityType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DocumentC80FacilityType" + } + ], + "strength": "example", + "description": "XDS Facility Type.", + "valueSet": "http://hl7.org/fhir/ValueSet/c80-facilitycodes" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "usually from a mapping to a local ValueSet" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" + }, + { + "identity": "xds", + "map": "DocumentEntry.healthcareFacilityTypeCode" + }, + { + "identity": "cda", + "map": "usually a mapping to a local ValueSet. Must be consistent with /clinicalDocument/code" + } + ] + }, + { + "id": "DocumentReference.context.practiceSetting", + "path": "DocumentReference.context.practiceSetting", + "short": "Additional details about where the content was created (e.g. clinical specialty)", + "definition": "This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty.", + "comment": "This element should be based on a coarse classification system for the class of specialty practice. Recommend the use of the classification system for Practice Setting, such as that described by the Subject Matter Domain in LOINC.", + "requirements": "This is an important piece of metadata that providers often rely upon to quickly sort and/or filter out to find specific content.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context.practiceSetting", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DocumentC80PracticeSetting" + } + ], + "strength": "example", + "description": "Additional details about where the content was created (e.g. clinical specialty).", + "valueSet": "http://hl7.org/fhir/ValueSet/c80-practice-codes" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "usually from a mapping to a local ValueSet" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" + }, + { + "identity": "xds", + "map": "DocumentEntry.practiceSettingCode" + }, + { + "identity": "cda", + "map": "usually from a mapping to a local ValueSet" + } + ] + }, + { + "id": "DocumentReference.context.sourcePatientInfo", + "path": "DocumentReference.context.sourcePatientInfo", + "short": "Patient demographics from source", + "definition": "The Patient Information as known when the document was published. May be a reference to a version specific, or contained.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context.sourcePatientInfo", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.subject" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" + }, + { + "identity": "xds", + "map": "DocumentEntry.sourcePatientInfo, DocumentEntry.sourcePatientId" + }, + { + "identity": "cda", + "map": "ClinicalDocument/recordTarget/" + } + ] + }, + { + "id": "DocumentReference.context.related", + "path": "DocumentReference.context.related", + "short": "Related identifiers or resources", + "definition": "Related identifiers or resources associated with the DocumentReference.", + "comment": "May be identifiers or resources that caused the DocumentReference or referenced Document to be created.", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.context.related", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.event.detail" + }, + { + "identity": "rim", + "map": "./outboundRelationship[typeCode=\"PERT\" and isNormalActRelationship()] / target[isNormalAct]" + }, + { + "identity": "xds", + "map": "DocumentEntry.referenceIdList" + }, + { + "identity": "cda", + "map": "ClinicalDocument/relatedDocument" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DocumentReference", + "path": "DocumentReference", + "definition": "This is a basic constraint on DocumentRefernce for use in the US Core IG.", + "mustSupport": false + }, + { + "id": "DocumentReference.identifier", + "path": "DocumentReference.identifier", + "min": 0, + "max": "*", + "mustSupport": true + }, + { + "id": "DocumentReference.status", + "path": "DocumentReference.status", + "min": 1, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/document-reference-status" + } + }, + { + "id": "DocumentReference.type", + "path": "DocumentReference.type", + "min": 1, + "max": "1", + "mustSupport": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet", + "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type" + } + ], + "strength": "required", + "description": "All LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type" + } + }, + { + "id": "DocumentReference.category", + "path": "DocumentReference.category", + "min": 1, + "max": "*", + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "The US Core DocumentReferences Type Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category" + } + }, + { + "id": "DocumentReference.subject", + "path": "DocumentReference.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true + }, + { + "id": "DocumentReference.date", + "path": "DocumentReference.date", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "DocumentReference.author", + "path": "DocumentReference.author", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Device" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true + }, + { + "id": "DocumentReference.content", + "path": "DocumentReference.content", + "min": 1, + "max": "*", + "mustSupport": true + }, + { + "id": "DocumentReference.content.attachment", + "path": "DocumentReference.content.attachment", + "min": 1, + "max": "1", + "constraint": [ + { + "key": "us-core-6", + "severity": "error", + "human": "DocumentReference.content.attachment.url or DocumentReference.content.attachment.data or both SHALL be present.", + "expression": "url.exists() or data.exists()", + "xpath": "f:url or f:content" + } + ], + "mustSupport": true + }, + { + "id": "DocumentReference.content.attachment.contentType", + "path": "DocumentReference.content.attachment.contentType", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "DocumentReference.content.attachment.data", + "path": "DocumentReference.content.attachment.data", + "min": 0, + "max": "1", + "condition": [ + "us-core-6" + ], + "mustSupport": true + }, + { + "id": "DocumentReference.content.attachment.url", + "path": "DocumentReference.content.attachment.url", + "min": 0, + "max": "1", + "condition": [ + "us-core-6" + ], + "mustSupport": true + }, + { + "id": "DocumentReference.content.format", + "path": "DocumentReference.content.format", + "min": 0, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/formatcodes" + } + }, + { + "id": "DocumentReference.context", + "path": "DocumentReference.context", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "DocumentReference.context.encounter", + "path": "DocumentReference.context.encounter", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + } + ], + "mustSupport": true + }, + { + "id": "DocumentReference.context.period", + "path": "DocumentReference.context.period", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-encounter.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-encounter.json new file mode 100644 index 00000000000..0bb34356848 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-encounter.json @@ -0,0 +1,4282 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-encounter", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter", + "version": "4.0.0", + "name": "USCoreEncounterProfile", + "title": "US Core Encounter Profile", + "status": "active", + "experimental": false, + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The Encounter referenced in the US Core profiles.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Encounter", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Encounter", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Encounter", + "path": "Encounter", + "short": "An interaction during which services are provided to the patient", + "definition": "This is basic constraint on Encounter for use in US Core resources.", + "alias": [ + "Visit" + ], + "min": 0, + "max": "*", + "base": { + "path": "Encounter", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "rim", + "map": "Encounter[@moodCode='EVN']" + } + ] + }, + { + "id": "Encounter.id", + "path": "Encounter.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Encounter.meta", + "path": "Encounter.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Encounter.implicitRules", + "path": "Encounter.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Encounter.language", + "path": "Encounter.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Encounter.text", + "path": "Encounter.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Encounter.contained", + "path": "Encounter.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.extension", + "path": "Encounter.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.modifierExtension", + "path": "Encounter.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.identifier", + "path": "Encounter.identifier", + "short": "Identifier(s) by which this encounter is known", + "definition": "Identifier(s) by which this encounter is known.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Encounter.identifier.id", + "path": "Encounter.identifier.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.identifier.extension", + "path": "Encounter.identifier.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.identifier.use", + "path": "Encounter.identifier.use", + "short": "usual | official | temp | secondary | old (If known)", + "definition": "The purpose of this identifier.", + "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.", + "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierUse" + } + ], + "strength": "required", + "description": "Identifies the purpose for this identifier, if known .", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Encounter.identifier.type", + "path": "Encounter.identifier.type", + "short": "Description of identifier", + "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.", + "comment": "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.", + "requirements": "Allows users to make use of identifiers when the identifier system is not known.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierType" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-type" + }, + "mapping": [ + { + "identity": "v2", + "map": "CX.5" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Encounter.identifier.system", + "path": "Encounter.identifier.system", + "short": "The namespace for the identifier value", + "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.", + "comment": "Identifier.system is always case sensitive.", + "requirements": "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "example": [ + { + "label": "General", + "valueUri": "http://www.acme.com/identifiers/patient" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / EI-2-4" + }, + { + "identity": "rim", + "map": "II.root or Role.id.root" + }, + { + "identity": "servd", + "map": "./IdentifierType" + } + ] + }, + { + "id": "Encounter.identifier.value", + "path": "Encounter.identifier.value", + "short": "The value that is unique", + "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.", + "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "123456" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.1 / EI.1" + }, + { + "identity": "rim", + "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "Encounter.identifier.period", + "path": "Encounter.identifier.period", + "short": "Time period when id is/was valid for use", + "definition": "Time period during which identifier is/was valid for use.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.7 + CX.8" + }, + { + "identity": "rim", + "map": "Role.effectiveTime or implied by context" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Encounter.identifier.assigner", + "path": "Encounter.identifier.assigner", + "short": "Organization that issued id (may be just text)", + "definition": "Organization that issued/manages the identifier.", + "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.assigner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / (CX.4,CX.9,CX.10)" + }, + { + "identity": "rim", + "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" + }, + { + "identity": "servd", + "map": "./IdentifierIssuingAuthority" + } + ] + }, + { + "id": "Encounter.status", + "path": "Encounter.status", + "short": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +", + "definition": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +.", + "comment": "Note that internal business rules will determine the appropriate transitions that may occur between statuses (and also classes).", + "min": 1, + "max": "1", + "base": { + "path": "Encounter.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "EncounterStatus" + } + ], + "strength": "required", + "description": "Current state of the encounter.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "No clear equivalent in HL7 v2; active/finished could be inferred from PV1-44, PV1-45, PV2-24; inactive could be inferred from PV2-16" + }, + { + "identity": "rim", + "map": ".statusCode" + } + ] + }, + { + "id": "Encounter.statusHistory", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + "valueString": "StatusHistory" + } + ], + "path": "Encounter.statusHistory", + "short": "List of past encounter statuses", + "definition": "The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them.", + "comment": "The current status is always found in the current version of the resource, not the status history.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.statusHistory", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.statusHistory.id", + "path": "Encounter.statusHistory.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.statusHistory.extension", + "path": "Encounter.statusHistory.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.statusHistory.modifierExtension", + "path": "Encounter.statusHistory.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.statusHistory.status", + "path": "Encounter.statusHistory.status", + "short": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +", + "definition": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +.", + "min": 1, + "max": "1", + "base": { + "path": "Encounter.statusHistory.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "EncounterStatus" + } + ], + "strength": "required", + "description": "Current state of the encounter.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-status|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.statusHistory.period", + "path": "Encounter.statusHistory.period", + "short": "The time that the episode was in the specified status", + "definition": "The time that the episode was in the specified status.", + "min": 1, + "max": "1", + "base": { + "path": "Encounter.statusHistory.period", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.class", + "path": "Encounter.class", + "short": "Classification of patient encounter", + "definition": "Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.", + "min": 1, + "max": "1", + "base": { + "path": "Encounter.class", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "EncounterClass" + } + ], + "strength": "extensible", + "description": "Classification of the encounter.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActEncounterCode" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "PV1-2" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code" + } + ] + }, + { + "id": "Encounter.classHistory", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + "valueString": "ClassHistory" + } + ], + "path": "Encounter.classHistory", + "short": "List of past encounter classes", + "definition": "The class history permits the tracking of the encounters transitions without needing to go through the resource history. This would be used for a case where an admission starts of as an emergency encounter, then transitions into an inpatient scenario. Doing this and not restarting a new encounter ensures that any lab/diagnostic results can more easily follow the patient and not require re-processing and not get lost or cancelled during a kind of discharge from emergency to inpatient.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.classHistory", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.classHistory.id", + "path": "Encounter.classHistory.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.classHistory.extension", + "path": "Encounter.classHistory.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.classHistory.modifierExtension", + "path": "Encounter.classHistory.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.classHistory.class", + "path": "Encounter.classHistory.class", + "short": "inpatient | outpatient | ambulatory | emergency +", + "definition": "inpatient | outpatient | ambulatory | emergency +.", + "min": 1, + "max": "1", + "base": { + "path": "Encounter.classHistory.class", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "EncounterClass" + } + ], + "strength": "extensible", + "description": "Classification of the encounter.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActEncounterCode" + }, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.classHistory.period", + "path": "Encounter.classHistory.period", + "short": "The time that the episode was in the specified class", + "definition": "The time that the episode was in the specified class.", + "min": 1, + "max": "1", + "base": { + "path": "Encounter.classHistory.period", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.type", + "path": "Encounter.type", + "short": "Specific type of encounter", + "definition": "Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation).", + "comment": "Since there are many ways to further classify encounters, this element is 0..*.", + "min": 1, + "max": "*", + "base": { + "path": "Encounter.type", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Valueset to describe the Encounter Type", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "PV1-4 / PV1-18" + }, + { + "identity": "rim", + "map": ".code" + } + ] + }, + { + "id": "Encounter.serviceType", + "path": "Encounter.serviceType", + "short": "Specific type of service", + "definition": "Broad categorization of the service that is to be provided (e.g. cardiology).", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.serviceType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "EncounterServiceType" + } + ], + "strength": "example", + "description": "Broad categorization of the service that is to be provided.", + "valueSet": "http://hl7.org/fhir/ValueSet/service-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "v2", + "map": "PV1-10" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.priority", + "path": "Encounter.priority", + "short": "Indicates the urgency of the encounter", + "definition": "Indicates the urgency of the encounter.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.priority", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Priority" + } + ], + "strength": "example", + "description": "Indicates the urgency of the encounter.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActPriority" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.grade" + }, + { + "identity": "v2", + "map": "PV2-25" + }, + { + "identity": "rim", + "map": ".priorityCode" + } + ] + }, + { + "id": "Encounter.subject", + "path": "Encounter.subject", + "short": "The patient or group present at the encounter", + "definition": "The patient or group present at the encounter.", + "comment": "While the encounter is always about the patient, the patient might not actually be known in all contexts of use, and there may be a group of patients that could be anonymous (such as in a group therapy for Alcoholics Anonymous - where the recording of the encounter could be used for billing on the number of people/staff and not important to the context of the specific patients) or alternately in veterinary care a herd of sheep receiving treatment (where the animals are not individually tracked).", + "alias": [ + "patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "Encounter.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ]/role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Encounter.episodeOfCare", + "path": "Encounter.episodeOfCare", + "short": "Episode(s) of care that this encounter should be recorded against", + "definition": "Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem. The association is recorded on the encounter as these are typically created after the episode of care and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.episodeOfCare", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1-54, PV1-53" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.basedOn", + "path": "Encounter.basedOn", + "short": "The ServiceRequest that initiated this encounter", + "definition": "The request this encounter satisfies (e.g. incoming referral or procedure request).", + "alias": [ + "incomingReferral" + ], + "min": 0, + "max": "*", + "base": { + "path": "Encounter.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "rim", + "map": ".reason.ClinicalDocument" + } + ] + }, + { + "id": "Encounter.participant", + "path": "Encounter.participant", + "short": "List of participants involved in the encounter", + "definition": "The list of people responsible for providing the service.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.participant", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer" + }, + { + "identity": "v2", + "map": "ROL" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PFM]" + } + ] + }, + { + "id": "Encounter.participant.id", + "path": "Encounter.participant.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.participant.extension", + "path": "Encounter.participant.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.participant.modifierExtension", + "path": "Encounter.participant.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.participant.type", + "path": "Encounter.participant.type", + "short": "Role of participant in encounter", + "definition": "Role of participant in encounter.", + "comment": "The participant type indicates how an individual participates in an encounter. It includes non-practitioner participants, and for practitioners this is to describe the action type in the context of this encounter (e.g. Admitting Dr, Attending Dr, Translator, Consulting Dr). This is different to the practitioner roles which are functional roles, derived from terms of employment, education, licensing, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.participant.type", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ParticipantType" + } + ], + "strength": "extensible", + "description": "Role of participant in encounter.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-participant-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.function" + }, + { + "identity": "v2", + "map": "ROL-3 (or maybe PRT-4)" + }, + { + "identity": "rim", + "map": ".functionCode" + } + ] + }, + { + "id": "Encounter.participant.period", + "path": "Encounter.participant.period", + "short": "Period of time during the encounter that the participant participated", + "definition": "The period of time that the specified participant participated in the encounter. These can overlap or be sub-sets of the overall encounter's period.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.participant.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "ROL-5, ROL-6 (or maybe PRT-5)" + }, + { + "identity": "rim", + "map": ".time" + } + ] + }, + { + "id": "Encounter.participant.individual", + "path": "Encounter.participant.individual", + "short": "Persons involved in the encounter other than the patient", + "definition": "Persons involved in the encounter other than the patient.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.participant.individual", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.who" + }, + { + "identity": "v2", + "map": "ROL-4" + }, + { + "identity": "rim", + "map": ".role" + } + ] + }, + { + "id": "Encounter.appointment", + "path": "Encounter.appointment", + "short": "The appointment that scheduled this encounter", + "definition": "The appointment that scheduled this encounter.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.appointment", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Appointment" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "SCH-1 / SCH-2" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target[classCode=ENC, moodCode=APT]" + } + ] + }, + { + "id": "Encounter.period", + "path": "Encounter.period", + "short": "The start and end time of the encounter", + "definition": "The start and end time of the encounter.", + "comment": "If not (yet) known, the end of the Period may be omitted.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "PV1-44, PV1-45" + }, + { + "identity": "rim", + "map": ".effectiveTime (low & high)" + } + ] + }, + { + "id": "Encounter.length", + "path": "Encounter.length", + "short": "Quantity of time the encounter lasted (less time absent)", + "definition": "Quantity of time the encounter lasted. This excludes the time during leaves of absence.", + "comment": "May differ from the time the Encounter.period lasted because of leave of absence.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.length", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Duration" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "v2", + "map": "(PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes" + }, + { + "identity": "rim", + "map": ".lengthOfStayQuantity" + } + ] + }, + { + "id": "Encounter.reasonCode", + "path": "Encounter.reasonCode", + "short": "Coded reason the encounter takes place", + "definition": "Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.", + "comment": "For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).", + "alias": [ + "Indication", + "Admission diagnosis" + ], + "min": 0, + "max": "*", + "base": { + "path": "Encounter.reasonCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "EncounterReason" + } + ], + "strength": "preferred", + "description": "Reason why the encounter takes place.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-reason" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonCode" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "v2", + "map": "EVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )" + }, + { + "identity": "rim", + "map": ".reasonCode" + } + ] + }, + { + "id": "Encounter.reasonReference", + "path": "Encounter.reasonReference", + "short": "Reason the encounter takes place (reference)", + "definition": "Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.", + "comment": "For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).", + "alias": [ + "Indication", + "Admission diagnosis" + ], + "min": 0, + "max": "1", + "base": { + "path": "Encounter.reasonReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonCode" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "v2", + "map": "EVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )" + }, + { + "identity": "rim", + "map": ".reasonCode" + } + ] + }, + { + "id": "Encounter.diagnosis", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + "valueString": "Diagnosis" + } + ], + "path": "Encounter.diagnosis", + "short": "The list of diagnosis relevant to this encounter", + "definition": "The list of diagnosis relevant to this encounter.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.diagnosis", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=RSON]" + } + ] + }, + { + "id": "Encounter.diagnosis.id", + "path": "Encounter.diagnosis.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.diagnosis.extension", + "path": "Encounter.diagnosis.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.diagnosis.modifierExtension", + "path": "Encounter.diagnosis.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.diagnosis.condition", + "path": "Encounter.diagnosis.condition", + "short": "The diagnosis or procedure relevant to the encounter", + "definition": "Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.", + "comment": "For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).", + "alias": [ + "Admission diagnosis", + "discharge diagnosis", + "indication" + ], + "min": 1, + "max": "1", + "base": { + "path": "Encounter.diagnosis.condition", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition", + "http://hl7.org/fhir/StructureDefinition/Procedure" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonReference" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "v2", + "map": "Resources that would commonly referenced at Encounter.indication would be Condition and/or Procedure. These most closely align with DG1/PRB and PR1 respectively." + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=RSON].target" + } + ] + }, + { + "id": "Encounter.diagnosis.use", + "path": "Encounter.diagnosis.use", + "short": "Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)", + "definition": "Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …).", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.diagnosis.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DiagnosisRole" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "The type of diagnosis this condition represents.", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnosis-role" + }, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.diagnosis.rank", + "path": "Encounter.diagnosis.rank", + "short": "Ranking of the diagnosis (for each role type)", + "definition": "Ranking of the diagnosis (for each role type).", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.diagnosis.rank", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=RSON].priority" + } + ] + }, + { + "id": "Encounter.account", + "path": "Encounter.account", + "short": "The set of accounts that may be used for billing for this Encounter", + "definition": "The set of accounts that may be used for billing for this Encounter.", + "comment": "The billing system may choose to allocate billable items associated with the Encounter to different referenced Accounts based on internal business rules.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.account", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Account" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".pertains.A_Account" + } + ] + }, + { + "id": "Encounter.hospitalization", + "path": "Encounter.hospitalization", + "short": "Details about the admission to a healthcare service", + "definition": "Details about the admission to a healthcare service.", + "comment": "An Encounter may cover more than just the inpatient stay. Contexts such as outpatients, community clinics, and aged care facilities are also included.\r\rThe duration recorded in the period of this encounter covers the entire scope of this hospitalization record.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.hospitalization", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Encounter.hospitalization.id", + "path": "Encounter.hospitalization.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.hospitalization.extension", + "path": "Encounter.hospitalization.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.hospitalization.modifierExtension", + "path": "Encounter.hospitalization.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.hospitalization.preAdmissionIdentifier", + "path": "Encounter.hospitalization.preAdmissionIdentifier", + "short": "Pre-admission identifier", + "definition": "Pre-admission identifier.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.hospitalization.preAdmissionIdentifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PV1-5" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Encounter.hospitalization.origin", + "path": "Encounter.hospitalization.origin", + "short": "The location/organization from which the patient came before admission", + "definition": "The location/organization from which the patient came before admission.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.hospitalization.origin", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location", + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=ORG].role" + } + ] + }, + { + "id": "Encounter.hospitalization.admitSource", + "path": "Encounter.hospitalization.admitSource", + "short": "From where patient was admitted (physician referral, transfer)", + "definition": "From where patient was admitted (physician referral, transfer).", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.hospitalization.admitSource", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AdmitSource" + } + ], + "strength": "preferred", + "description": "From where the patient was admitted.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-admit-source" + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-14" + }, + { + "identity": "rim", + "map": ".admissionReferralSourceCode" + } + ] + }, + { + "id": "Encounter.hospitalization.reAdmission", + "path": "Encounter.hospitalization.reAdmission", + "short": "The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission", + "definition": "Whether this hospitalization is a readmission and why if known.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.hospitalization.reAdmission", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ReAdmissionType" + } + ], + "strength": "example", + "description": "The reason for re-admission of this hospitalization encounter.", + "valueSet": "http://terminology.hl7.org/ValueSet/v2-0092" + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-13" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.hospitalization.dietPreference", + "path": "Encounter.hospitalization.dietPreference", + "short": "Diet preferences reported by the patient", + "definition": "Diet preferences reported by the patient.", + "comment": "For example, a patient may request both a dairy-free and nut-free diet preference (not mutually exclusive).", + "requirements": "Used to track patient's diet restrictions and/or preference. For a complete description of the nutrition needs of a patient during their stay, one should use the nutritionOrder resource which links to Encounter.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.hospitalization.dietPreference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "PatientDiet" + } + ], + "strength": "example", + "description": "Medical, cultural or ethical food preferences to help with catering requirements.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-diet" + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-38" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=EVN, code=\"diet\"]" + } + ] + }, + { + "id": "Encounter.hospitalization.specialCourtesy", + "path": "Encounter.hospitalization.specialCourtesy", + "short": "Special courtesies (VIP, board member)", + "definition": "Special courtesies (VIP, board member).", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.hospitalization.specialCourtesy", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Courtesies" + } + ], + "strength": "preferred", + "description": "Special courtesies.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-special-courtesy" + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-16" + }, + { + "identity": "rim", + "map": ".specialCourtesiesCode" + } + ] + }, + { + "id": "Encounter.hospitalization.specialArrangement", + "path": "Encounter.hospitalization.specialArrangement", + "short": "Wheelchair, translator, stretcher, etc.", + "definition": "Any special requests that have been made for this hospitalization encounter, such as the provision of specific equipment or other things.", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.hospitalization.specialArrangement", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Arrangements" + } + ], + "strength": "preferred", + "description": "Special arrangements.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-special-arrangements" + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-15 / OBR-30 / OBR-43" + }, + { + "identity": "rim", + "map": ".specialArrangementCode" + } + ] + }, + { + "id": "Encounter.hospitalization.destination", + "path": "Encounter.hospitalization.destination", + "short": "Location/organization to which the patient is discharged", + "definition": "Location/organization to which the patient is discharged.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.hospitalization.destination", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location", + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PV1-37" + }, + { + "identity": "rim", + "map": ".participation[typeCode=DST]" + } + ] + }, + { + "id": "Encounter.hospitalization.dischargeDisposition", + "path": "Encounter.hospitalization.dischargeDisposition", + "short": "Category or kind of location after discharge", + "definition": "Category or kind of location after discharge.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.hospitalization.dischargeDisposition", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DischargeDisp" + } + ], + "strength": "example", + "description": "Discharge Disposition.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-discharge-disposition" + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-36" + }, + { + "identity": "rim", + "map": ".dischargeDispositionCode" + } + ] + }, + { + "id": "Encounter.location", + "path": "Encounter.location", + "short": "List of locations where the patient has been", + "definition": "List of locations where the patient has been during this encounter.", + "comment": "Virtual encounters can be recorded in the Encounter by specifying a location reference to a location of type \"kind\" such as \"client's home\" and an encounter.class = \"virtual\".", + "min": 0, + "max": "*", + "base": { + "path": "Encounter.location", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=LOC]" + } + ] + }, + { + "id": "Encounter.location.id", + "path": "Encounter.location.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.location.extension", + "path": "Encounter.location.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter.location.modifierExtension", + "path": "Encounter.location.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter.location.location", + "path": "Encounter.location.location", + "short": "Location the encounter takes place", + "definition": "The location where the encounter takes place.", + "min": 1, + "max": "1", + "base": { + "path": "Encounter.location.location", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.location" + }, + { + "identity": "w5", + "map": "FiveWs.where[x]" + }, + { + "identity": "v2", + "map": "PV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43" + }, + { + "identity": "rim", + "map": ".role" + } + ] + }, + { + "id": "Encounter.location.status", + "path": "Encounter.location.status", + "short": "planned | active | reserved | completed", + "definition": "The status of the participants' presence at the specified location during the period specified. If the participant is no longer at the location, then the period will have an end date/time.", + "comment": "When the patient is no longer active at a location, then the period end date is entered, and the status may be changed to completed.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.location.status", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "EncounterLocationStatus" + } + ], + "strength": "required", + "description": "The status of the location.", + "valueSet": "http://hl7.org/fhir/ValueSet/encounter-location-status|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": ".role.statusCode" + } + ] + }, + { + "id": "Encounter.location.physicalType", + "path": "Encounter.location.physicalType", + "short": "The physical type of the location (usually the level in the location hierachy - bed room ward etc.)", + "definition": "This will be used to specify the required levels (bed/ward/room/etc.) desired to be recorded to simplify either messaging or query.", + "comment": "This information is de-normalized from the Location resource to support the easier understanding of the encounter resource and processing in messaging or query.\n\nThere may be many levels in the hierachy, and this may only pic specific levels that are required for a specific usage scenario.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.location.physicalType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "PhysicalType" + } + ], + "strength": "example", + "description": "Physical form of the location.", + "valueSet": "http://hl7.org/fhir/ValueSet/location-physical-type" + } + }, + { + "id": "Encounter.location.period", + "path": "Encounter.location.period", + "short": "Time period during which the patient was present at the location", + "definition": "Time period during which the patient was present at the location.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.location.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".time" + } + ] + }, + { + "id": "Encounter.serviceProvider", + "path": "Encounter.serviceProvider", + "short": "The organization (facility) responsible for this encounter", + "definition": "The organization that is primarily responsible for this Encounter's services. This MAY be the same as the organization on the Patient record, however it could be different, such as if the actor performing the services was from an external organization (which may be billed seperately) for an external consultation. Refer to the example bundle showing an abbreviated set of Encounters for a colonoscopy.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.serviceProvider", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "v2", + "map": "PL.6 & PL.1" + }, + { + "identity": "rim", + "map": ".particiaption[typeCode=PFM].role" + } + ] + }, + { + "id": "Encounter.partOf", + "path": "Encounter.partOf", + "short": "Another Encounter this encounter is part of", + "definition": "Another Encounter of which this encounter is a part of (administratively or in time).", + "comment": "This is also used for associating a child's encounter back to the mother's encounter.\r\rRefer to the Notes section in the Patient resource for further details.", + "min": 0, + "max": "1", + "base": { + "path": "Encounter.partOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=COMP, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Encounter", + "path": "Encounter", + "definition": "This is basic constraint on Encounter for use in US Core resources.", + "alias": [ + "Visit" + ], + "mustSupport": false + }, + { + "id": "Encounter.identifier", + "path": "Encounter.identifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.identifier.system", + "path": "Encounter.identifier.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.identifier.value", + "path": "Encounter.identifier.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.status", + "path": "Encounter.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.class", + "path": "Encounter.class", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.type", + "path": "Encounter.type", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Valueset to describe the Encounter Type", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type" + } + }, + { + "id": "Encounter.subject", + "path": "Encounter.subject", + "alias": [ + "patient" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true + }, + { + "id": "Encounter.participant", + "path": "Encounter.participant", + "min": 0, + "max": "*", + "mustSupport": true + }, + { + "id": "Encounter.participant.type", + "path": "Encounter.participant.type", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.participant.period", + "path": "Encounter.participant.period", + "min": 0, + "max": "1", + "type": [ + { + "code": "Period" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.participant.individual", + "path": "Encounter.participant.individual", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true + }, + { + "id": "Encounter.period", + "path": "Encounter.period", + "min": 0, + "max": "1", + "type": [ + { + "code": "Period" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.reasonCode", + "path": "Encounter.reasonCode", + "alias": [ + "Indication", + "Admission diagnosis" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.reasonReference", + "path": "Encounter.reasonReference", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true + }, + { + "id": "Encounter.hospitalization", + "path": "Encounter.hospitalization", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Encounter.hospitalization.dischargeDisposition", + "path": "Encounter.hospitalization.dischargeDisposition", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.location", + "path": "Encounter.location", + "min": 0, + "max": "*", + "mustSupport": true + }, + { + "id": "Encounter.location.location", + "path": "Encounter.location.location", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "mustSupport": true + }, + { + "id": "Encounter.serviceProvider", + "path": "Encounter.serviceProvider", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-ethnicity.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-ethnicity.json new file mode 100644 index 00000000000..c1092f5383a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-ethnicity.json @@ -0,0 +1,2142 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-ethnicity", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "version": "4.0.0", + "name": "USCoreEthnicityExtension", + "title": "US Core Ethnicity Extension", + "status": "active", + "date": "2019-05-21T00:00:00-04:00", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "purpose": "Complies with 2015 Edition Common Clinical Data Set for patient race.", + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Patient" + }, + { + "type": "element", + "expression": "RelatedPerson" + }, + { + "type": "element", + "expression": "Person" + }, + { + "type": "element", + "expression": "Practitioner" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "US Core ethnicity Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.", + "min": 0, + "max": "1", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory", + "path": "Extension.extension", + "sliceName": "ombCategory", + "short": "Hispanic or Latino|Not Hispanic or Latino", + "definition": "The 2 ethnicity category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/ethnicGroupCode" + } + ] + }, + { + "id": "Extension.extension:ombCategory.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension.value[x]", + "path": "Extension.extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:ombCategory.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "ombCategory", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:ombCategory.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed", + "path": "Extension.extension", + "sliceName": "detailed", + "short": "Extended ethnicity codes", + "definition": "The 41 CDC ethnicity codes that are grouped under one of the 2 OMB ethnicity category codes.", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:ethnicGroupCode" + } + ] + }, + { + "id": "Extension.extension:detailed.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:detailed.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:detailed.extension.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:detailed.extension.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:detailed.extension.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed.extension.value[x]", + "path": "Extension.extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "detailed", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text", + "path": "Extension.extension", + "sliceName": "text", + "short": "ethnicity Text", + "definition": "Plain text representation of the ethnicity concept(s).", + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Extension.extension:text.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:text.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:text.extension.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:text.extension.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:text.extension.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text.extension.value[x]", + "path": "Extension.extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "text", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "US Core ethnicity Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.", + "min": 0, + "max": "1" + }, + { + "id": "Extension.extension:ombCategory", + "path": "Extension.extension", + "sliceName": "ombCategory", + "short": "Hispanic or Latino|Not Hispanic or Latino", + "definition": "The 2 ethnicity category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/ethnicGroupCode" + } + ] + }, + { + "id": "Extension.extension:ombCategory.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "ombCategory" + }, + { + "id": "Extension.extension:ombCategory.value[x]", + "path": "Extension.extension.value[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category" + } + }, + { + "id": "Extension.extension:detailed", + "path": "Extension.extension", + "sliceName": "detailed", + "short": "Extended ethnicity codes", + "definition": "The 41 CDC ethnicity codes that are grouped under one of the 2 OMB ethnicity category codes.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:ethnicGroupCode" + } + ] + }, + { + "id": "Extension.extension:detailed.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "detailed" + }, + { + "id": "Extension.extension:detailed.value[x]", + "path": "Extension.extension.value[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity" + } + }, + { + "id": "Extension.extension:text", + "path": "Extension.extension", + "sliceName": "text", + "short": "ethnicity Text", + "definition": "Plain text representation of the ethnicity concept(s).", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension" + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:text.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "text" + }, + { + "id": "Extension.extension:text.value[x]", + "path": "Extension.extension.value[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "min": 1, + "max": "1", + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-goal.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-goal.json new file mode 100644 index 00000000000..add8ebded9e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-goal.json @@ -0,0 +1,1601 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-goal", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal", + "version": "4.0.0", + "name": "USCoreGoalProfile", + "title": "US Core Goal Profile", + "status": "active", + "experimental": false, + "date": "2020-07-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints and extensions on the Goal resource for the minimal set of data to query and retrieve a patient's goal(s).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Goal", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Goal", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Goal", + "path": "Goal", + "short": "Describes the intended objective(s) for a patient, group or organization", + "definition": "The US Core Goal Profile is based upon the core FHIR Goal Resource and created to meet the 2015 Edition Common Clinical Data Set 'Goals' requirements.", + "comment": "Goal can be achieving a particular change or merely maintaining a current state or even slowing a decline.", + "min": 0, + "max": "*", + "base": { + "path": "Goal", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "GOL.1" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode<=OBJ]." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Goal" + } + ] + }, + { + "id": "Goal.id", + "path": "Goal.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Goal.meta", + "path": "Goal.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Goal.implicitRules", + "path": "Goal.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Goal.language", + "path": "Goal.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Goal.text", + "path": "Goal.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Goal.contained", + "path": "Goal.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Goal.extension", + "path": "Goal.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Goal.modifierExtension", + "path": "Goal.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Goal.identifier", + "path": "Goal.identifier", + "short": "External Ids for this goal", + "definition": "Business identifiers assigned to this goal by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", + "comment": "This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.", + "requirements": "Allows identification of the goal as it is known by various participating systems and in a way that remains consistent across servers.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Goal.lifecycleStatus", + "path": "Goal.lifecycleStatus", + "short": "proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected", + "definition": "The state of the goal throughout its lifecycle.", + "comment": "This element is labeled as a modifier because the lifecycleStatus contains codes that mark the resource as not currently valid.", + "requirements": "Allows knowing whether goal needs to be further tracked.", + "min": 1, + "max": "1", + "base": { + "path": "Goal.lifecycleStatus", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-status" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "GOL-18-goal life cycle status" + }, + { + "identity": "rim", + "map": ".statusCode in-progress = active (classCode = OBJ) cancelled = aborted" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.status" + } + ] + }, + { + "id": "Goal.achievementStatus", + "path": "Goal.achievementStatus", + "short": "in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable", + "definition": "Describes the progression, or lack thereof, towards the goal against the target.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.achievementStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalAchievementStatus" + } + ], + "strength": "preferred", + "description": "Indicates the progression, or lack thereof, towards the goal against the target.", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-achievement" + }, + "mapping": [ + { + "identity": "rim", + "map": ".statusCode achieved = complete sustaining = active" + } + ] + }, + { + "id": "Goal.category", + "path": "Goal.category", + "short": "E.g. Treatment, dietary, behavioral, etc.", + "definition": "Indicates a category the goal falls within.", + "requirements": "Allows goals to be filtered and sorted.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalCategory" + } + ], + "strength": "example", + "description": "Codes for grouping and sorting goals.", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + } + ] + }, + { + "id": "Goal.priority", + "path": "Goal.priority", + "short": "high-priority | medium-priority | low-priority", + "definition": "Identifies the mutually agreed level of importance associated with reaching/sustaining the goal.", + "comment": "Extensions are available to track priorities as established by each participant (i.e. Priority from the patient's perspective, different practitioners' perspectives, family member's perspectives)\r\rThe ordinal extension on Coding can be used to convey a numerically comparable ranking to priority. (Keep in mind that different coding systems may use a \"low value=important\".", + "requirements": "Used for sorting and presenting goals.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.priority", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalPriority" + } + ], + "strength": "preferred", + "description": "The level of importance associated with a goal.", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-priority" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.grade" + }, + { + "identity": "rim", + "map": ".priorityCode" + } + ] + }, + { + "id": "Goal.description", + "path": "Goal.description", + "short": "Code or text describing goal", + "definition": "Human-readable and/or coded description of a specific desired objective of care, such as \"control blood pressure\" or \"negotiate an obstacle course\" or \"dance with child at wedding\".", + "comment": "If no code is available, use CodeableConcept.text.", + "requirements": "Without a description of what's trying to be achieved, element has no purpose.", + "min": 1, + "max": "1", + "base": { + "path": "Goal.description", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalDescription" + } + ], + "strength": "example", + "description": "Codes providing the details of a particular goal. This will generally be system or implementation guide-specific. In many systems, only the text element will be used.", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "GOL-3.2-goal ID.text" + }, + { + "identity": "rim", + "map": ".text" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.description" + } + ] + }, + { + "id": "Goal.subject", + "path": "Goal.subject", + "short": "Who this goal is intended for", + "definition": "Identifies the patient, group or organization for whom the goal is being established.", + "requirements": "Subject is optional to support annonymized reporting.", + "min": 1, + "max": "1", + "base": { + "path": "Goal.subject", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3-patient ID list" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PAT].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.subject" + } + ] + }, + { + "id": "Goal.start[x]", + "path": "Goal.start[x]", + "short": "When goal pursuit begins", + "definition": "The date or event after which the goal should begin being pursued.", + "requirements": "Goals can be established prior to there being an intention to start pursuing them; e.g. Goals for post-surgical recovery established prior to surgery.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.start[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + }, + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalStartEvent" + } + ], + "strength": "example", + "description": "Codes describing events that can trigger the initiation of a goal.", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-start-event" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.planned" + } + ] + }, + { + "id": "Goal.target", + "path": "Goal.target", + "short": "Target outcome for the goal", + "definition": "Indicates what should be done by when.", + "comment": "When multiple targets are present for a single goal instance, all targets must be met for the overall goal to be met.", + "requirements": "Allows the progress of the goal to be monitored against an observation or due date. Target is 0..* to support Observations with multiple components, such as blood pressure goals with both a systolic and diastolic target.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.target", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "condition": [ + "gol-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "gol-1", + "severity": "error", + "human": "Goal.target.measure is required if Goal.target.detail is populated", + "expression": "(detail.exists() and measure.exists()) or detail.exists().not()", + "xpath": "(exists(f:*[starts-with(local-name(.), 'detail')]) and exists(f:measure)) or not(exists(f:*[starts-with(local-name(.), 'detail')]))", + "source": "http://hl7.org/fhir/StructureDefinition/Goal" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Goal.target.id", + "path": "Goal.target.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Goal.target.extension", + "path": "Goal.target.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Goal.target.modifierExtension", + "path": "Goal.target.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Goal.target.measure", + "path": "Goal.target.measure", + "short": "The parameter whose value is being tracked", + "definition": "The parameter whose value is being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.target.measure", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "gol-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalTargetMeasure" + } + ], + "strength": "example", + "description": "Codes to identify the value being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + { + "id": "Goal.target.detail[x]", + "path": "Goal.target.detail[x]", + "short": "The target value to be achieved", + "definition": "The target value of the focus to be achieved to signify the fulfillment of the goal, e.g. 150 pounds, 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any focus value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any focus value at or above the low value.", + "comment": "A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Goal.target.measure defines a coded value.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.target.detail[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Ratio" + } + ], + "condition": [ + "gol-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalTargetDetail" + } + ], + "strength": "example", + "description": "Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal." + } + }, + { + "id": "Goal.target.due[x]", + "path": "Goal.target.due[x]", + "short": "Reach goal on or before", + "definition": "Indicates either the date or the duration after start by which the goal should be met.", + "requirements": "Identifies when the goal should be evaluated.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.target.due[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "date" + }, + { + "code": "Duration" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.done[x]" + } + ] + }, + { + "id": "Goal.statusDate", + "path": "Goal.statusDate", + "short": "When goal status took effect", + "definition": "Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc.", + "comment": "To see the date for past statuses, query history.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.statusDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + } + ] + }, + { + "id": "Goal.statusReason", + "path": "Goal.statusReason", + "short": "Reason for current status", + "definition": "Captures the reason for the current status.", + "comment": "This will typically be captured for statuses such as rejected, on-hold or cancelled, but could be present for others.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.statusReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Goal.expressedBy", + "path": "Goal.expressedBy", + "short": "Who's responsible for creating Goal?", + "definition": "Indicates whose goal this is - patient goal, practitioner goal, etc.", + "comment": "This is the individual responsible for establishing the goal, not necessarily who recorded it. (For that, use the Provenance resource.).", + "min": 0, + "max": "1", + "base": { + "path": "Goal.expressedBy", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + } + ] + }, + { + "id": "Goal.addresses", + "path": "Goal.addresses", + "short": "Issues addressed by this goal", + "definition": "The identified conditions and other health record elements that are intended to be addressed by the goal.", + "requirements": "Allows specific goals to explicitly linked to the concerns they're dealing with - makes the goal more understandable.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.addresses", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest", + "http://hl7.org/fhir/StructureDefinition/RiskAssessment" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SUBJ].target[classCode=CONC]" + } + ] + }, + { + "id": "Goal.note", + "path": "Goal.note", + "short": "Comments about the goal", + "definition": "Any comments related to the goal.", + "comment": "May be used for progress notes, concerns or other related information that doesn't actually describe the goal itself.", + "requirements": "There's a need to capture information about the goal that doesn't actually describe the goal.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "GOL-16-goal evaluation + NTE?" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "Goal.outcomeCode", + "path": "Goal.outcomeCode", + "short": "What result was achieved regarding the goal?", + "definition": "Identifies the change (or lack of change) at the point when the status of the goal is assessed.", + "comment": "Note that this should not duplicate the goal status.", + "requirements": "Outcome tracking is a key aspect of care planning.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.outcomeCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalOutcome" + } + ], + "strength": "example", + "description": "The result of the goal; e.g. \"25% increase in shoulder mobility\", \"Anxiety reduced to moderate levels\". \"15 kg weight loss sustained over 6 months\".", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + } + }, + { + "id": "Goal.outcomeReference", + "path": "Goal.outcomeReference", + "short": "Observation that resulted from goal", + "definition": "Details of what's changed (or not changed).", + "comment": "The goal outcome is independent of the outcome of the related activities. For example, if the Goal is to achieve a target body weight of 150 lb and a care plan activity is defined to diet, then the care plan’s activity outcome could be calories consumed whereas goal outcome is an observation for the actual body weight measured.", + "requirements": "Outcome tracking is a key aspect of care planning.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.outcomeReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Observation" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + } + ] + }, + "differential": { + "element": [ + { + "id": "Goal", + "path": "Goal", + "definition": "The US Core Goal Profile is based upon the core FHIR Goal Resource and created to meet the 2015 Edition Common Clinical Data Set 'Goals' requirements.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Goal" + } + ] + }, + { + "id": "Goal.lifecycleStatus", + "path": "Goal.lifecycleStatus", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.status" + } + ] + }, + { + "id": "Goal.description", + "path": "Goal.description", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.description" + } + ] + }, + { + "id": "Goal.subject", + "path": "Goal.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.subject" + } + ] + }, + { + "id": "Goal.target", + "path": "Goal.target", + "min": 0, + "max": "*", + "mustSupport": true + }, + { + "id": "Goal.target.due[x]", + "path": "Goal.target.due[x]", + "min": 0, + "max": "1", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "date" + }, + { + "code": "Duration" + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-head-circumference.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-head-circumference.json new file mode 100644 index 00000000000..c677fcfff56 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-head-circumference.json @@ -0,0 +1,3814 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-head-circumference", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference", + "version": "4.0.0", + "name": "USCoreHeadCircumferenceProfile", + "title": "US Core Head Circumference Profile", + "status": "active", + "experimental": false, + "date": "2020-11-18", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints on Observation to represent head circumference observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Head Circumference Profile", + "definition": "Defines constraints on Observation to represent head circumference observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.extension", + "path": "Observation.category.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Head Circumference", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9843-4" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodylength|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Head Circumference Profile", + "definition": "Defines constraints on Observation to represent head circumference observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile." + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Head Circumference", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9843-4" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodylength|4.0.1" + } + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-heart-rate.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-heart-rate.json new file mode 100644 index 00000000000..ee045e7c704 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-heart-rate.json @@ -0,0 +1,3808 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-heart-rate", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate", + "version": "4.0.0", + "name": "USCoreHeartRateProfile", + "title": "US Core Heart Rate Profile", + "status": "active", + "experimental": false, + "date": "2020-11-17", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints on Observation to represent heart rate observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Heart Rate Profile", + "definition": "Defines constraints on Observation to represent heart rate observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.extension", + "path": "Observation.category.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Heart Rate", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "/min", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Heart Rate Profile", + "definition": "Defines constraints on Observation to represent heart rate observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile." + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Heart Rate", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "/min", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-immunization.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-immunization.json new file mode 100644 index 00000000000..894bdd4075e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-immunization.json @@ -0,0 +1,3203 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-immunization", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization", + "version": "4.0.0", + "name": "USCoreImmunizationProfile", + "title": "US Core Immunization Profile", + "status": "active", + "experimental": false, + "date": "2019-08-26", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints and extensions on the Immunization resource for the minimal set of data to query and retrieve patient's immunization information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "cda", + "uri": "http://hl7.org/v3/cda", + "name": "CDA (R2)" + } + ], + "kind": "resource", + "abstract": false, + "type": "Immunization", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Immunization", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Immunization", + "path": "Immunization", + "short": "Immunization event information", + "definition": "The US Core Immunization Profile is based upon the core FHIR Immunization Resource and created to meet the 2015 Edition Common Clinical Data Set 'Immunizations' requirements.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "v2", + "map": "VXU_V04" + }, + { + "identity": "rim", + "map": "SubstanceAdministration" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization" + } + ] + }, + { + "id": "Immunization.id", + "path": "Immunization.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Immunization.meta", + "path": "Immunization.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Immunization.implicitRules", + "path": "Immunization.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Immunization.language", + "path": "Immunization.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Immunization.text", + "path": "Immunization.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Immunization.contained", + "path": "Immunization.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.extension", + "path": "Immunization.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.modifierExtension", + "path": "Immunization.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.identifier", + "path": "Immunization.identifier", + "short": "Business identifier", + "definition": "A unique identifier assigned to this immunization record.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/id" + } + ] + }, + { + "id": "Immunization.status", + "path": "Immunization.status", + "short": "completed | entered-in-error | not-done", + "definition": "Indicates the current status of the immunization event.", + "comment": "Will generally be set to show that the immunization has been completed or not done. This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "min": 1, + "max": "1", + "base": { + "path": "Immunization.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains statuses entered-in-error and not-done which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.status" + } + ] + }, + { + "id": "Immunization.statusReason", + "path": "Immunization.statusReason", + "short": "Reason not done", + "definition": "Indicates the reason the immunization event was not performed.", + "comment": "This is generally only used for the status of \"not-done\". The reason for performing the immunization event is captured in reasonCode, not here.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.statusReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "example", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-status-reason" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.statusReason" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.wasNotGiven" + } + ] + }, + { + "id": "Immunization.vaccineCode", + "path": "Immunization.vaccineCode", + "short": "Vaccine Product Type (bind to CVX)", + "definition": "Vaccine that was administered or was to be administered.", + "min": 1, + "max": "1", + "base": { + "path": "Immunization.vaccineCode", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "us-core-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "us-core-1", + "severity": "warning", + "human": "SHOULD have a translation to the NDC value set", + "expression": "coding.where(system='http://hl7.org/fhir/sid/ndc').empty()", + "xpath": "not(exists(f:coding/f:system[@value='http://hl7.org/fhir/sid/ndc']))" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.6" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "RXA-5" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacturedMaterial/realmCode/code" + }, + { + "identity": "quick", + "map": "vaccine" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.vaccineCode" + } + ] + }, + { + "id": "Immunization.patient", + "path": "Immunization.patient", + "short": "Who was immunized", + "definition": "The patient who either received or did not receive the immunization.", + "alias": [ + "Patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "Immunization.patient", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".partipication[ttypeCode=].role" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "quick", + "map": "subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.patient" + } + ] + }, + { + "id": "Immunization.encounter", + "path": "Immunization.encounter", + "short": "Encounter immunization was part of", + "definition": "The visit or admission or other contact between patient and health care provider the immunization was performed as part of.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "component->EncounterEvent" + } + ] + }, + { + "id": "Immunization.occurrence[x]", + "path": "Immunization.occurrence[x]", + "short": "Vaccine administration date", + "definition": "Date vaccine administered or was to be administered.", + "comment": "When immunizations are given a specific date and time should always be known. When immunizations are patient reported, a specific date might not be known. Although partial dates are allowed, an adult patient might not be able to recall the year a childhood immunization was given. An exact date is always preferable, but the use of the String data type is acceptable when an exact date is not known. A small number of vaccines (e.g. live oral typhoid vaccine) are given as a series of patient self-administered dose over a span of time. In cases like this, often, only the first dose (typically a provider supervised dose) is recorded with the occurrence indicating the date/time of the first dose.", + "min": 1, + "max": "1", + "base": { + "path": "Immunization.occurrence[x]", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "RXA-3" + }, + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/effectiveTime/value" + }, + { + "identity": "quick", + "map": "performanceTime" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.date" + } + ] + }, + { + "id": "Immunization.recorded", + "path": "Immunization.recorded", + "short": "When the immunization was first captured in the subject's record", + "definition": "The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.recorded", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Immunization.primarySource", + "path": "Immunization.primarySource", + "short": "Indicates context the data was recorded in", + "definition": "An indication that the content of the record is based on information from the person who administered the vaccine. This reflects the context under which the data was originally recorded.", + "comment": "Reflects the “reliability” of the content.", + "min": 1, + "max": "1", + "base": { + "path": "Immunization.primarySource", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + }, + { + "identity": "v2", + "map": "RXA-9" + }, + { + "identity": "rim", + "map": "immunization.uncertaintycode (if primary source=false, uncertainty=U)" + }, + { + "identity": "quick", + "map": "reported" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.reported" + } + ] + }, + { + "id": "Immunization.reportOrigin", + "path": "Immunization.reportOrigin", + "short": "Indicates the source of a secondarily reported record", + "definition": "The source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.", + "comment": "Should not be populated if primarySource = True, not required even if primarySource = False.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.reportOrigin", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ImmunizationReportOrigin" + } + ], + "strength": "example", + "description": "The source of the data for a record which is not from a primary source.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-origin" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + }, + { + "identity": "v2", + "map": "RXA-9" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported) .participation[typeCode=INF].role[classCode=LIC] (this syntax for health care professional) .participation[typeCode=INF].role[classCode=PRS] (this syntax for family member)" + } + ] + }, + { + "id": "Immunization.location", + "path": "Immunization.location", + "short": "Where immunization occurred", + "definition": "The service delivery location where the vaccine administration occurred.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.location", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.location" + }, + { + "identity": "w5", + "map": "FiveWs.where[x]" + }, + { + "identity": "v2", + "map": "RXA-27 (or RXA-11, deprecated as of v2.7)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=LOC].COCT_MT240000UV" + } + ] + }, + { + "id": "Immunization.manufacturer", + "path": "Immunization.manufacturer", + "short": "Vaccine manufacturer", + "definition": "Name of vaccine manufacturer.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.manufacturer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "RXA-17" + }, + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=ORG]" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacuturerOrganization/name" + } + ] + }, + { + "id": "Immunization.lotNumber", + "path": "Immunization.lotNumber", + "short": "Vaccine lot number", + "definition": "Lot number of the vaccine product.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.lotNumber", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "RXA-15" + }, + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].id" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacturedMaterial/lotNumberText" + } + ] + }, + { + "id": "Immunization.expirationDate", + "path": "Immunization.expirationDate", + "short": "Vaccine expiration date", + "definition": "Date vaccine batch expires.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.expirationDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "RXA-16" + }, + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime" + } + ] + }, + { + "id": "Immunization.site", + "path": "Immunization.site", + "short": "Body site vaccine was administered", + "definition": "Body site where vaccine was administered.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.site", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ImmunizationSite" + } + ], + "strength": "example", + "description": "The site at which the vaccine was administered.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-site" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXR-2" + }, + { + "identity": "rim", + "map": "observation.targetSiteCode" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/approachSiteCode/code" + } + ] + }, + { + "id": "Immunization.route", + "path": "Immunization.route", + "short": "How vaccine entered body", + "definition": "The path by which the vaccine product is taken into the body.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.route", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ImmunizationRoute" + } + ], + "strength": "example", + "description": "The route by which the vaccine was administered.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-route" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXR-1" + }, + { + "identity": "rim", + "map": ".routeCode" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/routeCode/code" + } + ] + }, + { + "id": "Immunization.doseQuantity", + "path": "Immunization.doseQuantity", + "short": "Amount of vaccine administered", + "definition": "The quantity of vaccine product that was administered.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.doseQuantity", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "RXA-6 / RXA-7" + }, + { + "identity": "rim", + "map": ".doseQuantity" + } + ] + }, + { + "id": "Immunization.performer", + "path": "Immunization.performer", + "short": "Who performed event", + "definition": "Indicates who performed the immunization event.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer" + }, + { + "identity": "v2", + "map": "ORC-12 / RXA-10" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" + } + ] + }, + { + "id": "Immunization.performer.id", + "path": "Immunization.performer.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization.performer.extension", + "path": "Immunization.performer.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization.performer.modifierExtension", + "path": "Immunization.performer.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.performer.function", + "path": "Immunization.performer.function", + "short": "What type of performance was done", + "definition": "Describes the type of performance (e.g. ordering provider, administering provider, etc.).", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.performer.function", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ImmunizationFunction" + } + ], + "strength": "extensible", + "description": "The role a practitioner or organization plays in the immunization event.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-function" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.function" + }, + { + "identity": "rim", + "map": ".participation.functionCode" + } + ] + }, + { + "id": "Immunization.performer.actor", + "path": "Immunization.performer.actor", + "short": "Individual or organization who was performing", + "definition": "The practitioner or organization who performed the action.", + "comment": "When the individual practitioner who performed the action is known, it is best to send.", + "min": 1, + "max": "1", + "base": { + "path": "Immunization.performer.actor", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "rim", + "map": ".player" + } + ] + }, + { + "id": "Immunization.note", + "path": "Immunization.note", + "short": "Additional immunization notes", + "definition": "Extra information about the immunization that is not conveyed by the other attributes.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.note" + }, + { + "identity": "v2", + "map": "OBX-5 : OBX-3 = 48767-8" + }, + { + "identity": "rim", + "map": "note" + } + ] + }, + { + "id": "Immunization.reasonCode", + "path": "Immunization.reasonCode", + "short": "Why immunization occurred", + "definition": "Reasons why the vaccine was administered.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.reasonCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ImmunizationReason" + } + ], + "strength": "example", + "description": "The reason why a vaccine was administered.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-reason" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonCode" + }, + { + "identity": "rim", + "map": "[actionNegationInd=false].reasonCode" + } + ] + }, + { + "id": "Immunization.reasonReference", + "path": "Immunization.reasonReference", + "short": "Why immunization occurred", + "definition": "Condition, Observation or DiagnosticReport that supports why the immunization was administered.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.reasonReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonReference" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.isSubpotent", + "path": "Immunization.isSubpotent", + "short": "Dose potency", + "definition": "Indication if a dose is considered to be subpotent. By default, a dose should be considered to be potent.", + "comment": "Typically, the recognition of the dose being sub-potent is retrospective, after the administration (ex. notification of a manufacturer recall after administration). However, in the case of a partial administration (the patient moves unexpectedly and only some of the dose is actually administered), subpotency may be recognized immediately, but it is still important to record the event.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.isSubpotent", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "By default, a dose should be considered to be potent.", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because an immunization event with a subpotent vaccine doesn't protect the patient the same way as a potent dose.", + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RXA-20 = PA (partial administration)" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.subpotentReason", + "path": "Immunization.subpotentReason", + "short": "Reason for being subpotent", + "definition": "Reason why a dose is considered to be subpotent.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.subpotentReason", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "SubpotentReason" + } + ], + "strength": "example", + "description": "The reason why a dose is considered to be subpotent.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-subpotent-reason" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.education", + "path": "Immunization.education", + "short": "Educational material presented to patient", + "definition": "Educational material presented to the patient (or guardian) at the time of vaccine administration.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.education", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "imm-1", + "severity": "error", + "human": "One of documentType or reference SHALL be present", + "expression": "documentType.exists() or reference.exists()", + "xpath": "exists(f:documentType) or exists(f:reference)" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.education.id", + "path": "Immunization.education.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization.education.extension", + "path": "Immunization.education.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization.education.modifierExtension", + "path": "Immunization.education.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.education.documentType", + "path": "Immunization.education.documentType", + "short": "Educational material document identifier", + "definition": "Identifier of the material presented to the patient.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.education.documentType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-5 : OBX-3 = 69764-9" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.education.reference", + "path": "Immunization.education.reference", + "short": "Educational material reference pointer", + "definition": "Reference pointer to the educational material given to the patient if the information was on line.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.education.reference", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.education.publicationDate", + "path": "Immunization.education.publicationDate", + "short": "Educational material publication date", + "definition": "Date the educational material was published.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.education.publicationDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-5 : OBX-3 = 29768-9" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.education.presentationDate", + "path": "Immunization.education.presentationDate", + "short": "Educational material presentation date", + "definition": "Date the educational material was given to the patient.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.education.presentationDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-5 : OBX-3 = 29769-7" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.programEligibility", + "path": "Immunization.programEligibility", + "short": "Patient eligibility for a vaccination program", + "definition": "Indicates a patient's eligibility for a funding program.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.programEligibility", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProgramEligibility" + } + ], + "strength": "example", + "description": "The patient's eligibility for a vaccation program.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-program-eligibility" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-5 : OBX-3 = 64994-7" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.fundingSource", + "path": "Immunization.fundingSource", + "short": "Funding source for the vaccine", + "definition": "Indicates the source of the vaccine actually administered. This may be different than the patient eligibility (e.g. the patient may be eligible for a publically purchased vaccine but due to inventory issues, vaccine purchased with private funds was actually administered).", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.fundingSource", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FundingSource" + } + ], + "strength": "example", + "description": "The source of funding used to purchase the vaccine administered.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-funding-source" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.reaction", + "path": "Immunization.reaction", + "short": "Details of a reaction that follows immunization", + "definition": "Categorical data indicating that an adverse event is associated in time to an immunization.", + "comment": "A reaction may be an indication of an allergy or intolerance and, if this is determined to be the case, it should be recorded as a new AllergyIntolerance resource instance as most systems will not query against past Immunization.reaction elements.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.reaction", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "Observation[classCode=obs].code" + } + ] + }, + { + "id": "Immunization.reaction.id", + "path": "Immunization.reaction.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization.reaction.extension", + "path": "Immunization.reaction.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization.reaction.modifierExtension", + "path": "Immunization.reaction.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.reaction.date", + "path": "Immunization.reaction.date", + "short": "When reaction started", + "definition": "Date of reaction to the immunization.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.reaction.date", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14 (ideally this would be reported in an IAM segment, but IAM is not part of the HL7 v2 VXU message - most likely would appear in OBX segments if at all)" + }, + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "Immunization.reaction.detail", + "path": "Immunization.reaction.detail", + "short": "Additional information on reaction", + "definition": "Details of the reaction.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.reaction.detail", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Observation" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-5" + }, + { + "identity": "rim", + "map": ".value" + } + ] + }, + { + "id": "Immunization.reaction.reported", + "path": "Immunization.reaction.reported", + "short": "Indicates self-reported reaction", + "definition": "Self-reported indicator.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.reaction.reported", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "(HL7 v2 doesn't seem to provide for this)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported=true)" + } + ] + }, + { + "id": "Immunization.protocolApplied", + "path": "Immunization.protocolApplied", + "short": "Protocol followed by the provider", + "definition": "The protocol (set of recommendations) being followed by the provider who administered the dose.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.protocolApplied", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.protocolApplied.id", + "path": "Immunization.protocolApplied.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization.protocolApplied.extension", + "path": "Immunization.protocolApplied.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization.protocolApplied.modifierExtension", + "path": "Immunization.protocolApplied.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.protocolApplied.series", + "path": "Immunization.protocolApplied.series", + "short": "Name of vaccine series", + "definition": "One possible path to achieve presumed immunity against a disease - within the context of an authority.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.protocolApplied.series", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.protocolApplied.authority", + "path": "Immunization.protocolApplied.authority", + "short": "Who is responsible for publishing the recommendations", + "definition": "Indicates the authority who published the protocol (e.g. ACIP) that is being followed.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.protocolApplied.authority", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.protocolApplied.targetDisease", + "path": "Immunization.protocolApplied.targetDisease", + "short": "Vaccine preventatable disease being targetted", + "definition": "The vaccine preventable disease the dose is being administered against.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.protocolApplied.targetDisease", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "TargetDisease" + } + ], + "strength": "example", + "description": "The vaccine preventable disease the dose is being administered for.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-target-disease" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.protocolApplied.doseNumber[x]", + "path": "Immunization.protocolApplied.doseNumber[x]", + "short": "Dose number within series", + "definition": "Nominal position in a series.", + "comment": "The use of an integer is preferred if known. A string should only be used in cases where an integer is not available (such as when documenting a recurring booster dose).", + "min": 1, + "max": "1", + "base": { + "path": "Immunization.protocolApplied.doseNumber[x]", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + }, + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization.protocolApplied.seriesDoses[x]", + "path": "Immunization.protocolApplied.seriesDoses[x]", + "short": "Recommended number of doses for immunity", + "definition": "The recommended number of doses to achieve immunity.", + "comment": "The use of an integer is preferred if known. A string should only be used in cases where an integer is not available (such as when documenting a recurring booster dose).", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.protocolApplied.seriesDoses[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + }, + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Immunization", + "path": "Immunization", + "definition": "The US Core Immunization Profile is based upon the core FHIR Immunization Resource and created to meet the 2015 Edition Common Clinical Data Set 'Immunizations' requirements.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization" + } + ] + }, + { + "id": "Immunization.status", + "path": "Immunization.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.status" + } + ] + }, + { + "id": "Immunization.statusReason", + "path": "Immunization.statusReason", + "min": 0, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "example", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-status-reason" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.wasNotGiven" + } + ] + }, + { + "id": "Immunization.vaccineCode", + "path": "Immunization.vaccineCode", + "short": "Vaccine Product Type (bind to CVX)", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "us-core-1" + ], + "constraint": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "us-core-1", + "severity": "warning", + "human": "SHOULD have a translation to the NDC value set", + "expression": "coding.where(system='http://hl7.org/fhir/sid/ndc').empty()", + "xpath": "not(exists(f:coding/f:system[@value='http://hl7.org/fhir/sid/ndc']))" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.6" + }, + "mapping": [ + { + "identity": "quick", + "map": "vaccine" + }, + { + "identity": "quick", + "map": "vaccine" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.vaccineCode" + } + ] + }, + { + "id": "Immunization.patient", + "path": "Immunization.patient", + "alias": [ + "Patient" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "quick", + "map": "subject" + }, + { + "identity": "quick", + "map": "subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.patient" + } + ] + }, + { + "id": "Immunization.occurrence[x]", + "path": "Immunization.occurrence[x]", + "min": 1, + "max": "1", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "string" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "quick", + "map": "performanceTime" + }, + { + "identity": "quick", + "map": "performanceTime" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.date" + } + ] + }, + { + "id": "Immunization.primarySource", + "path": "Immunization.primarySource", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "quick", + "map": "reported" + }, + { + "identity": "quick", + "map": "reported" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.reported" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-implantable-device.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-implantable-device.json new file mode 100644 index 00000000000..c32769b3cbf --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-implantable-device.json @@ -0,0 +1,3015 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-implantable-device", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device", + "version": "4.0.0", + "name": "USCoreImplantableDeviceProfile", + "title": "US Core Implantable Device Profile", + "status": "active", + "experimental": false, + "date": "2019-09-17", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints and extensions on the Device resource for the minimal set of data to query and retrieve a patient's implantable device(s).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "udi", + "uri": "http://fda.gov/UDI", + "name": "UDI Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Device", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Device", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Device", + "path": "Device", + "short": "Item used in healthcare", + "definition": "The US Core Implantable Device Profile is based upon the core FHIR Device Resource and created to meet the 2015 Edition Common Clinical Data Set 'Unique device identifier(s) for a patient’s implantable device(s)' requirements.", + "min": 0, + "max": "*", + "base": { + "path": "Device", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Device" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Device" + } + ] + }, + { + "id": "Device.id", + "path": "Device.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Device.meta", + "path": "Device.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Device.implicitRules", + "path": "Device.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Device.language", + "path": "Device.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Device.text", + "path": "Device.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Device.contained", + "path": "Device.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device.extension", + "path": "Device.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device.modifierExtension", + "path": "Device.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device.identifier", + "path": "Device.identifier", + "short": "Instance identifier", + "definition": "Unique instance identifiers assigned to a device by manufacturers other organizations or owners.", + "comment": "The barcode string from a barcode present on a device label or package may identify the instance, include names given to the device in local usage, or may identify the type of device. If the identifier identifies the type of device, Device.type element should be used.", + "min": 0, + "max": "*", + "base": { + "path": "Device.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "udi", + "map": "The serial number which is a component of the production identifier (PI), a conditional, variable portion of a UDI. The identifier.type code should be set to “SNO”(Serial Number) and the system left empty." + } + ] + }, + { + "id": "Device.definition", + "path": "Device.definition", + "short": "The reference to the definition for the device", + "definition": "The reference to the definition for the device.", + "min": 0, + "max": "1", + "base": { + "path": "Device.definition", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DeviceDefinition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.udiCarrier", + "path": "Device.udiCarrier", + "short": "Unique Device Identifier (UDI) Barcode string", + "definition": "Unique device identifier (UDI) assigned to device label or package. Note that the Device may include multiple udiCarriers as it either may include just the udiCarrier for the jurisdiction it is sold, or for multiple jurisdictions it could have been sold.", + "comment": "Some devices may not have UDI information (for example. historical data or patient reported data).", + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id and .code" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Device.udi" + } + ] + }, + { + "id": "Device.udiCarrier.id", + "path": "Device.udiCarrier.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.udiCarrier.extension", + "path": "Device.udiCarrier.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.udiCarrier.modifierExtension", + "path": "Device.udiCarrier.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device.udiCarrier.deviceIdentifier", + "path": "Device.udiCarrier.deviceIdentifier", + "short": "Mandatory fixed portion of UDI", + "definition": "The device identifier (DI) is a mandatory, fixed portion of a UDI that identifies the labeler and the specific version or model of a device.", + "alias": [ + "DI" + ], + "min": 1, + "max": "1", + "base": { + "path": "Device.udiCarrier.deviceIdentifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": "Role.id.extension" + }, + { + "identity": "udi", + "map": "The device identifier (DI), a mandatory, fixed portion of a UDI that identifies the labeler and the specific version or model of a device." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.udiCarrier.issuer", + "path": "Device.udiCarrier.issuer", + "short": "UDI Issuing Organization", + "definition": "Organization that is charged with issuing UDIs for devices. For example, the US FDA issuers include :\n1) GS1: \nhttp://hl7.org/fhir/NamingSystem/gs1-di, \n2) HIBCC:\nhttp://hl7.org/fhir/NamingSystem/hibcc-dI, \n3) ICCBBA for blood containers:\nhttp://hl7.org/fhir/NamingSystem/iccbba-blood-di, \n4) ICCBA for other devices:\nhttp://hl7.org/fhir/NamingSystem/iccbba-other-di.", + "alias": [ + "Barcode System" + ], + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier.issuer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Role.id.root" + }, + { + "identity": "udi", + "map": "All UDIs are to be issued under a system operated by an Jurisdiction-accredited issuing agency.\nGS1 DIs: \n http://hl7.org/fhir/NamingSystem/gs1\nHIBCC DIs:\n http://hl7.org/fhir/NamingSystem/hibcc\nICCBBA DIs for blood containers:\n http://hl7.org/fhir/NamingSystem/iccbba-blood\nICCBA DIs for other devices:\n http://hl7.org/fhir/NamingSystem/iccbba-other" + } + ] + }, + { + "id": "Device.udiCarrier.jurisdiction", + "path": "Device.udiCarrier.jurisdiction", + "short": "Regional UDI authority", + "definition": "The identity of the authoritative source for UDI generation within a jurisdiction. All UDIs are globally unique within a single namespace with the appropriate repository uri as the system. For example, UDIs of devices managed in the U.S. by the FDA, the value is http://hl7.org/fhir/NamingSystem/fda-udi.", + "requirements": "Allows a recipient of a UDI to know which database will contain the UDI-associated metadata.", + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier.jurisdiction", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Role.scoper" + } + ] + }, + { + "id": "Device.udiCarrier.carrierAIDC", + "path": "Device.udiCarrier.carrierAIDC", + "short": "UDI Machine Readable Barcode String", + "definition": "The full UDI carrier of the Automatic Identification and Data Capture (AIDC) technology representation of the barcode string as printed on the packaging of the device - e.g., a barcode or RFID. Because of limitations on character sets in XML and the need to round-trip JSON data through XML, AIDC Formats *SHALL* be base64 encoded.", + "comment": "The AIDC form of UDIs should be scanned or otherwise used for the identification of the device whenever possible to minimize errors in records resulting from manual transcriptions. If separate barcodes for DI and PI are present, concatenate the string with DI first and in order of human readable expression on label.", + "alias": [ + "Automatic Identification and Data Capture" + ], + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier.carrierAIDC", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "Role.id.extension" + }, + { + "identity": "udi", + "map": "A unique device identifier (UDI) on a device label a form that uses automatic identification and data capture (AIDC) technology." + } + ] + }, + { + "id": "Device.udiCarrier.carrierHRF", + "path": "Device.udiCarrier.carrierHRF", + "short": "UDI Human Readable Barcode String", + "definition": "The full UDI carrier as the human readable form (HRF) representation of the barcode string as printed on the packaging of the device.", + "comment": "If separate barcodes for DI and PI are present, concatenate the string with DI first and in order of human readable expression on label.", + "alias": [ + "Human Readable Form", + "UDI", + "Barcode String" + ], + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier.carrierHRF", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "Role.id.extension" + }, + { + "identity": "udi", + "map": "A unique device identifier (UDI) on a device label in plain text" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Device.udi" + } + ] + }, + { + "id": "Device.udiCarrier.entryType", + "path": "Device.udiCarrier.entryType", + "short": "barcode | rfid | manual +", + "definition": "A coded entry to indicate how the data was entered.", + "requirements": "Supports a way to distinguish hand entered from machine read data.", + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier.entryType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "UDIEntryType" + } + ], + "strength": "required", + "description": "Codes to identify how UDI data was entered.", + "valueSet": "http://hl7.org/fhir/ValueSet/udi-entry-type|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "NA" + } + ] + }, + { + "id": "Device.status", + "path": "Device.status", + "short": "active | inactive | entered-in-error | unknown", + "definition": "Status of the Device availability.", + "comment": "This element is labeled as a modifier because the status contains the codes inactive and entered-in-error that mark the device (record)as not currently valid.", + "min": 0, + "max": "1", + "base": { + "path": "Device.status", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRDeviceStatus" + } + ], + "strength": "required", + "description": "The availability status of the device.", + "valueSet": "http://hl7.org/fhir/ValueSet/device-status|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": ".statusCode" + } + ] + }, + { + "id": "Device.statusReason", + "path": "Device.statusReason", + "short": "online | paused | standby | offline | not-ready | transduc-discon | hw-discon | off", + "definition": "Reason for the dtatus of the Device availability.", + "min": 0, + "max": "*", + "base": { + "path": "Device.statusReason", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRDeviceStatusReason" + } + ], + "strength": "extensible", + "description": "The availability status reason of the device.", + "valueSet": "http://hl7.org/fhir/ValueSet/device-status-reason" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + } + ] + }, + { + "id": "Device.distinctIdentifier", + "path": "Device.distinctIdentifier", + "short": "The distinct identification string", + "definition": "The distinct identification string as required by regulation for a human cell, tissue, or cellular and tissue-based product.", + "comment": "For example, this applies to devices in the United States regulated under *Code of Federal Regulation 21CFR§1271.290(c)*.", + "alias": [ + "Distinct Identification Code (DIC)" + ], + "min": 0, + "max": "1", + "base": { + "path": "Device.distinctIdentifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".lotNumberText" + }, + { + "identity": "udi", + "map": "The lot or batch number within which a device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.manufacturer", + "path": "Device.manufacturer", + "short": "Name of device manufacturer", + "definition": "A name of the manufacturer.", + "min": 0, + "max": "1", + "base": { + "path": "Device.manufacturer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].scoper.name" + }, + { + "identity": "udi", + "map": "N/A" + } + ] + }, + { + "id": "Device.manufactureDate", + "path": "Device.manufactureDate", + "short": "Date when the device was made", + "definition": "The date and time when the device was manufactured.", + "min": 0, + "max": "1", + "base": { + "path": "Device.manufactureDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".existenceTime.low" + }, + { + "identity": "udi", + "map": "The date a specific device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI. For FHIR, The datetime syntax must converted to YYYY-MM-DD[THH:MM:SS]. If hour is present, the minutes and seconds should both be set to “00”." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.expirationDate", + "path": "Device.expirationDate", + "short": "Date and time of expiry of this device (if applicable)", + "definition": "The date and time beyond which this device is no longer valid or should not be used (if applicable).", + "min": 0, + "max": "1", + "base": { + "path": "Device.expirationDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".expirationTime" + }, + { + "identity": "udi", + "map": "the expiration date of a specific device - which is a component of the production identifier (PI), a conditional, variable portion of a UDI. For FHIR, The datetime syntax must converted to YYYY-MM-DD[THH:MM:SS]. If hour is present, the minutes and seconds should both be set to “00”." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.lotNumber", + "path": "Device.lotNumber", + "short": "Lot number of manufacture", + "definition": "Lot number assigned by the manufacturer.", + "min": 0, + "max": "1", + "base": { + "path": "Device.lotNumber", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".lotNumberText" + }, + { + "identity": "udi", + "map": "The lot or batch number within which a device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.serialNumber", + "path": "Device.serialNumber", + "short": "Serial number assigned by the manufacturer", + "definition": "The serial number assigned by the organization when the device was manufactured.", + "comment": "Alphanumeric Maximum 20.", + "min": 0, + "max": "1", + "base": { + "path": "Device.serialNumber", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].id" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.deviceName", + "path": "Device.deviceName", + "short": "The name of the device as given by the manufacturer", + "definition": "This represents the manufacturer's name of the device as provided by the device, from a UDI label, or by a person describing the Device. This typically would be used when a person provides the name(s) or when the device represents one of the names available from DeviceDefinition.", + "min": 0, + "max": "*", + "base": { + "path": "Device.deviceName", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.deviceName.id", + "path": "Device.deviceName.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.deviceName.extension", + "path": "Device.deviceName.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.deviceName.modifierExtension", + "path": "Device.deviceName.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device.deviceName.name", + "path": "Device.deviceName.name", + "short": "The name of the device", + "definition": "The name of the device.", + "alias": [ + "Σ" + ], + "min": 1, + "max": "1", + "base": { + "path": "Device.deviceName.name", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.deviceName.type", + "path": "Device.deviceName.type", + "short": "udi-label-name | user-friendly-name | patient-reported-name | manufacturer-name | model-name | other", + "definition": "The type of deviceName.\nUDILabelName | UserFriendlyName | PatientReportedName | ManufactureDeviceName | ModelName.", + "min": 1, + "max": "1", + "base": { + "path": "Device.deviceName.type", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DeviceNameType" + } + ], + "strength": "required", + "description": "The type of name the device is referred by.", + "valueSet": "http://hl7.org/fhir/ValueSet/device-nametype|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].code" + } + ] + }, + { + "id": "Device.modelNumber", + "path": "Device.modelNumber", + "short": "The model number for the device", + "definition": "The model number for the device.", + "min": 0, + "max": "1", + "base": { + "path": "Device.modelNumber", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".softwareName (included as part)" + } + ] + }, + { + "id": "Device.partNumber", + "path": "Device.partNumber", + "short": "The part number of the device", + "definition": "The part number of the device.", + "comment": "Alphanumeric Maximum 20.", + "min": 0, + "max": "1", + "base": { + "path": "Device.partNumber", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].id" + } + ] + }, + { + "id": "Device.type", + "path": "Device.type", + "short": "The kind or type of device", + "definition": "The kind or type of device.", + "min": 1, + "max": "1", + "base": { + "path": "Device.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Codes to identify medical devices", + "valueSet": "http://hl7.org/fhir/ValueSet/device-kind" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device.type" + } + ] + }, + { + "id": "Device.specialization", + "path": "Device.specialization", + "short": "The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication", + "definition": "The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication.", + "min": 0, + "max": "*", + "base": { + "path": "Device.specialization", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.specialization.id", + "path": "Device.specialization.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.specialization.extension", + "path": "Device.specialization.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.specialization.modifierExtension", + "path": "Device.specialization.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device.specialization.systemType", + "path": "Device.specialization.systemType", + "short": "The standard that is used to operate and communicate", + "definition": "The standard that is used to operate and communicate.", + "alias": [ + "Σ" + ], + "min": 1, + "max": "1", + "base": { + "path": "Device.specialization.systemType", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.specialization.version", + "path": "Device.specialization.version", + "short": "The version of the standard that is used to operate and communicate", + "definition": "The version of the standard that is used to operate and communicate.", + "min": 0, + "max": "1", + "base": { + "path": "Device.specialization.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + } + ] + }, + { + "id": "Device.version", + "path": "Device.version", + "short": "The actual design of the device or software version running on the device", + "definition": "The actual design of the device or software version running on the device.", + "min": 0, + "max": "*", + "base": { + "path": "Device.version", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.version.id", + "path": "Device.version.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.version.extension", + "path": "Device.version.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.version.modifierExtension", + "path": "Device.version.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device.version.type", + "path": "Device.version.type", + "short": "The type of the device version", + "definition": "The type of the device version.", + "alias": [ + "Σ" + ], + "min": 0, + "max": "1", + "base": { + "path": "Device.version.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.version.component", + "path": "Device.version.component", + "short": "A single component of the device version", + "definition": "A single component of the device version.", + "min": 0, + "max": "1", + "base": { + "path": "Device.version.component", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + } + ] + }, + { + "id": "Device.version.value", + "path": "Device.version.value", + "short": "The version text", + "definition": "The version text.", + "min": 1, + "max": "1", + "base": { + "path": "Device.version.value", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.property", + "path": "Device.property", + "short": "The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties", + "definition": "The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.", + "min": 0, + "max": "*", + "base": { + "path": "Device.property", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.property.id", + "path": "Device.property.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.property.extension", + "path": "Device.property.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Device.property.modifierExtension", + "path": "Device.property.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device.property.type", + "path": "Device.property.type", + "short": "Code that specifies the property DeviceDefinitionPropetyCode (Extensible)", + "definition": "Code that specifies the property DeviceDefinitionPropetyCode (Extensible).", + "min": 1, + "max": "1", + "base": { + "path": "Device.property.type", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.property.valueQuantity", + "path": "Device.property.valueQuantity", + "short": "Property value as a quantity", + "definition": "Property value as a quantity.", + "min": 0, + "max": "*", + "base": { + "path": "Device.property.valueQuantity", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Quantity" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.property.valueCode", + "path": "Device.property.valueCode", + "short": "Property value as a code, e.g., NTP4 (synced to NTP)", + "definition": "Property value as a code, e.g., NTP4 (synced to NTP).", + "min": 0, + "max": "*", + "base": { + "path": "Device.property.valueCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.patient", + "path": "Device.patient", + "short": "Patient to whom Device is affixed", + "definition": "Patient information, If the device is affixed to a person.", + "requirements": "If the device is implanted in a patient, then need to associate the device to the patient.", + "min": 1, + "max": "1", + "base": { + "path": "Device.patient", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=USED].scoper.playedRole[typeCode=PAT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Device.patient" + } + ] + }, + { + "id": "Device.owner", + "path": "Device.owner", + "short": "Organization responsible for device", + "definition": "An organization that is responsible for the provision and ongoing maintenance of the device.", + "min": 0, + "max": "1", + "base": { + "path": "Device.owner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=OWN].scoper" + } + ] + }, + { + "id": "Device.contact", + "path": "Device.contact", + "short": "Details for human/organization for support", + "definition": "Contact details for an organization or a particular human that is responsible for the device.", + "comment": "used for troubleshooting etc.", + "min": 0, + "max": "*", + "base": { + "path": "Device.contact", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + }, + { + "identity": "rim", + "map": ".scopedRole[typeCode=CON].player" + } + ] + }, + { + "id": "Device.location", + "path": "Device.location", + "short": "Where the device is found", + "definition": "The place where the device can be found.", + "requirements": "Device.location can be used to track device location.", + "min": 0, + "max": "1", + "base": { + "path": "Device.location", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.where[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=LOCE].scoper" + } + ] + }, + { + "id": "Device.url", + "path": "Device.url", + "short": "Network address to contact device", + "definition": "A network address on which the device may be contacted directly.", + "comment": "If the device is running a FHIR server, the network address should be the Base URL from which a conformance statement may be retrieved.", + "min": 0, + "max": "1", + "base": { + "path": "Device.url", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.where[x]" + }, + { + "identity": "rim", + "map": ".telecom" + } + ] + }, + { + "id": "Device.note", + "path": "Device.note", + "short": "Device notes and comments", + "definition": "Descriptive information, usage information or implantation information that is not captured in an existing element.", + "min": 0, + "max": "*", + "base": { + "path": "Device.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "Device.safety", + "path": "Device.safety", + "short": "Safety Characteristics of Device", + "definition": "Provides additional safety characteristics about a medical device. For example devices containing latex.", + "min": 0, + "max": "*", + "base": { + "path": "Device.safety", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "NA" + } + ] + }, + { + "id": "Device.parent", + "path": "Device.parent", + "short": "The parent device", + "definition": "The parent device.", + "min": 0, + "max": "1", + "base": { + "path": "Device.parent", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + } + ] + }, + "differential": { + "element": [ + { + "id": "Device", + "path": "Device", + "definition": "The US Core Implantable Device Profile is based upon the core FHIR Device Resource and created to meet the 2015 Edition Common Clinical Data Set 'Unique device identifier(s) for a patient’s implantable device(s)' requirements.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device" + } + ] + }, + { + "id": "Device.udiCarrier", + "path": "Device.udiCarrier", + "comment": "Some devices may not have UDI information (for example. historical data or patient reported data).", + "min": 0, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device.udi" + } + ] + }, + { + "id": "Device.udiCarrier.deviceIdentifier", + "path": "Device.udiCarrier.deviceIdentifier", + "alias": [ + "DI" + ], + "min": 1, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.udiCarrier.carrierHRF", + "path": "Device.udiCarrier.carrierHRF", + "alias": [ + "UDI", + "Barcode String" + ], + "min": 0, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device.udi" + } + ] + }, + { + "id": "Device.distinctIdentifier", + "path": "Device.distinctIdentifier", + "min": 0, + "max": "1", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.manufactureDate", + "path": "Device.manufactureDate", + "min": 0, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.expirationDate", + "path": "Device.expirationDate", + "min": 0, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.lotNumber", + "path": "Device.lotNumber", + "min": 0, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.serialNumber", + "path": "Device.serialNumber", + "min": 0, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.type", + "path": "Device.type", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Codes to identify medical devices", + "valueSet": "http://hl7.org/fhir/ValueSet/device-kind" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device.type" + } + ] + }, + { + "id": "Device.patient", + "path": "Device.patient", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device.patient" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-location.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-location.json new file mode 100644 index 00000000000..59dad4fd298 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-location.json @@ -0,0 +1,2537 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-location", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location", + "version": "4.0.0", + "name": "USCoreLocation", + "title": "US Core Location Profile", + "status": "active", + "experimental": false, + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines basic constraints and extensions on the Location resource for use with other US Core resources", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Location", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Location", + "path": "Location", + "short": "Details and position information for a physical place", + "definition": "Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained, or accommodated.", + "min": 0, + "max": "*", + "base": { + "path": "Location", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": ".Role[classCode=SDLC]" + }, + { + "identity": "servd", + "map": "Organization" + } + ] + }, + { + "id": "Location.id", + "path": "Location.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Location.meta", + "path": "Location.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Location.implicitRules", + "path": "Location.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Location.language", + "path": "Location.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Location.text", + "path": "Location.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Location.contained", + "path": "Location.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location.extension", + "path": "Location.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location.modifierExtension", + "path": "Location.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location.identifier", + "path": "Location.identifier", + "short": "Unique code or number identifying the location to its users", + "definition": "Unique code or number identifying the location to its users.", + "requirements": "Organization label locations in registries, need to keep track of those.", + "min": 0, + "max": "*", + "base": { + "path": "Location.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Location.status", + "path": "Location.status", + "short": "active | suspended | inactive", + "definition": "The status property covers the general availability of the resource, not the current value which may be covered by the operationStatus, or by a schedule/slots if they are configured for the location.", + "min": 0, + "max": "1", + "base": { + "path": "Location.status", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "LocationStatus" + } + ], + "strength": "required", + "description": "Indicates whether the location is still in use.", + "valueSet": "http://hl7.org/fhir/ValueSet/location-status|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": ".statusCode" + } + ] + }, + { + "id": "Location.operationalStatus", + "path": "Location.operationalStatus", + "short": "The operational status of the location (typically only for a bed/room)", + "definition": "The operational status covers operation values most relevant to beds (but can also apply to rooms/units/chairs/etc. such as an isolation unit/dialysis chair). This typically covers concepts such as contamination, housekeeping, and other activities like maintenance.", + "min": 0, + "max": "1", + "base": { + "path": "Location.operationalStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "OperationalStatus" + } + ], + "strength": "preferred", + "description": "The operational status if the location (where typically a bed/room).", + "valueSet": "http://terminology.hl7.org/ValueSet/v2-0116" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.name", + "path": "Location.name", + "short": "Name of the location as used by humans", + "definition": "Name of the location as used by humans. Does not need to be unique.", + "comment": "If the name of a location changes, consider putting the old name in the alias column so that it can still be located through searches.", + "min": 1, + "max": "1", + "base": { + "path": "Location.name", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".name" + }, + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + } + ] + }, + { + "id": "Location.alias", + "path": "Location.alias", + "short": "A list of alternate names that the location is known as, or was known as, in the past", + "definition": "A list of alternate names that the location is known as, or was known as, in the past.", + "comment": "There are no dates associated with the alias/historic names, as this is not intended to track when names were used, but to assist in searching so that older names can still result in identifying the location.", + "requirements": "Over time locations and organizations go through many changes and can be known by different names.\n\nFor searching knowing previous names that the location was known by can be very useful.", + "min": 0, + "max": "*", + "base": { + "path": "Location.alias", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".name" + } + ] + }, + { + "id": "Location.description", + "path": "Location.description", + "short": "Additional details about the location that could be displayed as further information to identify the location beyond its name", + "definition": "Description of the Location, which helps in finding or referencing the place.", + "requirements": "Humans need additional information to verify a correct location has been identified.", + "min": 0, + "max": "1", + "base": { + "path": "Location.description", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity[classCode=PLC determinerCode=INSTANCE].desc" + } + ] + }, + { + "id": "Location.mode", + "path": "Location.mode", + "short": "instance | kind", + "definition": "Indicates whether a resource instance represents a specific location or a class of locations.", + "comment": "This is labeled as a modifier because whether or not the location is a class of locations changes how it can be used and understood.", + "requirements": "When using a Location resource for scheduling or orders, we need to be able to refer to a class of Locations instead of a specific Location.", + "min": 0, + "max": "1", + "base": { + "path": "Location.mode", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "LocationMode" + } + ], + "strength": "required", + "description": "Indicates whether a resource instance represents a specific location or a class of locations.", + "valueSet": "http://hl7.org/fhir/ValueSet/location-mode|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".playingEntity[classCode=PLC].determinerCode" + } + ] + }, + { + "id": "Location.type", + "path": "Location.type", + "short": "Type of function performed", + "definition": "Indicates the type of function performed at the location.", + "min": 0, + "max": "*", + "base": { + "path": "Location.type", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "LocationType" + } + ], + "strength": "extensible", + "description": "Indicates the type of function performed at the location.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".code" + } + ] + }, + { + "id": "Location.telecom", + "path": "Location.telecom", + "short": "Contact details of the location", + "definition": "The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites.", + "min": 0, + "max": "*", + "base": { + "path": "Location.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".telecom" + } + ] + }, + { + "id": "Location.address", + "path": "Location.address", + "short": "Physical location", + "definition": "Physical location.", + "comment": "Additional addresses should be recorded using another instance of the Location resource, or via the Organization.", + "requirements": "If locations can be visited, we need to keep track of their address.", + "min": 0, + "max": "1", + "base": { + "path": "Location.address", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Address" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".addr" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Location.address.id", + "path": "Location.address.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.address.extension", + "path": "Location.address.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.address.use", + "path": "Location.address.use", + "short": "home | work | temp | old | billing - purpose of this address", + "definition": "The purpose of this address.", + "comment": "Applications can assume that an address is current unless it explicitly says that it is temporary or old.", + "requirements": "Allows an appropriate address to be chosen from a list of many.", + "min": 0, + "max": "1", + "base": { + "path": "Address.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "home" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AddressUse" + } + ], + "strength": "required", + "description": "The use of an address.", + "valueSet": "http://hl7.org/fhir/ValueSet/address-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.7" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./AddressPurpose" + } + ] + }, + { + "id": "Location.address.type", + "path": "Location.address.type", + "short": "postal | physical | both", + "definition": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.", + "comment": "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R4/location.html#) resource).", + "min": 0, + "max": "1", + "base": { + "path": "Address.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "both" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AddressType" + } + ], + "strength": "required", + "description": "The type of an address (physical / postal).", + "valueSet": "http://hl7.org/fhir/ValueSet/address-type|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.18" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "vcard", + "map": "address type parameter" + } + ] + }, + { + "id": "Location.address.text", + "path": "Location.address.text", + "short": "Text representation of the address", + "definition": "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.", + "comment": "Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "Address.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street, Erewhon 9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6" + }, + { + "identity": "rim", + "map": "./formatted" + }, + { + "identity": "vcard", + "map": "address label parameter" + } + ] + }, + { + "id": "Location.address.line", + "path": "Location.address.line", + "short": "Street name, number, direction & P.O. Box etc.", + "definition": "This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.", + "min": 0, + "max": "*", + "base": { + "path": "Address.line", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "The order in which lines should appear in an address label", + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)" + }, + { + "identity": "rim", + "map": "AD.part[parttype = AL]" + }, + { + "identity": "vcard", + "map": "street" + }, + { + "identity": "servd", + "map": "./StreetAddress (newline delimitted)" + } + ] + }, + { + "id": "Location.address.city", + "path": "Location.address.city", + "short": "Name of city, town etc.", + "definition": "The name of the city, town, suburb, village or other community or delivery center.", + "alias": [ + "Municpality" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.city", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Erewhon" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.3" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CTY]" + }, + { + "identity": "vcard", + "map": "locality" + }, + { + "identity": "servd", + "map": "./Jurisdiction" + } + ] + }, + { + "id": "Location.address.district", + "path": "Location.address.district", + "short": "District name (aka county)", + "definition": "The name of the administrative area (county).", + "comment": "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.", + "alias": [ + "County" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.district", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Madison" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.9" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT | CPA]" + } + ] + }, + { + "id": "Location.address.state", + "path": "Location.address.state", + "short": "Sub-unit of country (abbreviations ok)", + "definition": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).", + "alias": [ + "Province", + "Territory" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.state", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Two letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.4" + }, + { + "identity": "rim", + "map": "AD.part[parttype = STA]" + }, + { + "identity": "vcard", + "map": "region" + }, + { + "identity": "servd", + "map": "./Region" + }, + { + "identity": "servd", + "map": "./Sites" + } + ] + }, + { + "id": "Location.address.postalCode", + "path": "Location.address.postalCode", + "short": "US Zip Codes", + "definition": "A postal code designating a region defined by the postal service.", + "alias": [ + "Zip" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.postalCode", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.5" + }, + { + "identity": "rim", + "map": "AD.part[parttype = ZIP]" + }, + { + "identity": "vcard", + "map": "code" + }, + { + "identity": "servd", + "map": "./PostalIdentificationCode" + } + ] + }, + { + "id": "Location.address.country", + "path": "Location.address.country", + "short": "Country (e.g. can be ISO 3166 2 or 3 letter code)", + "definition": "Country - a nation as commonly understood or generally accepted.", + "comment": "ISO 3166 3 letter codes can be used in place of a human readable country name.", + "min": 0, + "max": "1", + "base": { + "path": "Address.country", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.6" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT]" + }, + { + "identity": "vcard", + "map": "country" + }, + { + "identity": "servd", + "map": "./Country" + } + ] + }, + { + "id": "Location.address.period", + "path": "Location.address.period", + "short": "Time period when address was/is in use", + "definition": "Time period when address was/is in use.", + "requirements": "Allows addresses to be placed in historical context.", + "min": 0, + "max": "1", + "base": { + "path": "Address.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "example": [ + { + "label": "General", + "valuePeriod": { + "start": "2010-03-23", + "end": "2010-07-01" + } + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.12 / XAD.13 + XAD.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Location.physicalType", + "path": "Location.physicalType", + "short": "Physical form of the location", + "definition": "Physical form of the location, e.g. building, room, vehicle, road.", + "requirements": "For purposes of showing relevant locations in queries, we need to categorize locations.", + "min": 0, + "max": "1", + "base": { + "path": "Location.physicalType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "PhysicalType" + } + ], + "strength": "example", + "description": "Physical form of the location.", + "valueSet": "http://hl7.org/fhir/ValueSet/location-physical-type" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".playingEntity [classCode=PLC].code" + } + ] + }, + { + "id": "Location.position", + "path": "Location.position", + "short": "The absolute geographic location", + "definition": "The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).", + "requirements": "For mobile applications and automated route-finding knowing the exact location of the Location is required.", + "min": 0, + "max": "1", + "base": { + "path": "Location.position", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity [classCode=PLC determinerCode=INSTANCE].positionText" + } + ] + }, + { + "id": "Location.position.id", + "path": "Location.position.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.position.extension", + "path": "Location.position.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.position.modifierExtension", + "path": "Location.position.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location.position.longitude", + "path": "Location.position.longitude", + "short": "Longitude with WGS84 datum", + "definition": "Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below).", + "min": 1, + "max": "1", + "base": { + "path": "Location.position.longitude", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)" + } + ] + }, + { + "id": "Location.position.latitude", + "path": "Location.position.latitude", + "short": "Latitude with WGS84 datum", + "definition": "Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below).", + "min": 1, + "max": "1", + "base": { + "path": "Location.position.latitude", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)" + } + ] + }, + { + "id": "Location.position.altitude", + "path": "Location.position.altitude", + "short": "Altitude with WGS84 datum", + "definition": "Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below).", + "min": 0, + "max": "1", + "base": { + "path": "Location.position.altitude", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)" + } + ] + }, + { + "id": "Location.managingOrganization", + "path": "Location.managingOrganization", + "short": "Organization responsible for provisioning and upkeep", + "definition": "The organization responsible for the provisioning and upkeep of the location.", + "comment": "This can also be used as the part of the organization hierarchy where this location provides services. These services can be defined through the HealthcareService resource.", + "requirements": "Need to know who manages the location.", + "min": 0, + "max": "1", + "base": { + "path": "Location.managingOrganization", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".scopingEntity[classCode=ORG determinerKind=INSTANCE]" + } + ] + }, + { + "id": "Location.partOf", + "path": "Location.partOf", + "short": "Another Location this one is physically a part of", + "definition": "Another Location of which this Location is physically a part of.", + "requirements": "For purposes of location, display and identification, knowing which locations are located within other locations is important.", + "min": 0, + "max": "1", + "base": { + "path": "Location.partOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".inboundLink[typeCode=PART].source[classCode=SDLC]" + } + ] + }, + { + "id": "Location.hoursOfOperation", + "path": "Location.hoursOfOperation", + "short": "What days/times during a week is this location usually open", + "definition": "What days/times during a week is this location usually open.", + "comment": "This type of information is commonly found published in directories and on websites informing customers when the facility is available.\n\nSpecific services within the location may have their own hours which could be shorter (or longer) than the locations hours.", + "min": 0, + "max": "*", + "base": { + "path": "Location.hoursOfOperation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "Location.hoursOfOperation.id", + "path": "Location.hoursOfOperation.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.hoursOfOperation.extension", + "path": "Location.hoursOfOperation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.hoursOfOperation.modifierExtension", + "path": "Location.hoursOfOperation.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location.hoursOfOperation.daysOfWeek", + "path": "Location.hoursOfOperation.daysOfWeek", + "short": "mon | tue | wed | thu | fri | sat | sun", + "definition": "Indicates which days of the week are available between the start and end Times.", + "min": 0, + "max": "*", + "base": { + "path": "Location.hoursOfOperation.daysOfWeek", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DaysOfWeek" + } + ], + "strength": "required", + "description": "The days of the week.", + "valueSet": "http://hl7.org/fhir/ValueSet/days-of-week|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "Location.hoursOfOperation.allDay", + "path": "Location.hoursOfOperation.allDay", + "short": "The Location is open all day", + "definition": "The Location is open all day.", + "min": 0, + "max": "1", + "base": { + "path": "Location.hoursOfOperation.allDay", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "Location.hoursOfOperation.openingTime", + "path": "Location.hoursOfOperation.openingTime", + "short": "Time that the Location opens", + "definition": "Time that the Location opens.", + "min": 0, + "max": "1", + "base": { + "path": "Location.hoursOfOperation.openingTime", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "time" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "Location.hoursOfOperation.closingTime", + "path": "Location.hoursOfOperation.closingTime", + "short": "Time that the Location closes", + "definition": "Time that the Location closes.", + "min": 0, + "max": "1", + "base": { + "path": "Location.hoursOfOperation.closingTime", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "time" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "Location.availabilityExceptions", + "path": "Location.availabilityExceptions", + "short": "Description of availability exceptions", + "definition": "A description of when the locations opening ours are different to normal, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as detailed in the opening hours Times.", + "min": 0, + "max": "1", + "base": { + "path": "Location.availabilityExceptions", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location.endpoint", + "path": "Location.endpoint", + "short": "Technical endpoints providing access to services operated for the location", + "definition": "Technical endpoints providing access to services operated for the location.", + "requirements": "Organizations may have different systems at different locations that provide various services and need to be able to define the technical connection details for how to connect to them, and for what purpose.", + "min": 0, + "max": "*", + "base": { + "path": "Location.endpoint", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Endpoint" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Location", + "path": "Location", + "mustSupport": false, + "mapping": [ + { + "identity": "servd", + "map": "Organization" + } + ] + }, + { + "id": "Location.status", + "path": "Location.status", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true + }, + { + "id": "Location.name", + "path": "Location.name", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + } + ] + }, + { + "id": "Location.telecom", + "path": "Location.telecom", + "min": 0, + "max": "*", + "type": [ + { + "code": "ContactPoint" + } + ], + "mustSupport": true + }, + { + "id": "Location.address", + "path": "Location.address", + "min": 0, + "max": "1", + "type": [ + { + "code": "Address" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Location.address.line", + "path": "Location.address.line", + "min": 0, + "max": "*", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Location.address.city", + "path": "Location.address.city", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Location.address.state", + "path": "Location.address.state", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Two letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + }, + "mapping": [ + { + "identity": "servd", + "map": "./Sites" + } + ] + }, + { + "id": "Location.address.postalCode", + "path": "Location.address.postalCode", + "short": "US Zip Codes", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Location.managingOrganization", + "path": "Location.managingOrganization", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-medication.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-medication.json new file mode 100644 index 00000000000..1603459b4cf --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-medication.json @@ -0,0 +1,1365 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-medication", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication", + "version": "4.0.0", + "name": "USCoreMedicationProfile", + "title": "US Core Medication Profile", + "status": "active", + "experimental": false, + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints and extensions on the Medication resource for the minimal set of data to query and retrieve patient retrieving patient's medication information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "script10.6", + "uri": "http://ncpdp.org/SCRIPT10_6", + "name": "Mapping to NCPDP SCRIPT 10.6" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Medication", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Medication", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Medication", + "path": "Medication", + "short": "Definition of a Medication", + "definition": "The US Core Medication Profile is based upon the core FHIR Medication Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements.", + "min": 0, + "max": "*", + "base": { + "path": "Medication", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "script10.6", + "map": "NewRx/MedicationPrescribed\r-or-\rRxFill/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationPrescribed" + }, + { + "identity": "rim", + "map": "ManufacturedProduct[classCode=ADMM]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Medication" + } + ] + }, + { + "id": "Medication.id", + "path": "Medication.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Medication.meta", + "path": "Medication.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Medication.implicitRules", + "path": "Medication.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Medication.language", + "path": "Medication.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Medication.text", + "path": "Medication.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Medication.contained", + "path": "Medication.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication.extension", + "path": "Medication.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication.modifierExtension", + "path": "Medication.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication.identifier", + "path": "Medication.identifier", + "short": "Business identifier for this medication", + "definition": "Business identifier for this medication.", + "comment": "The serial number could be included as an identifier.", + "min": 0, + "max": "*", + "base": { + "path": "Medication.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Medication.code", + "path": "Medication.code", + "short": "Codes that identify this medication", + "definition": "A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.", + "comment": "Depending on the context of use, the code that was actually selected by the user (prescriber, dispenser, etc.) will have the coding.userSelected set to true. As described in the coding datatype: \"A coding may be marked as a \"userSelected\" if a user selected the particular coded value in a user interface (e.g. the user selects an item in a pick-list). If a user selected coding exists, it is the preferred choice for performing translations etc. Other codes can only be literal translations to alternative code systems, or codes at a lower level of granularity (e.g. a generic code for a vendor-specific primary one).", + "min": 1, + "max": "1", + "base": { + "path": "Medication.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.4" + }, + "mapping": [ + { + "identity": "script10.6", + "map": "coding.code = //element(*,MedicationType)/DrugCoded/ProductCode\r\rcoding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier\r\rcoding.display = //element(*,MedicationType)/DrugDescription" + }, + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "RXO-1.1-Requested Give Code.code / RXE-2.1-Give Code.code / RXD-2.1-Dispense/Give Code.code / RXG-4.1-Give Code.code /RXA-5.1-Administered Code.code / RXC-2.1 Component Code" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Medication.code" + } + ] + }, + { + "id": "Medication.status", + "path": "Medication.status", + "short": "active | inactive | entered-in-error", + "definition": "A code to indicate if the medication is in active use.", + "comment": "This status is intended to identify if the medication in a local system is in active use within a drug database or inventory. For example, a pharmacy system may create a new drug file record for a compounded product \"ABC Hospital Special Cream\" with an active status. At some point in the future, it may be determined that the drug record was created with an error and the status is changed to \"entered in error\". This status is not intended to specify if a medication is part of a particular formulary. It is possible that the drug record may be referenced by multiple formularies or catalogues and each of those entries would have a separate status.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.status", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element changes the interpretation of all descriptive attributes.", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationStatus" + } + ], + "strength": "required", + "description": "A coded concept defining if the medication is in active use.", + "valueSet": "http://hl7.org/fhir/ValueSet/medication-status|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": ".statusCode" + } + ] + }, + { + "id": "Medication.manufacturer", + "path": "Medication.manufacturer", + "short": "Manufacturer of the item", + "definition": "Describes the details of the manufacturer of the medication product. This is not intended to represent the distributor of a medication product.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.manufacturer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "RXD-20-Substance Manufacturer Name / RXG-21-Substance Manufacturer Name / RXA-17-Substance Manufacturer Name" + }, + { + "identity": "rim", + "map": ".player.scopingRole[typeCode=MANU].scoper" + } + ] + }, + { + "id": "Medication.form", + "path": "Medication.form", + "short": "powder | tablets | capsule +", + "definition": "Describes the form of the item. Powder; tablets; capsule.", + "comment": "When Medication is referenced from MedicationRequest, this is the ordered form. When Medication is referenced within MedicationDispense, this is the dispensed form. When Medication is referenced within MedicationAdministration, this is administered form.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.form", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationForm" + } + ], + "strength": "example", + "description": "A coded concept defining the form of a medication.", + "valueSet": "http://hl7.org/fhir/ValueSet/medication-form-codes" + }, + "mapping": [ + { + "identity": "script10.6", + "map": "coding.code = //element(*,DrugCodedType)/FormCode\r\rcoding.system = //element(*,DrugCodedType)/FormSourceCode" + }, + { + "identity": "v2", + "map": "RXO-5-Requested Dosage Form / RXE-6-Give Dosage Form / RXD-6-Actual Dosage Form / RXG-8-Give Dosage Form / RXA-8-Administered Dosage Form" + }, + { + "identity": "rim", + "map": ".formCode" + } + ] + }, + { + "id": "Medication.amount", + "path": "Medication.amount", + "short": "Amount of drug in package", + "definition": "Specific amount of the drug in the packaged product. For example, when specifying a product that has the same strength (For example, Insulin glargine 100 unit per mL solution for injection), this attribute provides additional clarification of the package amount (For example, 3 mL, 10mL, etc.).", + "min": 0, + "max": "1", + "base": { + "path": "Medication.amount", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Ratio" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".quantity" + } + ] + }, + { + "id": "Medication.ingredient", + "path": "Medication.ingredient", + "short": "Active or inactive ingredient", + "definition": "Identifies a particular constituent of interest in the product.", + "comment": "The ingredients need not be a complete list. If an ingredient is not specified, this does not indicate whether an ingredient is present or absent. If an ingredient is specified it does not mean that all ingredients are specified. It is possible to specify both inactive and active ingredients.", + "min": 0, + "max": "*", + "base": { + "path": "Medication.ingredient", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".scopesRole[typeCode=INGR]" + } + ] + }, + { + "id": "Medication.ingredient.id", + "path": "Medication.ingredient.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication.ingredient.extension", + "path": "Medication.ingredient.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication.ingredient.modifierExtension", + "path": "Medication.ingredient.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication.ingredient.item[x]", + "path": "Medication.ingredient.item[x]", + "short": "The actual ingredient or content", + "definition": "The actual ingredient - either a substance (simple ingredient) or another medication of a medication.", + "requirements": "The ingredient may reference a substance (for example, amoxicillin) or another medication (for example in the case of a compounded product, Glaxal Base).", + "min": 1, + "max": "1", + "base": { + "path": "Medication.ingredient.item[x]", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Substance", + "http://hl7.org/fhir/StructureDefinition/Medication" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "coding.code = //element(*,MedicationType)/DrugCoded/ProductCode\r\rcoding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier\r\rcoding.display = //element(*,MedicationType)/DrugDescription" + }, + { + "identity": "v2", + "map": "RXC-2-Component Code if medication: RXO-1-Requested Give Code / RXE-2-Give Code / RXD-2-Dispense/Give Code / RXG-4-Give Code / RXA-5-Administered Code" + }, + { + "identity": "rim", + "map": ".player" + } + ] + }, + { + "id": "Medication.ingredient.isActive", + "path": "Medication.ingredient.isActive", + "short": "Active ingredient indicator", + "definition": "Indication of whether this ingredient affects the therapeutic action of the drug.", + "requirements": "True indicates that the ingredient affects the therapeutic action of the drug (i.e. active). \rFalse indicates that the ingredient does not affect the therapeutic action of the drug (i.e. inactive).", + "min": 0, + "max": "1", + "base": { + "path": "Medication.ingredient.isActive", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "NA" + } + ] + }, + { + "id": "Medication.ingredient.strength", + "path": "Medication.ingredient.strength", + "short": "Quantity of ingredient present", + "definition": "Specifies how many (or how much) of the items there are in this Medication. For example, 250 mg per tablet. This is expressed as a ratio where the numerator is 250mg and the denominator is 1 tablet.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.ingredient.strength", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Ratio" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "//element(*,DrugCodedType)/Strength" + }, + { + "identity": "v2", + "map": "RXC-3-Component Amount & RXC-4-Component Units if medication: RXO-2-Requested Give Amount - Minimum & RXO-4-Requested Give Units / RXO-3-Requested Give Amount - Maximum & RXO-4-Requested Give Units / RXO-11-Requested Dispense Amount & RXO-12-Requested Dispense Units / RXE-3-Give Amount - Minimum & RXE-5-Give Units / RXE-4-Give Amount - Maximum & RXE-5-Give Units / RXE-10-Dispense Amount & RXE-10-Dispense Units" + }, + { + "identity": "rim", + "map": ".quantity" + } + ] + }, + { + "id": "Medication.batch", + "path": "Medication.batch", + "short": "Details about packaged medications", + "definition": "Information that only applies to packages (not products).", + "min": 0, + "max": "1", + "base": { + "path": "Medication.batch", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": ".player[classCode=CONT]" + } + ] + }, + { + "id": "Medication.batch.id", + "path": "Medication.batch.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication.batch.extension", + "path": "Medication.batch.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication.batch.modifierExtension", + "path": "Medication.batch.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication.batch.lotNumber", + "path": "Medication.batch.lotNumber", + "short": "Identifier assigned to batch", + "definition": "The assigned lot number of a batch of the specified product.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.batch.lotNumber", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "v2", + "map": "RXA-15 Substance Lot Number / RXG-19 Substance Lot Number" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Medication.batch.expirationDate", + "path": "Medication.batch.expirationDate", + "short": "When batch will expire", + "definition": "When this specific batch of product will expire.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.batch.expirationDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "v2", + "map": "RXA-16 Substance Expiration Date / RXG-20 Substance Expiration Date" + }, + { + "identity": "rim", + "map": "participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Medication", + "path": "Medication", + "definition": "The US Core Medication Profile is based upon the core FHIR Medication Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Medication" + } + ] + }, + { + "id": "Medication.code", + "path": "Medication.code", + "min": 1, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.4" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Medication.code" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-medicationrequest.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-medicationrequest.json new file mode 100644 index 00000000000..87a05f4833c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-medicationrequest.json @@ -0,0 +1,4363 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-medicationrequest", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest", + "version": "4.0.0", + "name": "USCoreMedicationRequestProfile", + "title": "US Core MedicationRequest Profile", + "status": "active", + "experimental": false, + "date": "2020-06-26", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints and extensions on the MedicationRequest resource for the minimal set of data to query and retrieve prescription information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "script10.6", + "uri": "http://ncpdp.org/SCRIPT10_6", + "name": "Mapping to NCPDP SCRIPT 10.6" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "MedicationRequest", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "MedicationRequest", + "path": "MedicationRequest", + "short": "Ordering of medication for patient or group", + "definition": "The US Core Medication Request (Order) Profile is based upon the core FHIR MedicationRequest Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements.", + "alias": [ + "Prescription", + "Order" + ], + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Request" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx" + }, + { + "identity": "rim", + "map": "CombinedMedicationRequest" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder" + } + ] + }, + { + "id": "MedicationRequest.id", + "path": "MedicationRequest.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "MedicationRequest.meta", + "path": "MedicationRequest.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "MedicationRequest.implicitRules", + "path": "MedicationRequest.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "MedicationRequest.language", + "path": "MedicationRequest.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "MedicationRequest.text", + "path": "MedicationRequest.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "MedicationRequest.contained", + "path": "MedicationRequest.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.extension", + "path": "MedicationRequest.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.modifierExtension", + "path": "MedicationRequest.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.identifier", + "path": "MedicationRequest.identifier", + "short": "External ids for this request", + "definition": "Identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.", + "comment": "This is a business identifier, not a resource identifier.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.identifier" + }, + { + "identity": "script10.6", + "map": "Message/Header/PrescriberOrderNumber" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "ORC-2-Placer Order Number / ORC-3-Filler Order Number" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "MedicationRequest.status", + "path": "MedicationRequest.status", + "short": "active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown", + "definition": "A code specifying the current state of the order. Generally, this will be active or completed state.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "description": "A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.status" + }, + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": ".statusCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.statusReason", + "path": "MedicationRequest.statusReason", + "short": "Reason for current status", + "definition": "Captures the reason for the current state of the MedicationRequest.", + "comment": "This is generally only used for \"exception\" statuses such as \"suspended\" or \"cancelled\". The reason why the MedicationRequest was created at all is captured in reasonCode, not here.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.statusReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestStatusReason" + } + ], + "strength": "example", + "description": "Identifies the reasons for a given status.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-status-reason" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.statusReason" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde" + } + ] + }, + { + "id": "MedicationRequest.intent", + "path": "MedicationRequest.intent", + "short": "proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option", + "definition": "Whether the request is a proposal, plan, or an original order.", + "comment": "It is expected that the type of requester will be restricted for different stages of a MedicationRequest. For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device. Plans can be created by Practitioners, Patients, RelatedPersons and Devices. Original orders can be created by a Practitioner only.\r\rAn instance-order is an instantiation of a request or order and may be used to populate Medication Administration Record.\r\rThis element is labeled as a modifier because the intent alters when and how the resource is actually applicable.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.intent", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element changes the interpretation of all descriptive attributes. For example \"the time the request is recommended to occur\" vs. \"the time the request is authorized to occur\" or \"who is recommended to perform the request\" vs. \"who is authorized to perform the request", + "isSummary": true, + "binding": { + "strength": "required", + "description": "The kind of medication order.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-intent" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.intent" + }, + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.category", + "path": "MedicationRequest.category", + "short": "Type of medication usage", + "definition": "Indicates the type of medication request (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)).", + "comment": "The category can be used to include where the medication is expected to be consumed or other types of requests.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "preferred", + "description": "The type of medication order.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-category" + }, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Directions\r\ror \r\rMessage/Body/NewRx/MedicationPrescribed/StructuredSIG" + }, + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"type of medication usage\"].value" + } + ] + }, + { + "id": "MedicationRequest.priority", + "path": "MedicationRequest.priority", + "short": "routine | urgent | asap | stat", + "definition": "Indicates how quickly the Medication Request should be addressed with respect to other requests.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.priority", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestPriority" + } + ], + "strength": "required", + "description": "Identifies the level of importance to be assigned to actioning the request.", + "valueSet": "http://hl7.org/fhir/ValueSet/request-priority|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.priority" + }, + { + "identity": "w5", + "map": "FiveWs.grade" + }, + { + "identity": "rim", + "map": ".priorityCode" + } + ] + }, + { + "id": "MedicationRequest.doNotPerform", + "path": "MedicationRequest.doNotPerform", + "short": "True if request is prohibiting action", + "definition": "If true indicates that the provider is asking for the medication request not to occur.", + "comment": "If do not perform is not specified, the request is a positive request e.g. \"do perform\".", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.doNotPerform", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because this element negates the request to occur (ie, this is a request for the medication not to be ordered or prescribed, etc)", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration.actionNegationInd" + } + ] + }, + { + "id": "MedicationRequest.reported[x]", + "path": "MedicationRequest.reported[x]", + "short": "Reported rather than primary record", + "definition": "Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.reported[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "boolean" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=INF].role" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.medication[x]", + "path": "MedicationRequest.medication[x]", + "short": "Medication to be taken", + "definition": "Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.", + "comment": "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the Medication resource is recommended. For example, if you require form or lot number or if the medication is compounded or extemporaneously prepared, then you must reference the Medication resource.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.medication[x]", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.4" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.code" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed\r\rMedication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode\r\rMedication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier\r\rMedication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code" + }, + { + "identity": "rim", + "map": "consumable.administrableMedication" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.medication[x]" + } + ] + }, + { + "id": "MedicationRequest.subject", + "path": "MedicationRequest.subject", + "short": "Who or group medication request is for", + "definition": "A link to a resource representing the person or set of individuals to whom the medication will be given.", + "comment": "The subject on a medication request is mandatory. For the secondary use case where the actual subject is not provided, there still must be an anonymized subject specified.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.subject", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.subject" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx/Patient\r\r(need detail to link to specific patient … Patient.Identification in SCRIPT)" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3-Patient ID List" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.patient" + } + ] + }, + { + "id": "MedicationRequest.encounter", + "path": "MedicationRequest.encounter", + "short": "Encounter created as part of encounter/admission/stay", + "definition": "The Encounter during which this [x] was created or to which the creation of this record is tightly associated.", + "comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.\" If there is a need to link to episodes of care they will be handled with an extension.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.context" + }, + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1-19-Visit Number" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code=\"type of encounter or episode\"]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "MedicationRequest.supportingInformation", + "path": "MedicationRequest.supportingInformation", + "short": "Information to support ordering of the medication", + "definition": "Include additional information (for example, patient height and weight) that supports the ordering of the medication.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.supportingInformation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.supportingInfo" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=PERT].target[A_SupportingClinicalStatement CMET minimal with many different choices of classCodes(ORG, ENC, PROC, SPLY, SBADM, OBS) and each of the act class codes draws from one or more of the following moodCodes (EVN, DEF, INT PRMS, RQO, PRP, APT, ARQ, GOL)]" + } + ] + }, + { + "id": "MedicationRequest.authoredOn", + "path": "MedicationRequest.authoredOn", + "short": "When request was initially authored", + "definition": "The date (and perhaps time) when the prescription was initially written or authored on.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.authoredOn", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.authoredOn" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/WrittenDate" + }, + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction" + }, + { + "identity": "rim", + "map": "author.time" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.dateWritten" + } + ] + }, + { + "id": "MedicationRequest.requester", + "path": "MedicationRequest.requester", + "short": "Who/What requested the Request", + "definition": "The individual, organization, or device that initiated the request and has responsibility for its activation.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.requester", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Device" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.requester" + }, + { + "identity": "w5", + "map": "FiveWs.author" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.prescriber" + } + ] + }, + { + "id": "MedicationRequest.performer", + "path": "MedicationRequest.performer", + "short": "Intended performer of administration", + "definition": "The specified desired performer of the medication treatment (e.g. the performer of the medication administration).", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.performer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.performer" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" + } + ] + }, + { + "id": "MedicationRequest.performerType", + "path": "MedicationRequest.performerType", + "short": "Desired kind of performer of the medication administration", + "definition": "Indicates the type of performer of the administration of the medication.", + "comment": "If specified without indicating a performer, this indicates that the performer must be of the specified type. If specified with a performer then it indicates the requirements of the performer if the designated performer is not available.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.performerType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestPerformerType" + } + ], + "strength": "example", + "description": "Identifies the type of individual that is desired to administer the medication.", + "valueSet": "http://hl7.org/fhir/ValueSet/performer-role" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.performerType" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF].role[scoper.determinerCode=KIND].code" + } + ] + }, + { + "id": "MedicationRequest.recorder", + "path": "MedicationRequest.recorder", + "short": "Person who entered the request", + "definition": "The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.recorder", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.who" + }, + { + "identity": "rim", + "map": ".participation[typeCode=TRANS].role[classCode=ASSIGNED].code (HealthcareProviderType)" + } + ] + }, + { + "id": "MedicationRequest.reasonCode", + "path": "MedicationRequest.reasonCode", + "short": "Reason or indication for ordering or not ordering the medication", + "definition": "The reason or the indication for ordering or not ordering the medication.", + "comment": "This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonReference.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.reasonCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestReason" + } + ], + "strength": "example", + "description": "A coded concept indicating why the medication was ordered.", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-code" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.reasonCode" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Diagnosis/Primary/Value" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "v2", + "map": "ORC-16-Order Control Code Reason /RXE-27-Give Indication/RXO-20-Indication / RXD-21-Indication / RXG-22-Indication / RXA-19-Indication" + }, + { + "identity": "rim", + "map": "reason.observation.reasonCode" + } + ] + }, + { + "id": "MedicationRequest.reasonReference", + "path": "MedicationRequest.reasonReference", + "short": "Condition or observation that supports why the prescription is being written", + "definition": "Condition or observation that supports why the medication was ordered.", + "comment": "This is a reference to a condition or observation that is the reason for the medication order. If only a code exists, use reasonCode.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.reasonReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition", + "http://hl7.org/fhir/StructureDefinition/Observation" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.reasonReference" + }, + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": "reason.observation[code=ASSERTION].value" + } + ] + }, + { + "id": "MedicationRequest.instantiatesCanonical", + "path": "MedicationRequest.instantiatesCanonical", + "short": "Instantiates FHIR protocol or definition", + "definition": "The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.instantiatesCanonical", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "canonical" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.instantiates" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "MedicationRequest.instantiatesUri", + "path": "MedicationRequest.instantiatesUri", + "short": "Instantiates external protocol or definition", + "definition": "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.instantiatesUri", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "MedicationRequest.basedOn", + "path": "MedicationRequest.basedOn", + "short": "What request fulfills", + "definition": "A plan or request that is fulfilled in whole or in part by this medication request.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.basedOn" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP]" + } + ] + }, + { + "id": "MedicationRequest.groupIdentifier", + "path": "MedicationRequest.groupIdentifier", + "short": "Composite request this is part of", + "definition": "A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.", + "requirements": "Requests are linked either by a \"basedOn\" relationship (i.e. one request is fulfilling another) or by having a common requisition. Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.groupIdentifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.groupIdentifier" + }, + { + "identity": "rim", + "map": ".outboundRelationship(typeCode=COMP].target[classCode=SBADM, moodCode=INT].id" + } + ] + }, + { + "id": "MedicationRequest.courseOfTherapyType", + "path": "MedicationRequest.courseOfTherapyType", + "short": "Overall pattern of medication administration", + "definition": "The description of the overall patte3rn of the administration of the medication to the patient.", + "comment": "This attribute should not be confused with the protocol of the medication.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.courseOfTherapyType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestCourseOfTherapy" + } + ], + "strength": "example", + "description": "Identifies the overall pattern of medication administratio.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy" + }, + "mapping": [ + { + "identity": "rim", + "map": "Act.code where classCode = LIST and moodCode = EVN" + } + ] + }, + { + "id": "MedicationRequest.insurance", + "path": "MedicationRequest.insurance", + "short": "Associated insurance coverage", + "definition": "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.insurance", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Coverage", + "http://hl7.org/fhir/StructureDefinition/ClaimResponse" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.insurance" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COVBY].target" + } + ] + }, + { + "id": "MedicationRequest.note", + "path": "MedicationRequest.note", + "short": "Information about the prescription", + "definition": "Extra information about the prescription that could not be conveyed by the other attributes.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.note" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Note" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code=\"annotation\"].value" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction", + "path": "MedicationRequest.dosageInstruction", + "short": "How the medication should be taken", + "definition": "Indicates how the medication is to be used by the patient.", + "comment": "There are examples where a medication request may include the option of an oral dose or an Intravenous or Intramuscular dose. For example, \"Ondansetron 8mg orally or IV twice a day as needed for nausea\" or \"Compazine® (prochlorperazine) 5-10mg PO or 25mg PR bid prn nausea or vomiting\". In these cases, two medication requests would be created that could be grouped together. The decision on which dose and route of administration to use is based on the patient's condition at the time the dose is needed.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.dosageInstruction", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Dosage" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.occurrence[x]" + }, + { + "identity": "rim", + "map": "see dosageInstruction mapping" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.id", + "path": "MedicationRequest.dosageInstruction.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.extension", + "path": "MedicationRequest.dosageInstruction.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.modifierExtension", + "path": "MedicationRequest.dosageInstruction.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.sequence", + "path": "MedicationRequest.dosageInstruction.sequence", + "short": "The order of the dosage instructions", + "definition": "Indicates the order in which the dosage instructions should be applied or interpreted.", + "requirements": "If the sequence number of multiple Dosages is the same, then it is implied that the instructions are to be treated as concurrent. If the sequence number is different, then the Dosages are intended to be sequential.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.sequence", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "integer" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "TQ1-1" + }, + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.text", + "path": "MedicationRequest.dosageInstruction.text", + "short": "Free text dosage instructions e.g. SIG", + "definition": "Free text dosage instructions e.g. SIG.", + "requirements": "Free text dosage instructions can be used for cases where the instructions are too complex to code. The content of this attribute does not include the name or description of the medication. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. It is expected that the text instructions will always be populated. If the dosage.timing attribute is also populated, then the dosage.text should reflect the same information as the timing. Additional information about administration or preparation of the medication should be included as text.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RXO-6; RXE-21" + }, + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.additionalInstruction", + "path": "MedicationRequest.dosageInstruction.additionalInstruction", + "short": "Supplemental instruction or warnings to the patient - e.g. \"with meals\", \"may cause drowsiness\"", + "definition": "Supplemental instructions to the patient on how to take the medication (e.g. \"with meals\" or\"take half to one hour before food\") or warnings for the patient about the medication (e.g. \"may cause drowsiness\" or \"avoid exposure of skin to direct sunlight or sunlamps\").", + "comment": "Information about administration or preparation of the medication (e.g. \"infuse as rapidly as possibly via intraperitoneal port\" or \"immediately following drug x\") should be populated in dosage.text.", + "requirements": "Additional instruction is intended to be coded, but where no code exists, the element could include text. For example, \"Swallow with plenty of water\" which might or might not be coded.", + "min": 0, + "max": "*", + "base": { + "path": "Dosage.additionalInstruction", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AdditionalInstruction" + } + ], + "strength": "example", + "description": "A coded concept identifying additional instructions such as \"take with water\" or \"avoid operating heavy machinery\".", + "valueSet": "http://hl7.org/fhir/ValueSet/additional-instruction-codes" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXO-7" + }, + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.patientInstruction", + "path": "MedicationRequest.dosageInstruction.patientInstruction", + "short": "Patient or consumer oriented instructions", + "definition": "Instructions in terms that are understood by the patient or consumer.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.patientInstruction", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RXO-7" + }, + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.timing", + "path": "MedicationRequest.dosageInstruction.timing", + "short": "When medication should be administered", + "definition": "When medication should be administered.", + "comment": "This attribute might not always be populated while the Dosage.text is expected to be populated. If both are populated, then the Dosage.text should reflect the content of the Dosage.timing.", + "requirements": "The timing schedule for giving the medication to the patient. This data type allows many different expressions. For example: \"Every 8 hours\"; \"Three times a day\"; \"1/2 an hour before breakfast for 10 days from 23-Dec 2011:\"; \"15 Oct 2013, 17 Oct 2013 and 1 Nov 2013\". Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.timing", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Timing" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.asNeeded[x]", + "path": "MedicationRequest.dosageInstruction.asNeeded[x]", + "short": "Take \"as needed\" (for x)", + "definition": "Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).", + "comment": "Can express \"as needed\" without a reason by setting the Boolean = True. In this case the CodeableConcept is not populated. Or you can express \"as needed\" with a reason by including the CodeableConcept. In this case the Boolean is assumed to be True. If you set the Boolean to False, then the dose is given according to the schedule and is not \"prn\" or \"as needed\".", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.asNeeded[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + }, + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationAsNeededReason" + } + ], + "strength": "example", + "description": "A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example \"pain\", \"30 minutes prior to sexual intercourse\", \"on flare-up\" etc.", + "valueSet": "http://hl7.org/fhir/ValueSet/medication-as-needed-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "TQ1-9" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code=\"as needed\"].value=boolean or codable concept" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.site", + "path": "MedicationRequest.dosageInstruction.site", + "short": "Body site to administer to", + "definition": "Body site to administer to.", + "comment": "If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](http://hl7.org/fhir/R4/extension-bodysite.html). May be a summary code, or a reference to a very precise definition of the location, or both.", + "requirements": "A coded specification of the anatomic site where the medication first enters the body.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.site", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationAdministrationSite" + } + ], + "strength": "example", + "description": "A coded concept describing the site location the medicine enters into or onto the body.", + "valueSet": "http://hl7.org/fhir/ValueSet/approach-site-codes" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXR-2" + }, + { + "identity": "rim", + "map": ".approachSiteCode" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.route", + "path": "MedicationRequest.dosageInstruction.route", + "short": "How drug should enter body", + "definition": "How drug should enter body.", + "requirements": "A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.route", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "RouteOfAdministration" + } + ], + "strength": "example", + "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.", + "valueSet": "http://hl7.org/fhir/ValueSet/route-codes" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXR-1" + }, + { + "identity": "rim", + "map": ".routeCode" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.method", + "path": "MedicationRequest.dosageInstruction.method", + "short": "Technique for administering medication", + "definition": "Technique for administering medication.", + "comment": "Terminologies used often pre-coordinate this term with the route and or form of administration.", + "requirements": "A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. For examples, Slow Push; Deep IV.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationAdministrationMethod" + } + ], + "strength": "example", + "description": "A coded concept describing the technique by which the medicine is administered.", + "valueSet": "http://hl7.org/fhir/ValueSet/administration-method-codes" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXR-4" + }, + { + "identity": "rim", + "map": ".doseQuantity" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate", + "path": "MedicationRequest.dosageInstruction.doseAndRate", + "short": "Amount of medication administered", + "definition": "The amount of medication administered.", + "min": 0, + "max": "*", + "base": { + "path": "Dosage.doseAndRate", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Element" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "TQ1-2" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate.id", + "path": "MedicationRequest.dosageInstruction.doseAndRate.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate.extension", + "path": "MedicationRequest.dosageInstruction.doseAndRate.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate.type", + "path": "MedicationRequest.dosageInstruction.doseAndRate.type", + "short": "The kind of dose or rate specified", + "definition": "The kind of dose or rate specified, for example, ordered or calculated.", + "requirements": "If the type is not populated, assume to be \"ordered\".", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.doseAndRate.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DoseAndRateType" + } + ], + "strength": "example", + "description": "The kind of dose or rate specified.", + "valueSet": "http://hl7.org/fhir/ValueSet/dose-rate-type" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXO-21; RXE-23" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]", + "short": "Amount of medication per dose", + "definition": "Amount of medication per dose.", + "comment": "Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours.", + "requirements": "The amount of therapeutic or other substance given at one administration event.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.doseAndRate.dose[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + }, + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RXO-2, RXE-3" + }, + { + "identity": "rim", + "map": ".doseQuantity" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]", + "short": "Amount of medication per unit of time", + "definition": "Amount of medication per unit of time.", + "comment": "It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate.\r\rIt is possible to specify a rate over time (for example, 100 ml/hour) using either the rateRatio and rateQuantity. The rateQuantity approach requires systems to have the capability to parse UCUM grammer where ml/hour is included rather than a specific ratio where the time is specified as the denominator. Where a rate such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically correct than specifying using a rateQuantity of 250 mg/hour.", + "requirements": "Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours. Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.doseAndRate.rate[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Ratio" + }, + { + "code": "Range" + }, + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RXE22, RXE23, RXE-24" + }, + { + "identity": "rim", + "map": ".rateQuantity" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.maxDosePerPeriod", + "path": "MedicationRequest.dosageInstruction.maxDosePerPeriod", + "short": "Upper limit on medication per unit of time", + "definition": "Upper limit on medication per unit of time.", + "comment": "This is intended for use as an adjunct to the dosage when there is an upper cap. For example \"2 tablets every 4 hours to a maximum of 8/day\".", + "requirements": "The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. For example, 1000mg in 24 hours.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.maxDosePerPeriod", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Ratio" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RXO-23, RXE-19" + }, + { + "identity": "rim", + "map": ".maxDoseQuantity" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.maxDosePerAdministration", + "path": "MedicationRequest.dosageInstruction.maxDosePerAdministration", + "short": "Upper limit on medication per administration", + "definition": "Upper limit on medication per administration.", + "comment": "This is intended for use as an adjunct to the dosage when there is an upper cap. For example, a body surface area related dose with a maximum amount, such as 1.5 mg/m2 (maximum 2 mg) IV over 5 – 10 minutes would have doseQuantity of 1.5 mg/m2 and maxDosePerAdministration of 2 mg.", + "requirements": "The maximum total quantity of a therapeutic substance that may be administered to a subject per administration.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.maxDosePerAdministration", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "not supported" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.maxDosePerLifetime", + "path": "MedicationRequest.dosageInstruction.maxDosePerLifetime", + "short": "Upper limit on medication per lifetime of the patient", + "definition": "Upper limit on medication per lifetime of the patient.", + "requirements": "The maximum total quantity of a therapeutic substance that may be administered per lifetime of the subject.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.maxDosePerLifetime", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "not supported" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest", + "path": "MedicationRequest.dispenseRequest", + "short": "Medication supply authorization", + "definition": "Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/ExpirationDate" + }, + { + "identity": "rim", + "map": "component.supplyEvent" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.id", + "path": "MedicationRequest.dispenseRequest.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.extension", + "path": "MedicationRequest.dispenseRequest.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.modifierExtension", + "path": "MedicationRequest.dispenseRequest.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill", + "path": "MedicationRequest.dispenseRequest.initialFill", + "short": "First fill details", + "definition": "Indicates the quantity or duration for the first dispense of the medication.", + "comment": "If populating this element, either the quantity or the duration must be included.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.initialFill", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration -> ActRelationship[sequenceNumber = '1'] -> Supply" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill.id", + "path": "MedicationRequest.dispenseRequest.initialFill.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill.extension", + "path": "MedicationRequest.dispenseRequest.initialFill.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill.modifierExtension", + "path": "MedicationRequest.dispenseRequest.initialFill.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill.quantity", + "path": "MedicationRequest.dispenseRequest.initialFill.quantity", + "short": "First fill quantity", + "definition": "The amount or quantity to provide as part of the first dispense.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.initialFill.quantity", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Supply.quantity[moodCode=RQO]" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill.duration", + "path": "MedicationRequest.dispenseRequest.initialFill.duration", + "short": "First fill duration", + "definition": "The length of time that the first dispense is expected to last.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.initialFill.duration", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Duration" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Supply.effectivetime[moodCode=RQO]" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.dispenseInterval", + "path": "MedicationRequest.dispenseRequest.dispenseInterval", + "short": "Minimum period of time between dispenses", + "definition": "The minimum period of time that must occur between dispenses of the medication.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.dispenseInterval", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Duration" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Supply.effectivetime[moodCode=RQO]" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.validityPeriod", + "path": "MedicationRequest.dispenseRequest.validityPeriod", + "short": "Time period supply is authorized for", + "definition": "This indicates the validity period of a prescription (stale dating the Prescription).", + "comment": "It reflects the prescribers' perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations.", + "requirements": "Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.validityPeriod", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Refills" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", + "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", + "short": "Number of refills authorized", + "definition": "An integer indicating the number of times, in addition to the original dispense, (aka refills or repeats) that the patient can receive the prescribed medication. Usage Notes: This integer does not include the original order dispense. This means that if an order indicates dispense 30 tablets plus \"3 repeats\", then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets. A prescriber may explicitly say that zero refills are permitted after the initial dispense.", + "comment": "If displaying \"number of authorized fills\", add 1 to this number.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "unsignedInt" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Quantity" + }, + { + "identity": "v2", + "map": "RXE-12-Number of Refills" + }, + { + "identity": "rim", + "map": "repeatNumber" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.quantity", + "path": "MedicationRequest.dispenseRequest.quantity", + "short": "Amount of medication to supply per dispense", + "definition": "The amount that is to be dispensed for one fill.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.quantity", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/DaysSupply" + }, + { + "identity": "v2", + "map": "RXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system" + }, + { + "identity": "rim", + "map": "quantity" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration", + "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration", + "short": "Number of days supply per dispense", + "definition": "Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last.", + "comment": "In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage). When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Duration" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Substitutions" + }, + { + "identity": "rim", + "map": "expectedUseTime" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.performer", + "path": "MedicationRequest.dispenseRequest.performer", + "short": "Intended dispenser", + "definition": "Indicates the intended dispensing Organization specified by the prescriber.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.performer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.who" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target[classCode=SPLY, moodCode=RQO] .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" + } + ] + }, + { + "id": "MedicationRequest.substitution", + "path": "MedicationRequest.substitution", + "short": "Any restrictions on medication substitution", + "definition": "Indicates whether or not substitution can or should be part of the dispense. In some cases, substitution must happen, in other cases substitution must not happen. This block explains the prescriber's intent. If nothing is specified substitution may be done.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.substitution", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions" + }, + { + "identity": "rim", + "map": "subjectOf.substitutionPersmission" + } + ] + }, + { + "id": "MedicationRequest.substitution.id", + "path": "MedicationRequest.substitution.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.substitution.extension", + "path": "MedicationRequest.substitution.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.substitution.modifierExtension", + "path": "MedicationRequest.substitution.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.substitution.allowed[x]", + "path": "MedicationRequest.substitution.allowed[x]", + "short": "Whether substitution is allowed or not", + "definition": "True if the prescriber allows a different drug to be dispensed from what was prescribed.", + "comment": "This element is labeled as a modifier because whether substitution is allow or not, it cannot be ignored.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.substitution.allowed[x]", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "boolean" + }, + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestSubstitution" + } + ], + "strength": "example", + "description": "Identifies the type of substitution allowed.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode" + }, + "mapping": [ + { + "identity": "script10.6", + "map": "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions" + }, + { + "identity": "v2", + "map": "RXO-9-Allow Substitutions / RXE-9-Substitution Status" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "MedicationRequest.substitution.reason", + "path": "MedicationRequest.substitution.reason", + "short": "Why should (not) substitution be made", + "definition": "Indicates the reason for the substitution, or why substitution must or must not be performed.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.substitution.reason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationIntendedSubstitutionReason" + } + ], + "strength": "example", + "description": "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason" + }, + "mapping": [ + { + "identity": "script10.6", + "map": "not mapped" + }, + { + "identity": "v2", + "map": "RXE-9 Substition status" + }, + { + "identity": "rim", + "map": "reasonCode" + } + ] + }, + { + "id": "MedicationRequest.priorPrescription", + "path": "MedicationRequest.priorPrescription", + "short": "An order/prescription that is being replaced", + "definition": "A link to a resource representing an earlier order related order or prescription.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.priorPrescription", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.replaces" + }, + { + "identity": "script10.6", + "map": "not mapped" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO]" + } + ] + }, + { + "id": "MedicationRequest.detectedIssue", + "path": "MedicationRequest.detectedIssue", + "short": "Clinical Issue with action", + "definition": "Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, duplicate therapy, dosage alert etc.", + "comment": "This element can include a detected issue that has been identified either by a decision support system or by a clinician and may include information on the steps that were taken to address the issue.", + "alias": [ + "Contraindication", + "Drug Utilization Review (DUR)", + "Alert" + ], + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.detectedIssue", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DetectedIssue" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=ALRT,moodCode=EVN].value" + } + ] + }, + { + "id": "MedicationRequest.eventHistory", + "path": "MedicationRequest.eventHistory", + "short": "A list of events of interest in the lifecycle", + "definition": "Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.", + "comment": "This might not include provenances for all versions of the request – only those deemed “relevant” or important. This SHALL NOT include the provenance associated with this current version of the resource. (If that provenance is deemed to be a “relevant” change, it will need to be added as part of a later update. Until then, it can be queried directly as the provenance that points to this version using _revinclude All Provenances should have some historical version of this Request as their subject.).", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.eventHistory", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Provenance" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.relevantHistory" + }, + { + "identity": "rim", + "map": ".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "MedicationRequest", + "path": "MedicationRequest", + "definition": "The US Core Medication Request (Order) Profile is based upon the core FHIR MedicationRequest Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder" + } + ] + }, + { + "id": "MedicationRequest.status", + "path": "MedicationRequest.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "description": "A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.intent", + "path": "MedicationRequest.intent", + "min": 1, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "required", + "description": "The kind of medication order.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-intent" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.category", + "path": "MedicationRequest.category", + "min": 0, + "max": "*", + "mustSupport": true, + "binding": { + "strength": "preferred", + "description": "The type of medication order.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-category" + } + }, + { + "id": "MedicationRequest.reported[x]", + "path": "MedicationRequest.reported[x]", + "min": 0, + "max": "1", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "boolean" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.medication[x]", + "path": "MedicationRequest.medication[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ] + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.4" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.medication[x]" + } + ] + }, + { + "id": "MedicationRequest.subject", + "path": "MedicationRequest.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.patient" + } + ] + }, + { + "id": "MedicationRequest.encounter", + "path": "MedicationRequest.encounter", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "MedicationRequest.authoredOn", + "path": "MedicationRequest.authoredOn", + "min": 0, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.dateWritten" + } + ] + }, + { + "id": "MedicationRequest.requester", + "path": "MedicationRequest.requester", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Device" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.prescriber" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction", + "path": "MedicationRequest.dosageInstruction", + "mustSupport": true + }, + { + "id": "MedicationRequest.dosageInstruction.text", + "path": "MedicationRequest.dosageInstruction.text", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-observation-lab.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-observation-lab.json new file mode 100644 index 00000000000..98a83881d9f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-observation-lab.json @@ -0,0 +1,3184 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-observation-lab", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", + "version": "4.0.0", + "name": "USCoreLaboratoryResultObservationProfile", + "title": "US Core Laboratory Result Observation Profile", + "status": "active", + "experimental": false, + "date": "2020-06-27", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints and extensions on the Observation resource for the minimal set of data to query and retrieve laboratory test results", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "Measurements and simple assertions", + "definition": "This profile is created to meet the 2015 Edition Common Clinical Data Set 'Laboratory test(s) and Laboratory value(s)/result(s)' requirements.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.status" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.category" + } + ] + }, + { + "id": "Observation.category:Laboratory", + "path": "Observation.category", + "sliceName": "Laboratory", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.category" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Laboratory Test Name", + "definition": "The test that was performed. A LOINC **SHALL** be used if the concept is present in LOINC.", + "comment": "The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists. When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "alias": [ + "Name", + "Test Name", + "Observation Identifer" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.code" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/R4/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Clinically relevant time/time-period for observation", + "definition": "For lab tests this is the specimen collection date. For Ask at Order Entry Questions (AOE)'s this is the date the question was asked.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/R4/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + }, + { + "code": "instant" + } + ], + "condition": [ + "us-core-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "Observation.effectiveDateTime.exists() implies Observation.effectiveDateTime.toString().length() >= 8", + "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.effective[x]" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/R4/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Result Value", + "definition": "The Laboratory result value. If a coded value, the valueCodeableConcept.code **SHOULD** be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults) if the concept exists. If a numeric value, valueQuantity.code **SHALL** be selected from [UCUM](http://unitsofmeasure.org). A FHIR [UCUM Codes value set](http://hl7.org/fhir/STU3/valueset-ucum-units.html) that defines all UCUM codes is in the FHIR specification.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "CodeableConcept" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7", + "us-core-2", + "us-core-3", + "us-core-4" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "us-core-4", + "severity": "warning", + "human": "SHOULD use Snomed CT for coded Results", + "expression": "valueCodeableConcept.coding.system.empty() or valueCodeableConcept.coding.system = 'http://snomed.info/sct'", + "xpath": "not(exists(f:valueCodeableConcept/f:coding/f:system) ) or f:valueCodeableConcept/f:coding/f:system[@value='http://snomed.info/sct']" + }, + { + "key": "us-core-3", + "severity": "error", + "human": "SHALL use UCUM for coded quantity units.", + "expression": "valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'", + "xpath": "not(exists(f:valueQuantity/f:system) ) or f:valueQuantity/f:system[@value='http://unitsofmeasure.org']" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.value[x]" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "us-core-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.dataAbsentReason" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/R4/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Related resource that belongs to the Observation group", + "definition": "This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component results", + "definition": "Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCode" + } + ], + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "definition": "This profile is created to meet the 2015 Edition Common Clinical Data Set 'Laboratory test(s) and Laboratory value(s)/result(s)' requirements.", + "constraint": [ + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation" + } + ] + }, + { + "id": "Observation.status", + "path": "Observation.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.status" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.category" + } + ] + }, + { + "id": "Observation.category:Laboratory", + "path": "Observation.category", + "sliceName": "Laboratory", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory" + } + ] + }, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.category" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Laboratory Test Name", + "definition": "The test that was performed. A LOINC **SHALL** be used if the concept is present in LOINC.", + "comment": "The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists. When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display.", + "alias": [ + "Test Name", + "Observation Identifer" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.code" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.subject" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "definition": "For lab tests this is the specimen collection date. For Ask at Order Entry Questions (AOE)'s this is the date the question was asked.", + "min": 0, + "max": "1", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + }, + { + "code": "instant" + } + ], + "condition": [ + "us-core-1" + ], + "constraint": [ + { + "key": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "Observation.effectiveDateTime.exists() implies Observation.effectiveDateTime.toString().length() >= 8", + "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.effective[x]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Result Value", + "definition": "The Laboratory result value. If a coded value, the valueCodeableConcept.code **SHOULD** be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults) if the concept exists. If a numeric value, valueQuantity.code **SHALL** be selected from [UCUM](http://unitsofmeasure.org). A FHIR [UCUM Codes value set](http://hl7.org/fhir/STU3/valueset-ucum-units.html) that defines all UCUM codes is in the FHIR specification.", + "min": 0, + "max": "1", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "CodeableConcept" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "us-core-2", + "us-core-3", + "us-core-4" + ], + "constraint": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "us-core-4", + "severity": "warning", + "human": "SHOULD use Snomed CT for coded Results", + "expression": "valueCodeableConcept.coding.system.empty() or valueCodeableConcept.coding.system = 'http://snomed.info/sct'", + "xpath": "not(exists(f:valueCodeableConcept/f:coding/f:system) ) or f:valueCodeableConcept/f:coding/f:system[@value='http://snomed.info/sct']" + }, + { + "key": "us-core-3", + "severity": "error", + "human": "SHALL use UCUM for coded quantity units.", + "expression": "valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'", + "xpath": "not(exists(f:valueQuantity/f:system) ) or f:valueQuantity/f:system[@value='http://unitsofmeasure.org']" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.value[x]" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "us-core-2" + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.dataAbsentReason" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-organization.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-organization.json new file mode 100644 index 00000000000..a88aefda399 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-organization.json @@ -0,0 +1,3093 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-organization", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "version": "4.0.0", + "name": "USCoreOrganizationProfile", + "title": "US Core Organization Profile", + "status": "active", + "experimental": false, + "date": "2020-06-29", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines basic constraints and extensions on the Organization resource for use with other US Core resources", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "servd", + "uri": "http://www.omg.org/spec/ServD/1.0/", + "name": "ServD" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Organization", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Organization", + "path": "Organization", + "short": "A grouping of people or organizations with a common purpose", + "definition": "A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, payer/insurer, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Organization", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "org-1", + "severity": "error", + "human": "The organization SHALL at least have a name or an identifier, and possibly more than one", + "expression": "(identifier.count() + name.count()) > 0", + "xpath": "count(f:identifier | f:name) > 0", + "source": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "(also see master files messages)" + }, + { + "identity": "rim", + "map": "Organization(classCode=ORG, determinerCode=INST)" + }, + { + "identity": "servd", + "map": "Organization" + } + ] + }, + { + "id": "Organization.id", + "path": "Organization.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Organization.meta", + "path": "Organization.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Organization.implicitRules", + "path": "Organization.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Organization.language", + "path": "Organization.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Organization.text", + "path": "Organization.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Organization.contained", + "path": "Organization.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization.extension", + "path": "Organization.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization.modifierExtension", + "path": "Organization.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization.identifier", + "path": "Organization.identifier", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Identifies this organization across multiple systems", + "definition": "Identifier for the organization that is used to identify the organization across multiple disparate systems.", + "comment": "NPI preferred.", + "requirements": "Organizations are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the organization.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "condition": [ + "org-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "XON.10 / XON.3" + }, + { + "identity": "rim", + "map": ".scopes[Role](classCode=IDENT)" + }, + { + "identity": "servd", + "map": "./Identifiers" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.identifier.id", + "path": "Organization.identifier.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.identifier.extension", + "path": "Organization.identifier.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.identifier.use", + "path": "Organization.identifier.use", + "short": "usual | official | temp | secondary | old (If known)", + "definition": "The purpose of this identifier.", + "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.", + "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierUse" + } + ], + "strength": "required", + "description": "Identifies the purpose for this identifier, if known .", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Organization.identifier.type", + "path": "Organization.identifier.type", + "short": "Description of identifier", + "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.", + "comment": "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.", + "requirements": "Allows users to make use of identifiers when the identifier system is not known.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierType" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-type" + }, + "mapping": [ + { + "identity": "v2", + "map": "CX.5" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Organization.identifier.system", + "path": "Organization.identifier.system", + "short": "The namespace for the identifier value", + "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.", + "comment": "Identifier.system is always case sensitive.", + "requirements": "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "example": [ + { + "label": "General", + "valueUri": "http://www.acme.com/identifiers/patient" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / EI-2-4" + }, + { + "identity": "rim", + "map": "II.root or Role.id.root" + }, + { + "identity": "servd", + "map": "./IdentifierType" + } + ] + }, + { + "id": "Organization.identifier.value", + "path": "Organization.identifier.value", + "short": "The value that is unique", + "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.", + "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "123456" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.1 / EI.1" + }, + { + "identity": "rim", + "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "Organization.identifier.period", + "path": "Organization.identifier.period", + "short": "Time period when id is/was valid for use", + "definition": "Time period during which identifier is/was valid for use.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.7 + CX.8" + }, + { + "identity": "rim", + "map": "Role.effectiveTime or implied by context" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Organization.identifier.assigner", + "path": "Organization.identifier.assigner", + "short": "Organization that issued id (may be just text)", + "definition": "Organization that issued/manages the identifier.", + "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.assigner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / (CX.4,CX.9,CX.10)" + }, + { + "identity": "rim", + "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" + }, + { + "identity": "servd", + "map": "./IdentifierIssuingAuthority" + } + ] + }, + { + "id": "Organization.identifier:NPI", + "path": "Organization.identifier", + "sliceName": "NPI", + "short": "National Provider Identifier (NPI)", + "definition": "Identifier for the organization that is used to identify the organization across multiple disparate systems.", + "requirements": "Organizations are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the organization.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "patternIdentifier": { + "system": "http://hl7.org/fhir/sid/us-npi" + }, + "condition": [ + "org-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "XON.10 / XON.3" + }, + { + "identity": "rim", + "map": ".scopes[Role](classCode=IDENT)" + }, + { + "identity": "servd", + "map": "./Identifiers" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.identifier:CLIA", + "path": "Organization.identifier", + "sliceName": "CLIA", + "short": "Clinical Laboratory Improvement Amendments (CLIA) Number for laboratories", + "definition": "Identifier for the organization that is used to identify the organization across multiple disparate systems.", + "requirements": "Organizations are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the organization.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "patternIdentifier": { + "system": "urn:oid:2.16.840.1.113883.4.7" + }, + "condition": [ + "org-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "XON.10 / XON.3" + }, + { + "identity": "rim", + "map": ".scopes[Role](classCode=IDENT)" + }, + { + "identity": "servd", + "map": "./Identifiers" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.active", + "path": "Organization.active", + "short": "Whether the organization's record is still in active use", + "definition": "Whether the organization's record is still in active use.", + "comment": "This active flag is not intended to be used to mark an organization as temporarily closed or under construction. Instead the Location(s) within the Organization should have the suspended status. If further details of the reason for the suspension are required, then an extension on this element should be used.\n\nThis element is labeled as a modifier because it may be used to mark that the resource was created in error.", + "requirements": "Need a flag to indicate a record is no longer to be used and should generally be hidden for the user in the UI.", + "min": 1, + "max": "1", + "base": { + "path": "Organization.active", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid", + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "No equivalent in HL7 v2" + }, + { + "identity": "rim", + "map": ".status" + }, + { + "identity": "servd", + "map": "./Status (however this concept in ServD more covers why the organization is active or not, could be delisted, deregistered, not operational yet) this could alternatively be derived from ./StartDate and ./EndDate and given a context date." + } + ] + }, + { + "id": "Organization.type", + "path": "Organization.type", + "short": "Kind of organization", + "definition": "The kind(s) of organization that this is.", + "comment": "Organizations can be corporations, wards, sections, clinical teams, government departments, etc. Note that code is generally a classifier of the type of organization; in many applications, codes are used to identity a particular organization (say, ward) as opposed to another of the same type - these are identifiers, not codes\n\nWhen considering if multiple types are appropriate, you should evaluate if child organizations would be a more appropriate use of the concept, as different types likely are in different sub-areas of the organization. This is most likely to be used where type values have orthogonal values, such as a religious, academic and medical center.\n\nWe expect that some jurisdictions will profile this optionality to be a single cardinality.", + "requirements": "Need to be able to track the kind of organization that this is - different organization types have different uses.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.type", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "OrganizationType" + } + ], + "strength": "example", + "description": "Used to categorize the organization.", + "valueSet": "http://hl7.org/fhir/ValueSet/organization-type" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "No equivalent in v2" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.name", + "path": "Organization.name", + "short": "Name used for the organization", + "definition": "A name associated with the organization.", + "comment": "If the name of an organization changes, consider putting the old name in the alias column so that it can still be located through searches.", + "requirements": "Need to use the name as the label of the organization.", + "min": 1, + "max": "1", + "base": { + "path": "Organization.name", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "org-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XON.1" + }, + { + "identity": "rim", + "map": ".name" + }, + { + "identity": "servd", + "map": ".PreferredName/Name" + }, + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + } + ] + }, + { + "id": "Organization.alias", + "path": "Organization.alias", + "short": "A list of alternate names that the organization is known as, or was known as in the past", + "definition": "A list of alternate names that the organization is known as, or was known as in the past.", + "comment": "There are no dates associated with the alias/historic names, as this is not intended to track when names were used, but to assist in searching so that older names can still result in identifying the organization.", + "requirements": "Over time locations and organizations go through many changes and can be known by different names.\n\nFor searching knowing previous names that the organization was known by can be very useful.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.alias", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".name" + } + ] + }, + { + "id": "Organization.telecom", + "path": "Organization.telecom", + "short": "A contact detail for the organization", + "definition": "A contact detail for the organization.", + "comment": "The use code 'home' is not to be used. Note that these contacts are not the contact details of people who are employed by or represent the organization, but official contacts for the organization itself.", + "requirements": "Human contact for the organization.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "condition": [ + "org-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "org-3", + "severity": "error", + "human": "The telecom of an organization can never be of use 'home'", + "expression": "where(use = 'home').empty()", + "xpath": "count(f:use[@value='home']) = 0", + "source": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "ORC-22?" + }, + { + "identity": "rim", + "map": ".telecom" + }, + { + "identity": "servd", + "map": "./ContactPoints" + } + ] + }, + { + "id": "Organization.telecom.id", + "path": "Organization.telecom.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.telecom.extension", + "path": "Organization.telecom.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.telecom.system", + "path": "Organization.telecom.system", + "short": "phone | fax | email | pager | url | sms | other", + "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "condition": [ + "cpt-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactPointSystem" + } + ], + "strength": "required", + "description": "Telecommunications form for contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.3" + }, + { + "identity": "rim", + "map": "./scheme" + }, + { + "identity": "servd", + "map": "./ContactPointType" + } + ] + }, + { + "id": "Organization.telecom.value", + "path": "Organization.telecom.value", + "short": "The actual contact point details", + "definition": "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).", + "comment": "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.", + "requirements": "Need to support legacy numbers that are not in a tightly controlled format.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XTN.1 (or XTN.12)" + }, + { + "identity": "rim", + "map": "./url" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "Organization.telecom.use", + "path": "Organization.telecom.use", + "short": "home | work | temp | old | mobile - purpose of this contact point", + "definition": "Identifies the purpose for the contact point.", + "comment": "Applications can assume that a contact is current unless it explicitly says that it is temporary or old.", + "requirements": "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactPointUse" + } + ], + "strength": "required", + "description": "Use of contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.2 - but often indicated by field" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./ContactPointPurpose" + } + ] + }, + { + "id": "Organization.telecom.rank", + "path": "Organization.telecom.rank", + "short": "Specify preferred order of use (1 = highest)", + "definition": "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.", + "comment": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.rank", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "n/a" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.telecom.period", + "path": "Organization.telecom.period", + "short": "Time period when the contact point was/is in use", + "definition": "Time period when the contact point was/is in use.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Organization.address", + "path": "Organization.address", + "short": "An address for the organization", + "definition": "An address for the organization.", + "comment": "Organization may have multiple addresses with different uses or applicable periods. The use code 'home' is not to be used.", + "requirements": "May need to keep track of the organization's addresses for contacting, billing or reporting requirements.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.address", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Address" + } + ], + "condition": [ + "org-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "org-2", + "severity": "error", + "human": "An address of an organization can never be of use 'home'", + "expression": "where(use = 'home').empty()", + "xpath": "count(f:use[@value='home']) = 0", + "source": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "ORC-23?" + }, + { + "identity": "rim", + "map": ".address" + }, + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.address.id", + "path": "Organization.address.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.address.extension", + "path": "Organization.address.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.address.use", + "path": "Organization.address.use", + "short": "home | work | temp | old | billing - purpose of this address", + "definition": "The purpose of this address.", + "comment": "Applications can assume that an address is current unless it explicitly says that it is temporary or old.", + "requirements": "Allows an appropriate address to be chosen from a list of many.", + "min": 0, + "max": "1", + "base": { + "path": "Address.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "home" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AddressUse" + } + ], + "strength": "required", + "description": "The use of an address.", + "valueSet": "http://hl7.org/fhir/ValueSet/address-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.7" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./AddressPurpose" + } + ] + }, + { + "id": "Organization.address.type", + "path": "Organization.address.type", + "short": "postal | physical | both", + "definition": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.", + "comment": "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R4/location.html#) resource).", + "min": 0, + "max": "1", + "base": { + "path": "Address.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "both" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AddressType" + } + ], + "strength": "required", + "description": "The type of an address (physical / postal).", + "valueSet": "http://hl7.org/fhir/ValueSet/address-type|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.18" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "vcard", + "map": "address type parameter" + } + ] + }, + { + "id": "Organization.address.text", + "path": "Organization.address.text", + "short": "Text representation of the address", + "definition": "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.", + "comment": "Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "Address.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street, Erewhon 9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6" + }, + { + "identity": "rim", + "map": "./formatted" + }, + { + "identity": "vcard", + "map": "address label parameter" + } + ] + }, + { + "id": "Organization.address.line", + "path": "Organization.address.line", + "short": "Street name, number, direction & P.O. Box etc.", + "definition": "This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.", + "min": 0, + "max": "4", + "base": { + "path": "Address.line", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "The order in which lines should appear in an address label", + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)" + }, + { + "identity": "rim", + "map": "AD.part[parttype = AL]" + }, + { + "identity": "vcard", + "map": "street" + }, + { + "identity": "servd", + "map": "./StreetAddress (newline delimitted)" + } + ] + }, + { + "id": "Organization.address.city", + "path": "Organization.address.city", + "short": "Name of city, town etc.", + "definition": "The name of the city, town, suburb, village or other community or delivery center.", + "alias": [ + "Municpality" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.city", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Erewhon" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.3" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CTY]" + }, + { + "identity": "vcard", + "map": "locality" + }, + { + "identity": "servd", + "map": "./Jurisdiction" + } + ] + }, + { + "id": "Organization.address.district", + "path": "Organization.address.district", + "short": "District name (aka county)", + "definition": "The name of the administrative area (county).", + "comment": "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.", + "alias": [ + "County" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.district", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Madison" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.9" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT | CPA]" + } + ] + }, + { + "id": "Organization.address.state", + "path": "Organization.address.state", + "short": "Sub-unit of country (abbreviations ok)", + "definition": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).", + "alias": [ + "Province", + "Territory" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.state", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Two letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.4" + }, + { + "identity": "rim", + "map": "AD.part[parttype = STA]" + }, + { + "identity": "vcard", + "map": "region" + }, + { + "identity": "servd", + "map": "./Region" + }, + { + "identity": "servd", + "map": "./Sites" + } + ] + }, + { + "id": "Organization.address.postalCode", + "path": "Organization.address.postalCode", + "short": "US Zip Codes", + "definition": "A postal code designating a region defined by the postal service.", + "alias": [ + "Zip" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.postalCode", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.5" + }, + { + "identity": "rim", + "map": "AD.part[parttype = ZIP]" + }, + { + "identity": "vcard", + "map": "code" + }, + { + "identity": "servd", + "map": "./PostalIdentificationCode" + } + ] + }, + { + "id": "Organization.address.country", + "path": "Organization.address.country", + "short": "Country (e.g. can be ISO 3166 2 or 3 letter code)", + "definition": "Country - a nation as commonly understood or generally accepted.", + "comment": "ISO 3166 3 letter codes can be used in place of a human readable country name.", + "min": 0, + "max": "1", + "base": { + "path": "Address.country", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.6" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT]" + }, + { + "identity": "vcard", + "map": "country" + }, + { + "identity": "servd", + "map": "./Country" + } + ] + }, + { + "id": "Organization.address.period", + "path": "Organization.address.period", + "short": "Time period when address was/is in use", + "definition": "Time period when address was/is in use.", + "requirements": "Allows addresses to be placed in historical context.", + "min": 0, + "max": "1", + "base": { + "path": "Address.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "example": [ + { + "label": "General", + "valuePeriod": { + "start": "2010-03-23", + "end": "2010-07-01" + } + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.12 / XAD.13 + XAD.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Organization.partOf", + "path": "Organization.partOf", + "short": "The organization of which this organization forms a part", + "definition": "The organization of which this organization forms a part.", + "requirements": "Need to be able to track the hierarchy of organizations within an organization.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.partOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "No equivalent in HL7 v2" + }, + { + "identity": "rim", + "map": ".playedBy[classCode=Part].scoper" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.contact", + "path": "Organization.contact", + "short": "Contact for the organization for a certain purpose", + "definition": "Contact for the organization for a certain purpose.", + "comment": "Where multiple contacts for the same purpose are provided there is a standard extension that can be used to determine which one is the preferred contact to use.", + "requirements": "Need to keep track of assigned contact points within bigger organization.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.contact", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".contactParty" + } + ] + }, + { + "id": "Organization.contact.id", + "path": "Organization.contact.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.contact.extension", + "path": "Organization.contact.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.contact.modifierExtension", + "path": "Organization.contact.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization.contact.purpose", + "path": "Organization.contact.purpose", + "short": "The type of contact", + "definition": "Indicates a purpose for which the contact can be reached.", + "requirements": "Need to distinguish between multiple contact persons.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.contact.purpose", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactPartyType" + } + ], + "strength": "extensible", + "description": "The purpose for which you would contact a contact party.", + "valueSet": "http://hl7.org/fhir/ValueSet/contactentity-type" + }, + "mapping": [ + { + "identity": "rim", + "map": "./type" + } + ] + }, + { + "id": "Organization.contact.name", + "path": "Organization.contact.name", + "short": "A name associated with the contact", + "definition": "A name associated with the contact.", + "requirements": "Need to be able to track the person by name.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.contact.name", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "HumanName" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-5, PID-9" + }, + { + "identity": "rim", + "map": "./name" + } + ] + }, + { + "id": "Organization.contact.telecom", + "path": "Organization.contact.telecom", + "short": "Contact details (telephone, email, etc.) for a contact", + "definition": "A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.", + "requirements": "People have (primary) ways to contact them in some way such as phone, email.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.contact.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-13, PID-14" + }, + { + "identity": "rim", + "map": "./telecom" + } + ] + }, + { + "id": "Organization.contact.address", + "path": "Organization.contact.address", + "short": "Visiting or postal addresses for the contact", + "definition": "Visiting or postal addresses for the contact.", + "requirements": "May need to keep track of a contact party's address for contacting, billing or reporting requirements.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.contact.address", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Address" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-11" + }, + { + "identity": "rim", + "map": "./addr" + } + ] + }, + { + "id": "Organization.endpoint", + "path": "Organization.endpoint", + "short": "Technical endpoints providing access to services operated for the organization", + "definition": "Technical endpoints providing access to services operated for the organization.", + "requirements": "Organizations have multiple systems that provide various services and need to be able to define the technical connection details for how to connect to them, and for what purpose.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.endpoint", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Endpoint" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Organization", + "path": "Organization", + "mustSupport": false, + "mapping": [ + { + "identity": "servd", + "map": "Organization" + } + ] + }, + { + "id": "Organization.identifier", + "path": "Organization.identifier", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "comment": "NPI preferred.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.identifier.system", + "path": "Organization.identifier.system", + "min": 0, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "mustSupport": true + }, + { + "id": "Organization.identifier.value", + "path": "Organization.identifier.value", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Organization.identifier:NPI", + "path": "Organization.identifier", + "sliceName": "NPI", + "short": "National Provider Identifier (NPI)", + "min": 0, + "max": "1", + "type": [ + { + "code": "Identifier" + } + ], + "patternIdentifier": { + "system": "http://hl7.org/fhir/sid/us-npi" + }, + "mustSupport": true, + "mapping": [ + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.identifier:CLIA", + "path": "Organization.identifier", + "sliceName": "CLIA", + "short": "Clinical Laboratory Improvement Amendments (CLIA) Number for laboratories", + "min": 0, + "max": "1", + "type": [ + { + "code": "Identifier" + } + ], + "patternIdentifier": { + "system": "urn:oid:2.16.840.1.113883.4.7" + }, + "mustSupport": false, + "mapping": [ + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.active", + "path": "Organization.active", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "mustSupport": true + }, + { + "id": "Organization.name", + "path": "Organization.name", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + } + ] + }, + { + "id": "Organization.telecom", + "path": "Organization.telecom", + "min": 0, + "max": "*", + "type": [ + { + "code": "ContactPoint" + } + ], + "mustSupport": true + }, + { + "id": "Organization.telecom.system", + "path": "Organization.telecom.system", + "mustSupport": true + }, + { + "id": "Organization.telecom.value", + "path": "Organization.telecom.value", + "mustSupport": true + }, + { + "id": "Organization.address", + "path": "Organization.address", + "min": 0, + "max": "*", + "type": [ + { + "code": "Address" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.address.line", + "path": "Organization.address.line", + "min": 0, + "max": "4", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Organization.address.city", + "path": "Organization.address.city", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Organization.address.state", + "path": "Organization.address.state", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Two letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + }, + "mapping": [ + { + "identity": "servd", + "map": "./Sites" + } + ] + }, + { + "id": "Organization.address.postalCode", + "path": "Organization.address.postalCode", + "short": "US Zip Codes", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Organization.address.country", + "path": "Organization.address.country", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-patient.json new file mode 100644 index 00000000000..628790bf91f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-patient.json @@ -0,0 +1,4748 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "version": "4.0.0", + "name": "USCorePatientProfile", + "title": "US Core Patient Profile", + "status": "active", + "experimental": false, + "date": "2020-06-27", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints and extensions on the patient resource for the minimal set of data to query and retrieve patient demographic information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "cda", + "uri": "http://hl7.org/v3/cda", + "name": "CDA (R2)" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "loinc", + "uri": "http://loinc.org", + "name": "LOINC code for the element" + } + ], + "kind": "resource", + "abstract": false, + "type": "Patient", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Patient", + "path": "Patient", + "short": "Information about an individual or animal receiving health care services", + "definition": "The US Core Patient Profile is based upon the core FHIR Patient Resource and designed to meet the applicable patient demographic data elements from the 2015 Edition Common Clinical Data Set.", + "alias": [ + "SubjectOfCare Client Resident" + ], + "min": 0, + "max": "*", + "base": { + "path": "Patient", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Patient[classCode=PAT]" + }, + { + "identity": "cda", + "map": "ClinicalDocument.recordTarget.patientRole" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient" + } + ] + }, + { + "id": "Patient.id", + "path": "Patient.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Patient.meta", + "path": "Patient.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Patient.implicitRules", + "path": "Patient.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Patient.language", + "path": "Patient.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Patient.text", + "path": "Patient.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Patient.contained", + "path": "Patient.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient.extension", + "path": "Patient.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient.extension:race", + "path": "Patient.extension", + "sliceName": "race", + "short": "US Core Race Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.", + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": false, + "isModifier": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.extension:ethnicity", + "path": "Patient.extension", + "sliceName": "ethnicity", + "short": "US Core ethnicity Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.", + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": false, + "isModifier": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.extension:birthsex", + "path": "Patient.extension", + "sliceName": "birthsex", + "short": "Extension", + "definition": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc).", + "comment": "The codes required are intended to present birth sex (i.e., the sex recorded on the patient’s birth certificate) and not gender identity or reassigned sex.", + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": false, + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "iso11179", + "map": ".patient.administrativeGenderCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.modifierExtension", + "path": "Patient.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient.identifier", + "path": "Patient.identifier", + "short": "An identifier for this patient", + "definition": "An identifier for this patient.", + "requirements": "Patients are almost always assigned specific numerical identifiers.", + "min": 1, + "max": "*", + "base": { + "path": "Patient.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "cda", + "map": ".id" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier" + } + ] + }, + { + "id": "Patient.identifier.id", + "path": "Patient.identifier.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.identifier.extension", + "path": "Patient.identifier.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.identifier.use", + "path": "Patient.identifier.use", + "short": "usual | official | temp | secondary | old (If known)", + "definition": "The purpose of this identifier.", + "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.", + "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierUse" + } + ], + "strength": "required", + "description": "Identifies the purpose for this identifier, if known .", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Patient.identifier.type", + "path": "Patient.identifier.type", + "short": "Description of identifier", + "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.", + "comment": "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.", + "requirements": "Allows users to make use of identifiers when the identifier system is not known.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierType" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-type" + }, + "mapping": [ + { + "identity": "v2", + "map": "CX.5" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Patient.identifier.system", + "path": "Patient.identifier.system", + "short": "The namespace for the identifier value", + "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.", + "comment": "Identifier.system is always case sensitive.", + "requirements": "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "example": [ + { + "label": "General", + "valueUri": "http://www.acme.com/identifiers/patient" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / EI-2-4" + }, + { + "identity": "rim", + "map": "II.root or Role.id.root" + }, + { + "identity": "servd", + "map": "./IdentifierType" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier.system" + } + ] + }, + { + "id": "Patient.identifier.value", + "path": "Patient.identifier.value", + "short": "The value that is unique within the system.", + "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.", + "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "123456" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.1 / EI.1" + }, + { + "identity": "rim", + "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" + }, + { + "identity": "servd", + "map": "./Value" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier.value" + } + ] + }, + { + "id": "Patient.identifier.period", + "path": "Patient.identifier.period", + "short": "Time period when id is/was valid for use", + "definition": "Time period during which identifier is/was valid for use.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.7 + CX.8" + }, + { + "identity": "rim", + "map": "Role.effectiveTime or implied by context" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Patient.identifier.assigner", + "path": "Patient.identifier.assigner", + "short": "Organization that issued id (may be just text)", + "definition": "Organization that issued/manages the identifier.", + "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.assigner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / (CX.4,CX.9,CX.10)" + }, + { + "identity": "rim", + "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" + }, + { + "identity": "servd", + "map": "./IdentifierIssuingAuthority" + } + ] + }, + { + "id": "Patient.active", + "path": "Patient.active", + "short": "Whether this patient's record is in active use", + "definition": "Whether this patient record is in active use. \nMany systems use this property to mark as non-current patients, such as those that have not been seen for a period of time based on an organization's business rules.\n\nIt is often used to filter patient lists to exclude inactive patients\n\nDeceased patients may also be marked as inactive for the same reasons, but may be active for some time after death.", + "comment": "If a record is inactive, and linked to an active record, then future patient/record updates should occur on the other patient.", + "requirements": "Need to be able to mark a patient record as not to be used because it was created in error.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.active", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid", + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.name", + "path": "Patient.name", + "short": "A name associated with the patient", + "definition": "A name associated with the individual.", + "comment": "A patient may have multiple names with different uses or applicable periods. For animals, the name is a \"HumanName\" in the sense that is assigned and used by humans and has the same patterns.", + "requirements": "Need to be able to track the patient by multiple names. Examples are your official name and a partner name.", + "min": 1, + "max": "*", + "base": { + "path": "Patient.name", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "HumanName" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "us-core-8", + "severity": "error", + "human": "Either Patient.name.given and/or Patient.name.family SHALL be present or a Data Absent Reason Extension SHALL be present.", + "expression": "(family.exists() or given.exists()) xor extension.where(url='http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()", + "xpath": "(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason' and not(/f:family or /f:given)) or (not(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason') and (/f:family or /f:given))" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-5, PID-9" + }, + { + "identity": "rim", + "map": "name" + }, + { + "identity": "cda", + "map": ".patient.name" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name" + } + ] + }, + { + "id": "Patient.name.id", + "path": "Patient.name.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.name.extension", + "path": "Patient.name.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.name.use", + "path": "Patient.name.use", + "short": "usual | official | temp | nickname | anonymous | old | maiden", + "definition": "Identifies the purpose for this name.", + "comment": "Applications can assume that a name is current unless it explicitly says that it is temporary or old.", + "requirements": "Allows the appropriate name for a particular context of use to be selected from among a set of names.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "NameUse" + } + ], + "strength": "required", + "description": "The use of a human name.", + "valueSet": "http://hl7.org/fhir/ValueSet/name-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XPN.7, but often indicated by which field contains the name" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./NamePurpose" + } + ] + }, + { + "id": "Patient.name.text", + "path": "Patient.name.text", + "short": "Text representation of the full name", + "definition": "Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.", + "comment": "Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "implied by XPN.11" + }, + { + "identity": "rim", + "map": "./formatted" + } + ] + }, + { + "id": "Patient.name.family", + "path": "Patient.name.family", + "short": "Family name (often called 'Surname')", + "definition": "The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.", + "comment": "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).", + "alias": [ + "surname" + ], + "min": 0, + "max": "1", + "base": { + "path": "HumanName.family", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "us-core-8" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.1/FN.1" + }, + { + "identity": "rim", + "map": "./part[partType = FAM]" + }, + { + "identity": "servd", + "map": "./FamilyName" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name.family" + } + ] + }, + { + "id": "Patient.name.given", + "path": "Patient.name.given", + "short": "Given names (not always 'first'). Includes middle names", + "definition": "Given name.", + "comment": "If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations. This element is not called \"first name\" since given names do not always come first.", + "alias": [ + "first name", + "middle name" + ], + "min": 0, + "max": "*", + "base": { + "path": "HumanName.given", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Given Names appear in the correct order for presenting the name", + "condition": [ + "us-core-8" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.2 + XPN.3" + }, + { + "identity": "rim", + "map": "./part[partType = GIV]" + }, + { + "identity": "servd", + "map": "./GivenNames" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name.given" + } + ] + }, + { + "id": "Patient.name.prefix", + "path": "Patient.name.prefix", + "short": "Parts that come before the name", + "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.", + "min": 0, + "max": "*", + "base": { + "path": "HumanName.prefix", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Prefixes appear in the correct order for presenting the name", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.5" + }, + { + "identity": "rim", + "map": "./part[partType = PFX]" + }, + { + "identity": "servd", + "map": "./TitleCode" + } + ] + }, + { + "id": "Patient.name.suffix", + "path": "Patient.name.suffix", + "short": "Parts that come after the name", + "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.", + "min": 0, + "max": "*", + "base": { + "path": "HumanName.suffix", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Suffixes appear in the correct order for presenting the name", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN/4" + }, + { + "identity": "rim", + "map": "./part[partType = SFX]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.name.period", + "path": "Patient.name.period", + "short": "Time period when name was/is in use", + "definition": "Indicates the period of time when this name was valid for the named person.", + "requirements": "Allows names to be placed in historical context.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.13 + XPN.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom", + "path": "Patient.telecom", + "short": "A contact detail for the individual", + "definition": "A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.", + "comment": "A Patient may have multiple ways to be contacted with different uses or applicable periods. May need to have options for contacting the person urgently and also to help with identification. The address might not go directly to the individual, but may reach another party that is able to proxy for the patient (i.e. home phone, or pet owner's phone).", + "requirements": "People have (primary) ways to contact them in some way such as phone, email.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-13, PID-14, PID-40" + }, + { + "identity": "rim", + "map": "telecom" + }, + { + "identity": "cda", + "map": ".telecom" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.id", + "path": "Patient.telecom.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.telecom.extension", + "path": "Patient.telecom.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.telecom.system", + "path": "Patient.telecom.system", + "short": "phone | fax | email | pager | url | sms | other", + "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.", + "min": 1, + "max": "1", + "base": { + "path": "ContactPoint.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "condition": [ + "cpt-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Telecommunications form for contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.3" + }, + { + "identity": "rim", + "map": "./scheme" + }, + { + "identity": "servd", + "map": "./ContactPointType" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.value", + "path": "Patient.telecom.value", + "short": "The actual contact point details", + "definition": "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).", + "comment": "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.", + "requirements": "Need to support legacy numbers that are not in a tightly controlled format.", + "min": 1, + "max": "1", + "base": { + "path": "ContactPoint.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XTN.1 (or XTN.12)" + }, + { + "identity": "rim", + "map": "./url" + }, + { + "identity": "servd", + "map": "./Value" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.use", + "path": "Patient.telecom.use", + "short": "home | work | temp | old | mobile - purpose of this contact point", + "definition": "Identifies the purpose for the contact point.", + "comment": "Applications can assume that a contact is current unless it explicitly says that it is temporary or old.", + "requirements": "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-use" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.2 - but often indicated by field" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./ContactPointPurpose" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.rank", + "path": "Patient.telecom.rank", + "short": "Specify preferred order of use (1 = highest)", + "definition": "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.", + "comment": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.rank", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "n/a" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.telecom.period", + "path": "Patient.telecom.period", + "short": "Time period when the contact point was/is in use", + "definition": "Time period when the contact point was/is in use.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Patient.gender", + "path": "Patient.gender", + "short": "male | female | other | unknown", + "definition": "Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.", + "comment": "The gender might not match the biological sex as determined by genetics or the individual's preferred identification. Note that for both humans and particularly animals, there are other legitimate possibilities than male and female, though the vast majority of systems and contexts only support male and female. Systems providing decision support or enforcing business rules should ideally do this on the basis of Observations dealing with the specific sex or gender aspect of interest (anatomical, chromosomal, social, etc.) However, because these observations are infrequently recorded, defaulting to the administrative gender is common practice. Where such defaulting occurs, rule enforcement should allow for the variation between administrative and biological, chromosomal and other gender aspects. For example, an alert about a hysterectomy on a male should be handled as a warning or overridable error, not a \"hard\" error. See the Patient Gender and Sex section for additional information about communicating patient gender and sex.", + "requirements": "Needed for identification of the individual, in combination with (at least) name and birth date.", + "min": 1, + "max": "1", + "base": { + "path": "Patient.gender", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender" + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-8" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "cda", + "map": ".patient.administrativeGenderCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.gender" + } + ] + }, + { + "id": "Patient.birthDate", + "path": "Patient.birthDate", + "short": "The date of birth for the individual", + "definition": "The date of birth for the individual.", + "comment": "At least an estimated year should be provided as a guess if the real DOB is unknown There is a standard extension \"patient-birthTime\" available that should be used where Time is required (such as in maternity/infant care systems).", + "requirements": "Age of the individual drives many clinical processes.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.birthDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-7" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime" + }, + { + "identity": "cda", + "map": ".patient.birthTime" + }, + { + "identity": "loinc", + "map": "21112-8" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.birthDate" + } + ] + }, + { + "id": "Patient.deceased[x]", + "path": "Patient.deceased[x]", + "short": "Indicates if the individual is deceased or not", + "definition": "Indicates if the individual is deceased or not.", + "comment": "If there's no value in the instance, it means there is no statement on whether or not the individual is deceased. Most systems will interpret the absence of a value as a sign of the person being alive.", + "requirements": "The fact that a patient is deceased influences the clinical process. Also, in human communication and relation management it is necessary to know whether the person is alive.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.deceased[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + }, + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different.", + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-30 (bool) and PID-29 (datetime)" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.address", + "path": "Patient.address", + "short": "An address for the individual", + "definition": "An address for the individual.", + "comment": "Patient may have multiple addresses with different uses or applicable periods.", + "requirements": "May need to keep track of patient addresses for contacting, billing or reporting requirements and also to help with identification.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.address", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Address" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-11" + }, + { + "identity": "rim", + "map": "addr" + }, + { + "identity": "cda", + "map": ".addr" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.birthDate" + } + ] + }, + { + "id": "Patient.address.id", + "path": "Patient.address.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.address.extension", + "path": "Patient.address.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.address.use", + "path": "Patient.address.use", + "short": "home | work | temp | old | billing - purpose of this address", + "definition": "The purpose of this address.", + "comment": "Applications can assume that an address is current unless it explicitly says that it is temporary or old.", + "requirements": "Allows an appropriate address to be chosen from a list of many.", + "min": 0, + "max": "1", + "base": { + "path": "Address.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "home" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AddressUse" + } + ], + "strength": "required", + "description": "The use of an address.", + "valueSet": "http://hl7.org/fhir/ValueSet/address-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.7" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./AddressPurpose" + } + ] + }, + { + "id": "Patient.address.type", + "path": "Patient.address.type", + "short": "postal | physical | both", + "definition": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.", + "comment": "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R4/location.html#) resource).", + "min": 0, + "max": "1", + "base": { + "path": "Address.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "both" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AddressType" + } + ], + "strength": "required", + "description": "The type of an address (physical / postal).", + "valueSet": "http://hl7.org/fhir/ValueSet/address-type|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.18" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "vcard", + "map": "address type parameter" + } + ] + }, + { + "id": "Patient.address.text", + "path": "Patient.address.text", + "short": "Text representation of the address", + "definition": "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.", + "comment": "Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "Address.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street, Erewhon 9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6" + }, + { + "identity": "rim", + "map": "./formatted" + }, + { + "identity": "vcard", + "map": "address label parameter" + } + ] + }, + { + "id": "Patient.address.line", + "path": "Patient.address.line", + "short": "Street name, number, direction & P.O. Box etc.", + "definition": "This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.", + "min": 0, + "max": "*", + "base": { + "path": "Address.line", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "The order in which lines should appear in an address label", + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)" + }, + { + "identity": "rim", + "map": "AD.part[parttype = AL]" + }, + { + "identity": "vcard", + "map": "street" + }, + { + "identity": "servd", + "map": "./StreetAddress (newline delimitted)" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.city", + "path": "Patient.address.city", + "short": "Name of city, town etc.", + "definition": "The name of the city, town, suburb, village or other community or delivery center.", + "alias": [ + "Municpality" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.city", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Erewhon" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.3" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CTY]" + }, + { + "identity": "vcard", + "map": "locality" + }, + { + "identity": "servd", + "map": "./Jurisdiction" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.district", + "path": "Patient.address.district", + "short": "District name (aka county)", + "definition": "The name of the administrative area (county).", + "comment": "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.", + "alias": [ + "County" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.district", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Madison" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.9" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT | CPA]" + } + ] + }, + { + "id": "Patient.address.state", + "path": "Patient.address.state", + "short": "Sub-unit of country (abbreviations ok)", + "definition": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).", + "alias": [ + "Province", + "Territory" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.state", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Two Letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.4" + }, + { + "identity": "rim", + "map": "AD.part[parttype = STA]" + }, + { + "identity": "vcard", + "map": "region" + }, + { + "identity": "servd", + "map": "./Region" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.postalCode", + "path": "Patient.address.postalCode", + "short": "US Zip Codes", + "definition": "A postal code designating a region defined by the postal service.", + "alias": [ + "Zip", + "Zip Code" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.postalCode", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.5" + }, + { + "identity": "rim", + "map": "AD.part[parttype = ZIP]" + }, + { + "identity": "vcard", + "map": "code" + }, + { + "identity": "servd", + "map": "./PostalIdentificationCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.country", + "path": "Patient.address.country", + "short": "Country (e.g. can be ISO 3166 2 or 3 letter code)", + "definition": "Country - a nation as commonly understood or generally accepted.", + "comment": "ISO 3166 3 letter codes can be used in place of a human readable country name.", + "min": 0, + "max": "1", + "base": { + "path": "Address.country", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.6" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT]" + }, + { + "identity": "vcard", + "map": "country" + }, + { + "identity": "servd", + "map": "./Country" + } + ] + }, + { + "id": "Patient.address.period", + "path": "Patient.address.period", + "short": "Time period when address was/is in use", + "definition": "Time period when address was/is in use.", + "requirements": "Allows addresses to be placed in historical context.", + "min": 0, + "max": "1", + "base": { + "path": "Address.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "example": [ + { + "label": "General", + "valuePeriod": { + "start": "2010-03-23", + "end": "2010-07-01" + } + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.12 / XAD.13 + XAD.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.maritalStatus", + "path": "Patient.maritalStatus", + "short": "Marital (civil) status of a patient", + "definition": "This field contains a patient's most recent marital (civil) status.", + "requirements": "Most, if not all systems capture it.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.maritalStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MaritalStatus" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "The domestic partnership status of a person.", + "valueSet": "http://hl7.org/fhir/ValueSet/marital-status" + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-16" + }, + { + "identity": "rim", + "map": "player[classCode=PSN]/maritalStatusCode" + }, + { + "identity": "cda", + "map": ".patient.maritalStatusCode" + } + ] + }, + { + "id": "Patient.multipleBirth[x]", + "path": "Patient.multipleBirth[x]", + "short": "Whether patient is part of a multiple birth", + "definition": "Indicates whether the patient is part of a multiple (boolean) or indicates the actual birth order (integer).", + "comment": "Where the valueInteger is provided, the number is the birth number in the sequence. E.g. The middle birth in triplets would be valueInteger=2 and the third born would have valueInteger=3 If a boolean value was provided for this triplets example, then all 3 patient records would have valueBoolean=true (the ordering is not indicated).", + "requirements": "For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.multipleBirth[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + }, + { + "code": "integer" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-24 (bool), PID-25 (integer)" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.photo", + "path": "Patient.photo", + "short": "Image of the patient", + "definition": "Image of the patient.", + "comment": "Guidelines:\n* Use id photos, not clinical photos.\n* Limit dimensions to thumbnail.\n* Keep byte count low to ease resource updates.", + "requirements": "Many EHR systems have the capability to capture an image of the patient. Fits with newer social media usage too.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.photo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-5 - needs a profile" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + "valueString": "Contact" + } + ], + "path": "Patient.contact", + "short": "A contact party (e.g. guardian, partner, friend) for the patient", + "definition": "A contact party (e.g. guardian, partner, friend) for the patient.", + "comment": "Contact covers all kinds of contact parties: family members, business contacts, guardians, caregivers. Not applicable to register pedigree and family ties beyond use of having contact.", + "requirements": "Need to track people you can contact about the patient.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.contact", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "pat-1", + "severity": "error", + "human": "SHALL at least contain a contact's details or a reference to an organization", + "expression": "name.exists() or telecom.exists() or address.exists() or organization.exists()", + "xpath": "exists(f:name) or exists(f:telecom) or exists(f:address) or exists(f:organization)" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.id", + "path": "Patient.contact.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.extension", + "path": "Patient.contact.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.modifierExtension", + "path": "Patient.contact.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient.contact.relationship", + "path": "Patient.contact.relationship", + "short": "The kind of relationship", + "definition": "The nature of the relationship between the patient and the contact person.", + "requirements": "Used to determine which contact person is the most relevant to approach, depending on circumstances.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.contact.relationship", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactRelationship" + } + ], + "strength": "extensible", + "description": "The nature of the relationship between a patient and a contact person for that patient.", + "valueSet": "http://hl7.org/fhir/ValueSet/patient-contactrelationship" + }, + "mapping": [ + { + "identity": "v2", + "map": "NK1-7, NK1-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.name", + "path": "Patient.contact.name", + "short": "A name associated with the contact person", + "definition": "A name associated with the contact person.", + "requirements": "Contact persons need to be identified by name, but it is uncommon to need details about multiple other names for that contact person.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.contact.name", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "HumanName" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NK1-2" + }, + { + "identity": "rim", + "map": "name" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.telecom", + "path": "Patient.contact.telecom", + "short": "A contact detail for the person", + "definition": "A contact detail for the person, e.g. a telephone number or an email address.", + "comment": "Contact may have multiple ways to be contacted with different uses or applicable periods. May need to have options for contacting the person urgently, and also to help with identification.", + "requirements": "People have (primary) ways to contact them in some way such as phone, email.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.contact.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NK1-5, NK1-6, NK1-40" + }, + { + "identity": "rim", + "map": "telecom" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.address", + "path": "Patient.contact.address", + "short": "Address for the contact person", + "definition": "Address for the contact person.", + "requirements": "Need to keep track where the contact person can be contacted per postal mail or visited.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.contact.address", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Address" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NK1-4" + }, + { + "identity": "rim", + "map": "addr" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.gender", + "path": "Patient.contact.gender", + "short": "male | female | other | unknown", + "definition": "Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.", + "requirements": "Needed to address the person correctly.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.contact.gender", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AdministrativeGender" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "required", + "description": "The gender of a person used for administrative purposes.", + "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "NK1-15" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.organization", + "path": "Patient.contact.organization", + "short": "Organization that is associated with the contact", + "definition": "Organization on behalf of which the contact is acting or for which the contact is working.", + "requirements": "For guardians or business related contacts, the organization is relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.contact.organization", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "condition": [ + "pat-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NK1-13, NK1-30, NK1-31, NK1-32, NK1-41" + }, + { + "identity": "rim", + "map": "scoper" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.period", + "path": "Patient.contact.period", + "short": "The period during which this contact person or organization is valid to be contacted relating to this patient", + "definition": "The period during which this contact person or organization is valid to be contacted relating to this patient.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.contact.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.communication", + "path": "Patient.communication", + "short": "A language which may be used to communicate with the patient about his or her health", + "definition": "A language which may be used to communicate with the patient about his or her health.", + "comment": "If no language is specified, this *implies* that the default local language is spoken. If you need to convey proficiency for multiple modes, then you need multiple Patient.Communication associations. For animals, language is not a relevant field, and should be absent from the instance. If the Patient does not speak the default local language, then the Interpreter Required Standard can be used to explicitly declare that an interpreter is required.", + "requirements": "If a patient does not speak the local language, interpreters may be required, so languages spoken and proficiency are important things to keep track of both for patient and other persons of interest.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.communication", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "LanguageCommunication" + }, + { + "identity": "cda", + "map": "patient.languageCommunication" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.communication" + } + ] + }, + { + "id": "Patient.communication.id", + "path": "Patient.communication.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.communication.extension", + "path": "Patient.communication.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.communication.modifierExtension", + "path": "Patient.communication.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient.communication.language", + "path": "Patient.communication.language", + "short": "The language which can be used to communicate with the patient about his or her health", + "definition": "The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. \"en\" for English, or \"en-US\" for American English versus \"en-EN\" for England English.", + "comment": "The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.", + "requirements": "Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect.", + "min": 1, + "max": "1", + "base": { + "path": "Patient.communication.language", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/simple-language" + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-15, LAN-2" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code" + }, + { + "identity": "cda", + "map": ".languageCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.communication.language" + } + ] + }, + { + "id": "Patient.communication.preferred", + "path": "Patient.communication.preferred", + "short": "Language preference indicator", + "definition": "Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).", + "comment": "This language is specifically identified for communicating healthcare information.", + "requirements": "People that master multiple languages up to certain level may prefer one or more, i.e. feel more confident in communicating in a particular language making other languages sort of a fall back method.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.communication.preferred", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-15" + }, + { + "identity": "rim", + "map": "preferenceInd" + }, + { + "identity": "cda", + "map": ".preferenceInd" + } + ] + }, + { + "id": "Patient.generalPractitioner", + "path": "Patient.generalPractitioner", + "short": "Patient's nominated primary care provider", + "definition": "Patient's nominated care provider.", + "comment": "This may be the primary care provider (in a GP context), or it may be a patient nominated care manager in a community/disability setting, or even organization that will provide people to perform the care provider roles. It is not to be used to record Care Teams, these should be in a CareTeam resource that may be linked to the CarePlan or EpisodeOfCare resources.\nMultiple GPs may be recorded against the patient for various reasons, such as a student that has his home GP listed along with the GP at university during the school semesters, or a \"fly-in/fly-out\" worker that has the onsite GP also included with his home GP to remain aware of medical issues.\n\nJurisdictions may decide that they can profile this down to 1 if desired, or 1 per type.", + "alias": [ + "careProvider" + ], + "min": 0, + "max": "*", + "base": { + "path": "Patient.generalPractitioner", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PD1-4" + }, + { + "identity": "rim", + "map": "subjectOf.CareEvent.performer.AssignedEntity" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.managingOrganization", + "path": "Patient.managingOrganization", + "short": "Organization that is the custodian of the patient record", + "definition": "Organization that is the custodian of the patient record.", + "comment": "There is only one managing organization for a specific patient record. Other organizations will have their own Patient record, and may use the Link property to join the records together (or a Person resource which can include confidence ratings for the association).", + "requirements": "Need to know who recognizes this patient record, manages and updates it.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.managingOrganization", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "scoper" + }, + { + "identity": "cda", + "map": ".providerOrganization" + } + ] + }, + { + "id": "Patient.link", + "path": "Patient.link", + "short": "Link to another patient resource that concerns the same actual person", + "definition": "Link to another patient resource that concerns the same actual patient.", + "comment": "There is no assumption that linked patient records have mutual links.", + "requirements": "There are multiple use cases: \n\n* Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and \n* Distribution of patient information across multiple servers.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.link", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it might not be the main Patient resource, and the referenced patient should be used instead of this Patient record. This is when the link.type value is 'replaced-by'", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "outboundLink" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.link.id", + "path": "Patient.link.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.link.extension", + "path": "Patient.link.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.link.modifierExtension", + "path": "Patient.link.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient.link.other", + "path": "Patient.link.other", + "short": "The other patient or related person resource that the link refers to", + "definition": "The other patient resource that the link refers to.", + "comment": "Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual.", + "min": 1, + "max": "1", + "base": { + "path": "Patient.link.other", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": false + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3, MRG-1" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.link.type", + "path": "Patient.link.type", + "short": "replaced-by | replaces | refer | seealso", + "definition": "The type of link between this patient resource and another patient resource.", + "min": 1, + "max": "1", + "base": { + "path": "Patient.link.type", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "LinkType" + } + ], + "strength": "required", + "description": "The type of link between this patient resource and another patient resource.", + "valueSet": "http://hl7.org/fhir/ValueSet/link-type|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "typeCode" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Patient", + "path": "Patient", + "definition": "The US Core Patient Profile is based upon the core FHIR Patient Resource and designed to meet the applicable patient demographic data elements from the 2015 Edition Common Clinical Data Set.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient" + } + ] + }, + { + "id": "Patient.extension:race", + "path": "Patient.extension", + "sliceName": "race", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" + ] + } + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.extension:ethnicity", + "path": "Patient.extension", + "sliceName": "ethnicity", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" + ] + } + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.extension:birthsex", + "path": "Patient.extension", + "sliceName": "birthsex", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" + ] + } + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.identifier", + "path": "Patient.identifier", + "min": 1, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier" + } + ] + }, + { + "id": "Patient.identifier.system", + "path": "Patient.identifier.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier.system" + } + ] + }, + { + "id": "Patient.identifier.value", + "path": "Patient.identifier.value", + "short": "The value that is unique within the system.", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier.value" + } + ] + }, + { + "id": "Patient.name", + "path": "Patient.name", + "min": 1, + "max": "*", + "type": [ + { + "code": "HumanName" + } + ], + "constraint": [ + { + "key": "us-core-8", + "severity": "error", + "human": "Either Patient.name.given and/or Patient.name.family SHALL be present or a Data Absent Reason Extension SHALL be present.", + "expression": "(family.exists() or given.exists()) xor extension.where(url='http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()", + "xpath": "(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason' and not(/f:family or /f:given)) or (not(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason') and (/f:family or /f:given))" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name" + } + ] + }, + { + "id": "Patient.name.family", + "path": "Patient.name.family", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "condition": [ + "us-core-8" + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name.family" + } + ] + }, + { + "id": "Patient.name.given", + "path": "Patient.name.given", + "min": 0, + "max": "*", + "type": [ + { + "code": "string" + } + ], + "condition": [ + "us-core-8" + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name.given" + } + ] + }, + { + "id": "Patient.name.suffix", + "path": "Patient.name.suffix", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.name.period", + "path": "Patient.name.period", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom", + "path": "Patient.telecom", + "min": 0, + "max": "*", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.system", + "path": "Patient.telecom.system", + "min": 1, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "required", + "description": "Telecommunications form for contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.value", + "path": "Patient.telecom.value", + "min": 1, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.use", + "path": "Patient.telecom.use", + "min": 0, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-use" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.gender", + "path": "Patient.gender", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.gender" + } + ] + }, + { + "id": "Patient.birthDate", + "path": "Patient.birthDate", + "min": 0, + "max": "1", + "type": [ + { + "code": "date" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.birthDate" + } + ] + }, + { + "id": "Patient.address", + "path": "Patient.address", + "min": 0, + "max": "*", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.birthDate" + } + ] + }, + { + "id": "Patient.address.line", + "path": "Patient.address.line", + "min": 0, + "max": "*", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.city", + "path": "Patient.address.city", + "min": 0, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.state", + "path": "Patient.address.state", + "min": 0, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Two Letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.postalCode", + "path": "Patient.address.postalCode", + "short": "US Zip Codes", + "alias": [ + "Zip Code" + ], + "min": 0, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.period", + "path": "Patient.address.period", + "min": 0, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.communication", + "path": "Patient.communication", + "min": 0, + "max": "*", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.communication" + } + ] + }, + { + "id": "Patient.communication.language", + "path": "Patient.communication.language", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/simple-language" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.communication.language" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-practitioner.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-practitioner.json new file mode 100644 index 00000000000..98e45256107 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-practitioner.json @@ -0,0 +1,2254 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-practitioner", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "version": "4.0.0", + "name": "USCorePractitionerProfile", + "title": "US Core Practitioner Profile", + "status": "active", + "experimental": false, + "date": "2019-09-02", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The practitioner(s) referenced in US Core profiles.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "servd", + "uri": "http://www.omg.org/spec/ServD/1.0/", + "name": "ServD" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Practitioner", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Practitioner", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Practitioner", + "path": "Practitioner", + "short": "A person with a formal responsibility in the provisioning of healthcare or related services", + "definition": "This is basic constraint on provider for use in US Core resources.", + "alias": [ + "Provider" + ], + "min": 0, + "max": "*", + "base": { + "path": "Practitioner", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "PRD (as one example)" + }, + { + "identity": "rim", + "map": "Role" + }, + { + "identity": "servd", + "map": "Provider" + } + ] + }, + { + "id": "Practitioner.id", + "path": "Practitioner.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Practitioner.meta", + "path": "Practitioner.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Practitioner.implicitRules", + "path": "Practitioner.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Practitioner.language", + "path": "Practitioner.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Practitioner.text", + "path": "Practitioner.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Practitioner.contained", + "path": "Practitioner.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner.extension", + "path": "Practitioner.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner.modifierExtension", + "path": "Practitioner.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner.identifier", + "path": "Practitioner.identifier", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "An identifier for the person as this agent", + "definition": "An identifier that applies to this person in this role.", + "comment": "NPI must be supported as the identifier system in the US, Tax id is allowed, Local id is allowed in addition to another identifier supplied by a jurisdictional authority such as a practitioner's *Drug Enforcement Administration (DEA)* number.", + "requirements": "Often, specific identities are assigned for the agent.", + "min": 1, + "max": "*", + "base": { + "path": "Practitioner.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "PRD-7 (or XCN.1)" + }, + { + "identity": "rim", + "map": "./id" + }, + { + "identity": "servd", + "map": "./Identifiers" + } + ] + }, + { + "id": "Practitioner.identifier.id", + "path": "Practitioner.identifier.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner.identifier.extension", + "path": "Practitioner.identifier.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner.identifier.use", + "path": "Practitioner.identifier.use", + "short": "usual | official | temp | secondary | old (If known)", + "definition": "The purpose of this identifier.", + "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.", + "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierUse" + } + ], + "strength": "required", + "description": "Identifies the purpose for this identifier, if known .", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Practitioner.identifier.type", + "path": "Practitioner.identifier.type", + "short": "Description of identifier", + "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.", + "comment": "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.", + "requirements": "Allows users to make use of identifiers when the identifier system is not known.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierType" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-type" + }, + "mapping": [ + { + "identity": "v2", + "map": "CX.5" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Practitioner.identifier.system", + "path": "Practitioner.identifier.system", + "short": "The namespace for the identifier value", + "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.", + "comment": "Identifier.system is always case sensitive.", + "requirements": "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "example": [ + { + "label": "General", + "valueUri": "http://www.acme.com/identifiers/patient" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / EI-2-4" + }, + { + "identity": "rim", + "map": "II.root or Role.id.root" + }, + { + "identity": "servd", + "map": "./IdentifierType" + } + ] + }, + { + "id": "Practitioner.identifier.value", + "path": "Practitioner.identifier.value", + "short": "The value that is unique", + "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.", + "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "123456" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.1 / EI.1" + }, + { + "identity": "rim", + "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "Practitioner.identifier.period", + "path": "Practitioner.identifier.period", + "short": "Time period when id is/was valid for use", + "definition": "Time period during which identifier is/was valid for use.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.7 + CX.8" + }, + { + "identity": "rim", + "map": "Role.effectiveTime or implied by context" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Practitioner.identifier.assigner", + "path": "Practitioner.identifier.assigner", + "short": "Organization that issued id (may be just text)", + "definition": "Organization that issued/manages the identifier.", + "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.assigner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / (CX.4,CX.9,CX.10)" + }, + { + "identity": "rim", + "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" + }, + { + "identity": "servd", + "map": "./IdentifierIssuingAuthority" + } + ] + }, + { + "id": "Practitioner.identifier:NPI", + "path": "Practitioner.identifier", + "sliceName": "NPI", + "short": "An identifier for the person as this agent", + "definition": "An identifier that applies to this person in this role.", + "requirements": "Often, specific identities are assigned for the agent.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "patternIdentifier": { + "system": "http://hl7.org/fhir/sid/us-npi" + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "PRD-7 (or XCN.1)" + }, + { + "identity": "rim", + "map": "./id" + }, + { + "identity": "servd", + "map": "./Identifiers" + } + ] + }, + { + "id": "Practitioner.active", + "path": "Practitioner.active", + "short": "Whether this practitioner's record is in active use", + "definition": "Whether this practitioner's record is in active use.", + "comment": "If the practitioner is not in use by one organization, then it should mark the period on the PractitonerRole with an end date (even if they are active) as they may be active in another role.", + "requirements": "Need to be able to mark a practitioner record as not to be used because it was created in error.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.active", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "./statusCode" + } + ] + }, + { + "id": "Practitioner.name", + "path": "Practitioner.name", + "short": "The name(s) associated with the practitioner", + "definition": "The name(s) associated with the practitioner.", + "comment": "The selection of the use property should ensure that there is a single usual name specified, and others use the nickname (alias), old, or other values as appropriate. \r\rIn general, select the value to be used in the ResourceReference.display based on this:\r\r1. There is more than 1 name\r2. Use = usual\r3. Period is current to the date of the usage\r4. Use = official\r5. Other order as decided by internal business rules.", + "requirements": "The name(s) that a Practitioner is known by. Where there are multiple, the name that the practitioner is usually known as should be used in the display.", + "min": 1, + "max": "*", + "base": { + "path": "Practitioner.name", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "HumanName" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XCN Components" + }, + { + "identity": "rim", + "map": "./name" + }, + { + "identity": "servd", + "map": "./PreferredName (GivenNames, FamilyName, TitleCode)" + } + ] + }, + { + "id": "Practitioner.name.id", + "path": "Practitioner.name.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner.name.extension", + "path": "Practitioner.name.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner.name.use", + "path": "Practitioner.name.use", + "short": "usual | official | temp | nickname | anonymous | old | maiden", + "definition": "Identifies the purpose for this name.", + "comment": "Applications can assume that a name is current unless it explicitly says that it is temporary or old.", + "requirements": "Allows the appropriate name for a particular context of use to be selected from among a set of names.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "NameUse" + } + ], + "strength": "required", + "description": "The use of a human name.", + "valueSet": "http://hl7.org/fhir/ValueSet/name-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XPN.7, but often indicated by which field contains the name" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./NamePurpose" + } + ] + }, + { + "id": "Practitioner.name.text", + "path": "Practitioner.name.text", + "short": "Text representation of the full name", + "definition": "Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.", + "comment": "Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "implied by XPN.11" + }, + { + "identity": "rim", + "map": "./formatted" + } + ] + }, + { + "id": "Practitioner.name.family", + "path": "Practitioner.name.family", + "short": "Family name (often called 'Surname')", + "definition": "The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.", + "comment": "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).", + "alias": [ + "surname" + ], + "min": 1, + "max": "1", + "base": { + "path": "HumanName.family", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.1/FN.1" + }, + { + "identity": "rim", + "map": "./part[partType = FAM]" + }, + { + "identity": "servd", + "map": "./FamilyName" + } + ] + }, + { + "id": "Practitioner.name.given", + "path": "Practitioner.name.given", + "short": "Given names (not always 'first'). Includes middle names", + "definition": "Given name.", + "comment": "If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations. This element is not called \"first name\" since given names do not always come first.", + "alias": [ + "first name", + "middle name" + ], + "min": 0, + "max": "*", + "base": { + "path": "HumanName.given", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Given Names appear in the correct order for presenting the name", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.2 + XPN.3" + }, + { + "identity": "rim", + "map": "./part[partType = GIV]" + }, + { + "identity": "servd", + "map": "./GivenNames" + } + ] + }, + { + "id": "Practitioner.name.prefix", + "path": "Practitioner.name.prefix", + "short": "Parts that come before the name", + "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.", + "min": 0, + "max": "*", + "base": { + "path": "HumanName.prefix", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Prefixes appear in the correct order for presenting the name", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.5" + }, + { + "identity": "rim", + "map": "./part[partType = PFX]" + }, + { + "identity": "servd", + "map": "./TitleCode" + } + ] + }, + { + "id": "Practitioner.name.suffix", + "path": "Practitioner.name.suffix", + "short": "Parts that come after the name", + "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.", + "min": 0, + "max": "*", + "base": { + "path": "HumanName.suffix", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Suffixes appear in the correct order for presenting the name", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN/4" + }, + { + "identity": "rim", + "map": "./part[partType = SFX]" + } + ] + }, + { + "id": "Practitioner.name.period", + "path": "Practitioner.name.period", + "short": "Time period when name was/is in use", + "definition": "Indicates the period of time when this name was valid for the named person.", + "requirements": "Allows names to be placed in historical context.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.13 + XPN.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Practitioner.telecom", + "path": "Practitioner.telecom", + "short": "A contact detail for the practitioner (that apply to all roles)", + "definition": "A contact detail for the practitioner, e.g. a telephone number or an email address.", + "comment": "Person may have multiple ways to be contacted with different uses or applicable periods. May need to have options for contacting the person urgently and to help with identification. These typically will have home numbers, or mobile numbers that are not role specific.", + "requirements": "Need to know how to reach a practitioner independent to any roles the practitioner may have.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRT-15, STF-10, ROL-12" + }, + { + "identity": "rim", + "map": "./telecom" + }, + { + "identity": "servd", + "map": "./ContactPoints" + } + ] + }, + { + "id": "Practitioner.address", + "path": "Practitioner.address", + "short": "Address(es) of the practitioner that are not role specific (typically home address)", + "definition": "Address(es) of the practitioner that are not role specific (typically home address). \rWork addresses are not typically entered in this property as they are usually role dependent.", + "comment": "The PractitionerRole does not have an address value on it, as it is expected that the location property be used for this purpose (which has an address).", + "requirements": "The home/mailing address of the practitioner is often required for employee administration purposes, and also for some rostering services where the start point (practitioners home) can be used in calculations.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.address", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Address" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "ORC-24, STF-11, ROL-11, PRT-14" + }, + { + "identity": "rim", + "map": "./addr" + }, + { + "identity": "servd", + "map": "./Addresses" + } + ] + }, + { + "id": "Practitioner.gender", + "path": "Practitioner.gender", + "short": "male | female | other | unknown", + "definition": "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.", + "requirements": "Needed to address the person correctly.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.gender", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AdministrativeGender" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "required", + "description": "The gender of a person used for administrative purposes.", + "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "STF-5" + }, + { + "identity": "rim", + "map": "./administrativeGender" + }, + { + "identity": "servd", + "map": "./GenderCode" + } + ] + }, + { + "id": "Practitioner.birthDate", + "path": "Practitioner.birthDate", + "short": "The date on which the practitioner was born", + "definition": "The date of birth for the practitioner.", + "requirements": "Needed for identification.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.birthDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "STF-6" + }, + { + "identity": "rim", + "map": "./birthTime" + }, + { + "identity": "servd", + "map": "(not represented in ServD)" + } + ] + }, + { + "id": "Practitioner.photo", + "path": "Practitioner.photo", + "short": "Image of the person", + "definition": "Image of the person.", + "requirements": "Many EHR systems have the capability to capture an image of patients and personnel. Fits with newer social media usage too.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.photo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "./subjectOf/ObservationEvent[code=\"photo\"]/value" + }, + { + "identity": "servd", + "map": "./ImageURI (only supports the URI reference)" + } + ] + }, + { + "id": "Practitioner.qualification", + "path": "Practitioner.qualification", + "short": "Certification, licenses, or training pertaining to the provision of care", + "definition": "The official certifications, training, and licenses that authorize or otherwise pertain to the provision of care by the practitioner. For example, a medical license issued by a medical board authorizing the practitioner to practice medicine within a certian locality.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.qualification", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "CER?" + }, + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].code" + }, + { + "identity": "servd", + "map": "./Qualifications" + } + ] + }, + { + "id": "Practitioner.qualification.id", + "path": "Practitioner.qualification.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner.qualification.extension", + "path": "Practitioner.qualification.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner.qualification.modifierExtension", + "path": "Practitioner.qualification.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner.qualification.identifier", + "path": "Practitioner.qualification.identifier", + "short": "An identifier for this qualification for the practitioner", + "definition": "An identifier that applies to this person's qualification in this role.", + "requirements": "Often, specific identities are assigned for the qualification.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.qualification.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].id" + } + ] + }, + { + "id": "Practitioner.qualification.code", + "path": "Practitioner.qualification.code", + "short": "Coded representation of the qualification", + "definition": "Coded representation of the qualification.", + "min": 1, + "max": "1", + "base": { + "path": "Practitioner.qualification.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Qualification" + } + ], + "strength": "example", + "description": "Specific qualification the practitioner has to provide a service.", + "valueSet": "http://terminology.hl7.org/ValueSet/v2-2.7-0360" + }, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].code" + }, + { + "identity": "servd", + "map": "./Qualifications.Value" + } + ] + }, + { + "id": "Practitioner.qualification.period", + "path": "Practitioner.qualification.period", + "short": "Period during which the qualification is valid", + "definition": "Period during which the qualification is valid.", + "requirements": "Qualifications are often for a limited period of time, and can be revoked.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.qualification.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].effectiveTime" + }, + { + "identity": "servd", + "map": "./Qualifications.StartDate and ./Qualifications.EndDate" + } + ] + }, + { + "id": "Practitioner.qualification.issuer", + "path": "Practitioner.qualification.issuer", + "short": "Organization that regulates and issues the qualification", + "definition": "Organization that regulates and issues the qualification.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.qualification.issuer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].scoper" + } + ] + }, + { + "id": "Practitioner.communication", + "path": "Practitioner.communication", + "short": "A language the practitioner can use in patient communication", + "definition": "A language the practitioner can use in patient communication.", + "comment": "The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.", + "requirements": "Knowing which language a practitioner speaks can help in facilitating communication with patients.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.communication", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-15, NK1-20, LAN-2" + }, + { + "identity": "rim", + "map": "./languageCommunication" + }, + { + "identity": "servd", + "map": "./Languages.LanguageSpokenCode" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Practitioner", + "path": "Practitioner", + "definition": "This is basic constraint on provider for use in US Core resources.", + "alias": [ + "Provider" + ], + "mustSupport": false + }, + { + "id": "Practitioner.identifier", + "path": "Practitioner.identifier", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "comment": "NPI must be supported as the identifier system in the US, Tax id is allowed, Local id is allowed in addition to another identifier supplied by a jurisdictional authority such as a practitioner's *Drug Enforcement Administration (DEA)* number.", + "min": 1, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mustSupport": true + }, + { + "id": "Practitioner.identifier.system", + "path": "Practitioner.identifier.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "mustSupport": true + }, + { + "id": "Practitioner.identifier.value", + "path": "Practitioner.identifier.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Practitioner.identifier:NPI", + "path": "Practitioner.identifier", + "sliceName": "NPI", + "min": 0, + "max": "1", + "type": [ + { + "code": "Identifier" + } + ], + "patternIdentifier": { + "system": "http://hl7.org/fhir/sid/us-npi" + }, + "mustSupport": true + }, + { + "id": "Practitioner.name", + "path": "Practitioner.name", + "min": 1, + "max": "*", + "type": [ + { + "code": "HumanName" + } + ], + "mustSupport": true + }, + { + "id": "Practitioner.name.family", + "path": "Practitioner.name.family", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-practitionerrole.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-practitionerrole.json new file mode 100644 index 00000000000..85398a1e36d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-practitionerrole.json @@ -0,0 +1,2121 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-practitionerrole", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "version": "4.0.0", + "name": "USCorePractitionerRoleProfile", + "title": "US Core PractitionerRole Profile", + "status": "active", + "experimental": false, + "date": "2019-08-11", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The practitioner roles referenced in the US Core profiles.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "servd", + "uri": "http://www.omg.org/spec/ServD/1.0/", + "name": "ServD" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "PractitionerRole", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "PractitionerRole", + "path": "PractitionerRole", + "short": "Roles/organizations the practitioner is associated with", + "definition": "This is basic constraint on PractitionerRole for use in US Core resources.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "pd-1", + "severity": "error", + "human": "SHALL have contact information or a reference to an Endpoint", + "expression": "telecom or endpoint", + "xpath": "exists(f:telecom) or exists(f:endpoint)" + }, + { + "key": "us-core-13", + "severity": "error", + "human": "SHALL have a practitioner, an organization, a healthcare service, or a location.", + "expression": "practitioner or organization or healthcareService or location", + "xpath": "exists(f:practitioner) or exists(f:organization) or exists(f:healthcareService) or exists(f:location)" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "PRD (as one example)" + }, + { + "identity": "rim", + "map": "Role" + }, + { + "identity": "servd", + "map": "ServiceSiteProvider" + } + ] + }, + { + "id": "PractitionerRole.id", + "path": "PractitionerRole.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "PractitionerRole.meta", + "path": "PractitionerRole.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "PractitionerRole.implicitRules", + "path": "PractitionerRole.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "PractitionerRole.language", + "path": "PractitionerRole.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "PractitionerRole.text", + "path": "PractitionerRole.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "PractitionerRole.contained", + "path": "PractitionerRole.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "PractitionerRole.extension", + "path": "PractitionerRole.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "PractitionerRole.modifierExtension", + "path": "PractitionerRole.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "PractitionerRole.identifier", + "path": "PractitionerRole.identifier", + "short": "Business Identifiers that are specific to a role/location", + "definition": "Business Identifiers that are specific to a role/location.", + "requirements": "Often, specific identities are assigned for the agent.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "PRD-7 (or XCN.1)" + }, + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "servd", + "map": "./Identifiers" + } + ] + }, + { + "id": "PractitionerRole.active", + "path": "PractitionerRole.active", + "short": "Whether this practitioner role record is in active use", + "definition": "Whether this practitioner role record is in active use.", + "comment": "If this value is false, you may refer to the period to see when the role was in active use. If there is no period specified, no inference can be made about when it was active.", + "requirements": "Need to be able to mark a practitioner role record as not to be used because it was created in error, or otherwise no longer in active use.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.active", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "STF-7" + }, + { + "identity": "rim", + "map": ".statusCode" + } + ] + }, + { + "id": "PractitionerRole.period", + "path": "PractitionerRole.period", + "short": "The period during which the practitioner is authorized to perform in these role(s)", + "definition": "The period during which the person is authorized to act as a practitioner in these role(s) for the organization.", + "requirements": "Even after the agencies is revoked, the fact that it existed must still be recorded.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "PRD-8/9 / PRA-5.4" + }, + { + "identity": "rim", + "map": ".performance[@typeCode <= 'PPRF'].ActDefinitionOrEvent.effectiveTime" + }, + { + "identity": "servd", + "map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" + } + ] + }, + { + "id": "PractitionerRole.practitioner", + "path": "PractitionerRole.practitioner", + "short": "Practitioner that is able to provide the defined services for the organization", + "definition": "Practitioner that is able to provide the defined services for the organization.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.practitioner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + } + ], + "condition": [ + "us-core-13" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".player" + } + ] + }, + { + "id": "PractitionerRole.organization", + "path": "PractitionerRole.organization", + "short": "Organization where the roles are available", + "definition": "The organization where the Practitioner performs the roles associated.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.organization", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + } + ], + "condition": [ + "us-core-13" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".scoper" + } + ] + }, + { + "id": "PractitionerRole.code", + "path": "PractitionerRole.code", + "short": "Roles which this practitioner may perform", + "definition": "Roles which this practitioner is authorized to perform for the organization.", + "comment": "A person may have more than one role.", + "requirements": "Need to know what authority the practitioner has - what can they do?", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.code", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Provider role codes consisting of NUCC Health Care Provider Taxonomy Code Set for providers.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role" + }, + "mapping": [ + { + "identity": "v2", + "map": "PRD-1 / STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "servd", + "map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" + } + ] + }, + { + "id": "PractitionerRole.specialty", + "path": "PractitionerRole.specialty", + "short": "Specific specialty of the practitioner", + "definition": "Specific specialty of the practitioner.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.specialty", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066" + }, + "mapping": [ + { + "identity": "v2", + "map": "PRA-5" + }, + { + "identity": "rim", + "map": ".player.HealthCareProvider[@classCode = 'PROV'].code" + }, + { + "identity": "servd", + "map": "./Specialty" + } + ] + }, + { + "id": "PractitionerRole.location", + "path": "PractitionerRole.location", + "short": "The location(s) at which this practitioner provides care", + "definition": "The location(s) at which this practitioner provides care.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.location", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "condition": [ + "us-core-13" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.where[x]" + }, + { + "identity": "rim", + "map": ".performance.ActDefinitionOrEvent.ServiceDeliveryLocation[@classCode = 'SDLOC']" + }, + { + "identity": "servd", + "map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)
However these are accessed via the Site.ServiceSite.ServiceSiteProvider record. (The Site has the location)" + } + ] + }, + { + "id": "PractitionerRole.healthcareService", + "path": "PractitionerRole.healthcareService", + "short": "The list of healthcare services that this worker provides for this role's Organization/Location(s)", + "definition": "The list of healthcare services that this worker provides for this role's Organization/Location(s).", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.healthcareService", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/HealthcareService" + ] + } + ], + "condition": [ + "us-core-13" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "EDU-2 / AFF-3" + }, + { + "identity": "rim", + "map": ".player.QualifiedEntity[@classCode = 'QUAL'].code" + } + ] + }, + { + "id": "PractitionerRole.telecom", + "path": "PractitionerRole.telecom", + "short": "Contact details that are specific to the role/location/service", + "definition": "Contact details that are specific to the role/location/service.", + "requirements": "Often practitioners have a dedicated line for each location (or service) that they work at, and need to be able to define separate contact details for each of these.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "condition": [ + "pd-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".telecom" + } + ] + }, + { + "id": "PractitionerRole.telecom.id", + "path": "PractitionerRole.telecom.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "PractitionerRole.telecom.extension", + "path": "PractitionerRole.telecom.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "PractitionerRole.telecom.system", + "path": "PractitionerRole.telecom.system", + "short": "phone | fax | email | pager | url | sms | other", + "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.", + "min": 1, + "max": "1", + "base": { + "path": "ContactPoint.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "condition": [ + "cpt-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactPointSystem" + } + ], + "strength": "required", + "description": "Telecommunications form for contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.3" + }, + { + "identity": "rim", + "map": "./scheme" + }, + { + "identity": "servd", + "map": "./ContactPointType" + } + ] + }, + { + "id": "PractitionerRole.telecom.value", + "path": "PractitionerRole.telecom.value", + "short": "The actual contact point details", + "definition": "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).", + "comment": "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.", + "requirements": "Need to support legacy numbers that are not in a tightly controlled format.", + "min": 1, + "max": "1", + "base": { + "path": "ContactPoint.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XTN.1 (or XTN.12)" + }, + { + "identity": "rim", + "map": "./url" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "PractitionerRole.telecom.use", + "path": "PractitionerRole.telecom.use", + "short": "home | work | temp | old | mobile - purpose of this contact point", + "definition": "Identifies the purpose for the contact point.", + "comment": "Applications can assume that a contact is current unless it explicitly says that it is temporary or old.", + "requirements": "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactPointUse" + } + ], + "strength": "required", + "description": "Use of contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.2 - but often indicated by field" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./ContactPointPurpose" + } + ] + }, + { + "id": "PractitionerRole.telecom.rank", + "path": "PractitionerRole.telecom.rank", + "short": "Specify preferred order of use (1 = highest)", + "definition": "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.", + "comment": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.rank", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "n/a" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "PractitionerRole.telecom.period", + "path": "PractitionerRole.telecom.period", + "short": "Time period when the contact point was/is in use", + "definition": "Time period when the contact point was/is in use.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "PractitionerRole.availableTime", + "path": "PractitionerRole.availableTime", + "short": "Times the Service Site is available", + "definition": "A collection of times the practitioner is available or performing this role at the location and/or healthcareservice.", + "comment": "More detailed availability information may be provided in associated Schedule/Slot resources.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.availableTime", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.availableTime.id", + "path": "PractitionerRole.availableTime.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "PractitionerRole.availableTime.extension", + "path": "PractitionerRole.availableTime.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "PractitionerRole.availableTime.modifierExtension", + "path": "PractitionerRole.availableTime.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "PractitionerRole.availableTime.daysOfWeek", + "path": "PractitionerRole.availableTime.daysOfWeek", + "short": "mon | tue | wed | thu | fri | sat | sun", + "definition": "Indicates which days of the week are available between the start and end Times.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.availableTime.daysOfWeek", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DaysOfWeek" + } + ], + "strength": "required", + "description": "The days of the week.", + "valueSet": "http://hl7.org/fhir/ValueSet/days-of-week|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.availableTime.allDay", + "path": "PractitionerRole.availableTime.allDay", + "short": "Always available? e.g. 24 hour service", + "definition": "Is this always available? (hence times are irrelevant) e.g. 24 hour service.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.availableTime.allDay", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.availableTime.availableStartTime", + "path": "PractitionerRole.availableTime.availableStartTime", + "short": "Opening time of day (ignored if allDay = true)", + "definition": "The opening time of day. Note: If the AllDay flag is set, then this time is ignored.", + "comment": "The timezone is expected to be for where this HealthcareService is provided at.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.availableTime.availableStartTime", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "time" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.availableTime.availableEndTime", + "path": "PractitionerRole.availableTime.availableEndTime", + "short": "Closing time of day (ignored if allDay = true)", + "definition": "The closing time of day. Note: If the AllDay flag is set, then this time is ignored.", + "comment": "The timezone is expected to be for where this HealthcareService is provided at.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.availableTime.availableEndTime", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "time" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.notAvailable", + "path": "PractitionerRole.notAvailable", + "short": "Not available during this time due to provided reason", + "definition": "The practitioner is not available or performing this role during this period of time due to the provided reason.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.notAvailable", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.notAvailable.id", + "path": "PractitionerRole.notAvailable.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "PractitionerRole.notAvailable.extension", + "path": "PractitionerRole.notAvailable.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "PractitionerRole.notAvailable.modifierExtension", + "path": "PractitionerRole.notAvailable.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "PractitionerRole.notAvailable.description", + "path": "PractitionerRole.notAvailable.description", + "short": "Reason presented to the user explaining why time not available", + "definition": "The reason that can be presented to the user as to why this time is not available.", + "min": 1, + "max": "1", + "base": { + "path": "PractitionerRole.notAvailable.description", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "PractitionerRole.notAvailable.during", + "path": "PractitionerRole.notAvailable.during", + "short": "Service not available from this date", + "definition": "Service is not available (seasonally or for a public holiday) from this date.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.notAvailable.during", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.availabilityExceptions", + "path": "PractitionerRole.availabilityExceptions", + "short": "Description of availability exceptions", + "definition": "A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.availabilityExceptions", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.endpoint", + "path": "PractitionerRole.endpoint", + "short": "Technical endpoints providing access to services operated for the practitioner with this role", + "definition": "Technical endpoints providing access to services operated for the practitioner with this role.", + "requirements": "Organizations have multiple systems that provide various services and ,ay also be different for practitioners too.\r\rSo the endpoint satisfies the need to be able to define the technical connection details for how to connect to them, and for what purpose.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.endpoint", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Endpoint" + ] + } + ], + "condition": [ + "pd-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "PractitionerRole", + "path": "PractitionerRole", + "definition": "This is basic constraint on PractitionerRole for use in US Core resources.", + "constraint": [ + { + "key": "pd-1", + "severity": "error", + "human": "SHALL have contact information or a reference to an Endpoint", + "expression": "telecom or endpoint", + "xpath": "exists(f:telecom) or exists(f:endpoint)" + }, + { + "key": "us-core-13", + "severity": "error", + "human": "SHALL have a practitioner, an organization, a healthcare service, or a location.", + "expression": "practitioner or organization or healthcareService or location", + "xpath": "exists(f:practitioner) or exists(f:organization) or exists(f:healthcareService) or exists(f:location)" + } + ], + "mustSupport": false + }, + { + "id": "PractitionerRole.practitioner", + "path": "PractitionerRole.practitioner", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + } + ], + "condition": [ + "us-core-13" + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.organization", + "path": "PractitionerRole.organization", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + } + ], + "condition": [ + "us-core-13" + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.code", + "path": "PractitionerRole.code", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Provider role codes consisting of NUCC Health Care Provider Taxonomy Code Set for providers.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role" + } + }, + { + "id": "PractitionerRole.specialty", + "path": "PractitionerRole.specialty", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066" + } + }, + { + "id": "PractitionerRole.location", + "path": "PractitionerRole.location", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "condition": [ + "us-core-13" + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.healthcareService", + "path": "PractitionerRole.healthcareService", + "condition": [ + "us-core-13" + ] + }, + { + "id": "PractitionerRole.telecom", + "path": "PractitionerRole.telecom", + "min": 0, + "max": "*", + "type": [ + { + "code": "ContactPoint" + } + ], + "condition": [ + "pd-1" + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.telecom.system", + "path": "PractitionerRole.telecom.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.telecom.value", + "path": "PractitionerRole.telecom.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.endpoint", + "path": "PractitionerRole.endpoint", + "min": 0, + "max": "*", + "condition": [ + "pd-1" + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-procedure.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-procedure.json new file mode 100644 index 00000000000..0ca37ca52c2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-procedure.json @@ -0,0 +1,2477 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-procedure", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure", + "version": "4.0.0", + "name": "USCoreProcedureProfile", + "title": "US Core Procedure Profile", + "status": "active", + "experimental": false, + "date": "2020-06-29", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints and extensions on the Procedure resource for the minimal set of data to query and retrieve patient's procedure information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Procedure", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Procedure", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Procedure", + "path": "Procedure", + "short": "An action that is being or was performed on a patient", + "definition": "The US Core Condition Profile is based upon the core FHIR Procedure Resource and created to meet the 2015 Edition Common Clinical Data Set 'Procedures' requirements.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "rim", + "map": "Procedure[moodCode=EVN]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure" + } + ] + }, + { + "id": "Procedure.id", + "path": "Procedure.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Procedure.meta", + "path": "Procedure.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Procedure.implicitRules", + "path": "Procedure.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Procedure.language", + "path": "Procedure.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Procedure.text", + "path": "Procedure.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Procedure.contained", + "path": "Procedure.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure.extension", + "path": "Procedure.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure.modifierExtension", + "path": "Procedure.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure.identifier", + "path": "Procedure.identifier", + "short": "External Identifiers for this procedure", + "definition": "Business identifiers assigned to this procedure by the performer or other systems which remain constant as the resource is updated and is propagated from server to server.", + "comment": "This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and Person resource instances might share the same social insurance number.", + "requirements": "Allows identification of the procedure as it is known by various participating systems and in a way that remains consistent across servers.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "Some combination of ORC-2 / ORC-3 / OBR-2 / OBR-3 / IPC-1 / IPC-2 / IPC-3 / IPC-4" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Procedure.instantiatesCanonical", + "path": "Procedure.instantiatesCanonical", + "short": "Instantiates FHIR protocol or definition", + "definition": "The URL pointing to a FHIR-defined protocol, guideline, order set or other definition that is adhered to in whole or in part by this Procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.instantiatesCanonical", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "canonical", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/PlanDefinition", + "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", + "http://hl7.org/fhir/StructureDefinition/Measure", + "http://hl7.org/fhir/StructureDefinition/OperationDefinition", + "http://hl7.org/fhir/StructureDefinition/Questionnaire" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.instantiatesCanonical" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "Procedure.instantiatesUri", + "path": "Procedure.instantiatesUri", + "short": "Instantiates external protocol or definition", + "definition": "The URL pointing to an externally maintained protocol, guideline, order set or other definition that is adhered to in whole or in part by this Procedure.", + "comment": "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.instantiatesUri", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.instantiatesUri" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "Procedure.basedOn", + "path": "Procedure.basedOn", + "short": "A request for this procedure", + "definition": "A reference to a resource that contains details of the request for this procedure.", + "alias": [ + "fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Procedure.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target[classCode=(various e.g. PROC, OBS, PCPR, ACT, moodCode=RQO].code" + } + ] + }, + { + "id": "Procedure.partOf", + "path": "Procedure.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular procedure is a component or step.", + "comment": "The MedicationAdministration resource has a partOf reference to Procedure, but this is not a circular reference. For example, the anesthesia MedicationAdministration is part of the surgical Procedure (MedicationAdministration.partOf = Procedure). For example, the procedure to insert the IV port for an IV medication administration is part of the medication administration (Procedure.partOf = MedicationAdministration).", + "alias": [ + "container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Procedure.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=SBADM or PROC or OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Procedure.status", + "path": "Procedure.status", + "short": "preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown", + "definition": "A code specifying the state of the procedure. Generally, this will be the in-progress or completed state.", + "comment": "The \"unknown\" code is not to be used to convey other statuses. The \"unknown\" code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the procedure.\n\nThis element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "min": 1, + "max": "1", + "base": { + "path": "Procedure.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/event-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.status" + } + ] + }, + { + "id": "Procedure.statusReason", + "path": "Procedure.statusReason", + "short": "Reason for current status", + "definition": "Captures the reason for the current state of the procedure.", + "comment": "This is generally only used for \"exception\" statuses such as \"not-done\", \"suspended\" or \"aborted\". The reason for performing the event at all is captured in reasonCode, not here.", + "alias": [ + "Suspended Reason", + "Cancelled Reason" + ], + "min": 0, + "max": "1", + "base": { + "path": "Procedure.statusReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureNegationReason" + } + ], + "strength": "example", + "description": "A code that identifies the reason a procedure was not performed.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-not-performed-reason" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.statusReason" + }, + { + "identity": "rim", + "map": ".reason.Observation.value" + } + ] + }, + { + "id": "Procedure.category", + "path": "Procedure.category", + "short": "Classification of the procedure", + "definition": "A code that classifies the procedure for searching, sorting and display purposes (e.g. \"Surgical Procedure\").", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.category", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureCategory" + } + ], + "strength": "example", + "description": "A code that classifies a procedure for searching, sorting and display purposes.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Procedure.code", + "path": "Procedure.code", + "short": "Identification of the procedure", + "definition": "The specific procedure that is performed. Use text if the exact nature of the procedure cannot be coded (e.g. \"Laparoscopic Appendectomy\").", + "requirements": "0..1 to account for primarily narrative only resources.", + "alias": [ + "type" + ], + "min": 1, + "max": "1", + "base": { + "path": "Procedure.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Codes describing the type of Procedure", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "OBR-44/OBR-45" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.code" + } + ] + }, + { + "id": "Procedure.subject", + "path": "Procedure.subject", + "short": "Who the procedure was performed on", + "definition": "The person, animal or group on which the procedure was performed.", + "alias": [ + "patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "Procedure.subject", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.subject" + } + ] + }, + { + "id": "Procedure.encounter", + "path": "Procedure.encounter", + "short": "Encounter created as part of", + "definition": "The Encounter during which this Procedure was created or performed or to which the creation of this record is tightly associated.", + "comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Procedure.performed[x]", + "path": "Procedure.performed[x]", + "short": "When the procedure was performed", + "definition": "Estimated or actual date, date-time, period, or age when the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.", + "comment": "Age is generally used when the patient reports an age at which the procedure was performed. Range is generally used when the patient reports an age range when the procedure was performed, such as sometime between 20-25 years old. dateTime supports a range of precision due to some procedures being reported as past procedures that might not have millisecond precision while other procedures performed and documented during the encounter might have more precise UTC timestamps with timezone.", + "min": 1, + "max": "1", + "base": { + "path": "Procedure.performed[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "string" + }, + { + "code": "Age" + }, + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.performed[x]" + } + ] + }, + { + "id": "Procedure.recorder", + "path": "Procedure.recorder", + "short": "Who recorded the procedure", + "definition": "Individual who recorded the record and takes responsibility for its content.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.recorder", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.author" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + } + ] + }, + { + "id": "Procedure.asserter", + "path": "Procedure.asserter", + "short": "Person who asserts this procedure", + "definition": "Individual who is making the procedure statement.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.asserter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role" + } + ] + }, + { + "id": "Procedure.performer", + "path": "Procedure.performer", + "short": "The people who performed the procedure", + "definition": "Limited to \"real\" people rather than equipment.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF]" + } + ] + }, + { + "id": "Procedure.performer.id", + "path": "Procedure.performer.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure.performer.extension", + "path": "Procedure.performer.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure.performer.modifierExtension", + "path": "Procedure.performer.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure.performer.function", + "path": "Procedure.performer.function", + "short": "Type of performance", + "definition": "Distinguishes the type of involvement of the performer in the procedure. For example, surgeon, anaesthetist, endoscopist.", + "requirements": "Allows disambiguation of the types of involvement of different performers.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.performer.function", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedurePerformerRole" + } + ], + "strength": "example", + "description": "A code that identifies the role of a performer of the procedure.", + "valueSet": "http://hl7.org/fhir/ValueSet/performer-role" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.function" + }, + { + "identity": "v2", + "map": "Some combination of STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17 / OBX-25" + }, + { + "identity": "rim", + "map": ".functionCode" + } + ] + }, + { + "id": "Procedure.performer.actor", + "path": "Procedure.performer.actor", + "short": "The reference to the practitioner", + "definition": "The practitioner who was involved in the procedure.", + "requirements": "A reference to Device supports use cases, such as pacemakers.", + "min": 1, + "max": "1", + "base": { + "path": "Procedure.performer.actor", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Device" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "ORC-19/PRT-5" + }, + { + "identity": "rim", + "map": ".role" + } + ] + }, + { + "id": "Procedure.performer.onBehalfOf", + "path": "Procedure.performer.onBehalfOf", + "short": "Organization the device or practitioner was acting for", + "definition": "The organization the device or practitioner was acting on behalf of.", + "requirements": "Practitioners and Devices can be associated with multiple organizations. This element indicates which organization they were acting on behalf of when performing the action.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.performer.onBehalfOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".scoper" + } + ] + }, + { + "id": "Procedure.location", + "path": "Procedure.location", + "short": "Where the procedure happened", + "definition": "The location where the procedure actually happened. E.g. a newborn at home, a tracheostomy at a restaurant.", + "requirements": "Ties a procedure to where the records are likely kept.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.location", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.where[x]" + }, + { + "identity": "rim", + "map": ".participation[typeCode=LOC].role[classCode=SDLOC]" + } + ] + }, + { + "id": "Procedure.reasonCode", + "path": "Procedure.reasonCode", + "short": "Coded reason procedure performed", + "definition": "The coded reason why the procedure was performed. This may be a coded entity of some type, or may simply be present as text.", + "comment": "Use Procedure.reasonCode when a code sufficiently describes the reason. Use Procedure.reasonReference when referencing a resource, which allows more information to be conveyed, such as onset date. Procedure.reasonCode and Procedure.reasonReference are not meant to be duplicative. For a single reason, either Procedure.reasonCode or Procedure.reasonReference can be used. Procedure.reasonCode may be a summary code, or Procedure.reasonReference may be used to reference a very precise definition of the reason using Condition | Observation | Procedure | DiagnosticReport | DocumentReference. Both Procedure.reasonCode and Procedure.reasonReference can be used if they are describing different reasons for the procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.reasonCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureReason" + } + ], + "strength": "example", + "description": "A code that identifies the reason a procedure is required.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-reason" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonCode" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": ".reasonCode" + } + ] + }, + { + "id": "Procedure.reasonReference", + "path": "Procedure.reasonReference", + "short": "The justification that the procedure was performed", + "definition": "The justification of why the procedure was performed.", + "comment": "It is possible for a procedure to be a reason (such as C-Section) for another procedure (such as an epidural). Other examples include endoscopy for dilatation and biopsy (a combination of diagnostic and therapeutic use). \nUse Procedure.reasonCode when a code sufficiently describes the reason. Use Procedure.reasonReference when referencing a resource, which allows more information to be conveyed, such as onset date. Procedure.reasonCode and Procedure.reasonReference are not meant to be duplicative. For a single reason, either Procedure.reasonCode or Procedure.reasonReference can be used. Procedure.reasonCode may be a summary code, or Procedure.reasonReference may be used to reference a very precise definition of the reason using Condition | Observation | Procedure | DiagnosticReport | DocumentReference. Both Procedure.reasonCode and Procedure.reasonReference can be used if they are describing different reasons for the procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.reasonReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "http://hl7.org/fhir/StructureDefinition/DocumentReference" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonReference" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": ".reasonCode" + } + ] + }, + { + "id": "Procedure.bodySite", + "path": "Procedure.bodySite", + "short": "Target body sites", + "definition": "Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion.", + "comment": "If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [procedure-targetbodystructure](http://hl7.org/fhir/R4/extension-procedure-targetbodystructure.html).", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.bodySite", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": ".targetSiteCode" + } + ] + }, + { + "id": "Procedure.outcome", + "path": "Procedure.outcome", + "short": "The result of procedure", + "definition": "The outcome of the procedure - did it resolve the reasons for the procedure being performed?", + "comment": "If outcome contains narrative text only, it can be captured using the CodeableConcept.text.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.outcome", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureOutcome" + } + ], + "strength": "example", + "description": "An outcome of a procedure - whether it was resolved or otherwise.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-outcome" + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=OUT].target.text" + } + ] + }, + { + "id": "Procedure.report", + "path": "Procedure.report", + "short": "Any report resulting from the procedure", + "definition": "This could be a histology result, pathology report, surgical report, etc.", + "comment": "There could potentially be multiple reports - e.g. if this was a procedure which took multiple biopsies resulting in a number of anatomical pathology reports.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.report", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/Composition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Procedure.complication", + "path": "Procedure.complication", + "short": "Complication following the procedure", + "definition": "Any complications that occurred during the procedure, or in the immediate post-performance period. These are generally tracked separately from the notes, which will typically describe the procedure itself rather than any 'post procedure' issues.", + "comment": "If complications are only expressed by the narrative text, they can be captured using the CodeableConcept.text.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.complication", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureComplication" + } + ], + "strength": "example", + "description": "Codes describing complications that resulted from a procedure.", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-code" + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=OUTC].target[classCode=OBS, code=\"complication\", moodCode=EVN].value" + } + ] + }, + { + "id": "Procedure.complicationDetail", + "path": "Procedure.complicationDetail", + "short": "A condition that is a result of the procedure", + "definition": "Any complications that occurred during the procedure, or in the immediate post-performance period.", + "requirements": "This is used to document a condition that is a result of the procedure, not the condition that was the reason for the procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.complicationDetail", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=OUTC].target[classCode=OBS, code=\"complication\", moodCode=EVN].value" + } + ] + }, + { + "id": "Procedure.followUp", + "path": "Procedure.followUp", + "short": "Instructions for follow up", + "definition": "If the procedure required specific follow up - e.g. removal of sutures. The follow up may be represented as a simple note or could potentially be more complex, in which case the CarePlan resource can be used.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.followUp", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureFollowUp" + } + ], + "strength": "example", + "description": "Specific follow up required for a procedure e.g. removal of sutures.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-followup" + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target[classCode=ACT, moodCode=INT].code" + } + ] + }, + { + "id": "Procedure.note", + "path": "Procedure.note", + "short": "Additional information about the procedure", + "definition": "Any other notes and comments about the procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.note" + }, + { + "identity": "v2", + "map": "NTE" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "Procedure.focalDevice", + "path": "Procedure.focalDevice", + "short": "Manipulated, implanted, or removed device", + "definition": "A device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.focalDevice", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=DEV].role[classCode=MANU]" + } + ] + }, + { + "id": "Procedure.focalDevice.id", + "path": "Procedure.focalDevice.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure.focalDevice.extension", + "path": "Procedure.focalDevice.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure.focalDevice.modifierExtension", + "path": "Procedure.focalDevice.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure.focalDevice.action", + "path": "Procedure.focalDevice.action", + "short": "Kind of change to device", + "definition": "The kind of change that happened to the device during the procedure.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.focalDevice.action", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DeviceActionKind" + } + ], + "strength": "preferred", + "description": "A kind of change that happened to the device during the procedure.", + "valueSet": "http://hl7.org/fhir/ValueSet/device-action" + }, + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"procedure device action\"].value=:procedure device action codes" + } + ] + }, + { + "id": "Procedure.focalDevice.manipulated", + "path": "Procedure.focalDevice.manipulated", + "short": "Device that was changed", + "definition": "The device that was manipulated (changed) during the procedure.", + "min": 1, + "max": "1", + "base": { + "path": "Procedure.focalDevice.manipulated", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=DEV].role[classCode=SDLOC]" + } + ] + }, + { + "id": "Procedure.usedReference", + "path": "Procedure.usedReference", + "short": "Items used during procedure", + "definition": "Identifies medications, devices and any other substance used as part of the procedure.", + "comment": "For devices actually implanted or removed, use Procedure.device.", + "requirements": "Used for tracking contamination, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.usedReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/Medication", + "http://hl7.org/fhir/StructureDefinition/Substance" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=DEV].role[classCode=MANU] or\n.participation[typeCode=CSM].role[classCode=ADMM] (for Medication or Substance)" + } + ] + }, + { + "id": "Procedure.usedCode", + "path": "Procedure.usedCode", + "short": "Coded items used during the procedure", + "definition": "Identifies coded items that were used as part of the procedure.", + "comment": "For devices actually implanted or removed, use Procedure.device.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.usedCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureUsed" + } + ], + "strength": "example", + "description": "Codes describing items used during a procedure.", + "valueSet": "http://hl7.org/fhir/ValueSet/device-kind" + }, + "mapping": [ + { + "identity": "rim", + "map": "participation[typeCode=Dev].role[classCode=MANU]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Procedure", + "path": "Procedure", + "definition": "The US Core Condition Profile is based upon the core FHIR Procedure Resource and created to meet the 2015 Edition Common Clinical Data Set 'Procedures' requirements.", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure" + } + ] + }, + { + "id": "Procedure.status", + "path": "Procedure.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/event-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.status" + } + ] + }, + { + "id": "Procedure.code", + "path": "Procedure.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Codes describing the type of Procedure", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.code" + } + ] + }, + { + "id": "Procedure.subject", + "path": "Procedure.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.subject" + } + ] + }, + { + "id": "Procedure.performed[x]", + "path": "Procedure.performed[x]", + "min": 1, + "max": "1", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "string" + }, + { + "code": "Age" + }, + { + "code": "Range" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.performed[x]" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-provenance.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-provenance.json new file mode 100644 index 00000000000..38e9db55170 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-provenance.json @@ -0,0 +1,2962 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-provenance", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance", + "version": "4.0.0", + "name": "USCoreProvenance", + "title": "US Core Provenance Profile", + "status": "active", + "date": "2019-08-05", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Draft set of requirements to satisfy Basic Provenance Requirements.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w3c.prov", + "uri": "http://www.w3.org/ns/prov", + "name": "W3C PROV" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "fhirauditevent", + "uri": "http://hl7.org/fhir/auditevent", + "name": "FHIR AuditEvent Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Provenance", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Provenance", + "path": "Provenance", + "short": "US Core Provenance", + "definition": "The US Core Provenance Profile is based upon the Argonaut Data Query requirements.", + "comment": "Some parties may be duplicated between the target resource and its provenance. For instance, the prescriber is usually (but not always) the author of the prescription resource. This resource is defined with close consideration for W3C Provenance.", + "alias": [ + "History", + "Event", + "Activity", + "Basic Provenance" + ], + "min": 0, + "max": "*", + "base": { + "path": "Provenance", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "rim", + "map": "ControlAct[isNormalAct() and subsumes(CACT, classCode) and moodCode=EVN]" + }, + { + "identity": "w3c.prov", + "map": "Activity" + } + ] + }, + { + "id": "Provenance.id", + "path": "Provenance.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Provenance.meta", + "path": "Provenance.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Provenance.implicitRules", + "path": "Provenance.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Provenance.language", + "path": "Provenance.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Provenance.text", + "path": "Provenance.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Provenance.contained", + "path": "Provenance.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.extension", + "path": "Provenance.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.modifierExtension", + "path": "Provenance.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.target", + "path": "Provenance.target", + "short": "The Resource this Provenance record supports", + "definition": "The Reference(s) that were generated or updated by the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity.", + "comment": "Target references are usually version specific, but might not be, if a version has not been assigned or if the provenance information is part of the set of resources being maintained (i.e. a document). When using the RESTful API, the identity of the resource might not be known (especially not the version specific one); the client may either submit the resource first, and then the provenance, or it may submit both using a single transaction. See the notes on transaction for further discussion.", + "min": 1, + "max": "*", + "base": { + "path": "Provenance.target", + "min": 1, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": "./outboundRelationship[isNormalActRelationship() and typeCode=SUBJ]/target OR ./participation[isNormalParticipation() and typeCode=SBJ]/role OR ./participation[isNormalParticipation() and typeCode=SBJ]/role[isNormalRole()]/player" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.entity.reference" + }, + { + "identity": "w3c.prov", + "map": "Entity Created/Updated" + } + ] + }, + { + "id": "Provenance.target.id", + "path": "Provenance.target.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.target.extension", + "path": "Provenance.target.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.target.reference", + "path": "Provenance.target.reference", + "short": "Literal reference, Relative, internal or absolute URL", + "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", + "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", + "min": 1, + "max": "1", + "base": { + "path": "Reference.reference", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "ref-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.target.type", + "path": "Provenance.target.type", + "short": "Type the reference refers to (e.g. \"Patient\")", + "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", + "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRResourceTypeExt" + } + ], + "strength": "extensible", + "description": "Aa resource (or, for logical models, the URI of the logical model).", + "valueSet": "http://hl7.org/fhir/ValueSet/resource-types" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.target.identifier", + "path": "Provenance.target.identifier", + "short": "Logical reference, when literal reference is not known", + "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", + "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", + "min": 0, + "max": "1", + "base": { + "path": "Reference.identifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".identifier" + } + ] + }, + { + "id": "Provenance.target.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Provenance.target.display", + "short": "Text alternative for the resource", + "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", + "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.occurred[x]", + "path": "Provenance.occurred[x]", + "short": "When the activity occurred", + "definition": "The period during which the activity occurred.", + "comment": "The period can be a little arbitrary; where possible, the time should correspond to human assessment of the activity time.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.occurred[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + }, + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurred[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "rim", + "map": "./effectiveTime[type=IVL_TS]" + }, + { + "identity": "w3c.prov", + "map": "Activity.startTime & Activity.endTime" + } + ] + }, + { + "id": "Provenance.recorded", + "path": "Provenance.recorded", + "short": "Timestamp when the activity was recorded / updated", + "definition": "The instant of time at which the activity was recorded.", + "comment": "This can be a little different from the time stamp on the resource if there is a delay between recording the event and updating the provenance and target resource.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.recorded", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "rim", + "map": "unique(./participation[isNormalParticipation() and typeCode=AUT]/time[type=TS])" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.recorded" + }, + { + "identity": "w3c.prov", + "map": "Activity.when" + } + ] + }, + { + "id": "Provenance.policy", + "path": "Provenance.policy", + "short": "Policy or plan the activity was defined by", + "definition": "Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc.", + "comment": "For example: Where an OAuth token authorizes, the unique identifier from the OAuth token is placed into the policy element Where a policy engine (e.g. XACML) holds policy logic, the unique policy identifier is placed into the policy element.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.policy", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "./inboundRelationship[isNormalActRelationship() and typeCode=\"SUBJ\"]/source[isNormalAct and subsumes(POLICY, classCode) and moodCode=EVN]/text[typeCode='ED'/tel" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.policy" + } + ] + }, + { + "id": "Provenance.location", + "path": "Provenance.location", + "short": "Where the activity occurred, if relevant", + "definition": "Where the activity occurred, if relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.location", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.location" + }, + { + "identity": "w5", + "map": "FiveWs.where[x]" + }, + { + "identity": "rim", + "map": "unique(./participation[isNormalParticipation() and typeCode=LOC]/role[isNormalRole() and subsumes(SDLOC, classCode)]/player[isNormalEntity and classCode=\"LOC\" and determinerCode=\"INST\"]" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.location" + }, + { + "identity": "w3c.prov", + "map": "Activity.location" + } + ] + }, + { + "id": "Provenance.reason", + "path": "Provenance.reason", + "short": "Reason the activity is occurring", + "definition": "The reason that the activity was taking place.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.reason", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProvenanceReason" + } + ], + "strength": "extensible", + "description": "The reason the activity took place.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-PurposeOfUse" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonCode" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": "unique(./reasonCode)" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.purposeOfEvent" + }, + { + "identity": "w3c.prov", + "map": "Activity.Activity" + } + ] + }, + { + "id": "Provenance.activity", + "path": "Provenance.activity", + "short": "Activity that occurred", + "definition": "An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.activity", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProvenanceActivity" + } + ], + "strength": "extensible", + "description": "The activity that took place.", + "valueSet": "http://hl7.org/fhir/ValueSet/provenance-activity-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": "Act.code" + }, + { + "identity": "w3c.prov", + "map": "Activity.Activity" + } + ] + }, + { + "id": "Provenance.agent", + "path": "Provenance.agent", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "type" + } + ], + "rules": "open" + }, + "short": "Actor involved", + "definition": "An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.", + "comment": "Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.", + "requirements": "An agent can be a person, an organization, software, device, or other entities that may be ascribed responsibility.", + "min": 1, + "max": "*", + "base": { + "path": "Provenance.agent", + "min": 1, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer" + }, + { + "identity": "w5", + "map": "FiveWs.who" + }, + { + "identity": "rim", + "map": "./participation[isNormalParticipation()] OR ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent" + }, + { + "identity": "w3c.prov", + "map": "Agent" + } + ] + }, + { + "id": "Provenance.agent.id", + "path": "Provenance.agent.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.agent.extension", + "path": "Provenance.agent.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.agent.modifierExtension", + "path": "Provenance.agent.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.agent.type", + "path": "Provenance.agent.type", + "short": "How the agent participated", + "definition": "The participation the agent had with respect to the activity.", + "comment": "For example: author, performer, enterer, attester, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.agent.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.function" + }, + { + "identity": "rim", + "map": ".role" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.type" + }, + { + "identity": "w3c.prov", + "map": "Agent.Attribution" + } + ] + }, + { + "id": "Provenance.agent.role", + "path": "Provenance.agent.role", + "short": "What the agents role was", + "definition": "The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity.", + "comment": "For example: doctor, nurse, clerk, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.agent.role", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProvenanceAgentRole" + } + ], + "strength": "example", + "description": "The role that a provenance agent played with respect to the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/security-role-type" + }, + "mapping": [ + { + "identity": "rim", + "map": ".typecode" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.role" + } + ] + }, + { + "id": "Provenance.agent.who", + "path": "Provenance.agent.who", + "short": "Who participated", + "definition": "The individual, device or organization that participated in the event.", + "comment": "whoIdentity should be used when the agent is not a Resource type.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.agent.who", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Device" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + null, + null, + null, + null, + null + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Provenance.agent.onBehalfOf", + "path": "Provenance.agent.onBehalfOf", + "short": "Who the agent is representing", + "definition": "The individual, device, or organization for whom the change was made.", + "comment": "onBehalfOfIdentity should be used when the agent is not a Resource type.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.agent.onBehalfOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "provenance-1", + "severity": "error", + "human": "onBehalfOf SHALL be present when Provenance.agent.who is a Practitioner or Device", + "expression": "((%resource.agent.who.resolve() is Practitioner) or (%resource.agent.who.resolve() is Device)) implies exists()" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor", + "path": "Provenance.agent", + "sliceName": "ProvenanceAuthor", + "short": "Actor involved", + "definition": "An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.", + "comment": "Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.", + "requirements": "An agent can be a person, an organization, software, device, or other entities that may be ascribed responsibility.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.agent", + "min": 1, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer" + }, + { + "identity": "w5", + "map": "FiveWs.who" + }, + { + "identity": "rim", + "map": "./participation[isNormalParticipation()] OR ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent" + }, + { + "identity": "w3c.prov", + "map": "Agent" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.id", + "path": "Provenance.agent.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.extension", + "path": "Provenance.agent.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.modifierExtension", + "path": "Provenance.agent.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.type", + "path": "Provenance.agent.type", + "short": "How the agent participated", + "definition": "The participation the agent had with respect to the activity.", + "comment": "For example: author, performer, enterer, attester, etc.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.agent.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", + "code": "author" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProvenanceAgentType" + } + ], + "strength": "extensible", + "description": "The type of participation that a provenance agent played with respect to the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/provenance-agent-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.function" + }, + { + "identity": "rim", + "map": ".role" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.type" + }, + { + "identity": "w3c.prov", + "map": "Agent.Attribution" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.role", + "path": "Provenance.agent.role", + "short": "What the agents role was", + "definition": "The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity.", + "comment": "For example: doctor, nurse, clerk, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.agent.role", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProvenanceAgentRole" + } + ], + "strength": "example", + "description": "The role that a provenance agent played with respect to the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/security-role-type" + }, + "mapping": [ + { + "identity": "rim", + "map": ".typecode" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.role" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.who", + "path": "Provenance.agent.who", + "short": "Who participated", + "definition": "The individual, device or organization that participated in the event.", + "comment": "whoIdentity should be used when the agent is not a Resource type.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.agent.who", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.onBehalfOf", + "path": "Provenance.agent.onBehalfOf", + "short": "Who the agent is representing", + "definition": "The individual, device, or organization for whom the change was made.", + "comment": "onBehalfOfIdentity should be used when the agent is not a Resource type.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.agent.onBehalfOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter", + "path": "Provenance.agent", + "sliceName": "ProvenanceTransmitter", + "short": "Actor involved", + "definition": "The entity that provided the copy to your system.", + "comment": "Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.", + "requirements": "An agent can be a person, an organization, software, device, or other entities that may be ascribed responsibility.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.agent", + "min": 1, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer" + }, + { + "identity": "w5", + "map": "FiveWs.who" + }, + { + "identity": "rim", + "map": "./participation[isNormalParticipation()] OR ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent" + }, + { + "identity": "w3c.prov", + "map": "Agent" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.id", + "path": "Provenance.agent.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.extension", + "path": "Provenance.agent.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.modifierExtension", + "path": "Provenance.agent.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.type", + "path": "Provenance.agent.type", + "short": "How the agent participated", + "definition": "The participation the agent had with respect to the activity.", + "comment": "For example: author, performer, enterer, attester, etc.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.agent.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", + "code": "transmitter" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProvenanceAgentType" + } + ], + "strength": "extensible", + "description": "The type of participation that a provenance agent played with respect to the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/provenance-agent-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.function" + }, + { + "identity": "rim", + "map": ".role" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.type" + }, + { + "identity": "w3c.prov", + "map": "Agent.Attribution" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.role", + "path": "Provenance.agent.role", + "short": "What the agents role was", + "definition": "The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity.", + "comment": "For example: doctor, nurse, clerk, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.agent.role", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProvenanceAgentRole" + } + ], + "strength": "example", + "description": "The role that a provenance agent played with respect to the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/security-role-type" + }, + "mapping": [ + { + "identity": "rim", + "map": ".typecode" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.role" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.who", + "path": "Provenance.agent.who", + "short": "Who participated", + "definition": "The individual, device or organization that participated in the event.", + "comment": "whoIdentity should be used when the agent is not a Resource type.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.agent.who", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.onBehalfOf", + "path": "Provenance.agent.onBehalfOf", + "short": "Who the agent is representing", + "definition": "The individual, device, or organization for whom the change was made.", + "comment": "onBehalfOfIdentity should be used when the agent is not a Resource type.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.agent.onBehalfOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]" + } + ] + }, + { + "id": "Provenance.entity", + "path": "Provenance.entity", + "short": "An entity used in this activity", + "definition": "An entity used in this activity.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.entity", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "./subjectOf" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.entity" + }, + { + "identity": "w3c.prov", + "map": "Entity" + } + ] + }, + { + "id": "Provenance.entity.id", + "path": "Provenance.entity.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.entity.extension", + "path": "Provenance.entity.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Provenance.entity.modifierExtension", + "path": "Provenance.entity.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.entity.role", + "path": "Provenance.entity.role", + "short": "derivation | revision | quotation | source | removal", + "definition": "How the entity was used during the activity.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.entity.role", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProvenanceEntityRole" + } + ], + "strength": "required", + "description": "How an entity was used in an activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "./typeCode" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.entity.lifecycle" + }, + { + "identity": "w3c.prov", + "map": "Entity.role" + } + ] + }, + { + "id": "Provenance.entity.what", + "path": "Provenance.entity.what", + "short": "Identity of entity", + "definition": "Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.", + "comment": "whatIdentity should be used for entities that are not a Resource type.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.entity.what", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./text/reference" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.entity.reference" + }, + { + "identity": "w3c.prov", + "map": "Entity.Identity" + } + ] + }, + { + "id": "Provenance.entity.agent", + "path": "Provenance.entity.agent", + "short": "Entity is attributed to this agent", + "definition": "The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity.", + "comment": "A usecase where one Provenance.entity.agent is used where the Entity that was used in the creation/updating of the Target, is not in the context of the same custodianship as the Target, and thus the meaning of Provenance.entity.agent is to say that the entity referenced is managed elsewhere and that this Agent provided access to it. This would be similar to where the Entity being referenced is managed outside FHIR, such as through HL7 v2, v3, or XDS. This might be where the Entity being referenced is managed in another FHIR resource server. Thus it explains the Provenance of that Entity's use in the context of this Provenance activity.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.entity.agent", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Provenance#Provenance.agent", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "./author/role" + } + ] + }, + { + "id": "Provenance.signature", + "path": "Provenance.signature", + "short": "Signature on target", + "definition": "A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.signature", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Signature" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "./signatureText" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Provenance", + "path": "Provenance", + "short": "US Core Provenance", + "definition": "The US Core Provenance Profile is based upon the Argonaut Data Query requirements.", + "alias": [ + "Basic Provenance" + ], + "mustSupport": false, + "isModifier": false + }, + { + "id": "Provenance.target", + "path": "Provenance.target", + "short": "The Resource this Provenance record supports", + "min": 1, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "Provenance.target.reference", + "path": "Provenance.target.reference", + "min": 1, + "mustSupport": true + }, + { + "id": "Provenance.recorded", + "path": "Provenance.recorded", + "short": "Timestamp when the activity was recorded / updated", + "definition": "The instant of time at which the activity was recorded.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "Provenance.agent", + "path": "Provenance.agent", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "type" + } + ], + "rules": "open" + }, + "min": 1, + "max": "*", + "mustSupport": true, + "isModifier": false + }, + { + "id": "Provenance.agent.type", + "path": "Provenance.agent.type", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type" + } + }, + { + "id": "Provenance.agent.who", + "path": "Provenance.agent.who", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Device" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + null, + null, + null, + null, + null + ] + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "Provenance.agent.onBehalfOf", + "path": "Provenance.agent.onBehalfOf", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + } + ], + "constraint": [ + { + "key": "provenance-1", + "severity": "error", + "human": "onBehalfOf SHALL be present when Provenance.agent.who is a Practitioner or Device", + "expression": "((%resource.agent.who.resolve() is Practitioner) or (%resource.agent.who.resolve() is Device)) implies exists()" + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "Provenance.agent:ProvenanceAuthor", + "path": "Provenance.agent", + "sliceName": "ProvenanceAuthor", + "min": 0, + "max": "*", + "mustSupport": true, + "isModifier": false + }, + { + "id": "Provenance.agent:ProvenanceAuthor.type", + "path": "Provenance.agent.type", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", + "code": "author" + } + ] + }, + "mustSupport": true, + "isModifier": false + }, + { + "id": "Provenance.agent:ProvenanceTransmitter", + "path": "Provenance.agent", + "sliceName": "ProvenanceTransmitter", + "definition": "The entity that provided the copy to your system.", + "min": 0, + "max": "1", + "mustSupport": true, + "isModifier": false + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.type", + "path": "Provenance.agent.type", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", + "code": "transmitter" + } + ] + }, + "mustSupport": true, + "isModifier": false + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-pulse-oximetry.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-pulse-oximetry.json new file mode 100644 index 00000000000..160894c405c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-pulse-oximetry.json @@ -0,0 +1,5503 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-pulse-oximetry", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry", + "version": "4.0.0", + "name": "USCorePulseOximetryProfile", + "title": "US Core Pulse Oximetry Profile", + "status": "active", + "experimental": false, + "date": "2020-11-18", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints on the Observation resource to represent inspired O2 by pulse oximetry and inspired oxygen concentration observations with a standard LOINC codes and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Pulse Oximetry Profile", + "definition": "Defines constraints on the Observation resource to represent inspired O2 by pulse oximetry and inspired oxygen concentration observations with a standard LOINC codes and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.extension", + "path": "Observation.category.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Oxygen Saturation by Pulse Oximetry", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "The code (59408-5 Oxygen saturation in Arterial blood by Pulse oximetry) is included as an additional observation code to FHIR Core vital Oxygen Saturation code (2708-6 Oxygen saturation in Arterial blood).", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.code.id", + "path": "Observation.code.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.code.extension", + "path": "Observation.code.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.code.coding", + "path": "Observation.code.coding", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 0, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.code.coding:PulseOx", + "path": "Observation.code.coding", + "sliceName": "PulseOx", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "1", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "patternCoding": { + "system": "http://loinc.org", + "code": "59408-5" + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.code.coding:O2Sat", + "path": "Observation.code.coding", + "sliceName": "O2Sat", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "1", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "patternCoding": { + "system": "http://loinc.org", + "code": "2708-6" + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.code.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.code.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "code" + } + ], + "rules": "open" + }, + "short": "Used when reporting flow rates or oxygen concentration.", + "definition": "Used when reporting flow rates or oxygen concentration.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.component:FlowRate", + "path": "Observation.component", + "sliceName": "FlowRate", + "short": "Inhaled oxygen flow rate", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component:FlowRate.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:FlowRate.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:FlowRate.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component:FlowRate.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3151-8" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].id", + "path": "Observation.component.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].extension", + "path": "Observation.component.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].value", + "path": "Observation.component.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].comparator", + "path": "Observation.component.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.component.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].system", + "path": "Observation.component.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].code", + "path": "Observation.component.value[x].code", + "short": "Coded form of the unit", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "L/min", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.component:FlowRate.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component:FlowRate.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component:FlowRate.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.component:Concentration", + "path": "Observation.component", + "sliceName": "Concentration", + "short": "Inhaled oxygen concentration", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component:Concentration.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:Concentration.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:Concentration.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component:Concentration.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3150-0" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].id", + "path": "Observation.component.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].extension", + "path": "Observation.component.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].value", + "path": "Observation.component.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].comparator", + "path": "Observation.component.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.component.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].system", + "path": "Observation.component.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].code", + "path": "Observation.component.value[x].code", + "short": "Coded form of the unit", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.component:Concentration.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component:Concentration.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component:Concentration.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Pulse Oximetry Profile", + "definition": "Defines constraints on the Observation resource to represent inspired O2 by pulse oximetry and inspired oxygen concentration observations with a standard LOINC codes and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "mustSupport": false + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Oxygen Saturation by Pulse Oximetry", + "comment": "The code (59408-5 Oxygen saturation in Arterial blood by Pulse oximetry) is included as an additional observation code to FHIR Core vital Oxygen Saturation code (2708-6 Oxygen saturation in Arterial blood).", + "mustSupport": true + }, + { + "id": "Observation.code.coding", + "path": "Observation.code.coding", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "mustSupport": true + }, + { + "id": "Observation.code.coding:PulseOx", + "path": "Observation.code.coding", + "sliceName": "PulseOx", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "patternCoding": { + "system": "http://loinc.org", + "code": "59408-5" + }, + "mustSupport": true + }, + { + "id": "Observation.code.coding:O2Sat", + "path": "Observation.code.coding", + "sliceName": "O2Sat", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "patternCoding": { + "system": "http://loinc.org", + "code": "2708-6" + }, + "mustSupport": true + }, + { + "id": "Observation.component", + "path": "Observation.component", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "code" + } + ], + "rules": "open" + }, + "short": "Used when reporting flow rates or oxygen concentration.", + "definition": "Used when reporting flow rates or oxygen concentration.", + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate", + "path": "Observation.component", + "sliceName": "FlowRate", + "short": "Inhaled oxygen flow rate", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.code", + "path": "Observation.component.code", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3151-8" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.valueQuantity", + "path": "Observation.component.valueQuantity", + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.valueQuantity.value", + "path": "Observation.component.valueQuantity.value", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.valueQuantity.unit", + "path": "Observation.component.valueQuantity.unit", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.valueQuantity.system", + "path": "Observation.component.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.valueQuantity.code", + "path": "Observation.component.valueQuantity.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "L/min", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration", + "path": "Observation.component", + "sliceName": "Concentration", + "short": "Inhaled oxygen concentration", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.code", + "path": "Observation.component.code", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3150-0" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.valueQuantity", + "path": "Observation.component.valueQuantity", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.valueQuantity.value", + "path": "Observation.component.valueQuantity.value", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.valueQuantity.unit", + "path": "Observation.component.valueQuantity.unit", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.valueQuantity.system", + "path": "Observation.component.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.valueQuantity.code", + "path": "Observation.component.valueQuantity.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-race.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-race.json new file mode 100644 index 00000000000..774e016f9ee --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-race.json @@ -0,0 +1,2285 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-race", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "version": "4.0.0", + "name": "USCoreRaceExtension", + "title": "US Core Race Extension", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "purpose": "Complies with 2015 Edition Common Clinical Data Set for patient race.", + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Patient" + }, + { + "type": "element", + "expression": "RelatedPerson" + }, + { + "type": "element", + "expression": "Person" + }, + { + "type": "element", + "expression": "Practitioner" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "US Core Race Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.", + "min": 0, + "max": "1", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false + }, + { + "id": "Extension.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory", + "path": "Extension.extension", + "sliceName": "ombCategory", + "short": "American Indian or Alaska Native|Asian|Black or African American|Native Hawaiian or Other Pacific Islander|White", + "definition": "The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "min": 0, + "max": "5", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/raceCode" + } + ] + }, + { + "id": "Extension.extension:ombCategory.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:ombCategory.extension.value[x]", + "path": "Extension.extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:ombCategory.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "ombCategory", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:ombCategory.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:ombCategory.value[x]:valueCoding", + "path": "Extension.extension.value[x]", + "sliceName": "valueCoding", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed", + "path": "Extension.extension", + "sliceName": "detailed", + "short": "Extended race codes", + "definition": "The 900+ CDC race codes that are grouped under one of the 5 OMB race category codes:.", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:raceCode" + } + ] + }, + { + "id": "Extension.extension:detailed.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:detailed.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:detailed.extension.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:detailed.extension.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:detailed.extension.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed.extension.value[x]", + "path": "Extension.extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "detailed", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed.value[x]:valueCoding", + "path": "Extension.extension.value[x]", + "sliceName": "valueCoding", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/detailed-race" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text", + "path": "Extension.extension", + "sliceName": "text", + "short": "Race Text", + "definition": "Plain text representation of the race concept(s).", + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Extension.extension:text.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:text.extension", + "path": "Extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:text.extension.id", + "path": "Extension.extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:text.extension.extension", + "path": "Extension.extension.extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension.extension:text.extension.url", + "path": "Extension.extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text.extension.value[x]", + "path": "Extension.extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "text", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text.value[x]", + "path": "Extension.extension.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text.value[x]:valueString", + "path": "Extension.extension.value[x]", + "sliceName": "valueString", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "US Core Race Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.", + "min": 0, + "max": "1" + }, + { + "id": "Extension.extension:ombCategory", + "path": "Extension.extension", + "sliceName": "ombCategory", + "short": "American Indian or Alaska Native|Asian|Black or African American|Native Hawaiian or Other Pacific Islander|White", + "definition": "The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "min": 0, + "max": "5", + "type": [ + { + "code": "Extension" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/raceCode" + } + ] + }, + { + "id": "Extension.extension:ombCategory.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "ombCategory" + }, + { + "id": "Extension.extension:ombCategory.valueCoding", + "path": "Extension.extension.valueCoding", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "binding": { + "strength": "required", + "description": "The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category" + } + }, + { + "id": "Extension.extension:detailed", + "path": "Extension.extension", + "sliceName": "detailed", + "short": "Extended race codes", + "definition": "The 900+ CDC race codes that are grouped under one of the 5 OMB race category codes:.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:raceCode" + } + ] + }, + { + "id": "Extension.extension:detailed.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "detailed" + }, + { + "id": "Extension.extension:detailed.valueCoding", + "path": "Extension.extension.valueCoding", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/detailed-race" + } + }, + { + "id": "Extension.extension:text", + "path": "Extension.extension", + "sliceName": "text", + "short": "Race Text", + "definition": "Plain text representation of the race concept(s).", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension" + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:text.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "text" + }, + { + "id": "Extension.extension:text.valueString", + "path": "Extension.extension.valueString", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "min": 1, + "max": "1", + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-respiratory-rate.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-respiratory-rate.json new file mode 100644 index 00000000000..76549275c14 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-respiratory-rate.json @@ -0,0 +1,3808 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-respiratory-rate", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate", + "version": "4.0.0", + "name": "USCoreRespiratoryRateProfile", + "title": "US Core Respiratory Rate Profile", + "status": "active", + "experimental": false, + "date": "2020-11-17", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints on Observation to represent respiratory rate observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Respiratory Rate Profile", + "definition": "Defines constraints on Observation to represent respiratory rate observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.extension", + "path": "Observation.category.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Respiratory Rate", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "/min", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Respiratory Rate Profile", + "definition": "Defines constraints on Observation to represent respiratory rate observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile." + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Respiratory Rate", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "/min", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-smokingstatus.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-smokingstatus.json new file mode 100644 index 00000000000..cd6e19a3fe1 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-smokingstatus.json @@ -0,0 +1,3058 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-smokingstatus", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus", + "version": "4.0.0", + "name": "USCoreSmokingStatusProfile", + "title": "US Core Smoking Status Observation Profile", + "status": "active", + "experimental": false, + "date": "2019-05-21T00:00:00+00:00", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints and extensions on the Observation resource for the minimal set of data to query and retrieve patient's Smoking Status information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "Measurements and simple assertions", + "definition": "The US Core Smoking Status Observation Profile is based upon the core FHIR Observation Resource and created to meet the USCDI Data Set 'Smoking status' requirements.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests", + "Obs" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.status" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:SocialHistory", + "path": "Observation.category", + "sliceName": "SocialHistory", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Smoking Status", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.code" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/R4/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Clinically relevant time/time-period for observation", + "definition": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/R4/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.effective[x]:effectiveDateTime", + "path": "Observation.effective[x]", + "sliceName": "effectiveDateTime", + "short": "Clinically relevant time/time-period for observation", + "definition": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/R4/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.issued" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/R4/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueCodeableConcept", + "path": "Observation.value[x]", + "sliceName": "valueCodeableConcept", + "short": "Coded Responses from Smoking Status Value Set", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max" + } + ], + "strength": "preferred", + "description": "This value set enumerates codes SNOMED CT codes historically used for the current smoking status of a patient with a maximum required binding to Snomed CT codes.", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.38" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.valueCodeableConcept" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/R4/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Related resource that belongs to the Observation group", + "definition": "This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component results", + "definition": "Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCode" + } + ], + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "definition": "The US Core Smoking Status Observation Profile is based upon the core FHIR Observation Resource and created to meet the USCDI Data Set 'Smoking status' requirements.", + "alias": [ + "Obs" + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation" + } + ] + }, + { + "id": "Observation.status", + "path": "Observation.status", + "min": 1, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.status" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true + }, + { + "id": "Observation.category:SocialHistory", + "path": "Observation.category", + "sliceName": "SocialHistory", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Smoking Status", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.code" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.subject" + } + ] + }, + { + "id": "Observation.effectiveDateTime", + "path": "Observation.effectiveDateTime", + "min": 1, + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.issued" + } + ] + }, + { + "id": "Observation.valueCodeableConcept", + "path": "Observation.valueCodeableConcept", + "short": "Coded Responses from Smoking Status Value Set", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max" + } + ], + "strength": "preferred", + "description": "This value set enumerates codes SNOMED CT codes historically used for the current smoking status of a patient with a maximum required binding to Snomed CT codes.", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.38" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.valueCodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-vital-signs.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-vital-signs.json new file mode 100644 index 00000000000..fbebc9b372f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-vital-signs.json @@ -0,0 +1,3616 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-vital-signs", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "version": "4.0.0", + "name": "USCoreVitalSignsProfile", + "title": "US Core Vital Signs Profile", + "status": "active", + "experimental": false, + "date": "2020-11-17", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Defines constraints on the Observation resource to represent vital signs observations. This profile is used as the base definition for the other US Core Vital Signs Profiles and based on the FHIR VitalSigns Profile.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "sct-concept", + "uri": "http://snomed.info/conceptdomain", + "name": "SNOMED CT Concept Domain Binding" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.org/attributebinding", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Vital Signs Profile", + "definition": "Defines constraints on the Observation resource to represent vital signs observation. This profile is used as the base definition for the other US Core Vital Signs Profiles and based on the FHIR VitalSigns Profile.", + "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.implicitRules", + "path": "Observation.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation.contained", + "path": "Observation.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.extension", + "path": "Observation.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.modifierExtension", + "path": "Observation.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.extension", + "path": "Observation.category.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1-8, C*E.10-22" + }, + { + "identity": "rim", + "map": "union(., ./translation)" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.text", + "short": "Plain text representation of the concept", + "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + "comment": "Very often the text is the same as a displayName of one of the codings.", + "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.9. But note many systems use C*E.2 for this" + }, + { + "identity": "rim", + "map": "./originalText[mediaType/code=\"text/plain\"]/data" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Coded Responses from C-CDA Vital Sign Results", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.extension", + "path": "Observation.component.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component.modifierExtension", + "path": "Observation.component.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Vital Signs Profile", + "definition": "Defines constraints on the Observation resource to represent vital signs observation. This profile is used as the base definition for the other US Core Vital Signs Profiles and based on the FHIR VitalSigns Profile." + }, + { + "id": "Observation.status", + "path": "Observation.status", + "mustSupport": true + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "min": 1, + "max": "*", + "type": [ + { + "code": "Coding" + } + ], + "mustSupport": true + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "mustSupport": true + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "mustSupport": true + }, + { + "id": "Observation.code", + "path": "Observation.code", + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + } + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + } + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "mustSupport": true + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "mustSupport": true + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + } + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + } + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-birthsex.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-birthsex.json new file mode 100644 index 00000000000..1a6e09205e1 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-birthsex.json @@ -0,0 +1,70 @@ +{ + "resourceType": "ValueSet", + "id": "birthsex", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/birthsex", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1021.24" + } + ], + "version": "4.0.0", + "name": "BirthSex", + "title": "Birth Sex", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Codes for assigning sex at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender", + "concept": [ + { + "code": "F", + "display": "Female" + }, + { + "code": "M", + "display": "Male" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "Unknown" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-detailed-ethnicity.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-detailed-ethnicity.json new file mode 100644 index 00000000000..38e43e64eed --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-detailed-ethnicity.json @@ -0,0 +1,65 @@ +{ + "resourceType": "ValueSet", + "id": "detailed-ethnicity", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity", + "version": "4.0.0", + "name": "DetailedEthnicity", + "title": "Detailed ethnicity", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The 41 [CDC ethnicity codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 2 OMB ethnicity category codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "2133-7" + } + ] + } + ], + "exclude": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "2135-2" + }, + { + "code": "2186-5" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-detailed-race.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-detailed-race.json new file mode 100644 index 00000000000..c495442fe53 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-detailed-race.json @@ -0,0 +1,74 @@ +{ + "resourceType": "ValueSet", + "id": "detailed-race", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-race", + "version": "4.0.0", + "name": "DetailedRace", + "title": "Detailed Race", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The 900+ [CDC Race codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 5 OMB race category codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "1000-9" + } + ] + } + ], + "exclude": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "1002-5" + }, + { + "code": "2028-9" + }, + { + "code": "2054-5" + }, + { + "code": "2076-8" + }, + { + "code": "2106-3" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-omb-ethnicity-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-omb-ethnicity-category.json new file mode 100644 index 00000000000..6d64380f016 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-omb-ethnicity-category.json @@ -0,0 +1,55 @@ +{ + "resourceType": "ValueSet", + "id": "omb-ethnicity-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category", + "version": "4.0.0", + "name": "OmbEthnicityCategories", + "title": "OMB Ethnicity Categories", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The codes for the ethnicity categories - 'Hispanic or Latino' and 'Non Hispanic or Latino' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "2135-2", + "display": "Hispanic or Latino" + }, + { + "code": "2186-5", + "display": "Non Hispanic or Latino" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-omb-race-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-omb-race-category.json new file mode 100644 index 00000000000..ce71cb0b00d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-omb-race-category.json @@ -0,0 +1,86 @@ +{ + "resourceType": "ValueSet", + "id": "omb-race-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.2.575" + } + ], + "version": "4.0.0", + "name": "OmbRaceCategories", + "title": "OMB Race Categories", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The codes for the concepts 'Unknown' and 'Asked but no answer' and the the codes for the five race categories - 'American Indian' or 'Alaska Native', 'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific Islander', and 'White' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf) .", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "1002-5", + "display": "American Indian or Alaska Native" + }, + { + "code": "2028-9", + "display": "Asian" + }, + { + "code": "2054-5", + "display": "Black or African American" + }, + { + "code": "2076-8", + "display": "Native Hawaiian or Other Pacific Islander" + }, + { + "code": "2106-3", + "display": "White" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "Unknown" + }, + { + "code": "ASKU", + "display": "Asked but no answer" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-simple-language.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-simple-language.json new file mode 100644 index 00000000000..240c0524ed1 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-simple-language.json @@ -0,0 +1,72 @@ +{ + "resourceType": "ValueSet", + "id": "simple-language", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/simple-language", + "version": "4.0.0", + "name": "LanguageCodesWithLanguageAndOptionallyARegionModifier", + "title": "Language codes with language and optionally a region modifier", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "This value set includes codes from [BCP-47](http://tools.ietf.org/html/bcp47). This value set matches the ONC 2015 Edition LanguageCommunication data element value set within C-CDA to use a 2 character language code if one exists, and a 3 character code if a 2 character code does not exist. It points back to [RFC 5646](https://tools.ietf.org/html/rfc5646), however only the language codes are required, all other elements are optional.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "ISO Maintains the copyright on the country codes and controls it's use carefully. For further details, see the [ISO 3166 Home Page](http://www.iso.org/iso/country_codes.htm)", + "compose": { + "include": [ + { + "system": "urn:ietf:bcp:47", + "filter": [ + { + "property": "ext-lang", + "op": "exists", + "value": "false" + }, + { + "property": "script", + "op": "exists", + "value": "false" + }, + { + "property": "variant", + "op": "exists", + "value": "false" + }, + { + "property": "extension", + "op": "exists", + "value": "false" + }, + { + "property": "private-use", + "op": "exists", + "value": "false" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-clinical-note-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-clinical-note-type.json new file mode 100644 index 00000000000..cbddab303c5 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-clinical-note-type.json @@ -0,0 +1,62 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-clinical-note-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type", + "version": "4.0.0", + "name": "USCoreClinicalNoteType", + "title": "US Core Clinical Note Type", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The US Core Clinical Note Type Value Set is a 'starter set' of types supported for fetching and storing clinical notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "18842-5" + }, + { + "code": "11488-4" + }, + { + "code": "34117-2" + }, + { + "code": "11506-3" + }, + { + "code": "28570-0" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-condition-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-condition-category.json new file mode 100644 index 00000000000..f7f95ac1ec7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-condition-category.json @@ -0,0 +1,70 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-condition-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category", + "version": "4.0.0", + "name": "USCoreConditionCategoryCodes", + "title": "US Core Condition Category Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The US Core Condition Category Codes support the separate concepts of problems and health concerns in Condition.category in order for API consumers to be able to separate health concerns and problems. However this is not mandatory for 2015 certification", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "purpose": "So API consumers can separate health concerns and problems.", + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category" + }, + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "concept": [ + { + "code": "health-concern", + "display": "Health Concern" + } + ] + }, + { + "system": "http://snomed.info/sct", + "concept": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition", + "valueString": "Death diagnosis, or cause of death is a contextual qualifier indicating the problem represented caused the patient's death." + } + ], + "code": "16100001", + "display": "Death diagnosis" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-condition-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-condition-code.json new file mode 100644 index 00000000000..1a3092684fb --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-condition-code.json @@ -0,0 +1,86 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-condition-code", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code", + "version": "4.0.0", + "name": "USCoreConditionCode", + "title": "US Core Condition Code", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "This describes the problem. Diagnosis/Problem List is broadly defined as a series of brief statements that catalog a patient's medical, nursing, dental, social, preventative and psychiatric events and issues that are relevant to that patient's healthcare (e.g., signs, symptoms, and defined conditions). ICD-10 is appropriate for Diagnosis information, and ICD-9 for historical information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This value set includes content from:\n 1. SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n 2. ICD-9 and ICD-10 are copyrighted by the World Health Organization (WHO) which owns and publishes the classification. See https://www.who.int/classifications/icd/en. WHO has authorized the development of an adaptation of ICD-9 and ICD-10 to ICD-9-CM to ICD-10-CM for use in the United States for U.S. government purposes.\n", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "160245001" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "404684003" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "243796009" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "272379006" + } + ] + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-diagnosticreport-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-diagnosticreport-category.json new file mode 100644 index 00000000000..fc5074226ef --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-diagnosticreport-category.json @@ -0,0 +1,59 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category", + "version": "4.0.0", + "name": "USCoreDiagnosticReportCategory", + "title": "US Core DiagnosticReport Category", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The US Core Diagnostic Report Category Value Set is a 'starter set' of categories supported for fetching and Diagnostic Reports and notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "LP29684-5", + "display": "Radiology" + }, + { + "code": "LP29708-2", + "display": "Cardiology" + }, + { + "code": "LP7839-6", + "display": "Pathology" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-diagnosticreport-lab-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-diagnosticreport-lab-codes.json new file mode 100644 index 00000000000..aec2cd1adfd --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-diagnosticreport-lab-codes.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-lab-codes", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes", + "version": "4.0.0", + "name": "USCoreDiagnosticReportLabCodes", + "title": "US Core Diagnostic Report Laboratory Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The Document Type value set includes all LOINC values whose CLASSTYPE is LABORATORY in the LOINC database", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "filter": [ + { + "property": "CLASSTYPE", + "op": "=", + "value": "1" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-diagnosticreport-report-and-note-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-diagnosticreport-report-and-note-codes.json new file mode 100644 index 00000000000..531d9e35700 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-diagnosticreport-report-and-note-codes.json @@ -0,0 +1,46 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-report-and-note-codes", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes", + "version": "4.0.0", + "name": "USCoreDiagnosticReportReportAndNoteCodes", + "title": "US Core DiagnosticReport Report And Note Codes", + "status": "active", + "experimental": false, + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "This value set currently contains all of LOINC. The codes selected should represent discrete and narrative diagnostic observations and reports", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-documentreference-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-documentreference-category.json new file mode 100644 index 00000000000..fb07fcbd0d4 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-documentreference-category.json @@ -0,0 +1,45 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-documentreference-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category", + "version": "4.0.0", + "name": "USCoreDocumentReferenceCategory", + "title": "US Core DocumentReference Category", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The US Core DocumentReferences Category Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-documentreference-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-documentreference-type.json new file mode 100644 index 00000000000..742ee4931d1 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-documentreference-type.json @@ -0,0 +1,61 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-documentreference-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type", + "version": "4.0.0", + "name": "USCoreDocumentReferenceType", + "title": "US Core DocumentReference Type", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The US Core DocumentReference Type Value Set includes all LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "unknown" + } + ] + }, + { + "system": "http://loinc.org", + "filter": [ + { + "property": "SCALE_TYP", + "op": "=", + "value": "DOC" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-encounter-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-encounter-type.json new file mode 100644 index 00000000000..469313a8012 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-encounter-type.json @@ -0,0 +1,55 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-encounter-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type", + "version": "4.0.0", + "name": "USCoreEncounterType", + "title": "US Core Encounter Type", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The type of encounter: a specific code indicating type of service provided. This value set includes codes from SNOMED CT decending from the concept 308335008 (Patient encounter procedure (procedure)) and codes from the Current Procedure and Terminology (CPT) found in the following CPT sections:\n - 99201-99499 E/M\n - 99500-99600 home health (mainly nonphysician, such as newborn care in home)\n - 99605-99607 medication management\n - 98966-98968 non physician telephone services\n \n (subscription to AMA Required)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This value set includes content from:\n 1. SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n 2. CPT © Copyright 2020 American Medical Association. All rights reserved. AMA and CPT are registered trademarks of the American Medical Association.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "308335008" + } + ] + }, + { + "system": "http://www.ama-assn.org/go/cpt" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-narrative-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-narrative-status.json new file mode 100644 index 00000000000..628ed5c966f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-narrative-status.json @@ -0,0 +1,55 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-narrative-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status", + "version": "4.0.0", + "name": "NarrativeStatus", + "title": "US Core Narrative Status", + "status": "active", + "date": "2021-06-28T19:10:06+00:00", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The US Core Narrative Status Value Set limits the text status for the resource narrative.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "HL7", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/narrative-status", + "concept": [ + { + "code": "additional", + "display": "additional" + }, + { + "code": "generated", + "display": "generated" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-observation-smoking-status-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-observation-smoking-status-status.json new file mode 100644 index 00000000000..d5b974ec4ad --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-observation-smoking-status-status.json @@ -0,0 +1,53 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-smoking-status-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status", + "version": "4.0.0", + "name": "USCoreObservationSmokingStatusStatus", + "title": "US Core Status for Smoking Status Observation", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Codes providing the status of an observation for smoking status. Constrained to `final`and `entered-in-error`.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/observation-status", + "concept": [ + { + "code": "final" + }, + { + "code": "entered-in-error" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-observation-smokingstatus-max.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-observation-smokingstatus-max.json new file mode 100644 index 00000000000..994d904cbb9 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-observation-smokingstatus-max.json @@ -0,0 +1,45 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-smokingstatus-max", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max", + "version": "4.0.0", + "name": "USCoreSmokingStatusmaxValueSet", + "title": "US Core Smoking Status Max-Binding", + "status": "active", + "date": "2020-06-29", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Representing a patient’s smoking behavior using concepts from SNOMED CT.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-observation-value-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-observation-value-codes.json new file mode 100644 index 00000000000..22a87ac06c4 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-observation-value-codes.json @@ -0,0 +1,45 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-value-codes", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-value-codes", + "version": "4.0.0", + "name": "USCoreObservationValueCodes", + "title": "US Core Observation Value Codes (SNOMED-CT)", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "[Snomed-CT](http://www.ihtsdo.org/) concept codes for coded results", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-procedure-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-procedure-code.json new file mode 100644 index 00000000000..15a2412247f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-procedure-code.json @@ -0,0 +1,67 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-procedure-code", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code", + "version": "4.0.0", + "name": "USCoreProcedureCodes", + "title": "US Core Procedure Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Concepts from CPT, SNOMED CT, HCPCS Level II Alphanumeric Codes, ICD-10-PCS,CDT and LOINC code systems that can be used to indicate the type of procedure performed.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This value set includes content from:\n 1. CPT copyright 2014 American Medical Association. All rights reserved.\n 2. SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n 3. HCPCS Level II Alphanumeric Codes codes are maintained by the US Centers for Medicare and Medicaid Services (CMS) available for public use.\n 4. The International Classification of Diseases, Tenth Revision, Procedure Coding System (ICD-10-PCS) was developed for the Centers for Medicare and Medicaid Services (CMS) available for public use. CMS is the U.S. governmental agency responsible for overseeing all changes and modifications to the ICD-10-PCS.\n 5. The ADA is the exclusive copyright owner of CDT, the Code on Dental Procedures and Nomenclature (the Code), and the ADA Dental Claim Form. Except as permitted by law, all use, copying or distribution of CDT, or any portion thereof (including the Code on Dental Procedures and Nomenclature) in any product or services (including works prepared for clients by consultants and other professionals), whether in printed, electronic or other format, requires a valid commercial user license from the ADA. CDT® is a registered trademark of the American Dental Association. All Rights Reserved.\n 6. LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://www.ama-assn.org/go/cpt" + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "71388002" + } + ] + }, + { + "system": "http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets" + }, + { + "system": "http://www.cms.gov/Medicare/Coding/ICD10" + }, + { + "system": "http://ada.org/cdt" + }, + { + "system": "http://loinc.org" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-provenance-participant-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-provenance-participant-type.json new file mode 100644 index 00000000000..d08c5d2ae6c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-provenance-participant-type.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provenance-participant-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type", + "version": "4.0.0", + "name": "USCoreProvenancePaticipantTypeCodes", + "title": "US Core Provenance Participant Type Codes", + "status": "active", + "date": "2019-08-28", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The type of participation a provenance agent played for a given target.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "purpose": "So API consumers can identify the provenance participant type.", + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-provider-role.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-provider-role.json new file mode 100644 index 00000000000..41b982a91d6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-provider-role.json @@ -0,0 +1,45 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provider-role", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role", + "version": "4.0.0", + "name": "USCoreProviderRoleNucc", + "title": "US Core Provider Role (NUCC)", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set classification codes for providers. Only concepts with a classification and no specialization are included.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-smoking-status-observation-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-smoking-status-observation-codes.json new file mode 100644 index 00000000000..148b2bb25e2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-smoking-status-observation-codes.json @@ -0,0 +1,51 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-smoking-status-observation-codes", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes", + "version": "4.0.0", + "name": "USCoreSmokingStatusObservationCodes", + "title": "US Core Smoking Status Observation Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The US Core Smoking Status Observation Codes Value Set is a 'starter set' of concepts to capture smoking status.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-usps-state.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-usps-state.json new file mode 100644 index 00000000000..a935bcf9e22 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-usps-state.json @@ -0,0 +1,51 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-usps-state", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.3.40" + } + ], + "version": "4.0.0", + "name": "UspsTwoLetterAlphabeticCodes", + "title": "USPS Two Letter Alphabetic Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "This value set defines two letter USPS alphabetic codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "On July 1, 1963, the Post Office Department implemented the five-digit ZIP Code, which was placed after the state name in the last line of an address. To provide room for the ZIP Code, the Department issued two-letter abbreviations for all states and territories. Publication 59, Abbreviations for Use with ZIP Code, issued by the Department in October 1963. There is no copyright restriction on this value set.", + "compose": { + "include": [ + { + "system": "https://www.usps.com/" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-vital-signs.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-vital-signs.json new file mode 100644 index 00000000000..7d840b8c078 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-vital-signs.json @@ -0,0 +1,71 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-vital-signs", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs", + "version": "4.0.0", + "name": "UsCoreVitalSigns", + "title": "US Core Vital Signs ValueSet", + "status": "active", + "experimental": false, + "date": "2020-11-17", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "59576-9" + }, + { + "code": "8289-1" + }, + { + "code": "77606-2" + }, + { + "code": "59408-5" + }, + { + "code": "3150-0" + }, + { + "code": "3151-8" + } + ] + }, + { + "valueSet": [ + "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ig-r4.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ig-r4.json new file mode 100644 index 00000000000..7fbfb4480dc --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ig-r4.json @@ -0,0 +1,3372 @@ +{ + "resourceType": "ImplementationGuide", + "id": "hl7.fhir.us.core", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core", + "version": "4.0.0", + "name": "USCore", + "title": "US Core Implementation Guide", + "status": "active", + "date": "2021-06-16", + "publisher": "HL7 International - US Realm Steering Committee", + "contact": [ + { + "name": "HL7 International - US Realm Steering Committee", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "The US Core Implementation Guide is based on FHIR Version R4 and defines the minimum conformance requirements for accessing patient data. The Argonaut pilot implementations, ONC 2015 Edition Common Clinical Data Set (CCDS), and ONC U.S. Core Data for Interoperability (USCDI) v1 provided the requirements for this guide. The prior Argonaut search and vocabulary requirements, based on FHIR DSTU2, are updated in this guide to support FHIR Version R4. This guide was used as the basis for further testing and guidance by the Argonaut Project Team to provide additional content and guidance specific to Data Query Access for purpose of ONC Certification testing. These profiles are the foundation for future US Realm FHIR implementation guides. In addition to Argonaut, they are used by DAF-Research, QI-Core, and CIMI. Under the guidance of HL7 and the HL7 US Realm Steering Committee, the content will expand in future versions to meet the needs specific to the US Realm.\nThese requirements were originally developed, balloted, and published in FHIR DSTU2 as part of the Office of the National Coordinator for Health Information Technology (ONC) sponsored Data Access Framework (DAF) project. For more information on how DAF became US Core see the US Core change notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "packageId": "hl7.fhir.us.core", + "license": "CC0-1.0", + "fhirVersion": [ + "4.0.1" + ], + "dependsOn": [ + { + "id": "hl7_fhir_uv_bulkdata", + "uri": "http://hl7.org/fhir/uv/bulkdata/ImplementationGuide/hl7.fhir.uv.bulkdata", + "packageId": "hl7.fhir.uv.bulkdata", + "version": "1.0.1" + }, + { + "id": "vsac", + "uri": "http://fhir.org/packages/us.nlm.vsac/ImplementationGuide/us.nlm.vsac", + "packageId": "us.nlm.vsac", + "version": "0.3.0" + } + ], + "definition": { + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/head-occipital-frontal-circumference-percentile" + }, + "name": "US Core Pediatric Head Occipital-frontal Circumference Percentile Profile", + "description": "Defines constraints on the Observation resource to represent head occipital-frontal circumference percentile for patients from birth to 36 months of age in FHIR using a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-allergyintolerance" + }, + "name": "US Core AllergyIntolerance Profile", + "description": "Defines constraints and extensions on the AllergyIntolerance resource for the minimal set of data to query and retrieve allergy information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-birthsex" + }, + "name": "US Core Birth Sex Extension", + "description": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc). This extension aligns with the C-CDA Birth Sex Observation (LOINC 76689-9).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-blood-pressure" + }, + "name": "US Core Blood Pressure Profile", + "description": "Defines constraints on Observation to represent diastolic and systolic blood pressure observations with standard LOINC codes and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-bmi" + }, + "name": "US Core BMI Profile", + "description": "Defines constraints on Observation to represent Body Mass Index (BMI) observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-body-height" + }, + "name": "US Core Body Height Profile", + "description": "Defines constraints on Observation to represent body height observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-body-temperature" + }, + "name": "US Core Body Temperature Profile", + "description": "Defines constraints on Observation to represent body temperature observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-body-weight" + }, + "name": "US Core Body Weight Profile", + "description": "Defines constraints on Observation to represent body weight observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-careplan" + }, + "name": "US Core CarePlan Profile", + "description": "Defines constraints and extensions on the CarePlan resource for the minimal set of data to query and retrieve a patient's Care Plan.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-careteam" + }, + "name": "US Core CareTeam Profile", + "description": "Defines constraints and extensions on the CareTeam resource for the minimal set of data to query and retrieve a patient's Care Team.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-condition" + }, + "name": "US Core Condition Profile", + "description": "Defines constraints and extensions on the Condition resource for the minimal set of data to query and retrieve problems and health concerns information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-diagnosticreport-lab" + }, + "name": "US Core DiagnosticReport Profile for Laboratory Results Reporting", + "description": "Defines constraints and extensions on the DiagnosticReport resource for the minimal set of data to query and retrieve diagnostic reports associated with laboratory results for a patient", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-diagnosticreport-note" + }, + "name": "US Core DiagnosticReport Profile for Report and Note exchange", + "description": "Defines constraints and extensions on the DiagnosticReport resource for the minimal set of data to query and retrieve diagnostic reports associated with clinical notes for a patient", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-direct" + }, + "name": "US Core Direct email Extension", + "description": "This email address is associated with a [direct](http://wiki.directproject.org/Addressing+Specification) service. This extension can only be used on contact points where the system = 'email'", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-documentreference" + }, + "name": "US Core DocumentReference Profile", + "description": "The document reference profile used in US Core.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-encounter" + }, + "name": "US Core Encounter Profile", + "description": "The Encounter referenced in the US Core profiles.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-ethnicity" + }, + "name": "US Core Ethnicity Extension", + "description": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-goal" + }, + "name": "US Core Goal Profile", + "description": "Defines constraints and extensions on the Goal resource for the minimal set of data to query and retrieve a patient's goal(s).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-head-circumference" + }, + "name": "US Core Head Circumference Profile", + "description": "Defines constraints on Observation to represent head circumference observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-heart-rate" + }, + "name": "US Core Heart Rate Profile", + "description": "Defines constraints on Observation to represent heart rate observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-immunization" + }, + "name": "US Core Immunization Profile", + "description": "Defines constraints and extensions on the Immunization resource for the minimal set of data to query and retrieve patient's immunization information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-implantable-device" + }, + "name": "US Core Implantable Device Profile", + "description": "Defines constraints and extensions on the Device resource for the minimal set of data to query and retrieve a patient's implantable device(s).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-location" + }, + "name": "US Core Location Profile", + "description": "Defines basic constraints and extensions on the Location resource for use with other US Core resources", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-medication" + }, + "name": "US Core Medication Profile", + "description": "Defines constraints and extensions on the Medication resource for the minimal set of data to query and retrieve patient retrieving patient's medication information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-medicationrequest" + }, + "name": "US Core MedicationRequest Profile", + "description": "Defines constraints and extensions on the MedicationRequest resource for the minimal set of data to query and retrieve prescription information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-lab" + }, + "name": "US Core Laboratory Result Observation Profile", + "description": "Defines constraints and extensions on the Observation resource for the minimal set of data to query and retrieve laboratory test results", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-organization" + }, + "name": "US Core Organization Profile", + "description": "Defines basic constraints and extensions on the Organization resource for use with other US Core resources", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/pediatric-bmi-for-age" + }, + "name": "US Core Pediatric BMI for Age Observation Profile", + "description": "Defines constraints on Observation to represent to represent BMI percentile per age and sex for youth 2-20 observations in FHIR using a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/pediatric-weight-for-height" + }, + "name": "US Core Pediatric Weight for Height Observation Profile", + "description": "Defines constraints on the Observation resource to represent pediatric Weight-for-length per age and gender observations in FHIR with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-practitioner" + }, + "name": "US Core Practitioner Profile", + "description": "The practitioner(s) referenced in US Core profiles.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-practitionerrole" + }, + "name": "US Core PractitionerRole Profile", + "description": "The practitioner roles referenced in the US Core profiles.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-procedure" + }, + "name": "US Core Procedure Profile", + "description": "Defines constraints and extensions on the Procedure resource for the minimal set of data to query and retrieve patient's procedure information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-provenance" + }, + "name": "US Core Provenance Profile", + "description": "Draft set of requirements to satisfy Basic Provenance Requirements.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-pulse-oximetry" + }, + "name": "US Core Pulse Oximetry Profile", + "description": "Defines constraints on the Observation resource to represent inspired O2 by pulse oximetry and inspired oxygen concentration observations with a standard LOINC codes and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-race" + }, + "name": "US Core Race Extension", + "description": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-respiratory-rate" + }, + "name": "US Core Respiratory Rate Profile", + "description": "Defines constraints on Observation to represent respiratory rate observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-smokingstatus" + }, + "name": "US Core Smoking Status Observation Profile", + "description": "Defines constraints and extensions on the Observation resource for the minimal set of data to query and retrieve patient's Smoking Status information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-vital-signs" + }, + "name": "US Core Vital Signs Profile", + "description": "Defines constraints on the Observation resource to represent vital signs observations. This profile is used as the base definition for the other US Core Vital Signs Profiles and based on the FHIR VitalSigns Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CapabilityStatement" + } + ], + "reference": { + "reference": "CapabilityStatement/us-core-client" + }, + "name": "US Core Client CapabilityStatement", + "description": "This Section describes the expected capabilities of the US Core Client which is responsible for creating and initiating the queries for information about an individual patient. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined in the [Conformance Requirements for Server](CapabilityStatement-us-core-server.html). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CapabilityStatement" + } + ], + "reference": { + "reference": "CapabilityStatement/us-core-server" + }, + "name": "US Core Server CapabilityStatement", + "description": "This Section describes the expected capabilities of the US Core Server actor which is responsible for providing responses to the queries submitted by the US Core Requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined. Systems implementing this capability statement should meet the ONC 2015 Common Clinical Data Set (CCDS) access requirement for Patient Selection 170.315(g)(7) and Application Access - Data Category Request 170.315(g)(8) and and the ONC [U.S. Core Data for Interoperability (USCDI)](https://www.healthit.gov/isa/sites/isa/files/2020-03/USCDI-Version1-2020-Final-Standard.pdf). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/careplan-category" + }, + "name": "US Core CarePlan Category Extension Codes", + "description": "Set of codes that are needed for implementation of the US-Core CarePlan Profile. These codes are used as extensions to the FHIR ValueSet.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/cdcrec" + }, + "name": "Race & Ethnicity - CDC", + "description": "The U.S. Centers for Disease Control and Prevention (CDC) has prepared a code set for use in codingrace and ethnicity data. This code set is based on current federal standards for classifying data onrace and ethnicity, specifically the minimum race and ethnicity categories defined by the U.S. Office ofManagement and Budget (OMB) and a more detailed set of race and ethnicity categories maintainedby the U.S. Bureau of the Census (BC). The main purpose of the code set is to facilitate use of federalstandards for classifying data on race and ethnicity when these data are exchanged, stored, retrieved,or analyzed in electronic form. At the same time, the code set can be applied to paper-based recordsystems to the extent that these systems are used to collect, maintain, and report data on race andethnicity in accordance with current federal standards. Source: [Race and Ethnicity Code Set Version 1.0](https://www.cdc.gov/phin/resources/vocabulary/documents/cdc-race--ethnicity-background-and-purpose.pdf).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/condition-category" + }, + "name": "US Core Condition Category Extension Codes", + "description": "Set of codes that are needed for implementation of the US-Core Condition Profile. These codes are used as extensions to the FHIR and US Core value sets.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/us-core-documentreference-category" + }, + "name": "US Core DocumentReferences Category Codes", + "description": "The US Core DocumentReferences Type Code System is a 'starter set' of categories supported for fetching and storing DocumentReference Resources.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/us-core-provenance-participant-type" + }, + "name": "US Core Provenance Participant Type Extension Codes", + "description": "Set of codes that are needed for implementation of the US-Core Provenance Profile. These codes are used as extensions to the FHIR value sets.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "OperationDefinition" + } + ], + "reference": { + "reference": "OperationDefinition/docref" + }, + "name": "US Core Fetch DocumentReference", + "description": "This operation is used to return all the references to documents related to a patient. \n\n The operation requires a patient id and takes the optional input parameters: \n - start date\n - end date\n - document type \n\n and returns a [Bundle](http://hl7.org/fhir/bundle.html) of type \"searchset\" containing [DocumentReference](http://hl7.org/fhir/documentreference.html) resources for the patient. The DocumentReference resources **SHOULD** conform to the [US Core DocumentReference\n Profiles](http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference). If the server has or can create documents that are related to the patient, and that are available for the given user, the server returns the DocumentReference resources needed to support the records. The principle intended use for this operation is to provide a provider or patient with access to their available document information. \n\n This operation is *different* from a search by patient and type and date range because: \n\n 1. It is used to request a server *generate* a document based on the specified parameters. \n\n 1. If no parameters are specified, the server SHALL return a DocumentReference to the patient's most current CCD \n\n 1. If the server cannot *generate* a document based on the specified parameters, the operation will return an empty search bundle. \n\n This operation is the *same* as a FHIR RESTful search by patient,type and date range because: \n\n 1. References for *existing* documents that meet the requirements of the request SHOULD also be returned unless the client indicates they are only interested in 'on-demand' documents using the *on-demand* parameter.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-allergyintolerance-clinical-status" + }, + "name": "USCoreAllergyIntoleranceClinicalStatus", + "description": "**active | inactive | resolved** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-allergyintolerance-patient" + }, + "name": "USCoreAllergyIntolerancePatient", + "description": "**Who the sensitivity is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-category" + }, + "name": "USCoreCarePlanCategory", + "description": "**Type of plan** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-date" + }, + "name": "USCoreCarePlanDate", + "description": "**Time period plan covers** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-patient" + }, + "name": "USCoreCarePlanPatient", + "description": "**Who the care plan is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-status" + }, + "name": "USCoreCarePlanStatus", + "description": "**draft | active | on-hold | revoked | completed | entered-in-error | unknown** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careteam-patient" + }, + "name": "USCoreCareTeamPatient", + "description": "**Who care team is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careteam-status" + }, + "name": "USCoreCareTeamStatus", + "description": "**proposed | active | suspended | inactive | entered-in-error** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-category" + }, + "name": "USCoreConditionCategory", + "description": "**The category of the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-clinical-status" + }, + "name": "USCoreConditionClinicalStatus", + "description": "**The clinical status of the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-code" + }, + "name": "USCoreConditionCode", + "description": "**Code for the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-onset-date" + }, + "name": "USCoreConditionOnsetDate", + "description": "**Date related onsets (dateTime and Period)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-patient" + }, + "name": "USCoreConditionPatient", + "description": "**Who has the condition?** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-device-patient" + }, + "name": "USCoreDevicePatient", + "description": "**Patient information, if the resource is affixed to a person** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-device-type" + }, + "name": "USCoreDeviceType", + "description": "**The type of the device** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-category" + }, + "name": "USCoreDiagnosticReportCategory", + "description": "**Which diagnostic discipline/department created the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-code" + }, + "name": "USCoreDiagnosticReportCode", + "description": "**The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-date" + }, + "name": "USCoreDiagnosticReportDate", + "description": "**The clinically relevant time of the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-patient" + }, + "name": "USCoreDiagnosticReportPatient", + "description": "**The subject of the report if a patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-status" + }, + "name": "USCoreDiagnosticReportStatus", + "description": "**The status of the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-category" + }, + "name": "USCoreDocumentReferenceCategory", + "description": "**Categorization of document** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-date" + }, + "name": "USCoreDocumentReferenceDate", + "description": "**When this document reference was created** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-id" + }, + "name": "USCoreDocumentReferenceId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-patient" + }, + "name": "USCoreDocumentReferencePatient", + "description": "**Who/what is the subject of the document** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-period" + }, + "name": "USCoreDocumentReferencePeriod", + "description": "**Time of service that is being documented** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-status" + }, + "name": "USCoreDocumentReferenceStatus", + "description": "**current | superseded | entered-in-error** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-type" + }, + "name": "USCoreDocumentReferenceType", + "description": "**Kind of document (LOINC if possible)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-class" + }, + "name": "USCoreEncounterClass", + "description": "**Classification of patient encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-date" + }, + "name": "USCoreEncounterDate", + "description": "**A date within the period the Encounter lasted** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-id" + }, + "name": "USCoreEncounterId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-identifier" + }, + "name": "USCoreEncounterIdentifier", + "description": "**Identifier(s) by which this encounter is known** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-patient" + }, + "name": "USCoreEncounterPatient", + "description": "**The patient or group present at the encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-status" + }, + "name": "USCoreEncounterStatus", + "description": "**planned | arrived | triaged | in-progress | onleave | finished | cancelled +** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-type" + }, + "name": "USCoreEncounterType", + "description": "**Specific type of encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-ethnicity" + }, + "name": "USCoreEthnicity", + "description": "Returns patients with an ethnicity extension matching the specified code.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-lifecycle-status" + }, + "name": "USCoreGoalLifecycleStatus", + "description": "**proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-patient" + }, + "name": "USCoreGoalPatient", + "description": "**Who this goal is intended for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-target-date" + }, + "name": "USCoreGoalTargetDate", + "description": "**Reach goal on or before** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-date" + }, + "name": "USCoreImmunizationDate", + "description": "**Vaccination (non)-Administration Date** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-patient" + }, + "name": "USCoreImmunizationPatient", + "description": "**The patient for the vaccination record** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-status" + }, + "name": "USCoreImmunizationStatus", + "description": "**Immunization event status** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-city" + }, + "name": "USCoreLocationAddressCity", + "description": "**A city specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-postalcode" + }, + "name": "USCoreLocationAddressPostalcode", + "description": "**A postal code specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-state" + }, + "name": "USCoreLocationAddressState", + "description": "**A state specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address" + }, + "name": "USCoreLocationAddress", + "description": "**A (part of the) address of the location** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-name" + }, + "name": "USCoreLocationName", + "description": "**A portion of the location's name or alias** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-authoredon" + }, + "name": "USCoreMedicationRequestAuthoredon", + "description": "**Return prescriptions written on this date** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-encounter" + }, + "name": "USCoreMedicationRequestEncounter", + "description": "**Return prescriptions with this encounter identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-intent" + }, + "name": "USCoreMedicationRequestIntent", + "description": "**Returns prescriptions with different intents** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-patient" + }, + "name": "USCoreMedicationRequestPatient", + "description": "**Returns prescriptions for a specific patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-status" + }, + "name": "USCoreMedicationRequestStatus", + "description": "**Status of the prescription** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-category" + }, + "name": "USCoreObservationCategory", + "description": "**The classification of the type of observation** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-code" + }, + "name": "USCoreObservationCode", + "description": "**The code of the observation type** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-date" + }, + "name": "USCoreObservationDate", + "description": "**Obtained date/time. If the obtained element is a period, a date that falls in the period** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-patient" + }, + "name": "USCoreObservationPatient", + "description": "**The subject that the observation is about (if patient)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-status" + }, + "name": "USCoreObservationStatus", + "description": "**The status of the observation** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-organization-address" + }, + "name": "USCoreOrganizationAddress", + "description": "**A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-organization-name" + }, + "name": "USCoreOrganizationName", + "description": "**A portion of the organization's name or alias** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-birthdate" + }, + "name": "USCorePatientBirthdate", + "description": "**The patient's date of birth** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-family" + }, + "name": "USCorePatientFamily", + "description": "**A portion of the family name of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-gender" + }, + "name": "USCorePatientGender", + "description": "**Gender of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-given" + }, + "name": "USCorePatientGiven", + "description": "**A portion of the given name of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-id" + }, + "name": "USCorePatientId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-identifier" + }, + "name": "USCorePatientIdentifier", + "description": "**A patient identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-name" + }, + "name": "USCorePatientName", + "description": "**A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitioner-identifier" + }, + "name": "USCorePractitionerIdentifier", + "description": "**A practitioner's Identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitioner-name" + }, + "name": "USCorePractitionerName", + "description": "**A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitionerrole-practitioner" + }, + "name": "USCorePractitionerRolePractitioner", + "description": "**Practitioner that is able to provide the defined services for the organization** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitionerrole-specialty" + }, + "name": "USCorePractitionerRoleSpecialty", + "description": "**The practitioner has this specialty at an organization** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-code" + }, + "name": "USCoreProcedureCode", + "description": "**A code to identify a procedure** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-date" + }, + "name": "USCoreProcedureDate", + "description": "**When the procedure was performed** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-patient" + }, + "name": "USCoreProcedurePatient", + "description": "**Search by subject - a patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-status" + }, + "name": "USCoreProcedureStatus", + "description": "**preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-race" + }, + "name": "USCoreRace", + "description": "Returns patients with a race extension matching the specified code.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-patient" + }, + "name": "US Core Patient Profile", + "description": "Defines constraints and extensions on the patient resource for the minimal set of data to query and retrieve patient demographic information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/detailed-ethnicity" + }, + "name": "Detailed ethnicity", + "description": "The 41 [CDC ethnicity codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 2 OMB ethnicity category codes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/detailed-race" + }, + "name": "Detailed Race", + "description": "The 900+ [CDC Race codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 5 OMB race category codes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/omb-ethnicity-category" + }, + "name": "OMB Ethnicity Categories", + "description": "The codes for the ethnicity categories - 'Hispanic or Latino' and 'Non Hispanic or Latino' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/omb-race-category" + }, + "name": "OMB Race Categories", + "description": "The codes for the concepts 'Unknown' and 'Asked but no answer' and the the codes for the five race categories - 'American Indian' or 'Alaska Native', 'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific Islander', and 'White' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf) .", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/simple-language" + }, + "name": "Language codes with language and optionally a region modifier", + "description": "This value set includes codes from [BCP-47](http://tools.ietf.org/html/bcp47). This value set matches the ONC 2015 Edition LanguageCommunication data element value set within C-CDA to use a 2 character language code if one exists, and a 3 character code if a 2 character code does not exist. It points back to [RFC 5646](https://tools.ietf.org/html/rfc5646), however only the language codes are required, all other elements are optional.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/birthsex" + }, + "name": "Birth Sex", + "description": "Codes for assigning sex at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc)", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-clinical-note-type" + }, + "name": "US Core Clinical Note Type", + "description": "The US Core Clinical Note Type Value Set is a 'starter set' of types supported for fetching and storing clinical notes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-condition-category" + }, + "name": "US Core Condition Category Codes", + "description": "The US Core Condition Category Codes support the separate concepts of problems and health concerns in Condition.category in order for API consumers to be able to separate health concerns and problems. However this is not mandatory for 2015 certification", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-condition-code" + }, + "name": "US Core Condition Code", + "description": "This describes the problem. Diagnosis/Problem List is broadly defined as a series of brief statements that catalog a patient's medical, nursing, dental, social, preventative and psychiatric events and issues that are relevant to that patient's healthcare (e.g., signs, symptoms, and defined conditions). ICD-10 is appropriate for Diagnosis information, and ICD-9 for historical information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-category" + }, + "name": "US Core DiagnosticReport Category", + "description": "The US Core Diagnostic Report Category Value Set is a 'starter set' of categories supported for fetching and Diagnostic Reports and notes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-lab-codes" + }, + "name": "US Core Diagnostic Report Laboratory Codes", + "description": "The Document Type value set includes all LOINC values whose CLASSTYPE is LABORATORY in the LOINC database", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-report-and-note-codes" + }, + "name": "US Core DiagnosticReport Report And Note Codes", + "description": "This value set currently contains all of LOINC. The codes selected should represent discrete and narrative diagnostic observations and reports", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-documentreference-category" + }, + "name": "US Core DocumentReference Category", + "description": "The US Core DocumentReferences Category Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-documentreference-type" + }, + "name": "US Core DocumentReference Type", + "description": "The US Core DocumentReference Type Value Set includes all LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-encounter-type" + }, + "name": "US Core Encounter Type", + "description": "The type of encounter: a specific code indicating type of service provided. This value set includes codes from SNOMED CT decending from the concept 308335008 (Patient encounter procedure (procedure)) and codes from the Current Procedure and Terminology (CPT) found in the following CPT sections:\n\n\n- 99201-99499 E/M\n\n- 99500-99600 home health (mainly nonphysician, such as newborn care in home)\n\n- 99605-99607 medication management\n\n- 98966-98968 non physician telephone services\n\n\n\n(subscription to AMA Required)", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-narrative-status" + }, + "name": "US Core Narrative Status", + "description": "The US Core Narrative Status Value Set limits the text status for the resource narrative.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-smokingstatus-max" + }, + "name": "US Core Smoking Status Max-Binding", + "description": "Representing a patient’s smoking behavior using concepts from SNOMED CT.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-smoking-status-status" + }, + "name": "US Core Status for Smoking Status Observation", + "description": "Codes providing the status of an observation for smoking status. Constrained to `final`and `entered-in-error`.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-value-codes" + }, + "name": "US Core Observation Value Codes (SNOMED-CT)", + "description": "[Snomed-CT](http://www.ihtsdo.org/) concept codes for coded results", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-procedure-code" + }, + "name": "US Core Procedure Codes", + "description": "Concepts from CPT, SNOMED CT, HCPCS Level II Alphanumeric Codes, ICD-10-PCS,CDT and LOINC code systems that can be used to indicate the type of procedure performed.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-provenance-participant-type" + }, + "name": "US Core Provenance Participant Type Codes", + "description": "The type of participation a provenance agent played for a given target.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-provider-role" + }, + "name": "US Core Provider Role (NUCC)", + "description": "Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set classification codes for providers. Only concepts with a classification and no specialization are included.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-smoking-status-observation-codes" + }, + "name": "US Core Smoking Status Observation Codes", + "description": "The US Core Smoking Status Observation Codes Value Set is a 'starter set' of concepts to capture smoking status.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-usps-state" + }, + "name": "USPS Two Letter Alphabetic Codes", + "description": "This value set defines two letter USPS alphabetic codes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-vital-signs" + }, + "name": "US Core Vital Signs ValueSet", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + } + ], + "reference": { + "reference": "Device/udi-2" + }, + "name": "Device Defib Example", + "description": "This is a Device defib example for the *US Core Implantable Device Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + } + ], + "reference": { + "reference": "Device/udi-3" + }, + "name": "Device Knee Example", + "description": "This is a Device knee example for the *US Core Implantable Device Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/cardiology-report" + }, + "name": "DiagnosticReport Cardiology Report Example", + "description": "This is a DiagnosticReport cardiology report example for the *US Core DiagnosticReport Note Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/chest-xray-report" + }, + "name": "DiagnosticReport Chest Xray Report Example", + "description": "This is a DiagnosticReport chest xray report example for the *US Core DiagnosticReport Note Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + } + ], + "reference": { + "reference": "Bundle/66c8856b-ba11-4876-8aa8-467aad8c11a2" + }, + "name": "PractitionerRole_Practitioner_Endpoint_Bundle_Example Example", + "description": "This is a PractitionerRole_Practitioner_Endpoint_Bundle_Example example for the *Bundle Profile*.", + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Procedure" + } + ], + "reference": { + "reference": "Procedure/defib-implant" + }, + "name": "Procedure R4 Defib Implant Example", + "description": "This is a Procedure R4 defib implant example for the *US Core Procedure Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + } + ], + "reference": { + "reference": "Organization/acme-lab" + }, + "name": "Acme Lab Example", + "description": "This is a acme lab example for the *US Core Organization Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "AllergyIntolerance" + } + ], + "reference": { + "reference": "AllergyIntolerance/example" + }, + "name": "AllergyIntolerance Example", + "description": "This is a allergyintolerance example for the *US Core AllergyIntolerance Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + } + ], + "reference": { + "reference": "Bundle/c887e62f-6166-419f-8268-b5ecd6c7b901" + }, + "name": "AllergyIntolerance Provenance Example", + "description": "This is a allergyintolerance provenance example for the *Bundle Profile*.", + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/blood-glucose" + }, + "name": "Blood Glucose Example", + "description": "This is a blood glucose example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/blood-pressure" + }, + "name": "Blood Pressure Example", + "description": "This is a blood pressure example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/bmi" + }, + "name": "BMI Example", + "description": "This is a BMI example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/bp-data-absent" + }, + "name": "BP Data Absent Example", + "description": "This is a bp data absent example for the *Vitalsigns Profile* showing how to reprsesent blood pressure with a missing diastolic measurement.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/bun" + }, + "name": "BUN Example", + "description": "This is a BUN example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CareTeam" + } + ], + "reference": { + "reference": "CareTeam/example" + }, + "name": "CareTeam Example", + "description": "This is a careteam example for the *US Core CareTeam Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/cbc" + }, + "name": "CBC Example", + "description": "This is a CBC example for the *US Core DiagnosticReport Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CarePlan" + } + ], + "reference": { + "reference": "CarePlan/colonoscopy" + }, + "name": "Colonoscopy Example", + "description": "This is a colonoscopy example for the *US Core CarePlan Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + } + ], + "reference": { + "reference": "Condition/example" + }, + "name": "Condition Example", + "description": "This is a condition example for the *US Core Condition Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Encounter" + } + ], + "reference": { + "reference": "Encounter/1036" + }, + "name": "Encounter 1036 Example", + "description": "This is a encounter 1036 example for the *Encounter Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Encounter" + } + ], + "reference": { + "reference": "Encounter/example-1" + }, + "name": "Encounter 1 Example", + "description": "This is a encounter 1 example for the *US Core Encounter Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DocumentReference" + } + ], + "reference": { + "reference": "DocumentReference/episode-summary" + }, + "name": "Episode Summary Example", + "description": "This is a episode summary example for the *US Core DocumentReference Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/erythrocytes" + }, + "name": "Erythrocytes Example", + "description": "This is a erythrocytes example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + } + ], + "reference": { + "reference": "Organization/example-organization-2" + }, + "name": "Organization 2 Example", + "description": "This is a organization 2 example for the *US Core Organization Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Goal" + } + ], + "reference": { + "reference": "Goal/goal-1" + }, + "name": "Goal 1 Example", + "description": "This is a goal 1 example for the *US Core Goal Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + } + ], + "reference": { + "reference": "Condition/hc1" + }, + "name": "HC1 Example", + "description": "This is a hc1 example for the *US Core Condition Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/head-circumference" + }, + "name": "Head Circumference Example", + "description": "This is a head circumference example for the *US Core Head Circumference Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/heart-rate" + }, + "name": "Heart Rate Example", + "description": "This is a heart rate example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/height" + }, + "name": "Height Example", + "description": "This is a height example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/hemoglobin" + }, + "name": "Hemoglobin Example", + "description": "This is a hemoglobin example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Location" + } + ], + "reference": { + "reference": "Location/hl7east" + }, + "name": "HL7East Example", + "description": "This is a HL7East example for the *US Core Location Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Immunization" + } + ], + "reference": { + "reference": "Immunization/imm-1" + }, + "name": "Imm 1 Example", + "description": "This is a imm 1 example for the *US Core Immunization Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/length" + }, + "name": "Length Example", + "description": "This is a length example for the *Vitalsigns Profile* which shows how body length (typically used for infants) is represented using 8306-3 -*Body height - lying* as an additional observation code.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/mchc" + }, + "name": "MCHC Example", + "description": "This is a MCHC example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/metabolic-panel" + }, + "name": "Metabolic Panel Example", + "description": "This is a metabolic panel example for the *US Core DiagnosticReport Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/neutrophils" + }, + "name": "Neutrophils Example", + "description": "This is a neutrophils example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/satO2-fiO2" + }, + "name": "Observation SatO2 FiO2 Example", + "description": "This is a observation satO2 fiO2 example for the *US Core Pulse Oximetry Profile* representing a spO2 value with a for a patient on 6 l/min of O2 suppplemental oxygen.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/ofc-percentile" + }, + "name": "OFC Percentile Example", + "description": "This is a OFC percentile example for the *Head Occipital Frontal Circumference Percentile Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/oxygen-saturation" + }, + "name": "Oxygen Saturation Example", + "description": "This is a typical oxygen saturation example for the *US Core Pulse Oximetry Profile* on room air where no oxygen concentration is recorded.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + } + ], + "reference": { + "reference": "Patient/child-example" + }, + "name": "Patient Child Example", + "description": "This is a patient child example for the *US Core Patient Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + } + ], + "reference": { + "reference": "Patient/example" + }, + "name": "Patient Example", + "description": "This is a patient example for the *US Core Patient Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + } + ], + "reference": { + "reference": "Patient/infant-example" + }, + "name": "Patient Infant Example", + "description": "This is a patient infant example for the *US Core Patient Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/pediatric-bmi-example" + }, + "name": "Pediatric BMI Example", + "description": "This is a pediatric BMI example for the *Pediatric BMI For Age Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/pediatric-wt-example" + }, + "name": "Pediatric Wt Example", + "description": "This is a pediatric wt example for the *Pediatric Weight For Height Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Practitioner" + } + ], + "reference": { + "reference": "Practitioner/practitioner-1" + }, + "name": "Practitioner 1 Example", + "description": "This is a practitioner 1 example for the *US Core Practitioner Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Practitioner" + } + ], + "reference": { + "reference": "Practitioner/practitioner-2" + }, + "name": "Practitioner 2 Example", + "description": "This is a practitioner 2 example for the *US Core Practitioner Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Procedure" + } + ], + "reference": { + "reference": "Procedure/rehab" + }, + "name": "Rehab Example", + "description": "This is a rehab example for the *US Core Procedure Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/respiratory-rate" + }, + "name": "Respiratory Rate Example", + "description": "This is a respiratory rate example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + } + ], + "reference": { + "reference": "Organization/saint-luke-w-endpoint" + }, + "name": "Saint Luke W Endpoint Example", + "description": "This is a saint luke w endpoint example for the *US Core Organization Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + } + ], + "reference": { + "reference": "MedicationRequest/self-tylenol" + }, + "name": "Self Tylenol Example", + "description": "This is a self tylenol example for the *MedicationRequest Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-calcium" + }, + "name": "Serum Calcium Example", + "description": "This is a serum calcium example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-chloride" + }, + "name": "Serum Chloride Example", + "description": "This is a serum chloride example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-co2" + }, + "name": "Serum CO2 Example", + "description": "This is a serum CO2 example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-creatinine" + }, + "name": "Serum Creatinine Example", + "description": "This is a serum creatinine example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-potassium" + }, + "name": "Serum Potassium Example", + "description": "This is a serum potassium example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-sodium" + }, + "name": "Serum Sodium Example", + "description": "This is a serum sodium example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-total-bilirubin" + }, + "name": "Serum Total Bilirubin Example", + "description": "This is a serum total bilirubin example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/some-day-smoker" + }, + "name": "Some Day Smoker Example", + "description": "This is a some day smoker example for the *US Core Smokingstatus Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/temperature" + }, + "name": "Temperature Example", + "description": "This is a temperature example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + } + ], + "reference": { + "reference": "Device/udi-1" + }, + "name": "UDI 1 Example", + "description": "This is a UDI 1 example for the *US Core Implantable Device Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/urinalysis" + }, + "name": "Urinalysis Example", + "description": "This is a urinalysis example for the *US Core DiagnosticReport Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-bacteria" + }, + "name": "Urine Bacteria Example", + "description": "This is a urine bacteria example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-bilirubin" + }, + "name": "Urine Bilirubin Example", + "description": "This is a urine bilirubin example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-cells" + }, + "name": "Urine Cells Example", + "description": "This is a urine cells example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-clarity" + }, + "name": "Urine Clarity Example", + "description": "This is a urine clarity example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-color" + }, + "name": "Urine Color Example", + "description": "This is a urine color example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-epi-cells" + }, + "name": "Urine Epi Cells Example", + "description": "This is a urine epi cells example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-glucose" + }, + "name": "Urine Glucose Example", + "description": "This is a urine glucose example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-hemoglobin" + }, + "name": "Urine Hemoglobin Example", + "description": "This is a urine hemoglobin example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-ketone" + }, + "name": "Urine Ketone Example", + "description": "This is a urine ketone example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-leukocyte-esterase" + }, + "name": "Urine Leukocyte Esterase Example", + "description": "This is a urine leukocyte esterase example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-nitrite" + }, + "name": "Urine Nitrite Example", + "description": "This is a urine nitrite example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-ph" + }, + "name": "Urine pH Example", + "description": "This is a urine pH example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-protein" + }, + "name": "Urine Protein Example", + "description": "This is a urine protein example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-rbcs" + }, + "name": "Urine RBCsExample", + "description": "This is a urine RBCsexample for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-sediment" + }, + "name": "Urine Sediment Example", + "description": "This is a urine sediment example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urine-wbcs" + }, + "name": "Urine WBCsExample", + "description": "This is a urine WBCsexample for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urobilinogen" + }, + "name": "Urobilinogen Example", + "description": "This is a urobilinogen example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Medication" + } + ], + "reference": { + "reference": "Medication/uscore-med1" + }, + "name": "Uscore Med1 Example", + "description": "This is a uscore med1 example for the *US Core Medication Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Medication" + } + ], + "reference": { + "reference": "Medication/uscore-med2" + }, + "name": "Uscore Med2 Example", + "description": "This is a uscore med2 example for the *US Core Medication Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + } + ], + "reference": { + "reference": "MedicationRequest/uscore-mo1" + }, + "name": "Uscore MO1 Example", + "description": "This is a uscore mo1 example for the *US Core MedicationRequest Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + } + ], + "reference": { + "reference": "MedicationRequest/uscore-mo2" + }, + "name": "Uscore MO2 Example", + "description": "This is a uscore MO2 example for the *US Core MedicationRequest Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + } + ], + "reference": { + "reference": "Bundle/uscore-mo3" + }, + "name": "Uscore MO3 Example", + "description": "This is a uscore mo3 example for the *Bundle Profile*.", + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/usg" + }, + "name": "USG Example", + "description": "This is a USG example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/weight" + }, + "name": "Weight Example", + "description": "This is a weight example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight" + } + ], + "page": { + "nameUrl": "toc.html", + "title": "Table of Contents", + "generation": "html", + "page": [ + { + "nameUrl": "index.html", + "title": "Index", + "generation": "markdown" + }, + { + "nameUrl": "guidance.html", + "title": "Guidance", + "generation": "markdown", + "page": [ + { + "nameUrl": "general-guidance.html", + "title": "General Guidance", + "generation": "markdown" + }, + { + "nameUrl": "conformance-expectations.html", + "title": "Conformance Expectations", + "generation": "markdown" + }, + { + "nameUrl": "clinical-notes-guidance.html", + "title": "Clinical Notes Guidance", + "generation": "markdown" + }, + { + "nameUrl": "medication-list-guidance.html", + "title": "Medication List Guidance", + "generation": "markdown" + }, + { + "nameUrl": "basic-provenance.html", + "title": "Basic Provenance", + "generation": "markdown" + }, + { + "nameUrl": "DSTU2-to-R4-conversion.html", + "title": "DSTU2 to R4 Conversion", + "generation": "markdown" + }, + { + "nameUrl": "future-of-US-core.html", + "title": "Future of US Core", + "generation": "markdown" + } + ] + }, + { + "nameUrl": "profiles-and-extensions.html", + "title": "Profiles and Extensions", + "generation": "markdown" + }, + { + "nameUrl": "capability-statements.html", + "title": "Capability Statements", + "generation": "markdown" + }, + { + "nameUrl": "search-parameters-and-operations.html", + "title": "Search Parameters and Operations", + "generation": "markdown" + }, + { + "nameUrl": "terminology.html", + "title": "Terminology", + "generation": "markdown" + }, + { + "nameUrl": "security.html", + "title": "Security", + "generation": "markdown" + }, + { + "nameUrl": "examples.html", + "title": "Examples", + "generation": "markdown" + }, + { + "nameUrl": "downloads.html", + "title": "Downloads", + "generation": "markdown" + } + ] + }, + "parameter": [ + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/package.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/package.json new file mode 100644 index 00000000000..4bb4691c0ac --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/package.json @@ -0,0 +1,32 @@ +{ + "name": "hl7.fhir.us.core", + "version": "4.0.0", + "tools-version": 3, + "type": "fhir.ig", + "date": "20210628190945", + "license": "CC0-1.0", + "canonical": "http://hl7.org/fhir/us/core", + "url": "http://hl7.org/fhir/us/core/STU4.0.0", + "title": "US Core Implementation Guide", + "description": "The US Core Implementation Guide is based on FHIR Version R4 and defines the minimum conformance requirements for accessing patient data. The Argonaut pilot implementations, ONC 2015 Edition Common Clinical Data Set (CCDS), and ONC U.S. Core Data for Interoperability (USCDI) v1 provided the requirements for this guide. The prior Argonaut search and vocabulary requirements, based on FHIR DSTU2, are updated in this guide to support FHIR Version R4. This guide was used as the basis for further testing and guidance by the Argonaut Project Team to provide additional content and guidance specific to Data Query Access for purpose of ONC Certification testing. These profiles are the foundation for future US Realm FHIR implementation guides. In addition to Argonaut, they are used by DAF-Research, QI-Core, and CIMI. Under the guidance of HL7 and the HL7 US Realm Steering Committee, the content will expand in future versions to meet the needs specific to the US Realm.\nThese requirements were originally developed, balloted, and published in FHIR DSTU2 as part of the Office of the National Coordinator for Health Information Technology (ONC) sponsored Data Access Framework (DAF) project. For more information on how DAF became US Core see the US Core change notes. (built Mon, Jun 28, 2021 19:09+0000+00:00)", + "fhirVersions": [ + "4.0.1" + ], + "dependencies": { + "hl7.fhir.r4.core": "4.0.1", + "hl7.fhir.uv.bulkdata": "1.0.1", + "us.nlm.vsac": "0.3.0" + }, + "author": "HL7 International - US Realm Steering Committee", + "maintainers": [ + { + "name": "HL7 International - US Realm Steering Committee", + "url": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ], + "directories": { + "lib": "package", + "example": "example" + }, + "jurisdiction": "urn:iso:std:iso:3166#US" +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/.index.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/.index.json deleted file mode 100644 index 9a3ccfadc2b..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/.index.json +++ /dev/null @@ -1,1172 +0,0 @@ -{ - "index-version": 1, - "files": [ - { - "filename": "ig-r4.json", - "resourceType": "ImplementationGuide", - "id": "hl7.fhir.us.core", - "url": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core", - "version": "3.1.1" - }, - { - "filename": "ImplementationGuide-hl7.fhir.us.core.json", - "resourceType": "ImplementationGuide", - "id": "hl7.fhir.us.core", - "url": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core", - "version": "3.1.1" - }, - { - "filename": "StructureDefinition-us-core-implantable-device.json", - "resourceType": "StructureDefinition", - "id": "us-core-implantable-device", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device", - "version": "3.1.1", - "kind": "resource", - "type": "Device" - }, - { - "filename": "StructureDefinition-us-core-medicationrequest.json", - "resourceType": "StructureDefinition", - "id": "us-core-medicationrequest", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest", - "version": "3.1.1", - "kind": "resource", - "type": "MedicationRequest" - }, - { - "filename": "StructureDefinition-us-core-goal.json", - "resourceType": "StructureDefinition", - "id": "us-core-goal", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal", - "version": "3.1.1", - "kind": "resource", - "type": "Goal" - }, - { - "filename": "StructureDefinition-us-core-condition.json", - "resourceType": "StructureDefinition", - "id": "us-core-condition", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition", - "version": "3.1.1", - "kind": "resource", - "type": "Condition" - }, - { - "filename": "StructureDefinition-us-core-organization.json", - "resourceType": "StructureDefinition", - "id": "us-core-organization", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "version": "3.1.1", - "kind": "resource", - "type": "Organization" - }, - { - "filename": "StructureDefinition-us-core-careplan.json", - "resourceType": "StructureDefinition", - "id": "us-core-careplan", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan", - "version": "3.1.1", - "kind": "resource", - "type": "CarePlan" - }, - { - "filename": "StructureDefinition-us-core-careteam.json", - "resourceType": "StructureDefinition", - "id": "us-core-careteam", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", - "version": "3.1.1", - "kind": "resource", - "type": "CareTeam" - }, - { - "filename": "StructureDefinition-us-core-documentreference.json", - "resourceType": "StructureDefinition", - "id": "us-core-documentreference", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference", - "version": "3.1.1", - "kind": "resource", - "type": "DocumentReference" - }, - { - "filename": "StructureDefinition-us-core-medication.json", - "resourceType": "StructureDefinition", - "id": "us-core-medication", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication", - "version": "3.1.1", - "kind": "resource", - "type": "Medication" - }, - { - "filename": "StructureDefinition-us-core-procedure.json", - "resourceType": "StructureDefinition", - "id": "us-core-procedure", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure", - "version": "3.1.1", - "kind": "resource", - "type": "Procedure" - }, - { - "filename": "StructureDefinition-us-core-location.json", - "resourceType": "StructureDefinition", - "id": "us-core-location", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location", - "version": "3.1.1", - "kind": "resource", - "type": "Location" - }, - { - "filename": "StructureDefinition-us-core-pulse-oximetry.json", - "resourceType": "StructureDefinition", - "id": "us-core-pulse-oximetry", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry", - "version": "3.1.1", - "kind": "resource", - "type": "Observation" - }, - { - "filename": "StructureDefinition-us-core-encounter.json", - "resourceType": "StructureDefinition", - "id": "us-core-encounter", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter", - "version": "3.1.1", - "kind": "resource", - "type": "Encounter" - }, - { - "filename": "StructureDefinition-us-core-practitioner.json", - "resourceType": "StructureDefinition", - "id": "us-core-practitioner", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "version": "3.1.1", - "kind": "resource", - "type": "Practitioner" - }, - { - "filename": "StructureDefinition-us-core-allergyintolerance.json", - "resourceType": "StructureDefinition", - "id": "us-core-allergyintolerance", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance", - "version": "3.1.1", - "kind": "resource", - "type": "AllergyIntolerance" - }, - { - "filename": "StructureDefinition-us-core-observation-lab.json", - "resourceType": "StructureDefinition", - "id": "us-core-observation-lab", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", - "version": "3.1.1", - "kind": "resource", - "type": "Observation" - }, - { - "filename": "StructureDefinition-us-core-practitionerrole.json", - "resourceType": "StructureDefinition", - "id": "us-core-practitionerrole", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", - "version": "3.1.1", - "kind": "resource", - "type": "PractitionerRole" - }, - { - "filename": "StructureDefinition-us-core-immunization.json", - "resourceType": "StructureDefinition", - "id": "us-core-immunization", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization", - "version": "3.1.1", - "kind": "resource", - "type": "Immunization" - }, - { - "filename": "ValueSet-us-core-medication-codes.json", - "resourceType": "ValueSet", - "id": "us-core-medication-codes", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-location-address-state.json", - "resourceType": "SearchParameter", - "id": "us-core-location-address-state", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state", - "version": "3.1.1", - "type": "string" - }, - { - "filename": "SearchParameter-us-core-practitionerrole-practitioner.json", - "resourceType": "SearchParameter", - "id": "us-core-practitionerrole-practitioner", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner", - "version": "3.1.1", - "type": "reference" - }, - { - "filename": "ValueSet-us-core-observation-smokingstatus.json", - "resourceType": "ValueSet", - "id": "us-core-observation-smokingstatus", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus", - "version": "3.1.1" - }, - { - "filename": "ValueSet-us-core-observation-smokingstatus-max.json", - "resourceType": "ValueSet", - "id": "us-core-observation-smokingstatus-max", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max", - "version": "3.1.1" - }, - { - "filename": "ValueSet-omb-race-category.json", - "resourceType": "ValueSet", - "id": "omb-race-category", - "url": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category", - "version": "3.1.1" - }, - { - "filename": "ValueSet-us-core-allergy-substance.json", - "resourceType": "ValueSet", - "id": "us-core-allergy-substance", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-allergy-substance", - "version": "3.1.1" - }, - { - "filename": "ValueSet-us-core-narrative-status.json", - "resourceType": "ValueSet", - "id": "us-core-narrative-status", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status", - "version": "3.1.1" - }, - { - "filename": "CodeSystem-cdcrec.json", - "resourceType": "CodeSystem", - "id": "cdcrec", - "url": "urn:oid:2.16.840.1.113883.6.238", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-organization-name.json", - "resourceType": "SearchParameter", - "id": "us-core-organization-name", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name", - "version": "3.1.1", - "type": "string" - }, - { - "filename": "SearchParameter-us-core-diagnosticreport-code.json", - "resourceType": "SearchParameter", - "id": "us-core-diagnosticreport-code", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "StructureDefinition-pediatric-bmi-for-age.json", - "resourceType": "StructureDefinition", - "id": "pediatric-bmi-for-age", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", - "version": "3.1.1", - "kind": "resource", - "type": "Observation" - }, - { - "filename": "StructureDefinition-head-occipital-frontal-circumference-percentile.json", - "resourceType": "StructureDefinition", - "id": "head-occipital-frontal-circumference-percentile", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile", - "version": "3.1.1", - "kind": "resource", - "type": "Observation" - }, - { - "filename": "SearchParameter-us-core-goal-lifecycle-status.json", - "resourceType": "SearchParameter", - "id": "us-core-goal-lifecycle-status", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-procedure-code.json", - "resourceType": "SearchParameter", - "id": "us-core-procedure-code", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "ValueSet-us-core-documentreference-type.json", - "resourceType": "ValueSet", - "id": "us-core-documentreference-type", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type", - "version": "3.1.1" - }, - { - "filename": "ValueSet-us-core-provenance-participant-type.json", - "resourceType": "ValueSet", - "id": "us-core-provenance-participant-type", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-patient-gender.json", - "resourceType": "SearchParameter", - "id": "us-core-patient-gender", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "StructureDefinition-us-core-diagnosticreport-note.json", - "resourceType": "StructureDefinition", - "id": "us-core-diagnosticreport-note", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note", - "version": "3.1.1", - "kind": "resource", - "type": "DiagnosticReport" - }, - { - "filename": "ValueSet-omb-ethnicity-category.json", - "resourceType": "ValueSet", - "id": "omb-ethnicity-category", - "url": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category", - "version": "3.1.1" - }, - { - "filename": "StructureDefinition-us-core-provenance.json", - "resourceType": "StructureDefinition", - "id": "us-core-provenance", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance", - "version": "3.1.1", - "kind": "resource", - "type": "Provenance" - }, - { - "filename": "OperationDefinition-docref.json", - "resourceType": "OperationDefinition", - "id": "docref", - "url": "http://hl7.org/fhir/us/core/OperationDefinition/docref", - "version": "3.1.1", - "kind": "operation", - "type": "true" - }, - { - "filename": "SearchParameter-us-core-condition-clinical-status.json", - "resourceType": "SearchParameter", - "id": "us-core-condition-clinical-status", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "StructureDefinition-us-core-birthsex.json", - "resourceType": "StructureDefinition", - "id": "us-core-birthsex", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", - "version": "3.1.1", - "kind": "complex-type", - "type": "Extension" - }, - { - "filename": "SearchParameter-us-core-documentreference-id.json", - "resourceType": "SearchParameter", - "id": "us-core-documentreference-id", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-careplan-category.json", - "resourceType": "SearchParameter", - "id": "us-core-careplan-category", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-encounter-class.json", - "resourceType": "SearchParameter", - "id": "us-core-encounter-class", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-medicationrequest-patient.json", - "resourceType": "SearchParameter", - "id": "us-core-medicationrequest-patient", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient", - "version": "3.1.1", - "type": "reference" - }, - { - "filename": "CapabilityStatement-us-core-server.json", - "resourceType": "CapabilityStatement", - "id": "us-core-server", - "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server", - "version": "3.1.1", - "kind": "requirements" - }, - { - "filename": "ValueSet-us-core-condition-category.json", - "resourceType": "ValueSet", - "id": "us-core-condition-category", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category", - "version": "3.1.1" - }, - { - "filename": "ValueSet-detailed-ethnicity.json", - "resourceType": "ValueSet", - "id": "detailed-ethnicity", - "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-documentreference-patient.json", - "resourceType": "SearchParameter", - "id": "us-core-documentreference-patient", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient", - "version": "3.1.1", - "type": "reference" - }, - { - "filename": "ValueSet-us-core-ndc-vaccine-codes.json", - "resourceType": "ValueSet", - "id": "us-core-ndc-vaccine-codes", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-ndc-vaccine-codes", - "version": "3.1.1" - }, - { - "filename": "StructureDefinition-us-core-patient.json", - "resourceType": "StructureDefinition", - "id": "us-core-patient", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", - "version": "3.1.1", - "kind": "resource", - "type": "Patient" - }, - { - "filename": "SearchParameter-us-core-diagnosticreport-date.json", - "resourceType": "SearchParameter", - "id": "us-core-diagnosticreport-date", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date", - "version": "3.1.1", - "type": "date" - }, - { - "filename": "ValueSet-us-core-procedure-icd10pcs.json", - "resourceType": "ValueSet", - "id": "us-core-procedure-icd10pcs", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-icd10pcs", - "version": "3.1.1" - }, - { - "filename": "ValueSet-us-core-provider-specialty.json", - "resourceType": "ValueSet", - "id": "us-core-provider-specialty", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-procedure-date.json", - "resourceType": "SearchParameter", - "id": "us-core-procedure-date", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date", - "version": "3.1.1", - "type": "date" - }, - { - "filename": "ValueSet-us-core-vaccines-cvx.json", - "resourceType": "ValueSet", - "id": "us-core-vaccines-cvx", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vaccines-cvx", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-allergyintolerance-clinical-status.json", - "resourceType": "SearchParameter", - "id": "us-core-allergyintolerance-clinical-status", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-documentreference-date.json", - "resourceType": "SearchParameter", - "id": "us-core-documentreference-date", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date", - "version": "3.1.1", - "type": "date" - }, - { - "filename": "SearchParameter-us-core-medicationrequest-intent.json", - "resourceType": "SearchParameter", - "id": "us-core-medicationrequest-intent", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-location-address.json", - "resourceType": "SearchParameter", - "id": "us-core-location-address", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address", - "version": "3.1.1", - "type": "string" - }, - { - "filename": "ValueSet-us-core-observation-smoking-status-status.json", - "resourceType": "ValueSet", - "id": "us-core-observation-smoking-status-status", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status", - "version": "3.1.1" - }, - { - "filename": "ValueSet-us-core-usps-state.json", - "resourceType": "ValueSet", - "id": "us-core-usps-state", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-practitioner-name.json", - "resourceType": "SearchParameter", - "id": "us-core-practitioner-name", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name", - "version": "3.1.1", - "type": "string" - }, - { - "filename": "ValueSet-us-core-encounter-type.json", - "resourceType": "ValueSet", - "id": "us-core-encounter-type", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-documentreference-period.json", - "resourceType": "SearchParameter", - "id": "us-core-documentreference-period", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period", - "version": "3.1.1", - "type": "date" - }, - { - "filename": "SearchParameter-us-core-observation-code.json", - "resourceType": "SearchParameter", - "id": "us-core-observation-code", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-location-name.json", - "resourceType": "SearchParameter", - "id": "us-core-location-name", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name", - "version": "3.1.1", - "type": "string" - }, - { - "filename": "SearchParameter-us-core-condition-onset-date.json", - "resourceType": "SearchParameter", - "id": "us-core-condition-onset-date", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date", - "version": "3.1.1", - "type": "date" - }, - { - "filename": "SearchParameter-us-core-patient-given.json", - "resourceType": "SearchParameter", - "id": "us-core-patient-given", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given", - "version": "3.1.1", - "type": "string" - }, - { - "filename": "SearchParameter-us-core-encounter-type.json", - "resourceType": "SearchParameter", - "id": "us-core-encounter-type", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "ValueSet-us-core-condition-code.json", - "resourceType": "ValueSet", - "id": "us-core-condition-code", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code", - "version": "3.1.1" - }, - { - "filename": "CodeSystem-condition-category.json", - "resourceType": "CodeSystem", - "id": "condition-category", - "url": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-medicationrequest-encounter.json", - "resourceType": "SearchParameter", - "id": "us-core-medicationrequest-encounter", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter", - "version": "3.1.1", - "type": "reference" - }, - { - "filename": "SearchParameter-us-core-encounter-patient.json", - "resourceType": "SearchParameter", - "id": "us-core-encounter-patient", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient", - "version": "3.1.1", - "type": "reference" - }, - { - "filename": "SearchParameter-us-core-organization-address.json", - "resourceType": "SearchParameter", - "id": "us-core-organization-address", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address", - "version": "3.1.1", - "type": "string" - }, - { - "filename": "SearchParameter-us-core-observation-category.json", - "resourceType": "SearchParameter", - "id": "us-core-observation-category", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-diagnosticreport-status.json", - "resourceType": "SearchParameter", - "id": "us-core-diagnosticreport-status", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-observation-date.json", - "resourceType": "SearchParameter", - "id": "us-core-observation-date", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date", - "version": "3.1.1", - "type": "date" - }, - { - "filename": "ValueSet-birthsex.json", - "resourceType": "ValueSet", - "id": "birthsex", - "url": "http://hl7.org/fhir/us/core/ValueSet/birthsex", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-diagnosticreport-category.json", - "resourceType": "SearchParameter", - "id": "us-core-diagnosticreport-category", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-observation-status.json", - "resourceType": "SearchParameter", - "id": "us-core-observation-status", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "ValueSet-us-core-diagnosticreport-report-and-note-codes.json", - "resourceType": "ValueSet", - "id": "us-core-diagnosticreport-report-and-note-codes", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes", - "version": "3.1.1" - }, - { - "filename": "ValueSet-us-core-provider-role.json", - "resourceType": "ValueSet", - "id": "us-core-provider-role", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-ethnicity.json", - "resourceType": "SearchParameter", - "id": "us-core-ethnicity", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-ethnicity", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "StructureDefinition-us-core-direct.json", - "resourceType": "StructureDefinition", - "id": "us-core-direct", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", - "version": "3.1.1", - "kind": "complex-type", - "type": "Extension" - }, - { - "filename": "ValueSet-us-core-smoking-status-observation-codes.json", - "resourceType": "ValueSet", - "id": "us-core-smoking-status-observation-codes", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes", - "version": "3.1.1" - }, - { - "filename": "ValueSet-us-core-careteam-provider-roles.json", - "resourceType": "ValueSet", - "id": "us-core-careteam-provider-roles", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-provider-roles", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-documentreference-type.json", - "resourceType": "SearchParameter", - "id": "us-core-documentreference-type", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-encounter-date.json", - "resourceType": "SearchParameter", - "id": "us-core-encounter-date", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date", - "version": "3.1.1", - "type": "date" - }, - { - "filename": "ValueSet-us-core-diagnosticreport-category.json", - "resourceType": "ValueSet", - "id": "us-core-diagnosticreport-category", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-patient-birthdate.json", - "resourceType": "SearchParameter", - "id": "us-core-patient-birthdate", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate", - "version": "3.1.1", - "type": "date" - }, - { - "filename": "SearchParameter-us-core-procedure-status.json", - "resourceType": "SearchParameter", - "id": "us-core-procedure-status", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "ValueSet-us-core-clinical-note-type.json", - "resourceType": "ValueSet", - "id": "us-core-clinical-note-type", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-encounter-status.json", - "resourceType": "SearchParameter", - "id": "us-core-encounter-status", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "ConceptMap-ndc-cvx.json", - "resourceType": "ConceptMap", - "id": "ndc-cvx", - "url": "http://hl7.org/fhir/us/core/ConceptMap/ndc-cvx", - "version": "3.1.1" - }, - { - "filename": "StructureDefinition-us-core-ethnicity.json", - "resourceType": "StructureDefinition", - "id": "us-core-ethnicity", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "version": "3.1.1", - "kind": "complex-type", - "type": "Extension" - }, - { - "filename": "SearchParameter-us-core-careplan-status.json", - "resourceType": "SearchParameter", - "id": "us-core-careplan-status", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-condition-patient.json", - "resourceType": "SearchParameter", - "id": "us-core-condition-patient", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient", - "version": "3.1.1", - "type": "reference" - }, - { - "filename": "SearchParameter-us-core-allergyintolerance-patient.json", - "resourceType": "SearchParameter", - "id": "us-core-allergyintolerance-patient", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient", - "version": "3.1.1", - "type": "reference" - }, - { - "filename": "SearchParameter-us-core-device-patient.json", - "resourceType": "SearchParameter", - "id": "us-core-device-patient", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient", - "version": "3.1.1", - "type": "reference" - }, - { - "filename": "SearchParameter-us-core-condition-code.json", - "resourceType": "SearchParameter", - "id": "us-core-condition-code", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-observation-patient.json", - "resourceType": "SearchParameter", - "id": "us-core-observation-patient", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient", - "version": "3.1.1", - "type": "reference" - }, - { - "filename": "SearchParameter-us-core-race.json", - "resourceType": "SearchParameter", - "id": "us-core-race", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-race", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-careplan-patient.json", - "resourceType": "SearchParameter", - "id": "us-core-careplan-patient", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient", - "version": "3.1.1", - "type": "reference" - }, - { - "filename": "SearchParameter-us-core-patient-family.json", - "resourceType": "SearchParameter", - "id": "us-core-patient-family", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family", - "version": "3.1.1", - "type": "string" - }, - { - "filename": "StructureDefinition-us-core-smokingstatus.json", - "resourceType": "StructureDefinition", - "id": "us-core-smokingstatus", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus", - "version": "3.1.1", - "kind": "resource", - "type": "Observation" - }, - { - "filename": "SearchParameter-us-core-medicationrequest-status.json", - "resourceType": "SearchParameter", - "id": "us-core-medicationrequest-status", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "StructureDefinition-us-core-race.json", - "resourceType": "StructureDefinition", - "id": "us-core-race", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "version": "3.1.1", - "kind": "complex-type", - "type": "Extension" - }, - { - "filename": "SearchParameter-us-core-location-address-postalcode.json", - "resourceType": "SearchParameter", - "id": "us-core-location-address-postalcode", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode", - "version": "3.1.1", - "type": "string" - }, - { - "filename": "SearchParameter-us-core-encounter-id.json", - "resourceType": "SearchParameter", - "id": "us-core-encounter-id", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-medicationrequest-authoredon.json", - "resourceType": "SearchParameter", - "id": "us-core-medicationrequest-authoredon", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon", - "version": "3.1.1", - "type": "date" - }, - { - "filename": "SearchParameter-us-core-documentreference-status.json", - "resourceType": "SearchParameter", - "id": "us-core-documentreference-status", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "ValueSet-us-core-documentreference-category.json", - "resourceType": "ValueSet", - "id": "us-core-documentreference-category", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-procedure-patient.json", - "resourceType": "SearchParameter", - "id": "us-core-procedure-patient", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient", - "version": "3.1.1", - "type": "reference" - }, - { - "filename": "SearchParameter-us-core-goal-target-date.json", - "resourceType": "SearchParameter", - "id": "us-core-goal-target-date", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date", - "version": "3.1.1", - "type": "date" - }, - { - "filename": "SearchParameter-us-core-diagnosticreport-patient.json", - "resourceType": "SearchParameter", - "id": "us-core-diagnosticreport-patient", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient", - "version": "3.1.1", - "type": "reference" - }, - { - "filename": "SearchParameter-us-core-careplan-date.json", - "resourceType": "SearchParameter", - "id": "us-core-careplan-date", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date", - "version": "3.1.1", - "type": "date" - }, - { - "filename": "SearchParameter-us-core-careteam-patient.json", - "resourceType": "SearchParameter", - "id": "us-core-careteam-patient", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient", - "version": "3.1.1", - "type": "reference" - }, - { - "filename": "SearchParameter-us-core-immunization-date.json", - "resourceType": "SearchParameter", - "id": "us-core-immunization-date", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date", - "version": "3.1.1", - "type": "date" - }, - { - "filename": "SearchParameter-us-core-encounter-identifier.json", - "resourceType": "SearchParameter", - "id": "us-core-encounter-identifier", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-practitionerrole-specialty.json", - "resourceType": "SearchParameter", - "id": "us-core-practitionerrole-specialty", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-patient-name.json", - "resourceType": "SearchParameter", - "id": "us-core-patient-name", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name", - "version": "3.1.1", - "type": "string" - }, - { - "filename": "SearchParameter-us-core-device-type.json", - "resourceType": "SearchParameter", - "id": "us-core-device-type", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "ValueSet-us-core-procedure-code.json", - "resourceType": "ValueSet", - "id": "us-core-procedure-code", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code", - "version": "3.1.1" - }, - { - "filename": "StructureDefinition-us-core-diagnosticreport-lab.json", - "resourceType": "StructureDefinition", - "id": "us-core-diagnosticreport-lab", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab", - "version": "3.1.1", - "kind": "resource", - "type": "DiagnosticReport" - }, - { - "filename": "SearchParameter-us-core-goal-patient.json", - "resourceType": "SearchParameter", - "id": "us-core-goal-patient", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient", - "version": "3.1.1", - "type": "reference" - }, - { - "filename": "ValueSet-simple-language.json", - "resourceType": "ValueSet", - "id": "simple-language", - "url": "http://hl7.org/fhir/us/core/ValueSet/simple-language", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-immunization-patient.json", - "resourceType": "SearchParameter", - "id": "us-core-immunization-patient", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient", - "version": "3.1.1", - "type": "reference" - }, - { - "filename": "StructureDefinition-pediatric-weight-for-height.json", - "resourceType": "StructureDefinition", - "id": "pediatric-weight-for-height", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height", - "version": "3.1.1", - "kind": "resource", - "type": "Observation" - }, - { - "filename": "ValueSet-us-core-observation-value-codes.json", - "resourceType": "ValueSet", - "id": "us-core-observation-value-codes", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-value-codes", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-patient-id.json", - "resourceType": "SearchParameter", - "id": "us-core-patient-id", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-location-address-city.json", - "resourceType": "SearchParameter", - "id": "us-core-location-address-city", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city", - "version": "3.1.1", - "type": "string" - }, - { - "filename": "SearchParameter-us-core-careteam-status.json", - "resourceType": "SearchParameter", - "id": "us-core-careteam-status", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "CodeSystem-us-core-documentreference-category.json", - "resourceType": "CodeSystem", - "id": "us-core-documentreference-category", - "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "version": "3.1.1" - }, - { - "filename": "CodeSystem-us-core-provenance-participant-type.json", - "resourceType": "CodeSystem", - "id": "us-core-provenance-participant-type", - "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", - "version": "3.1.1" - }, - { - "filename": "ValueSet-us-core-diagnosticreport-lab-codes.json", - "resourceType": "ValueSet", - "id": "us-core-diagnosticreport-lab-codes", - "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes", - "version": "3.1.1" - }, - { - "filename": "CodeSystem-careplan-category.json", - "resourceType": "CodeSystem", - "id": "careplan-category", - "url": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", - "version": "3.1.1" - }, - { - "filename": "SearchParameter-us-core-documentreference-category.json", - "resourceType": "SearchParameter", - "id": "us-core-documentreference-category", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "CapabilityStatement-us-core-client.json", - "resourceType": "CapabilityStatement", - "id": "us-core-client", - "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-client", - "version": "3.1.1", - "kind": "requirements" - }, - { - "filename": "SearchParameter-us-core-practitioner-identifier.json", - "resourceType": "SearchParameter", - "id": "us-core-practitioner-identifier", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-patient-identifier.json", - "resourceType": "SearchParameter", - "id": "us-core-patient-identifier", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-condition-category.json", - "resourceType": "SearchParameter", - "id": "us-core-condition-category", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "SearchParameter-us-core-immunization-status.json", - "resourceType": "SearchParameter", - "id": "us-core-immunization-status", - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status", - "version": "3.1.1", - "type": "token" - }, - { - "filename": "ValueSet-detailed-race.json", - "resourceType": "ValueSet", - "id": "detailed-race", - "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-race", - "version": "3.1.1" - } - ] -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CapabilityStatement-us-core-client.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CapabilityStatement-us-core-client.json deleted file mode 100644 index db04c9253e4..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CapabilityStatement-us-core-client.json +++ /dev/null @@ -1,3746 +0,0 @@ -{ - "resourceType": "CapabilityStatement", - "id": "us-core-client", - "text": { - "status": "generated", - "div": "

US Core Client CapabilityStatement

" - }, - "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-client", - "version": "3.1.1", - "name": "UsCoreClientCapabilityStatement", - "title": "US Core Client CapabilityStatement", - "status": "active", - "experimental": false, - "date": "2020-07-28", - "publisher": "HL7 International - US Realm Steering Committee", - "contact": [ - { - "telecom": [ - { - "system": "url", - "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" - } - ] - } - ], - "description": "​The Section describes the expected capabilities of the US Core Client which is responsible for creating and initiating the queries for information about an individual patient. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined in the [Conformance Requirements for Server](CapabilityStatement-us-core-server.html). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", - "jurisdiction": [ - { - "coding": [ - { - "system": "urn:iso:std:iso:3166", - "code": "US", - "display": "United States of America" - } - ] - } - ], - "kind": "requirements", - "fhirVersion": "4.0.1", - "format": [ - "xml", - "json" - ], - "patchFormat": [ - "application/json-patch+json" - ], - "implementationGuide": [ - "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core|3.1.1" - ], - "rest": [ - { - "mode": "client", - "documentation": "The US Core Client **SHALL**:\n\n1. Support fetching and querying of one or more US Core profile(s), using the supported RESTful interactions and search parameters declared in the US Core Server CapabilityStatement.\n", - "security": { - "description": "1. See the [General Security Considerations] section for requirements and recommendations." - }, - "resource": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "clinical-status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "AllergyIntolerance", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "clinical-status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient", - "type": "reference" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - }, - { - "url": "required", - "valueString": "status" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "CarePlan", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "category", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date", - "type": "date" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status", - "type": "token" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "CareTeam", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status", - "type": "token" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "onset-date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "clinical-status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "code" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "Condition", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "category", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "clinical-status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "onset-date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date", - "type": "date" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "code", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code", - "type": "token" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "type" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "Device", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "type", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type", - "type": "token" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "code" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "code" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "DiagnosticReport", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "create", - "documentation": "This conformance expectation applies **only** to the *US Core DiagnosticReport Profile for Report and Note exchange* profile. The conformance expectation for the *US Core DiagnosticReport Profile for Laboratory Results Reporting* is **MAY**." - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "category", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "code", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date", - "type": "date" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "type" - }, - { - "url": "required", - "valueString": "period" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "type" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "DocumentReference", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ], - "documentation": "The DocumentReference.type binding SHALL support at a minimum the [5 Common Clinical Notes](ValueSet-us-core-clinical-note-type.html) and may extend to the full US Core DocumentReference Type Value Set", - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "_id", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "category", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "type", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date", - "type": "date" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "period", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period", - "type": "date" - } - ], - "operation": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "docref", - "definition": "http://hl7.org/fhir/us/core/OperationDefinition/docref", - "documentation": "A client **SHOULD** be capable of transacting a $docref operation and capable of receiving at least a reference to a generated CCD document, and **MAY** be able to receive other document types, if available. **SHOULD** be capable of receiving documents as included resources in response to the operation.\n\n`GET [base]/DocumentReference/$docref?patient=[id]`" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "class" - }, - { - "url": "required", - "valueString": "patient" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "type" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "date" - }, - { - "url": "required", - "valueString": "patient" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "Encounter", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "_id", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "class", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date", - "type": "date" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "identifier", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "type", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type", - "type": "token" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "lifecycle-status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "target-date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "Goal", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "lifecycle-status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "target-date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date", - "type": "date" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "Immunization", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date", - "type": "date" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "type": "Location", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "name", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name", - "type": "string" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "address", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address", - "type": "string" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "address-city", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city", - "type": "string" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "address-state", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state", - "type": "string" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "address-postalcode", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode", - "type": "string" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "type": "Medication", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" - ], - "documentation": "The MedicationRequest resource can represent a medication, using an external reference to a Medication resource. If an external Medication Resource is used in a MedicationRequest, then the READ **SHALL** be supported.", - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "intent" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "intent" - }, - { - "url": "required", - "valueString": "encounter" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "intent" - }, - { - "url": "required", - "valueString": "authoredon" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "intent" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "MedicationRequest", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ], - "documentation": "The MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing Medication, the resource may be [contained](http://hl7.org/fhir/R4/references.html#contained) or an external resource. The server application **MAY** choose any one way or more than one method, but if an external reference to Medication is used, the server **SHALL** support the _include` parameter for searching this element. The client application must support all methods.\n\n For example, A server **SHALL** be capable of returning all medications for a patient using one of or both:\n\n `GET /MedicationRequest?patient=[id]`\n\n `GET /MedicationRequest?patient=[id]&_include=MedicationRequest:medication`", - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchInclude": [ - "MedicationRequest:medication" - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "intent", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "encounter", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "authoredon", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon", - "type": "date" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "code" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "code" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "Observation", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus", - "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", - "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry", - "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "category", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "code", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date", - "type": "date" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient", - "type": "reference" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "type": "Organization", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "name", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name", - "type": "string" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "address", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address", - "type": "string" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "birthdate" - }, - { - "url": "required", - "valueString": "family" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "family" - }, - { - "url": "required", - "valueString": "gender" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "birthdate" - }, - { - "url": "required", - "valueString": "name" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "gender" - }, - { - "url": "required", - "valueString": "name" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "Patient", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "_id", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "birthdate", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate", - "type": "date" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "family", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family", - "type": "string" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "gender", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "given", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given", - "type": "string" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "identifier", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "name", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name", - "type": "string" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "type": "Practitioner", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "name", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name", - "type": "string" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "identifier", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier", - "type": "token" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "type": "PractitionerRole", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchInclude": [ - "PractitionerRole:endpoint", - "PractitionerRole:practitioner" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "specialty", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "practitioner", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner", - "type": "reference" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "code" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "Procedure", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date", - "type": "date" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "code", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code", - "type": "token" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "type": "Provenance", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "type": "ValueSet", - "operation": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "expand", - "definition": "http://hl7.org/fhir/OperationDefinition/ValueSet-expand", - "documentation": "A client can determine the note and report types support by a server by invoking the standard FHIR Value Set Expansion ($expand) operation defined in the FHIR R4 specification. Because servers may support different read and write formats, it also is used to determine the formats (for example, text, pdf) the server supports read and write transactions." - } - ] - } - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "transaction" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "batch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "search-system" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-system" - } - ] - } - ] -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CapabilityStatement-us-core-server.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CapabilityStatement-us-core-server.json deleted file mode 100644 index 426976fe8c7..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CapabilityStatement-us-core-server.json +++ /dev/null @@ -1,3807 +0,0 @@ -{ - "resourceType": "CapabilityStatement", - "id": "us-core-server", - "text": { - "status": "generated", - "div": "

US Core Server CapabilityStatement

" - }, - "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server", - "version": "3.1.1", - "name": "UsCoreServerCapabilityStatement", - "title": "US Core Server CapabilityStatement", - "status": "active", - "experimental": false, - "date": "2020-07-28", - "publisher": "HL7 International - US Realm Steering Committee", - "contact": [ - { - "telecom": [ - { - "system": "url", - "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" - } - ] - } - ], - "description": "This Section describes the expected capabilities of the US Core Server actor which is responsible for providing responses to the queries submitted by the US Core Requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined. Systems implementing this capability statement should meet the ONC 2015 Common Clinical Data Set (CCDS) access requirement for Patient Selection 170.315(g)(7) and Application Access - Data Category Request 170.315(g)(8) and and the ONC [U.S. Core Data for Interoperability (USCDI)](https://www.healthit.gov/isa/sites/isa/files/2020-03/USCDI-Version1-2020-Final-Standard.pdf). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", - "jurisdiction": [ - { - "coding": [ - { - "system": "urn:iso:std:iso:3166", - "code": "US", - "display": "United States of America" - } - ] - } - ], - "kind": "requirements", - "fhirVersion": "4.0.1", - "format": [ - "xml", - "json" - ], - "patchFormat": [ - "application/json-patch+json" - ], - "implementationGuide": [ - "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core|3.1.1" - ], - "rest": [ - { - "mode": "server", - "documentation": "The US Core Server **SHALL**:\n\n1. Support the US Core Patient resource profile.\n1. Support at least one additional resource profile from the list of US Core Profiles.\n1. Implement the RESTful behavior according to the FHIR specification.\n1. Return the following response classes:\n - (Status 400): invalid parameter\n - (Status 401/4xx): unauthorized request\n - (Status 403): insufficient scope\n - (Status 404): unknown resource\n - (Status 410): deleted resource.\n1. Support json source formats for all US Core interactions.\n\nThe US Core Server **SHOULD**:\n\n1. Support xml source formats for all US Core interactions.\n1. Identify the US Core profiles supported as part of the FHIR `meta.profile` attribute for each instance.\n1. Support xml resource formats for all Argonaut questionnaire interactions.", - "security": { - "description": "1. See the [General Security Considerations](security.html) section for requirements and recommendations.\n1. A server **SHALL** reject any unauthorized requests by returning an `HTTP 401` unauthorized response code." - }, - "resource": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "clinical-status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "AllergyIntolerance", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "clinical-status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient", - "type": "reference" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - }, - { - "url": "required", - "valueString": "status" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "CarePlan", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "category", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date", - "type": "date" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status", - "type": "token" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "CareTeam", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status", - "type": "token" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "onset-date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "clinical-status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "code" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "Condition", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "category", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "clinical-status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "onset-date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date", - "type": "date" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "code", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code", - "type": "token" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "type" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "Device", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "type", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type", - "type": "token" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "code" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "code" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "DiagnosticReport", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "create", - "documentation": "This conformance expectation applies **only** to the *US Core DiagnosticReport Profile for Report and Note exchange* profile. The conformance expectation for the *US Core DiagnosticReport Profile for Laboratory Results Reporting* is **MAY**." - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "category", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "code", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date", - "type": "date" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "type" - }, - { - "url": "required", - "valueString": "period" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "type" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "DocumentReference", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ], - "documentation": "The DocumentReference.type binding SHALL support at a minimum the [5 Common Clinical Notes](ValueSet-us-core-clinical-note-type.html) and may extend to the full US Core DocumentReference Type Value Set", - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "_id", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "category", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "type", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date", - "type": "date" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "period", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period", - "type": "date" - } - ], - "operation": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "docref", - "definition": "http://hl7.org/fhir/us/core/OperationDefinition/docref", - "documentation": "A server **SHALL** be capable of responding to a $docref operation and capable of returning at least a reference to a generated CCD document, if available. **MAY** provide references to other 'on-demand' and 'stable' documents (or 'delayed/deferred assembly') that meet the query parameters as well. If a context date range is supplied the server ** SHOULD** provide references to any document that falls within the date range If no date range is supplied, then the server **SHALL** provide references to last or current encounter. **SHOULD** document what resources, if any, are returned as included resources\n\n`GET [base]/DocumentReference/$docref?patient=[id]`" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "class" - }, - { - "url": "required", - "valueString": "patient" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "type" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "date" - }, - { - "url": "required", - "valueString": "patient" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "Encounter", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "_id", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "class", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date", - "type": "date" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "identifier", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "type", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type", - "type": "token" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "lifecycle-status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "target-date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "Goal", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "lifecycle-status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "target-date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date", - "type": "date" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "Immunization", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date", - "type": "date" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "type": "Location", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "name", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name", - "type": "string" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "address", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address", - "type": "string" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "address-city", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city", - "type": "string" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "address-state", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state", - "type": "string" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "address-postalcode", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode", - "type": "string" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "type": "Medication", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" - ], - "documentation": "The MedicationRequest resource can represent a medication, using an external reference to a Medication resource. If an external Medication Resourcse is used in a MedicationRequest, then the READ **SHALL** be supported.", - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "intent" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "intent" - }, - { - "url": "required", - "valueString": "encounter" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "intent" - }, - { - "url": "required", - "valueString": "authoredon" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "intent" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "MedicationRequest", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ], - "documentation": "The MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing Medication, the resource may be [contained](http://hl7.org/fhir/R4/references.html#contained) or an external resource. The server application **MAY** choose any one way or more than one method, but if an external reference to Medication is used, the server **SHALL** support the _include` parameter for searching this element. The client application must support all methods.\n\n For example, A server **SHALL** be capable of returning all medications for a patient using one of or both:\n\n `GET /MedicationRequest?patient=[id]`\n\n `GET /MedicationRequest?patient=[id]&_include=MedicationRequest:medication`", - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchInclude": [ - "MedicationRequest:medication" - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "intent", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "encounter", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "authoredon", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon", - "type": "date" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "code" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "code" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "category" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "Observation", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus", - "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", - "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry", - "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "category", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "code", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date", - "type": "date" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient", - "type": "reference" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "type": "Organization", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "name", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name", - "type": "string" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "address", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address", - "type": "string" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "birthdate" - }, - { - "url": "required", - "valueString": "family" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "family" - }, - { - "url": "required", - "valueString": "gender" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "birthdate" - }, - { - "url": "required", - "valueString": "name" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "gender" - }, - { - "url": "required", - "valueString": "name" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "Patient", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "_id", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "birthdate", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate", - "type": "date" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "family", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family", - "type": "string" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "gender", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "given", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given", - "type": "string" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "identifier", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "name", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name", - "type": "string" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "type": "Practitioner", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "name", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name", - "type": "string" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "identifier", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier", - "type": "token" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "type": "PractitionerRole", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchInclude": [ - "PractitionerRole:endpoint", - "PractitionerRole:practitioner" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "specialty", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "practitioner", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner", - "type": "reference" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "status" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - }, - { - "url": "required", - "valueString": "patient" - }, - { - "url": "required", - "valueString": "code" - }, - { - "url": "required", - "valueString": "date" - } - ], - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" - } - ], - "type": "Procedure", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ], - "searchRevInclude": [ - "Provenance:target" - ], - "searchParam": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "status", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status", - "type": "token" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "name": "patient", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient", - "type": "reference" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "date", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date", - "type": "date" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "name": "code", - "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code", - "type": "token" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "type": "Provenance", - "supportedProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance" - ], - "documentation": "If a system receives a provider in `Provenance.agent.who` as free text they must capture who sent them the information as the organization. On request they **SHALL** provide this organization as the source and **MAY** include the free text provider.", - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "create" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "search-type" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHALL" - } - ], - "code": "read" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "vread" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "update" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "patch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "delete" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "code": "history-instance" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-type" - } - ], - "referencePolicy": [ - "resolves" - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "type": "ValueSet", - "operation": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "SHOULD" - } - ], - "name": "expand", - "definition": "http://hl7.org/fhir/OperationDefinition/ValueSet-expand", - "documentation": "A client can determine the note and report types support by a server by invoking the standard FHIR Value Set Expansion ($expand) operation defined in the FHIR R4 specification. Because servers may support different read and write formats, it also is used to determine the formats (for example, text, pdf) the server supports read and write transactions." - } - ] - } - ], - "interaction": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "transaction" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "batch" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "search-system" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ], - "code": "history-system" - } - ] - } - ] -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CodeSystem-careplan-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CodeSystem-careplan-category.json deleted file mode 100644 index 34aefcbc2a3..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CodeSystem-careplan-category.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"CodeSystem","id":"careplan-category","text":{"status":"generated","div":"

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

CodeDisplayDefinition
assess-plan Assessment and Plan of TreatmentThe clinical conclusions and assumptions that guide the patient's treatment and the clinical activities formulated for a patient.
"},"url":"http://hl7.org/fhir/us/core/CodeSystem/careplan-category","version":"3.1.1","name":"USCoreCarePlanCategoryExtensionCodes","title":"US Core CarePlan Category Extension Codes","status":"active","date":"2020-08-28T10:54:27+10:00","publisher":"HL7 US Realm Steering Committee","description":"Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.\n","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"caseSensitive":true,"content":"complete","concept":[{"code":"assess-plan","display":"Assessment and Plan of Treatment","definition":"The clinical conclusions and assumptions that guide the patient's treatment and the clinical activities formulated for a patient."}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CodeSystem-cdcrec.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CodeSystem-cdcrec.json deleted file mode 100644 index 648328f63c4..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CodeSystem-cdcrec.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"CodeSystem","id":"cdcrec","text":{"status":"generated","div":"

Properties

CodeURLDescriptionType
abstractTrue if an element is considered 'abstract' - in other words, the code is not for use as a real conceptboolean

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

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

Properties

CodeURLDescriptionType
statushttp://hl7.org/fhir/concept-properties#statusA property that indicates the status of the concept. One of active, experimental, deprecated, retiredcode

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

CodeDisplayDefinitionstatus
problem ProblemThe patients problems as identified by the provider(s). Items on the provider’s problem listdeprecated
health-concern Health ConcernAdditional health concerns from other stakeholders which are outside the provider’s problem list.
"},"url":"http://hl7.org/fhir/us/core/CodeSystem/condition-category","version":"3.1.1","name":"USCoreConditionCategoryExtensionCodes","title":"US Core Condition Category Extension Codes","status":"active","date":"2020-08-28T10:54:27+10:00","publisher":"HL7 US Realm Steering Committee","description":"Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.\n","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"caseSensitive":true,"content":"complete","property":[{"code":"status","uri":"http://hl7.org/fhir/concept-properties#status","description":"A property that indicates the status of the concept. One of active, experimental, deprecated, retired","type":"code"}],"concept":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/codesystem-replacedby","valueCoding":{"system":"http://terminology.hl7.org/CodeSystem/condition-category","code":"problem-list-item","display":"Problem List Item"}}],"code":"problem","display":"Problem","definition":"The patients problems as identified by the provider(s). Items on the provider’s problem list","property":[{"code":"status","valueCode":"deprecated"}]},{"code":"health-concern","display":"Health Concern","definition":"Additional health concerns from other stakeholders which are outside the provider’s problem list."}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CodeSystem-us-core-documentreference-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CodeSystem-us-core-documentreference-category.json deleted file mode 100644 index 29c4e18b4c7..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CodeSystem-us-core-documentreference-category.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"CodeSystem","id":"us-core-documentreference-category","text":{"status":"generated","div":"

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

CodeDisplayDefinition
clinical-note Clinical NotePart of health record where healthcare professionals record details to document a patient's clinical status or achievements during the course of a hospitalization or over the course of outpatient care ([Wikipedia](https://en.wikipedia.org/wiki/Progress_note))
"},"url":"http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category","version":"3.1.1","name":"USCoreDocumentReferencesCategoryCodes","title":"US Core DocumentReferences Category Codes","status":"active","date":"2019-05-21","description":"The US Core DocumentReferences Type Code System is a 'starter set' of categories supported for fetching and storing DocumentReference Resources.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"caseSensitive":true,"valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category","content":"complete","count":2,"concept":[{"code":"clinical-note","display":"Clinical Note","definition":"Part of health record where healthcare professionals record details to document a patient's clinical status or achievements during the course of a hospitalization or over the course of outpatient care ([Wikipedia](https://en.wikipedia.org/wiki/Progress_note))"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CodeSystem-us-core-provenance-participant-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CodeSystem-us-core-provenance-participant-type.json deleted file mode 100644 index e11a9a72fad..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/CodeSystem-us-core-provenance-participant-type.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"CodeSystem","id":"us-core-provenance-participant-type","text":{"status":"generated","div":"

This code system http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type defines the following codes:

CodeDisplayDefinition
transmitter TransmitterThe entity that provided the copy to your system.
"},"url":"http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type","version":"3.1.1","name":"USCoreProvenancePaticipantTypeExtensionCodes","title":"US Core Provenance Participant Type Extension Codes","status":"active","date":"2020-08-28T10:54:27+10:00","publisher":"HL7 US Realm Steering Committee","description":"Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.\n","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"caseSensitive":true,"content":"complete","concept":[{"code":"transmitter","display":"Transmitter","definition":"The entity that provided the copy to your system."}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ConceptMap-ndc-cvx.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ConceptMap-ndc-cvx.json deleted file mode 100644 index 822d8a3590d..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ConceptMap-ndc-cvx.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ConceptMap","id":"ndc-cvx","text":{"status":"extensions","div":"

USCoreNDCtoCVXCodeMapping (http://hl7.org/fhir/us/core/ConceptMap/ndc-cvx)

Mapping from http://hl7.org/fhir/us/core/ValueSet/us-core-ndc-vaccine-codes to http://hl7.org/fhir/us/core/ValueSet/us-core-vaccines-cvx

ACTIVE. Published on 2019-05-21 by HL7 US Realm Steering Committee.

Unit of Use [NDC code] (https://www2a.cdc.gov/vaccines/iis/iisstandards/ndc_crosswalk.asp) mapping to the CVX Vaccine codes. Note: source = NDC and target = CVX

\n

Source CodeRelationshipDestination Code
00005-0100-02maps to wider concept162
00005-0100-05maps to wider concept162
00005-0100-10maps to wider concept162
00005-1970-50maps to wider concept100
00005-1971-02maps to wider concept133
00005-1971-04maps to wider concept133
00005-1971-05maps to wider concept133
00006-4045-00maps to wider concept62
00006-4045-41maps to wider concept62
00006-4047-20maps to wider concept116
00006-4047-41maps to wider concept116
00006-4093-02maps to wider concept08
00006-4093-09maps to wider concept08
00006-4094-02maps to wider concept43
00006-4094-09maps to wider concept43
00006-4095-02maps to wider concept83
00006-4095-09maps to wider concept83
00006-4096-02maps to wider concept52
00006-4096-09maps to wider concept52
00006-4109-02maps to wider concept62
00006-4109-09maps to wider concept62
00006-4119-02maps to wider concept165
00006-4119-03maps to wider concept165
00006-4121-02maps to wider concept165
00006-4133-41maps to wider concept09
00006-4171-00maps to wider concept94
00006-4681-00maps to wider concept03
00006-4739-00maps to wider concept33
00006-4826-00maps to wider concept21
00006-4827-00maps to wider concept21
00006-4831-41maps to wider concept83
00006-4837-02maps to wider concept33
00006-4837-03maps to wider concept33
00006-4841-00maps to wider concept52
00006-4841-41maps to wider concept52
00006-4897-00maps to wider concept49
00006-4898-00maps to wider concept51
00006-4943-00maps to wider concept33
00006-4963-00maps to wider concept121
00006-4963-41maps to wider concept121
00006-4980-00maps to wider concept08
00006-4981-00maps to wider concept08
00006-4992-00maps to wider concept44
00006-4995-00maps to wider concept43
00006-4995-41maps to wider concept43
00006-4999-00maps to wider concept94
00052-0603-02maps to wider concept19
13533-0131-01maps to wider concept09
14362-0111-04maps to wider concept09
17478-0131-01maps to wider concept09
19515-0845-11maps to wider concept141
19515-0850-52maps to wider concept140
19515-0889-07maps to wider concept141
19515-0890-07maps to wider concept141
19515-0891-11maps to wider concept158
19515-0893-07maps to wider concept141
19515-0894-52maps to wider concept150
19515-0895-11maps to wider concept158
19515-0896-11maps to wider concept158
19515-0898-11maps to wider concept158
19515-0900-11maps to wider concept158
19515-0901-52maps to wider concept150
19515-0903-11maps to wider concept158
19515-0908-52maps to wider concept150
19515-0909-52maps to wider concept150
19515-0912-52maps to wider concept150
21695-0413-01maps to wider concept09
33332-0010-01maps to wider concept140
33332-0013-01maps to wider concept140
33332-0014-01maps to wider concept140
33332-0015-01maps to wider concept140
33332-0016-01maps to wider concept140
33332-0017-01maps to wider concept140
33332-0018-01maps to wider concept140
33332-0110-10maps to wider concept141
33332-0113-10maps to wider concept141
33332-0114-10maps to wider concept141
33332-0115-10maps to wider concept141
33332-0116-10maps to wider concept141
33332-0117-10maps to wider concept141
33332-0118-10maps to wider concept141
33332-0316-01maps to wider concept150
33332-0317-01maps to wider concept150
33332-0318-01maps to wider concept150
33332-0416-10maps to wider concept158
33332-0417-10maps to wider concept158
33332-0418-10maps to wider concept158
33332-0519-01maps to wider concept126
33332-0519-25maps to wider concept126
33332-0629-10maps to wider concept127
42515-0001-01maps to wider concept134
42515-0001-01maps to wider concept134
42515-0001-01maps to wider concept134
42515-0001-01maps to wider concept134
42515-0002-01maps to wider concept134
42874-0012-10maps to wider concept155
42874-0013-10maps to wider concept155
42874-0014-10maps to wider concept155
42874-0015-10maps to wider concept155
42874-0016-10maps to wider concept155
42874-0017-10maps to wider concept155
42874-0117-10maps to wider concept185
43528-0002-05maps to wider concept189
43528-0003-05maps to wider concept189
46028-0114-01maps to wider concept163
46028-0114-02maps to wider concept163
46028-0208-01maps to wider concept136
46028-0208-01maps to wider concept136
49281-0010-10maps to wider concept140
49281-0010-25maps to wider concept140
49281-0010-50maps to wider concept140
49281-0011-10maps to wider concept140
49281-0011-50maps to wider concept140
49281-0012-10maps to wider concept140
49281-0012-50maps to wider concept140
49281-0013-10maps to wider concept140
49281-0013-50maps to wider concept140
49281-0014-50maps to wider concept140
49281-0111-25maps to wider concept140
49281-0112-25maps to wider concept140
49281-0113-25maps to wider concept140
49281-0215-10maps to wider concept113
49281-0215-15maps to wider concept113
49281-0225-10maps to wider concept28
49281-0250-51maps to wider concept175
49281-0278-10maps to wider concept28
49281-0286-01maps to wider concept106
49281-0286-05maps to wider concept106
49281-0286-10maps to wider concept106
49281-0291-10maps to wider concept113
49281-0291-83maps to wider concept113
49281-0298-10maps to wider concept20
49281-0386-15maps to wider concept141
49281-0387-65maps to wider concept135
49281-0388-15maps to wider concept141
49281-0389-65maps to wider concept135
49281-0390-15maps to wider concept141
49281-0391-65maps to wider concept135
49281-0392-15maps to wider concept141
49281-0393-65maps to wider concept135
49281-0394-15maps to wider concept141
49281-0395-65maps to wider concept135
49281-0396-15maps to wider concept141
49281-0397-65maps to wider concept135
49281-0399-65maps to wider concept135
49281-0400-05maps to wider concept115
49281-0400-10maps to wider concept115
49281-0400-15maps to wider concept115
49281-0400-20maps to wider concept115
49281-0401-65maps to wider concept135
49281-0403-65maps to wider concept135
49281-0413-10maps to wider concept150
49281-0413-50maps to wider concept150
49281-0414-10maps to wider concept150
49281-0414-50maps to wider concept150
49281-0415-10maps to wider concept150
49281-0416-10maps to wider concept150
49281-0416-50maps to wider concept150
49281-0417-10maps to wider concept150
49281-0417-50maps to wider concept150
49281-0418-10maps to wider concept150
49281-0418-50maps to wider concept150
49281-0489-01maps to wider concept32
49281-0489-91maps to wider concept32
49281-0510-05maps to wider concept120
49281-0510-05maps to wider concept120
49281-0513-25maps to wider concept161
49281-0514-25maps to wider concept161
49281-0516-25maps to wider concept161
49281-0517-25maps to wider concept161
49281-0518-25maps to wider concept161
49281-0545-03maps to wider concept48
49281-0545-05maps to wider concept48
49281-0562-10maps to wider concept130
49281-0589-05maps to wider concept114
49281-0621-15maps to wider concept158
49281-0625-15maps to wider concept158
49281-0627-15maps to wider concept158
49281-0629-15maps to wider concept158
49281-0640-15maps to wider concept127
49281-0650-10maps to wider concept126
49281-0650-25maps to wider concept126
49281-0650-50maps to wider concept126
49281-0650-70maps to wider concept126
49281-0650-90maps to wider concept126
49281-0703-55maps to wider concept144
49281-0705-55maps to wider concept144
49281-0707-55maps to wider concept144
49281-0708-40maps to wider concept166
49281-0709-55maps to wider concept144
49281-0710-40maps to wider concept166
49281-0712-40maps to wider concept166
49281-0718-10maps to wider concept185
49281-0790-20maps to wider concept101
49281-0790-51maps to wider concept101
49281-0800-83maps to wider concept35
49281-0820-10maps to wider concept35
49281-0860-10maps to wider concept10
49281-0860-10maps to wider concept10
49281-0860-55maps to wider concept10
49281-0913-01maps to wider concept183
49281-0915-01maps to wider concept37
49281-0915-05maps to wider concept37
50090-1693-09maps to wider concept10
50090-2883-00maps to wider concept20
50090-3096-00maps to wider concept176
50090-3469-00maps to wider concept189
51285-0138-50maps to wider concept143
51285-0138-50maps to wider concept143
54868-0734-00maps to wider concept43
54868-0980-00maps to wider concept03
54868-2219-00maps to wider concept43
54868-2219-01maps to wider concept43
54868-3339-01maps to wider concept33
54868-4320-00maps to wider concept33
54868-6177-00maps to wider concept141
54868-6180-00maps to wider concept140
55045-3841-01maps to wider concept52
58160-0801-11maps to wider concept148
58160-0806-05maps to wider concept48
58160-0808-15maps to wider concept160
58160-0808-15maps to wider concept160
58160-0809-05maps to wider concept148
58160-0810-11maps to wider concept20
58160-0810-52maps to wider concept20
58160-0811-51maps to wider concept110
58160-0811-52maps to wider concept110
58160-0812-11maps to wider concept130
58160-0812-52maps to wider concept130
58160-0815-11maps to wider concept104
58160-0815-34maps to wider concept104
58160-0815-46maps to wider concept104
58160-0815-48maps to wider concept104
58160-0815-52maps to wider concept104
58160-0816-05maps to wider concept48
58160-0818-11maps to wider concept48
58160-0819-12maps to wider concept187
58160-0820-11maps to wider concept08
58160-0820-52maps to wider concept08
58160-0821-11maps to wider concept43
58160-0821-34maps to wider concept43
58160-0821-52maps to wider concept43
58160-0823-11maps to wider concept187
58160-0825-11maps to wider concept83
58160-0825-52maps to wider concept83
58160-0826-11maps to wider concept52
58160-0826-34maps to wider concept52
58160-0826-52maps to wider concept52
58160-0830-34maps to wider concept118
58160-0830-52maps to wider concept118
58160-0842-11maps to wider concept115
58160-0842-34maps to wider concept115
58160-0842-51maps to wider concept115
58160-0842-52maps to wider concept115
58160-0854-52maps to wider concept119
58160-0879-52maps to wider concept140
58160-0880-52maps to wider concept140
58160-0881-52maps to wider concept140
58160-0883-52maps to wider concept140
58160-0898-52maps to wider concept150
58160-0900-52maps to wider concept150
58160-0901-52maps to wider concept150
58160-0903-52maps to wider concept150
58160-0905-52maps to wider concept150
58160-0907-52maps to wider concept150
58160-0955-09maps to wider concept136
58160-0955-09maps to wider concept136
58160-0964-12maps to wider concept176
58160-0964-12maps to wider concept176
58160-0976-06maps to wider concept163
58160-0976-20maps to wider concept163
62195-0051-10maps to wider concept134
62577-0613-01maps to wider concept153
62577-0614-01maps to wider concept153
63851-0501-01maps to wider concept176
63851-0501-02maps to wider concept176
63851-0612-01maps to wider concept153
63851-0613-01maps to wider concept153
64678-0211-01maps to wider concept24
66019-0107-01maps to wider concept111
66019-0108-10maps to wider concept111
66019-0109-10maps to wider concept111
66019-0110-10maps to wider concept111
66019-0200-10maps to wider concept125
66019-0300-10maps to wider concept149
66019-0301-10maps to wider concept149
66019-0302-10maps to wider concept149
66019-0303-10maps to wider concept149
66019-0304-10maps to wider concept149
66019-0305-10maps to wider concept149
66521-0000-01maps to wider concept168
66521-0112-02maps to wider concept140
66521-0112-10maps to wider concept141
66521-0113-02maps to wider concept140
66521-0113-10maps to wider concept141
66521-0114-02maps to wider concept140
66521-0114-10maps to wider concept141
66521-0115-02maps to wider concept140
66521-0115-10maps to wider concept141
66521-0116-02maps to wider concept140
66521-0116-10maps to wider concept141
66521-0117-02maps to wider concept140
66521-0117-10maps to wider concept141
66521-0118-02maps to wider concept140
66521-0118-10maps to wider concept141
66521-0200-02maps to wider concept127
66521-0200-10maps to wider concept126
69401-0000-01maps to wider concept25
69401-0000-02maps to wider concept25
70460-0001-01maps to wider concept174
70461-0001-01maps to wider concept168
70461-0002-01maps to wider concept168
70461-0018-03maps to wider concept168
70461-0119-02maps to wider concept140
70461-0119-10maps to wider concept141
70461-0120-02maps to wider concept140
70461-0120-10maps to wider concept141
70461-0200-01maps to wider concept171
70461-0201-01maps to wider concept171
70461-0301-10maps to wider concept186
70461-0318-03maps to wider concept171
70461-0418-10maps to wider concept186
76420-0482-01maps to wider concept150
76420-0483-01maps to wider concept150
63361-0245-10maps to wider concept146
"},"url":"http://hl7.org/fhir/us/core/ConceptMap/ndc-cvx","version":"3.1.1","name":"USCoreNDCtoCVXCodeMapping","title":"US Core NDC to CVX Code Mapping","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","description":"Unit of Use [NDC code] (https://www2a.cdc.gov/vaccines/iis/iisstandards/ndc_crosswalk.asp) mapping to the [CVX Vaccine codes](https://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx). Note: source = NDC and target = CVX","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"purpose":"Based upon the 2015 Edition Certification Requirements, the NDC vaccine codes SHOULD be supported as translations to the CVX vaccine codes.","sourceCanonical":"http://hl7.org/fhir/us/core/ValueSet/us-core-ndc-vaccine-codes","targetCanonical":"http://hl7.org/fhir/us/core/ValueSet/us-core-vaccines-cvx","group":[{"element":[{"code":"00005-0100-02","target":[{"code":"162","equivalence":"wider"}]},{"code":"00005-0100-05","target":[{"code":"162","equivalence":"wider"}]},{"code":"00005-0100-10","target":[{"code":"162","equivalence":"wider"}]},{"code":"00005-1970-50","target":[{"code":"100","equivalence":"wider"}]},{"code":"00005-1971-02","target":[{"code":"133","equivalence":"wider"}]},{"code":"00005-1971-04","target":[{"code":"133","equivalence":"wider"}]},{"code":"00005-1971-05","target":[{"code":"133","equivalence":"wider"}]},{"code":"00006-4045-00","target":[{"code":"62","equivalence":"wider"}]},{"code":"00006-4045-41","target":[{"code":"62","equivalence":"wider"}]},{"code":"00006-4047-20","target":[{"code":"116","equivalence":"wider"}]},{"code":"00006-4047-41","target":[{"code":"116","equivalence":"wider"}]},{"code":"00006-4093-02","target":[{"code":"08","equivalence":"wider"}]},{"code":"00006-4093-09","target":[{"code":"08","equivalence":"wider"}]},{"code":"00006-4094-02","target":[{"code":"43","equivalence":"wider"}]},{"code":"00006-4094-09","target":[{"code":"43","equivalence":"wider"}]},{"code":"00006-4095-02","target":[{"code":"83","equivalence":"wider"}]},{"code":"00006-4095-09","target":[{"code":"83","equivalence":"wider"}]},{"code":"00006-4096-02","target":[{"code":"52","equivalence":"wider"}]},{"code":"00006-4096-09","target":[{"code":"52","equivalence":"wider"}]},{"code":"00006-4109-02","target":[{"code":"62","equivalence":"wider"}]},{"code":"00006-4109-09","target":[{"code":"62","equivalence":"wider"}]},{"code":"00006-4119-02","target":[{"code":"165","equivalence":"wider"}]},{"code":"00006-4119-03","target":[{"code":"165","equivalence":"wider"}]},{"code":"00006-4121-02","target":[{"code":"165","equivalence":"wider"}]},{"code":"00006-4133-41","target":[{"code":"09","equivalence":"wider"}]},{"code":"00006-4171-00","target":[{"code":"94","equivalence":"wider"}]},{"code":"00006-4681-00","target":[{"code":"03","equivalence":"wider"}]},{"code":"00006-4739-00","target":[{"code":"33","equivalence":"wider"}]},{"code":"00006-4826-00","target":[{"code":"21","equivalence":"wider"}]},{"code":"00006-4827-00","target":[{"code":"21","equivalence":"wider"}]},{"code":"00006-4831-41","target":[{"code":"83","equivalence":"wider"}]},{"code":"00006-4837-02","target":[{"code":"33","equivalence":"wider"}]},{"code":"00006-4837-03","target":[{"code":"33","equivalence":"wider"}]},{"code":"00006-4841-00","target":[{"code":"52","equivalence":"wider"}]},{"code":"00006-4841-41","target":[{"code":"52","equivalence":"wider"}]},{"code":"00006-4897-00","target":[{"code":"49","equivalence":"wider"}]},{"code":"00006-4898-00","target":[{"code":"51","equivalence":"wider"}]},{"code":"00006-4943-00","target":[{"code":"33","equivalence":"wider"}]},{"code":"00006-4963-00","target":[{"code":"121","equivalence":"wider"}]},{"code":"00006-4963-41","target":[{"code":"121","equivalence":"wider"}]},{"code":"00006-4980-00","target":[{"code":"08","equivalence":"wider"}]},{"code":"00006-4981-00","target":[{"code":"08","equivalence":"wider"}]},{"code":"00006-4992-00","target":[{"code":"44","equivalence":"wider"}]},{"code":"00006-4995-00","target":[{"code":"43","equivalence":"wider"}]},{"code":"00006-4995-41","target":[{"code":"43","equivalence":"wider"}]},{"code":"00006-4999-00","target":[{"code":"94","equivalence":"wider"}]},{"code":"00052-0603-02","target":[{"code":"19","equivalence":"wider"}]},{"code":"13533-0131-01","target":[{"code":"09","equivalence":"wider"}]},{"code":"14362-0111-04","target":[{"code":"09","equivalence":"wider"}]},{"code":"17478-0131-01","target":[{"code":"09","equivalence":"wider"}]},{"code":"19515-0845-11","target":[{"code":"141","equivalence":"wider"}]},{"code":"19515-0850-52","target":[{"code":"140","equivalence":"wider"}]},{"code":"19515-0889-07","target":[{"code":"141","equivalence":"wider"}]},{"code":"19515-0890-07","target":[{"code":"141","equivalence":"wider"}]},{"code":"19515-0891-11","target":[{"code":"158","equivalence":"wider"}]},{"code":"19515-0893-07","target":[{"code":"141","equivalence":"wider"}]},{"code":"19515-0894-52","target":[{"code":"150","equivalence":"wider"}]},{"code":"19515-0895-11","target":[{"code":"158","equivalence":"wider"}]},{"code":"19515-0896-11","target":[{"code":"158","equivalence":"wider"}]},{"code":"19515-0898-11","target":[{"code":"158","equivalence":"wider"}]},{"code":"19515-0900-11","target":[{"code":"158","equivalence":"wider"}]},{"code":"19515-0901-52","target":[{"code":"150","equivalence":"wider"}]},{"code":"19515-0903-11","target":[{"code":"158","equivalence":"wider"}]},{"code":"19515-0908-52","target":[{"code":"150","equivalence":"wider"}]},{"code":"19515-0909-52","target":[{"code":"150","equivalence":"wider"}]},{"code":"19515-0912-52","target":[{"code":"150","equivalence":"wider"}]},{"code":"21695-0413-01","target":[{"code":"09","equivalence":"wider"}]},{"code":"33332-0010-01","target":[{"code":"140","equivalence":"wider"}]},{"code":"33332-0013-01","target":[{"code":"140","equivalence":"wider"}]},{"code":"33332-0014-01","target":[{"code":"140","equivalence":"wider"}]},{"code":"33332-0015-01","target":[{"code":"140","equivalence":"wider"}]},{"code":"33332-0016-01","target":[{"code":"140","equivalence":"wider"}]},{"code":"33332-0017-01","target":[{"code":"140","equivalence":"wider"}]},{"code":"33332-0018-01","target":[{"code":"140","equivalence":"wider"}]},{"code":"33332-0110-10","target":[{"code":"141","equivalence":"wider"}]},{"code":"33332-0113-10","target":[{"code":"141","equivalence":"wider"}]},{"code":"33332-0114-10","target":[{"code":"141","equivalence":"wider"}]},{"code":"33332-0115-10","target":[{"code":"141","equivalence":"wider"}]},{"code":"33332-0116-10","target":[{"code":"141","equivalence":"wider"}]},{"code":"33332-0117-10","target":[{"code":"141","equivalence":"wider"}]},{"code":"33332-0118-10","target":[{"code":"141","equivalence":"wider"}]},{"code":"33332-0316-01","target":[{"code":"150","equivalence":"wider"}]},{"code":"33332-0317-01","target":[{"code":"150","equivalence":"wider"}]},{"code":"33332-0318-01","target":[{"code":"150","equivalence":"wider"}]},{"code":"33332-0416-10","target":[{"code":"158","equivalence":"wider"}]},{"code":"33332-0417-10","target":[{"code":"158","equivalence":"wider"}]},{"code":"33332-0418-10","target":[{"code":"158","equivalence":"wider"}]},{"code":"33332-0519-01","target":[{"code":"126","equivalence":"wider"}]},{"code":"33332-0519-25","target":[{"code":"126","equivalence":"wider"}]},{"code":"33332-0629-10","target":[{"code":"127","equivalence":"wider"}]},{"code":"42515-0001-01","target":[{"code":"134","equivalence":"wider"}]},{"code":"42515-0001-01","target":[{"code":"134","equivalence":"wider"}]},{"code":"42515-0001-01","target":[{"code":"134","equivalence":"wider"}]},{"code":"42515-0001-01","target":[{"code":"134","equivalence":"wider"}]},{"code":"42515-0002-01","target":[{"code":"134","equivalence":"wider"}]},{"code":"42874-0012-10","target":[{"code":"155","equivalence":"wider"}]},{"code":"42874-0013-10","target":[{"code":"155","equivalence":"wider"}]},{"code":"42874-0014-10","target":[{"code":"155","equivalence":"wider"}]},{"code":"42874-0015-10","target":[{"code":"155","equivalence":"wider"}]},{"code":"42874-0016-10","target":[{"code":"155","equivalence":"wider"}]},{"code":"42874-0017-10","target":[{"code":"155","equivalence":"wider"}]},{"code":"42874-0117-10","target":[{"code":"185","equivalence":"wider"}]},{"code":"43528-0002-05","target":[{"code":"189","equivalence":"wider"}]},{"code":"43528-0003-05","target":[{"code":"189","equivalence":"wider"}]},{"code":"46028-0114-01","target":[{"code":"163","equivalence":"wider"}]},{"code":"46028-0114-02","target":[{"code":"163","equivalence":"wider"}]},{"code":"46028-0208-01","target":[{"code":"136","equivalence":"wider"}]},{"code":"46028-0208-01","target":[{"code":"136","equivalence":"wider"}]},{"code":"49281-0010-10","target":[{"code":"140","equivalence":"wider"}]},{"code":"49281-0010-25","target":[{"code":"140","equivalence":"wider"}]},{"code":"49281-0010-50","target":[{"code":"140","equivalence":"wider"}]},{"code":"49281-0011-10","target":[{"code":"140","equivalence":"wider"}]},{"code":"49281-0011-50","target":[{"code":"140","equivalence":"wider"}]},{"code":"49281-0012-10","target":[{"code":"140","equivalence":"wider"}]},{"code":"49281-0012-50","target":[{"code":"140","equivalence":"wider"}]},{"code":"49281-0013-10","target":[{"code":"140","equivalence":"wider"}]},{"code":"49281-0013-50","target":[{"code":"140","equivalence":"wider"}]},{"code":"49281-0014-50","target":[{"code":"140","equivalence":"wider"}]},{"code":"49281-0111-25","target":[{"code":"140","equivalence":"wider"}]},{"code":"49281-0112-25","target":[{"code":"140","equivalence":"wider"}]},{"code":"49281-0113-25","target":[{"code":"140","equivalence":"wider"}]},{"code":"49281-0215-10","target":[{"code":"113","equivalence":"wider"}]},{"code":"49281-0215-15","target":[{"code":"113","equivalence":"wider"}]},{"code":"49281-0225-10","target":[{"code":"28","equivalence":"wider"}]},{"code":"49281-0250-51","target":[{"code":"175","equivalence":"wider"}]},{"code":"49281-0278-10","target":[{"code":"28","equivalence":"wider"}]},{"code":"49281-0286-01","target":[{"code":"106","equivalence":"wider"}]},{"code":"49281-0286-05","target":[{"code":"106","equivalence":"wider"}]},{"code":"49281-0286-10","target":[{"code":"106","equivalence":"wider"}]},{"code":"49281-0291-10","target":[{"code":"113","equivalence":"wider"}]},{"code":"49281-0291-83","target":[{"code":"113","equivalence":"wider"}]},{"code":"49281-0298-10","target":[{"code":"20","equivalence":"wider"}]},{"code":"49281-0386-15","target":[{"code":"141","equivalence":"wider"}]},{"code":"49281-0387-65","target":[{"code":"135","equivalence":"wider"}]},{"code":"49281-0388-15","target":[{"code":"141","equivalence":"wider"}]},{"code":"49281-0389-65","target":[{"code":"135","equivalence":"wider"}]},{"code":"49281-0390-15","target":[{"code":"141","equivalence":"wider"}]},{"code":"49281-0391-65","target":[{"code":"135","equivalence":"wider"}]},{"code":"49281-0392-15","target":[{"code":"141","equivalence":"wider"}]},{"code":"49281-0393-65","target":[{"code":"135","equivalence":"wider"}]},{"code":"49281-0394-15","target":[{"code":"141","equivalence":"wider"}]},{"code":"49281-0395-65","target":[{"code":"135","equivalence":"wider"}]},{"code":"49281-0396-15","target":[{"code":"141","equivalence":"wider"}]},{"code":"49281-0397-65","target":[{"code":"135","equivalence":"wider"}]},{"code":"49281-0399-65","target":[{"code":"135","equivalence":"wider"}]},{"code":"49281-0400-05","target":[{"code":"115","equivalence":"wider"}]},{"code":"49281-0400-10","target":[{"code":"115","equivalence":"wider"}]},{"code":"49281-0400-15","target":[{"code":"115","equivalence":"wider"}]},{"code":"49281-0400-20","target":[{"code":"115","equivalence":"wider"}]},{"code":"49281-0401-65","target":[{"code":"135","equivalence":"wider"}]},{"code":"49281-0403-65","target":[{"code":"135","equivalence":"wider"}]},{"code":"49281-0413-10","target":[{"code":"150","equivalence":"wider"}]},{"code":"49281-0413-50","target":[{"code":"150","equivalence":"wider"}]},{"code":"49281-0414-10","target":[{"code":"150","equivalence":"wider"}]},{"code":"49281-0414-50","target":[{"code":"150","equivalence":"wider"}]},{"code":"49281-0415-10","target":[{"code":"150","equivalence":"wider"}]},{"code":"49281-0416-10","target":[{"code":"150","equivalence":"wider"}]},{"code":"49281-0416-50","target":[{"code":"150","equivalence":"wider"}]},{"code":"49281-0417-10","target":[{"code":"150","equivalence":"wider"}]},{"code":"49281-0417-50","target":[{"code":"150","equivalence":"wider"}]},{"code":"49281-0418-10","target":[{"code":"150","equivalence":"wider"}]},{"code":"49281-0418-50","target":[{"code":"150","equivalence":"wider"}]},{"code":"49281-0489-01","target":[{"code":"32","equivalence":"wider"}]},{"code":"49281-0489-91","target":[{"code":"32","equivalence":"wider"}]},{"code":"49281-0510-05","target":[{"code":"120","equivalence":"wider"}]},{"code":"49281-0510-05","target":[{"code":"120","equivalence":"wider"}]},{"code":"49281-0513-25","target":[{"code":"161","equivalence":"wider"}]},{"code":"49281-0514-25","target":[{"code":"161","equivalence":"wider"}]},{"code":"49281-0516-25","target":[{"code":"161","equivalence":"wider"}]},{"code":"49281-0517-25","target":[{"code":"161","equivalence":"wider"}]},{"code":"49281-0518-25","target":[{"code":"161","equivalence":"wider"}]},{"code":"49281-0545-03","target":[{"code":"48","equivalence":"wider"}]},{"code":"49281-0545-05","target":[{"code":"48","equivalence":"wider"}]},{"code":"49281-0562-10","target":[{"code":"130","equivalence":"wider"}]},{"code":"49281-0589-05","target":[{"code":"114","equivalence":"wider"}]},{"code":"49281-0621-15","target":[{"code":"158","equivalence":"wider"}]},{"code":"49281-0625-15","target":[{"code":"158","equivalence":"wider"}]},{"code":"49281-0627-15","target":[{"code":"158","equivalence":"wider"}]},{"code":"49281-0629-15","target":[{"code":"158","equivalence":"wider"}]},{"code":"49281-0640-15","target":[{"code":"127","equivalence":"wider"}]},{"code":"49281-0650-10","target":[{"code":"126","equivalence":"wider"}]},{"code":"49281-0650-25","target":[{"code":"126","equivalence":"wider"}]},{"code":"49281-0650-50","target":[{"code":"126","equivalence":"wider"}]},{"code":"49281-0650-70","target":[{"code":"126","equivalence":"wider"}]},{"code":"49281-0650-90","target":[{"code":"126","equivalence":"wider"}]},{"code":"49281-0703-55","target":[{"code":"144","equivalence":"wider"}]},{"code":"49281-0705-55","target":[{"code":"144","equivalence":"wider"}]},{"code":"49281-0707-55","target":[{"code":"144","equivalence":"wider"}]},{"code":"49281-0708-40","target":[{"code":"166","equivalence":"wider"}]},{"code":"49281-0709-55","target":[{"code":"144","equivalence":"wider"}]},{"code":"49281-0710-40","target":[{"code":"166","equivalence":"wider"}]},{"code":"49281-0712-40","target":[{"code":"166","equivalence":"wider"}]},{"code":"49281-0718-10","target":[{"code":"185","equivalence":"wider"}]},{"code":"49281-0790-20","target":[{"code":"101","equivalence":"wider"}]},{"code":"49281-0790-51","target":[{"code":"101","equivalence":"wider"}]},{"code":"49281-0800-83","target":[{"code":"35","equivalence":"wider"}]},{"code":"49281-0820-10","target":[{"code":"35","equivalence":"wider"}]},{"code":"49281-0860-10","target":[{"code":"10","equivalence":"wider"}]},{"code":"49281-0860-10","target":[{"code":"10","equivalence":"wider"}]},{"code":"49281-0860-55","target":[{"code":"10","equivalence":"wider"}]},{"code":"49281-0913-01","target":[{"code":"183","equivalence":"wider"}]},{"code":"49281-0915-01","target":[{"code":"37","equivalence":"wider"}]},{"code":"49281-0915-05","target":[{"code":"37","equivalence":"wider"}]},{"code":"50090-1693-09","target":[{"code":"10","equivalence":"wider"}]},{"code":"50090-2883-00","target":[{"code":"20","equivalence":"wider"}]},{"code":"50090-3096-00","target":[{"code":"176","equivalence":"wider"}]},{"code":"50090-3469-00","target":[{"code":"189","equivalence":"wider"}]},{"code":"51285-0138-50","target":[{"code":"143","equivalence":"wider"}]},{"code":"51285-0138-50","target":[{"code":"143","equivalence":"wider"}]},{"code":"54868-0734-00","target":[{"code":"43","equivalence":"wider"}]},{"code":"54868-0980-00","target":[{"code":"03","equivalence":"wider"}]},{"code":"54868-2219-00","target":[{"code":"43","equivalence":"wider"}]},{"code":"54868-2219-01","target":[{"code":"43","equivalence":"wider"}]},{"code":"54868-3339-01","target":[{"code":"33","equivalence":"wider"}]},{"code":"54868-4320-00","target":[{"code":"33","equivalence":"wider"}]},{"code":"54868-6177-00","target":[{"code":"141","equivalence":"wider"}]},{"code":"54868-6180-00","target":[{"code":"140","equivalence":"wider"}]},{"code":"55045-3841-01","target":[{"code":"52","equivalence":"wider"}]},{"code":"58160-0801-11","target":[{"code":"148","equivalence":"wider"}]},{"code":"58160-0806-05","target":[{"code":"48","equivalence":"wider"}]},{"code":"58160-0808-15","target":[{"code":"160","equivalence":"wider"}]},{"code":"58160-0808-15","target":[{"code":"160","equivalence":"wider"}]},{"code":"58160-0809-05","target":[{"code":"148","equivalence":"wider"}]},{"code":"58160-0810-11","target":[{"code":"20","equivalence":"wider"}]},{"code":"58160-0810-52","target":[{"code":"20","equivalence":"wider"}]},{"code":"58160-0811-51","target":[{"code":"110","equivalence":"wider"}]},{"code":"58160-0811-52","target":[{"code":"110","equivalence":"wider"}]},{"code":"58160-0812-11","target":[{"code":"130","equivalence":"wider"}]},{"code":"58160-0812-52","target":[{"code":"130","equivalence":"wider"}]},{"code":"58160-0815-11","target":[{"code":"104","equivalence":"wider"}]},{"code":"58160-0815-34","target":[{"code":"104","equivalence":"wider"}]},{"code":"58160-0815-46","target":[{"code":"104","equivalence":"wider"}]},{"code":"58160-0815-48","target":[{"code":"104","equivalence":"wider"}]},{"code":"58160-0815-52","target":[{"code":"104","equivalence":"wider"}]},{"code":"58160-0816-05","target":[{"code":"48","equivalence":"wider"}]},{"code":"58160-0818-11","target":[{"code":"48","equivalence":"wider"}]},{"code":"58160-0819-12","target":[{"code":"187","equivalence":"wider"}]},{"code":"58160-0820-11","target":[{"code":"08","equivalence":"wider"}]},{"code":"58160-0820-52","target":[{"code":"08","equivalence":"wider"}]},{"code":"58160-0821-11","target":[{"code":"43","equivalence":"wider"}]},{"code":"58160-0821-34","target":[{"code":"43","equivalence":"wider"}]},{"code":"58160-0821-52","target":[{"code":"43","equivalence":"wider"}]},{"code":"58160-0823-11","target":[{"code":"187","equivalence":"wider"}]},{"code":"58160-0825-11","target":[{"code":"83","equivalence":"wider"}]},{"code":"58160-0825-52","target":[{"code":"83","equivalence":"wider"}]},{"code":"58160-0826-11","target":[{"code":"52","equivalence":"wider"}]},{"code":"58160-0826-34","target":[{"code":"52","equivalence":"wider"}]},{"code":"58160-0826-52","target":[{"code":"52","equivalence":"wider"}]},{"code":"58160-0830-34","target":[{"code":"118","equivalence":"wider"}]},{"code":"58160-0830-52","target":[{"code":"118","equivalence":"wider"}]},{"code":"58160-0842-11","target":[{"code":"115","equivalence":"wider"}]},{"code":"58160-0842-34","target":[{"code":"115","equivalence":"wider"}]},{"code":"58160-0842-51","target":[{"code":"115","equivalence":"wider"}]},{"code":"58160-0842-52","target":[{"code":"115","equivalence":"wider"}]},{"code":"58160-0854-52","target":[{"code":"119","equivalence":"wider"}]},{"code":"58160-0879-52","target":[{"code":"140","equivalence":"wider"}]},{"code":"58160-0880-52","target":[{"code":"140","equivalence":"wider"}]},{"code":"58160-0881-52","target":[{"code":"140","equivalence":"wider"}]},{"code":"58160-0883-52","target":[{"code":"140","equivalence":"wider"}]},{"code":"58160-0898-52","target":[{"code":"150","equivalence":"wider"}]},{"code":"58160-0900-52","target":[{"code":"150","equivalence":"wider"}]},{"code":"58160-0901-52","target":[{"code":"150","equivalence":"wider"}]},{"code":"58160-0903-52","target":[{"code":"150","equivalence":"wider"}]},{"code":"58160-0905-52","target":[{"code":"150","equivalence":"wider"}]},{"code":"58160-0907-52","target":[{"code":"150","equivalence":"wider"}]},{"code":"58160-0955-09","target":[{"code":"136","equivalence":"wider"}]},{"code":"58160-0955-09","target":[{"code":"136","equivalence":"wider"}]},{"code":"58160-0964-12","target":[{"code":"176","equivalence":"wider"}]},{"code":"58160-0964-12","target":[{"code":"176","equivalence":"wider"}]},{"code":"58160-0976-06","target":[{"code":"163","equivalence":"wider"}]},{"code":"58160-0976-20","target":[{"code":"163","equivalence":"wider"}]},{"code":"62195-0051-10","target":[{"code":"134","equivalence":"wider"}]},{"code":"62577-0613-01","target":[{"code":"153","equivalence":"wider"}]},{"code":"62577-0614-01","target":[{"code":"153","equivalence":"wider"}]},{"code":"63851-0501-01","target":[{"code":"176","equivalence":"wider"}]},{"code":"63851-0501-02","target":[{"code":"176","equivalence":"wider"}]},{"code":"63851-0612-01","target":[{"code":"153","equivalence":"wider"}]},{"code":"63851-0613-01","target":[{"code":"153","equivalence":"wider"}]},{"code":"64678-0211-01","target":[{"code":"24","equivalence":"wider"}]},{"code":"66019-0107-01","target":[{"code":"111","equivalence":"wider"}]},{"code":"66019-0108-10","target":[{"code":"111","equivalence":"wider"}]},{"code":"66019-0109-10","target":[{"code":"111","equivalence":"wider"}]},{"code":"66019-0110-10","target":[{"code":"111","equivalence":"wider"}]},{"code":"66019-0200-10","target":[{"code":"125","equivalence":"wider"}]},{"code":"66019-0300-10","target":[{"code":"149","equivalence":"wider"}]},{"code":"66019-0301-10","target":[{"code":"149","equivalence":"wider"}]},{"code":"66019-0302-10","target":[{"code":"149","equivalence":"wider"}]},{"code":"66019-0303-10","target":[{"code":"149","equivalence":"wider"}]},{"code":"66019-0304-10","target":[{"code":"149","equivalence":"wider"}]},{"code":"66019-0305-10","target":[{"code":"149","equivalence":"wider"}]},{"code":"66521-0000-01","target":[{"code":"168","equivalence":"wider"}]},{"code":"66521-0112-02","target":[{"code":"140","equivalence":"wider"}]},{"code":"66521-0112-10","target":[{"code":"141","equivalence":"wider"}]},{"code":"66521-0113-02","target":[{"code":"140","equivalence":"wider"}]},{"code":"66521-0113-10","target":[{"code":"141","equivalence":"wider"}]},{"code":"66521-0114-02","target":[{"code":"140","equivalence":"wider"}]},{"code":"66521-0114-10","target":[{"code":"141","equivalence":"wider"}]},{"code":"66521-0115-02","target":[{"code":"140","equivalence":"wider"}]},{"code":"66521-0115-10","target":[{"code":"141","equivalence":"wider"}]},{"code":"66521-0116-02","target":[{"code":"140","equivalence":"wider"}]},{"code":"66521-0116-10","target":[{"code":"141","equivalence":"wider"}]},{"code":"66521-0117-02","target":[{"code":"140","equivalence":"wider"}]},{"code":"66521-0117-10","target":[{"code":"141","equivalence":"wider"}]},{"code":"66521-0118-02","target":[{"code":"140","equivalence":"wider"}]},{"code":"66521-0118-10","target":[{"code":"141","equivalence":"wider"}]},{"code":"66521-0200-02","target":[{"code":"127","equivalence":"wider"}]},{"code":"66521-0200-10","target":[{"code":"126","equivalence":"wider"}]},{"code":"69401-0000-01","target":[{"code":"25","equivalence":"wider"}]},{"code":"69401-0000-02","target":[{"code":"25","equivalence":"wider"}]},{"code":"70460-0001-01","target":[{"code":"174","equivalence":"wider"}]},{"code":"70461-0001-01","target":[{"code":"168","equivalence":"wider"}]},{"code":"70461-0002-01","target":[{"code":"168","equivalence":"wider"}]},{"code":"70461-0018-03","target":[{"code":"168","equivalence":"wider"}]},{"code":"70461-0119-02","target":[{"code":"140","equivalence":"wider"}]},{"code":"70461-0119-10","target":[{"code":"141","equivalence":"wider"}]},{"code":"70461-0120-02","target":[{"code":"140","equivalence":"wider"}]},{"code":"70461-0120-10","target":[{"code":"141","equivalence":"wider"}]},{"code":"70461-0200-01","target":[{"code":"171","equivalence":"wider"}]},{"code":"70461-0201-01","target":[{"code":"171","equivalence":"wider"}]},{"code":"70461-0301-10","target":[{"code":"186","equivalence":"wider"}]},{"code":"70461-0318-03","target":[{"code":"171","equivalence":"wider"}]},{"code":"70461-0418-10","target":[{"code":"186","equivalence":"wider"}]},{"code":"76420-0482-01","target":[{"code":"150","equivalence":"wider"}]},{"code":"76420-0483-01","target":[{"code":"150","equivalence":"wider"}]},{"code":"63361-0245-10","target":[{"code":"146","equivalence":"wider"}]}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ImplementationGuide-hl7.fhir.us.core.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ImplementationGuide-hl7.fhir.us.core.json deleted file mode 100644 index 315bc226fcb..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ImplementationGuide-hl7.fhir.us.core.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ImplementationGuide","id":"hl7.fhir.us.core","text":{"status":"extensions","div":"

USCore

The official URL for this implementation guide is:

http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core
"},"url":"http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core","version":"3.1.1","name":"USCore","title":"US Core","status":"active","date":"2020-08-28T10:54:27+10:00","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"Used by permission of HL7 International, all rights reserved Creative Commons License","packageId":"hl7.fhir.us.core","license":"CC0-1.0","fhirVersion":["4.0.1"],"definition":{"grouping":[{"name":"base"}],"resource":[{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-glucose.html"}],"reference":{"reference":"Observation/urine-glucose"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Procedure"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Procedure-rehab.html"}],"reference":{"reference":"Procedure/rehab"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CareTeam"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CareTeam-example.html"}],"reference":{"reference":"CareTeam/example"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-leukocyte-esterase.html"}],"reference":{"reference":"Observation/urine-leukocyte-esterase"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Bundle"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.html"}],"reference":{"reference":"Bundle/66c8856b-ba11-4876-8aa8-467aad8c11a2"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-bilirubin.html"}],"reference":{"reference":"Observation/urine-bilirubin"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Condition"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Condition-hc1.html"}],"reference":{"reference":"Condition/hc1"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-sediment.html"}],"reference":{"reference":"Observation/urine-sediment"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Immunization"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Immunization-imm-1.html"}],"reference":{"reference":"Immunization/imm-1"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-pediatric-wt-example.html"}],"reference":{"reference":"Observation/pediatric-wt-example"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Organization"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Organization-saint-luke-w-endpoint.html"}],"reference":{"reference":"Organization/saint-luke-w-endpoint"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-ph.html"}],"reference":{"reference":"Observation/urine-ph"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Encounter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Encounter-example-1.html"}],"reference":{"reference":"Encounter/example-1"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"DiagnosticReport"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"DiagnosticReport-chest-xray-report.html"}],"reference":{"reference":"DiagnosticReport/chest-xray-report"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-serum-sodium.html"}],"reference":{"reference":"Observation/serum-sodium"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"DiagnosticReport"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"DiagnosticReport-cbc.html"}],"reference":{"reference":"DiagnosticReport/cbc"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-serum-potassium.html"}],"reference":{"reference":"Observation/serum-potassium"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Encounter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Encounter-1036.html"}],"reference":{"reference":"Encounter/1036"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-some-day-smoker.html"}],"reference":{"reference":"Observation/some-day-smoker"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Location"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Location-hl7east.html"}],"reference":{"reference":"Location/hl7east"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-serum-co2.html"}],"reference":{"reference":"Observation/serum-co2"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-protein.html"}],"reference":{"reference":"Observation/urine-protein"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Procedure"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Procedure-defib-implant.html"}],"reference":{"reference":"Procedure/defib-implant"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-usg.html"}],"reference":{"reference":"Observation/usg"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-serum-chloride.html"}],"reference":{"reference":"Observation/serum-chloride"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-serum-calcium.html"}],"reference":{"reference":"Observation/serum-calcium"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-color.html"}],"reference":{"reference":"Observation/urine-color"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-bp-data-absent.html"}],"reference":{"reference":"Observation/bp-data-absent"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Patient"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Patient-example.html"}],"reference":{"reference":"Patient/example"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Patient"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Patient-child-example.html"}],"reference":{"reference":"Patient/child-example"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Patient"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Patient-infant-example.html"}],"reference":{"reference":"Patient/infant-example"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-temperature.html"}],"reference":{"reference":"Observation/temperature"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-bmi.html"}],"reference":{"reference":"Observation/bmi"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Medication"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Medication-uscore-med2.html"}],"reference":{"reference":"Medication/uscore-med2"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-cells.html"}],"reference":{"reference":"Observation/urine-cells"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-length.html"}],"reference":{"reference":"Observation/length"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Device"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Device-udi-2.html"}],"reference":{"reference":"Device/udi-2"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"MedicationRequest"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"MedicationRequest-uscore-mo1.html"}],"reference":{"reference":"MedicationRequest/uscore-mo1"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Practitioner"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Practitioner-practitioner-2.html"}],"reference":{"reference":"Practitioner/practitioner-2"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Goal"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Goal-goal-1.html"}],"reference":{"reference":"Goal/goal-1"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-rbcs.html"}],"reference":{"reference":"Observation/urine-rbcs"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urobilinogen.html"}],"reference":{"reference":"Observation/urobilinogen"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Medication"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Medication-uscore-med1.html"}],"reference":{"reference":"Medication/uscore-med1"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-bacteria.html"}],"reference":{"reference":"Observation/urine-bacteria"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Bundle"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Bundle-uscore-mo3.html"}],"reference":{"reference":"Bundle/uscore-mo3"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-ofc-percentile.html"}],"reference":{"reference":"Observation/ofc-percentile"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"MedicationRequest"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"MedicationRequest-self-tylenol.html"}],"reference":{"reference":"MedicationRequest/self-tylenol"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"DiagnosticReport"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"DiagnosticReport-metabolic-panel.html"}],"reference":{"reference":"DiagnosticReport/metabolic-panel"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Device"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Device-udi-3.html"}],"reference":{"reference":"Device/udi-3"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"MedicationRequest"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"MedicationRequest-uscore-mo2.html"}],"reference":{"reference":"MedicationRequest/uscore-mo2"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Bundle"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.html"}],"reference":{"reference":"Bundle/c887e62f-6166-419f-8268-b5ecd6c7b901"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-bun.html"}],"reference":{"reference":"Observation/bun"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Practitioner"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Practitioner-practitioner-1.html"}],"reference":{"reference":"Practitioner/practitioner-1"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-neutrophils.html"}],"reference":{"reference":"Observation/neutrophils"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-nitrite.html"}],"reference":{"reference":"Observation/urine-nitrite"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-oxygen-saturation.html"}],"reference":{"reference":"Observation/oxygen-saturation"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"DiagnosticReport"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"DiagnosticReport-cardiology-report.html"}],"reference":{"reference":"DiagnosticReport/cardiology-report"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-vitals-panel.html"}],"reference":{"reference":"Observation/vitals-panel"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-blood-pressure.html"}],"reference":{"reference":"Observation/blood-pressure"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-wbcs.html"}],"reference":{"reference":"Observation/urine-wbcs"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-height.html"}],"reference":{"reference":"Observation/height"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Organization"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Organization-acme-lab.html"}],"reference":{"reference":"Organization/acme-lab"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Device"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Device-udi-1.html"}],"reference":{"reference":"Device/udi-1"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-hemoglobin.html"}],"reference":{"reference":"Observation/hemoglobin"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"DocumentReference"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"DocumentReference-episode-summary.html"}],"reference":{"reference":"DocumentReference/episode-summary"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-hemoglobin.html"}],"reference":{"reference":"Observation/urine-hemoglobin"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-heart-rate.html"}],"reference":{"reference":"Observation/heart-rate"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-epi-cells.html"}],"reference":{"reference":"Observation/urine-epi-cells"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"AllergyIntolerance"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"AllergyIntolerance-example.html"}],"reference":{"reference":"AllergyIntolerance/example"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-blood-glucose.html"}],"reference":{"reference":"Observation/blood-glucose"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"DiagnosticReport"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"DiagnosticReport-urinalysis.html"}],"reference":{"reference":"DiagnosticReport/urinalysis"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Condition"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Condition-example.html"}],"reference":{"reference":"Condition/example"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-serum-creatinine.html"}],"reference":{"reference":"Observation/serum-creatinine"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-satO2-fiO2.html"}],"reference":{"reference":"Observation/satO2-fiO2"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-serum-total-bilirubin.html"}],"reference":{"reference":"Observation/serum-total-bilirubin"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-pediatric-bmi-example.html"}],"reference":{"reference":"Observation/pediatric-bmi-example"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Organization"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Organization-example-organization-2.html"}],"reference":{"reference":"Organization/example-organization-2"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-weight.html"}],"reference":{"reference":"Observation/weight"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-mchc.html"}],"reference":{"reference":"Observation/mchc"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-clarity.html"}],"reference":{"reference":"Observation/urine-clarity"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CarePlan"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CarePlan-colonoscopy.html"}],"reference":{"reference":"CarePlan/colonoscopy"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-erythrocytes.html"}],"reference":{"reference":"Observation/erythrocytes"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-ketone.html"}],"reference":{"reference":"Observation/urine-ketone"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-respiratory-rate.html"}],"reference":{"reference":"Observation/respiratory-rate"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-medication-codes.html"}],"reference":{"reference":"ValueSet/us-core-medication-codes"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-immunization.html"}],"reference":{"reference":"StructureDefinition/us-core-immunization"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-location-address-state.html"}],"reference":{"reference":"SearchParameter/us-core-location-address-state"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-practitionerrole-practitioner.html"}],"reference":{"reference":"SearchParameter/us-core-practitionerrole-practitioner"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-observation-smokingstatus.html"}],"reference":{"reference":"ValueSet/us-core-observation-smokingstatus"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-observation-smokingstatus-max.html"}],"reference":{"reference":"ValueSet/us-core-observation-smokingstatus-max"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-omb-race-category.html"}],"reference":{"reference":"ValueSet/omb-race-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-practitionerrole.html"}],"reference":{"reference":"StructureDefinition/us-core-practitionerrole"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-allergy-substance.html"}],"reference":{"reference":"ValueSet/us-core-allergy-substance"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-narrative-status.html"}],"reference":{"reference":"ValueSet/us-core-narrative-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CodeSystem"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CodeSystem-cdcrec.html"}],"reference":{"reference":"CodeSystem/cdcrec"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-organization-name.html"}],"reference":{"reference":"SearchParameter/us-core-organization-name"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-observation-lab.html"}],"reference":{"reference":"StructureDefinition/us-core-observation-lab"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-diagnosticreport-code.html"}],"reference":{"reference":"SearchParameter/us-core-diagnosticreport-code"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-pediatric-bmi-for-age.html"}],"reference":{"reference":"StructureDefinition/pediatric-bmi-for-age"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-head-occipital-frontal-circumference-percentile.html"}],"reference":{"reference":"StructureDefinition/head-occipital-frontal-circumference-percentile"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-allergyintolerance.html"}],"reference":{"reference":"StructureDefinition/us-core-allergyintolerance"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-goal-lifecycle-status.html"}],"reference":{"reference":"SearchParameter/us-core-goal-lifecycle-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-procedure-code.html"}],"reference":{"reference":"SearchParameter/us-core-procedure-code"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-documentreference-type.html"}],"reference":{"reference":"ValueSet/us-core-documentreference-type"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-provenance-participant-type.html"}],"reference":{"reference":"ValueSet/us-core-provenance-participant-type"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-patient-gender.html"}],"reference":{"reference":"SearchParameter/us-core-patient-gender"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-practitioner.html"}],"reference":{"reference":"StructureDefinition/us-core-practitioner"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-diagnosticreport-note.html"}],"reference":{"reference":"StructureDefinition/us-core-diagnosticreport-note"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-omb-ethnicity-category.html"}],"reference":{"reference":"ValueSet/omb-ethnicity-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-provenance.html"}],"reference":{"reference":"StructureDefinition/us-core-provenance"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"OperationDefinition"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"OperationDefinition-docref.html"}],"reference":{"reference":"OperationDefinition/docref"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-condition-clinical-status.html"}],"reference":{"reference":"SearchParameter/us-core-condition-clinical-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:extension"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-birthsex.html"}],"reference":{"reference":"StructureDefinition/us-core-birthsex"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-documentreference-id.html"}],"reference":{"reference":"SearchParameter/us-core-documentreference-id"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-careplan-category.html"}],"reference":{"reference":"SearchParameter/us-core-careplan-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-encounter-class.html"}],"reference":{"reference":"SearchParameter/us-core-encounter-class"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-medicationrequest-patient.html"}],"reference":{"reference":"SearchParameter/us-core-medicationrequest-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CapabilityStatement"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CapabilityStatement-us-core-server.html"}],"reference":{"reference":"CapabilityStatement/us-core-server"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-condition-category.html"}],"reference":{"reference":"ValueSet/us-core-condition-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-detailed-ethnicity.html"}],"reference":{"reference":"ValueSet/detailed-ethnicity"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-documentreference-patient.html"}],"reference":{"reference":"SearchParameter/us-core-documentreference-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-encounter.html"}],"reference":{"reference":"StructureDefinition/us-core-encounter"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-ndc-vaccine-codes.html"}],"reference":{"reference":"ValueSet/us-core-ndc-vaccine-codes"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-patient.html"}],"reference":{"reference":"StructureDefinition/us-core-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-diagnosticreport-date.html"}],"reference":{"reference":"SearchParameter/us-core-diagnosticreport-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-procedure-icd10pcs.html"}],"reference":{"reference":"ValueSet/us-core-procedure-icd10pcs"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-provider-specialty.html"}],"reference":{"reference":"ValueSet/us-core-provider-specialty"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-procedure-date.html"}],"reference":{"reference":"SearchParameter/us-core-procedure-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-vaccines-cvx.html"}],"reference":{"reference":"ValueSet/us-core-vaccines-cvx"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-pulse-oximetry.html"}],"reference":{"reference":"StructureDefinition/us-core-pulse-oximetry"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-allergyintolerance-clinical-status.html"}],"reference":{"reference":"SearchParameter/us-core-allergyintolerance-clinical-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-documentreference-date.html"}],"reference":{"reference":"SearchParameter/us-core-documentreference-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-medicationrequest-intent.html"}],"reference":{"reference":"SearchParameter/us-core-medicationrequest-intent"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-location.html"}],"reference":{"reference":"StructureDefinition/us-core-location"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-location-address.html"}],"reference":{"reference":"SearchParameter/us-core-location-address"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-observation-smoking-status-status.html"}],"reference":{"reference":"ValueSet/us-core-observation-smoking-status-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-usps-state.html"}],"reference":{"reference":"ValueSet/us-core-usps-state"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-practitioner-name.html"}],"reference":{"reference":"SearchParameter/us-core-practitioner-name"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-encounter-type.html"}],"reference":{"reference":"ValueSet/us-core-encounter-type"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-documentreference-period.html"}],"reference":{"reference":"SearchParameter/us-core-documentreference-period"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-observation-code.html"}],"reference":{"reference":"SearchParameter/us-core-observation-code"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-location-name.html"}],"reference":{"reference":"SearchParameter/us-core-location-name"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-condition-onset-date.html"}],"reference":{"reference":"SearchParameter/us-core-condition-onset-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-patient-given.html"}],"reference":{"reference":"SearchParameter/us-core-patient-given"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-procedure.html"}],"reference":{"reference":"StructureDefinition/us-core-procedure"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-encounter-type.html"}],"reference":{"reference":"SearchParameter/us-core-encounter-type"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-condition-code.html"}],"reference":{"reference":"ValueSet/us-core-condition-code"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CodeSystem"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CodeSystem-condition-category.html"}],"reference":{"reference":"CodeSystem/condition-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-medicationrequest-encounter.html"}],"reference":{"reference":"SearchParameter/us-core-medicationrequest-encounter"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-encounter-patient.html"}],"reference":{"reference":"SearchParameter/us-core-encounter-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-organization-address.html"}],"reference":{"reference":"SearchParameter/us-core-organization-address"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-observation-category.html"}],"reference":{"reference":"SearchParameter/us-core-observation-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-medication.html"}],"reference":{"reference":"StructureDefinition/us-core-medication"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-diagnosticreport-status.html"}],"reference":{"reference":"SearchParameter/us-core-diagnosticreport-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-observation-date.html"}],"reference":{"reference":"SearchParameter/us-core-observation-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-birthsex.html"}],"reference":{"reference":"ValueSet/birthsex"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-diagnosticreport-category.html"}],"reference":{"reference":"SearchParameter/us-core-diagnosticreport-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-observation-status.html"}],"reference":{"reference":"SearchParameter/us-core-observation-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-diagnosticreport-report-and-note-codes.html"}],"reference":{"reference":"ValueSet/us-core-diagnosticreport-report-and-note-codes"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-provider-role.html"}],"reference":{"reference":"ValueSet/us-core-provider-role"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-ethnicity.html"}],"reference":{"reference":"SearchParameter/us-core-ethnicity"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-documentreference.html"}],"reference":{"reference":"StructureDefinition/us-core-documentreference"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:extension"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-direct.html"}],"reference":{"reference":"StructureDefinition/us-core-direct"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-smoking-status-observation-codes.html"}],"reference":{"reference":"ValueSet/us-core-smoking-status-observation-codes"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-careteam-provider-roles.html"}],"reference":{"reference":"ValueSet/us-core-careteam-provider-roles"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-documentreference-type.html"}],"reference":{"reference":"SearchParameter/us-core-documentreference-type"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-encounter-date.html"}],"reference":{"reference":"SearchParameter/us-core-encounter-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-diagnosticreport-category.html"}],"reference":{"reference":"ValueSet/us-core-diagnosticreport-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-patient-birthdate.html"}],"reference":{"reference":"SearchParameter/us-core-patient-birthdate"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-careteam.html"}],"reference":{"reference":"StructureDefinition/us-core-careteam"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-procedure-status.html"}],"reference":{"reference":"SearchParameter/us-core-procedure-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-clinical-note-type.html"}],"reference":{"reference":"ValueSet/us-core-clinical-note-type"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-encounter-status.html"}],"reference":{"reference":"SearchParameter/us-core-encounter-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ConceptMap"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ConceptMap-ndc-cvx.html"}],"reference":{"reference":"ConceptMap/ndc-cvx"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:extension"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-ethnicity.html"}],"reference":{"reference":"StructureDefinition/us-core-ethnicity"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-careplan-status.html"}],"reference":{"reference":"SearchParameter/us-core-careplan-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-careplan.html"}],"reference":{"reference":"StructureDefinition/us-core-careplan"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-condition-patient.html"}],"reference":{"reference":"SearchParameter/us-core-condition-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-allergyintolerance-patient.html"}],"reference":{"reference":"SearchParameter/us-core-allergyintolerance-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-device-patient.html"}],"reference":{"reference":"SearchParameter/us-core-device-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-condition-code.html"}],"reference":{"reference":"SearchParameter/us-core-condition-code"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-observation-patient.html"}],"reference":{"reference":"SearchParameter/us-core-observation-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-race.html"}],"reference":{"reference":"SearchParameter/us-core-race"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-careplan-patient.html"}],"reference":{"reference":"SearchParameter/us-core-careplan-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-patient-family.html"}],"reference":{"reference":"SearchParameter/us-core-patient-family"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-smokingstatus.html"}],"reference":{"reference":"StructureDefinition/us-core-smokingstatus"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-medicationrequest-status.html"}],"reference":{"reference":"SearchParameter/us-core-medicationrequest-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:extension"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-race.html"}],"reference":{"reference":"StructureDefinition/us-core-race"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-location-address-postalcode.html"}],"reference":{"reference":"SearchParameter/us-core-location-address-postalcode"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-encounter-id.html"}],"reference":{"reference":"SearchParameter/us-core-encounter-id"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-medicationrequest-authoredon.html"}],"reference":{"reference":"SearchParameter/us-core-medicationrequest-authoredon"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-documentreference-status.html"}],"reference":{"reference":"SearchParameter/us-core-documentreference-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-documentreference-category.html"}],"reference":{"reference":"ValueSet/us-core-documentreference-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-procedure-patient.html"}],"reference":{"reference":"SearchParameter/us-core-procedure-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-goal-target-date.html"}],"reference":{"reference":"SearchParameter/us-core-goal-target-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-diagnosticreport-patient.html"}],"reference":{"reference":"SearchParameter/us-core-diagnosticreport-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-careplan-date.html"}],"reference":{"reference":"SearchParameter/us-core-careplan-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-careteam-patient.html"}],"reference":{"reference":"SearchParameter/us-core-careteam-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-organization.html"}],"reference":{"reference":"StructureDefinition/us-core-organization"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-immunization-date.html"}],"reference":{"reference":"SearchParameter/us-core-immunization-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-encounter-identifier.html"}],"reference":{"reference":"SearchParameter/us-core-encounter-identifier"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-practitionerrole-specialty.html"}],"reference":{"reference":"SearchParameter/us-core-practitionerrole-specialty"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-patient-name.html"}],"reference":{"reference":"SearchParameter/us-core-patient-name"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-device-type.html"}],"reference":{"reference":"SearchParameter/us-core-device-type"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-procedure-code.html"}],"reference":{"reference":"ValueSet/us-core-procedure-code"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-diagnosticreport-lab.html"}],"reference":{"reference":"StructureDefinition/us-core-diagnosticreport-lab"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-goal-patient.html"}],"reference":{"reference":"SearchParameter/us-core-goal-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-simple-language.html"}],"reference":{"reference":"ValueSet/simple-language"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-immunization-patient.html"}],"reference":{"reference":"SearchParameter/us-core-immunization-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-condition.html"}],"reference":{"reference":"StructureDefinition/us-core-condition"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-pediatric-weight-for-height.html"}],"reference":{"reference":"StructureDefinition/pediatric-weight-for-height"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-observation-value-codes.html"}],"reference":{"reference":"ValueSet/us-core-observation-value-codes"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-patient-id.html"}],"reference":{"reference":"SearchParameter/us-core-patient-id"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-location-address-city.html"}],"reference":{"reference":"SearchParameter/us-core-location-address-city"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-goal.html"}],"reference":{"reference":"StructureDefinition/us-core-goal"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-careteam-status.html"}],"reference":{"reference":"SearchParameter/us-core-careteam-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CodeSystem"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CodeSystem-us-core-documentreference-category.html"}],"reference":{"reference":"CodeSystem/us-core-documentreference-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CodeSystem"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CodeSystem-us-core-provenance-participant-type.html"}],"reference":{"reference":"CodeSystem/us-core-provenance-participant-type"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-diagnosticreport-lab-codes.html"}],"reference":{"reference":"ValueSet/us-core-diagnosticreport-lab-codes"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CodeSystem"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CodeSystem-careplan-category.html"}],"reference":{"reference":"CodeSystem/careplan-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-documentreference-category.html"}],"reference":{"reference":"SearchParameter/us-core-documentreference-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CapabilityStatement"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CapabilityStatement-us-core-client.html"}],"reference":{"reference":"CapabilityStatement/us-core-client"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-practitioner-identifier.html"}],"reference":{"reference":"SearchParameter/us-core-practitioner-identifier"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-patient-identifier.html"}],"reference":{"reference":"SearchParameter/us-core-patient-identifier"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-condition-category.html"}],"reference":{"reference":"SearchParameter/us-core-condition-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-immunization-status.html"}],"reference":{"reference":"SearchParameter/us-core-immunization-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-medicationrequest.html"}],"reference":{"reference":"StructureDefinition/us-core-medicationrequest"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-implantable-device.html"}],"reference":{"reference":"StructureDefinition/us-core-implantable-device"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-detailed-race.html"}],"reference":{"reference":"ValueSet/detailed-race"},"exampleBoolean":false}],"page":{"nameUrl":"index.html","title":"Home","generation":"markdown","page":[{"nameUrl":"guidance.html","title":"Guidance","generation":"markdown","page":[{"nameUrl":"general-guidance.html","title":"General Guidance","generation":"markdown"},{"nameUrl":"clinical-notes-guidance.html","title":"Clinical Notes Guidance","generation":"markdown"},{"nameUrl":"all-meds.html","title":"Medication List Guidance","generation":"markdown"},{"nameUrl":"basic-provenance.html","title":"Basic Provenance","generation":"markdown"},{"nameUrl":"r2-r4-guidance.html","title":"DSTU2 to R4 Conversion","generation":"markdown"},{"nameUrl":"future-of-us-core.html","title":"Future of US Core","generation":"markdown"}]},{"nameUrl":"profiles.html","title":"Profiles and Extensions","generation":"markdown","page":[{"nameUrl":"StructureDefinition-us-core-immunization.html","title":"StructureDefinition US Core Immunization","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-practitionerrole.html","title":"StructureDefinition US Core PractitionerRole","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-observation-lab.html","title":"StructureDefinition US Core Observation Lab","generation":"generated"},{"nameUrl":"StructureDefinition-pediatric-bmi-for-age.html","title":"StructureDefinition Pediatric BMI For Age","generation":"generated"},{"nameUrl":"StructureDefinition-head-occipital-frontal-circumference-percentile.html","title":"StructureDefinition Pediatric Head Occipital-frontal Circumference Percentile","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-allergyintolerance.html","title":"StructureDefinition US Core AllergyIntolerance","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-practitioner.html","title":"StructureDefinition US Core Practitioner","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-diagnosticreport-note.html","title":"StructureDefinition US Core DiagnosticReport Note","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-provenance.html","title":"StructureDefinition US Core Provenance","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-birthsex.html","title":"StructureDefinition US Core Birthsex","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-encounter.html","title":"StructureDefinition US Core Encounter","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-patient.html","title":"StructureDefinition US Core Patient","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-pulse-oximetry.html","title":"StructureDefinition US Core Pulse Oximetry","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-location.html","title":"StructureDefinition US Core Location","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-procedure.html","title":"StructureDefinition US Core Procedure","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-medication.html","title":"StructureDefinition US Core Medication","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-documentreference.html","title":"StructureDefinition US Core DocumentReference","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-direct.html","title":"StructureDefinition US Core Direct","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-careteam.html","title":"StructureDefinition US Core CareTeam","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-ethnicity.html","title":"StructureDefinition US Core Ethnicity","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-careplan.html","title":"StructureDefinition US Core CarePlan","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-smokingstatus.html","title":"StructureDefinition US Core Smokingstatus","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-race.html","title":"StructureDefinition US Core Race","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-organization.html","title":"StructureDefinition US Core Organization","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-diagnosticreport-lab.html","title":"StructureDefinition US Core DiagnosticReport Lab","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-condition.html","title":"StructureDefinition US Core Condition","generation":"generated"},{"nameUrl":"StructureDefinition-pediatric-weight-for-height.html","title":"StructureDefinition Pediatric Weight For Height","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-goal.html","title":"StructureDefinition US Core Goal","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-medicationrequest.html","title":"StructureDefinition US Core MedicationRequest","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-implantable-device.html","title":"StructureDefinition US Core Implantable Device","generation":"generated"}]},{"nameUrl":"operations.html","title":"Operations","generation":"markdown","page":[{"nameUrl":"OperationDefinition-docref.html","title":"OperationDefinition Docref","generation":"generated"}]},{"nameUrl":"terminology.html","title":"Terminology","generation":"markdown","page":[{"nameUrl":"ValueSet-us-core-medication-codes.html","title":"ValueSet US Core Medication Codes","generation":"generated"},{"nameUrl":"ValueSet-us-core-observation-smokingstatus.html","title":"ValueSet US Core Observation Smokingstatus Preferred","generation":"generated"},{"nameUrl":"ValueSet-us-core-observation-smokingstatus-max.html","title":"ValueSet US Core Observation Smokingstatus Max-Binding","generation":"generated"},{"nameUrl":"ValueSet-omb-race-category.html","title":"ValueSet Omb Race Category","generation":"generated"},{"nameUrl":"ValueSet-us-core-allergy-substance.html","title":"ValueSet US Core Allergy Substance","generation":"generated"},{"nameUrl":"ValueSet-us-core-narrative-status.html","title":"ValueSet US Core Narrative Status","generation":"generated"},{"nameUrl":"ValueSet-us-core-documentreference-type.html","title":"ValueSet US Core DocumentReference Type","generation":"generated"},{"nameUrl":"ValueSet-omb-ethnicity-category.html","title":"ValueSet Omb Ethnicity Category","generation":"generated"},{"nameUrl":"ValueSet-us-core-condition-category.html","title":"ValueSet US Core Condition Category","generation":"generated"},{"nameUrl":"ValueSet-detailed-ethnicity.html","title":"ValueSet Detailed Ethnicity","generation":"generated"},{"nameUrl":"ValueSet-us-core-ndc-vaccine-codes.html","title":"ValueSet US Core Ndc Vaccine Codes","generation":"generated"},{"nameUrl":"ValueSet-us-core-procedure-icd10pcs.html","title":"ValueSet US Core Procedure Icd10pcs","generation":"generated"},{"nameUrl":"ValueSet-us-core-provider-specialty.html","title":"ValueSet US Core Provider Specialty","generation":"generated"},{"nameUrl":"ValueSet-us-core-vaccines-cvx.html","title":"ValueSet US Core Vaccines Cvx","generation":"generated"},{"nameUrl":"ValueSet-us-core-observation-smoking-status-status.html","title":"ValueSet US Core Observation SmokingStatus Status","generation":"generated"},{"nameUrl":"ValueSet-us-core-usps-state.html","title":"ValueSet US Core Usps State","generation":"generated"},{"nameUrl":"ValueSet-us-core-encounter-type.html","title":"ValueSet US Core Encounter Type","generation":"generated"},{"nameUrl":"ValueSet-us-core-condition-code.html","title":"ValueSet US Core Condition Code","generation":"generated"},{"nameUrl":"ValueSet-birthsex.html","title":"ValueSet Birthsex","generation":"generated"},{"nameUrl":"ValueSet-us-core-diagnosticreport-report-and-note-codes.html","title":"ValueSet US Core DiagnosticReport Report And Note Codes","generation":"generated"},{"nameUrl":"ValueSet-us-core-provider-role.html","title":"ValueSet US Core Provider Role","generation":"generated"},{"nameUrl":"ValueSet-us-core-smoking-status-observation-codes.html","title":"ValueSet US Core Smoking Status Observation Codes","generation":"generated"},{"nameUrl":"ValueSet-us-core-careteam-provider-roles.html","title":"ValueSet US Core CareTeam Provider Roles","generation":"generated"},{"nameUrl":"ValueSet-us-core-diagnosticreport-category.html","title":"ValueSet US Core DiagnosticReport Category","generation":"generated"},{"nameUrl":"ValueSet-us-core-clinical-note-type.html","title":"ValueSet US Core Clinical Note Type","generation":"generated"},{"nameUrl":"ValueSet-us-core-documentreference-category.html","title":"ValueSet US Core DocumentReference Category","generation":"generated"},{"nameUrl":"ValueSet-us-core-procedure-code.html","title":"ValueSet US Core Procedure Code","generation":"generated"},{"nameUrl":"ValueSet-simple-language.html","title":"ValueSet Simple Language","generation":"generated"},{"nameUrl":"ValueSet-us-core-observation-value-codes.html","title":"ValueSet US Core Observation Value Codes","generation":"generated"},{"nameUrl":"ValueSet-us-core-diagnosticreport-lab-codes.html","title":"ValueSet US Core DiagnosticReport Lab Codes","generation":"generated"},{"nameUrl":"ValueSet-detailed-race.html","title":"ValueSet Detailed Race","generation":"generated"},{"nameUrl":"CodeSystem-cdcrec.html","title":"CodeSystem Cdcrec","generation":"generated"},{"nameUrl":"CodeSystem-condition-category.html","title":"CodeSystem Condition Category","generation":"generated"},{"nameUrl":"CodeSystem-us-core-documentreference-category.html","title":"CodeSystem US Core DocumentReference Category","generation":"generated"},{"nameUrl":"CodeSystem-careplan-category.html","title":"CodeSystem CarePlan Category","generation":"generated"},{"nameUrl":"ConceptMap-ndc-cvx.html","title":"ConceptMap Ndc Cvx","generation":"generated"}]},{"nameUrl":"searchparameters.html","title":"Search Parameters","generation":"markdown","page":[{"nameUrl":"SearchParameter-us-core-location-address-state.html","title":"SearchParameter US Core Location Address State","generation":"generated"},{"nameUrl":"SearchParameter-us-core-practitionerrole-practitioner.html","title":"SearchParameter US Core PractitionerRole Practitioner","generation":"generated"},{"nameUrl":"SearchParameter-us-core-organization-name.html","title":"SearchParameter US Core Organization Name","generation":"generated"},{"nameUrl":"SearchParameter-us-core-diagnosticreport-code.html","title":"SearchParameter US Core DiagnosticReport Code","generation":"generated"},{"nameUrl":"SearchParameter-us-core-goal-lifecycle-status.html","title":"SearchParameter US Core Goal Lifecycle Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-procedure-code.html","title":"SearchParameter US Core Procedure Code","generation":"generated"},{"nameUrl":"SearchParameter-us-core-patient-gender.html","title":"SearchParameter US Core Patient Gender","generation":"generated"},{"nameUrl":"SearchParameter-us-core-condition-clinical-status.html","title":"SearchParameter US Core Condition Clinical Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-documentreference-id.html","title":"SearchParameter US Core DocumentReference Id","generation":"generated"},{"nameUrl":"SearchParameter-us-core-careplan-category.html","title":"SearchParameter US Core CarePlan Category","generation":"generated"},{"nameUrl":"SearchParameter-us-core-encounter-class.html","title":"SearchParameter US Core Encounter Class","generation":"generated"},{"nameUrl":"SearchParameter-us-core-medicationrequest-patient.html","title":"SearchParameter US Core MedicationRequest Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-documentreference-patient.html","title":"SearchParameter US Core DocumentReference Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-diagnosticreport-date.html","title":"SearchParameter US Core DiagnosticReport Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-procedure-date.html","title":"SearchParameter US Core Procedure Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-allergyintolerance-clinical-status.html","title":"SearchParameter US Core AllergyIntolerance Clinical Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-documentreference-date.html","title":"SearchParameter US Core DocumentReference Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-medicationrequest-intent.html","title":"SearchParameter US Core MedicationRequest Intent","generation":"generated"},{"nameUrl":"SearchParameter-us-core-location-address.html","title":"SearchParameter US Core Location Address","generation":"generated"},{"nameUrl":"SearchParameter-us-core-practitioner-name.html","title":"SearchParameter US Core Practitioner Name","generation":"generated"},{"nameUrl":"SearchParameter-us-core-documentreference-period.html","title":"SearchParameter US Core DocumentReference Period","generation":"generated"},{"nameUrl":"SearchParameter-us-core-observation-code.html","title":"SearchParameter US Core Observation Code","generation":"generated"},{"nameUrl":"SearchParameter-us-core-location-name.html","title":"SearchParameter US Core Location Name","generation":"generated"},{"nameUrl":"SearchParameter-us-core-condition-onset-date.html","title":"SearchParameter US Core Condition Onset Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-patient-given.html","title":"SearchParameter US Core Patient Given","generation":"generated"},{"nameUrl":"SearchParameter-us-core-encounter-type.html","title":"SearchParameter US Core Encounter Type","generation":"generated"},{"nameUrl":"SearchParameter-us-core-medicationrequest-encounter.html","title":"SearchParameter US Core MedicationRequest Encounter","generation":"generated"},{"nameUrl":"SearchParameter-us-core-encounter-patient.html","title":"SearchParameter US Core Encounter Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-organization-address.html","title":"SearchParameter US Core Organization Address","generation":"generated"},{"nameUrl":"SearchParameter-us-core-observation-category.html","title":"SearchParameter US Core Observation Category","generation":"generated"},{"nameUrl":"SearchParameter-us-core-diagnosticreport-status.html","title":"SearchParameter US Core DiagnosticReport Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-observation-date.html","title":"SearchParameter US Core Observation Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-diagnosticreport-category.html","title":"SearchParameter US Core DiagnosticReport Category","generation":"generated"},{"nameUrl":"SearchParameter-us-core-observation-status.html","title":"SearchParameter US Core Observation Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-ethnicity.html","title":"SearchParameter US Core Ethnicity","generation":"generated"},{"nameUrl":"SearchParameter-us-core-documentreference-type.html","title":"SearchParameter US Core DocumentReference Type","generation":"generated"},{"nameUrl":"SearchParameter-us-core-encounter-date.html","title":"SearchParameter US Core Encounter Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-patient-birthdate.html","title":"SearchParameter US Core Patient Birthdate","generation":"generated"},{"nameUrl":"SearchParameter-us-core-procedure-status.html","title":"SearchParameter US Core Procedure Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-encounter-status.html","title":"SearchParameter US Core Encounter Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-careplan-status.html","title":"SearchParameter US Core CarePlan Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-condition-patient.html","title":"SearchParameter US Core Condition Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-allergyintolerance-patient.html","title":"SearchParameter US Core AllergyIntolerance Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-device-patient.html","title":"SearchParameter US Core Device Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-condition-code.html","title":"SearchParameter US Core Condition Code","generation":"generated"},{"nameUrl":"SearchParameter-us-core-observation-patient.html","title":"SearchParameter US Core Observation Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-race.html","title":"SearchParameter US Core Race","generation":"generated"},{"nameUrl":"SearchParameter-us-core-careplan-patient.html","title":"SearchParameter US Core CarePlan Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-patient-family.html","title":"SearchParameter US Core Patient Family","generation":"generated"},{"nameUrl":"SearchParameter-us-core-medicationrequest-status.html","title":"SearchParameter US Core MedicationRequest Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-location-address-postalcode.html","title":"SearchParameter US Core Location Address Postalcode","generation":"generated"},{"nameUrl":"SearchParameter-us-core-encounter-id.html","title":"SearchParameter US Core Encounter Id","generation":"generated"},{"nameUrl":"SearchParameter-us-core-medicationrequest-authoredon.html","title":"SearchParameter US Core MedicationRequest Authoredon","generation":"generated"},{"nameUrl":"SearchParameter-us-core-documentreference-status.html","title":"SearchParameter US Core DocumentReference Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-procedure-patient.html","title":"SearchParameter US Core Procedure Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-goal-target-date.html","title":"SearchParameter US Core Goal Target Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-diagnosticreport-patient.html","title":"SearchParameter US Core DiagnosticReport Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-careplan-date.html","title":"SearchParameter US Core CarePlan Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-careteam-patient.html","title":"SearchParameter US Core CareTeam Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-immunization-date.html","title":"SearchParameter US Core Immunization Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-encounter-identifier.html","title":"SearchParameter US Core Encounter Identifier","generation":"generated"},{"nameUrl":"SearchParameter-us-core-practitionerrole-specialty.html","title":"SearchParameter US Core PractitionerRole Specialty","generation":"generated"},{"nameUrl":"SearchParameter-us-core-patient-name.html","title":"SearchParameter US Core Patient Name","generation":"generated"},{"nameUrl":"SearchParameter-us-core-device-type.html","title":"SearchParameter US Core Device Type","generation":"generated"},{"nameUrl":"SearchParameter-us-core-goal-patient.html","title":"SearchParameter US Core Goal Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-immunization-patient.html","title":"SearchParameter US Core Immunization Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-patient-id.html","title":"SearchParameter US Core Patient Id","generation":"generated"},{"nameUrl":"SearchParameter-us-core-location-address-city.html","title":"SearchParameter US Core Location Address City","generation":"generated"},{"nameUrl":"SearchParameter-us-core-careteam-status.html","title":"SearchParameter US Core CareTeam Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-documentreference-category.html","title":"SearchParameter US Core DocumentReference Category","generation":"generated"},{"nameUrl":"SearchParameter-us-core-practitioner-identifier.html","title":"SearchParameter US Core Practitioner Identifier","generation":"generated"},{"nameUrl":"SearchParameter-us-core-patient-identifier.html","title":"SearchParameter US Core Patient Identifier","generation":"generated"},{"nameUrl":"SearchParameter-us-core-condition-category.html","title":"SearchParameter US Core Condition Category","generation":"generated"},{"nameUrl":"SearchParameter-us-core-immunization-status.html","title":"SearchParameter US Core Immunization Status","generation":"generated"}]},{"nameUrl":"capstatements.html","title":"Capability Statements","generation":"markdown","page":[{"nameUrl":"CapabilityStatement-us-core-server.html","title":"CapabilityStatement US Core Server","generation":"generated"},{"nameUrl":"CapabilityStatement-us-core-client.html","title":"CapabilityStatement US Core Client","generation":"generated"}]},{"nameUrl":"security.html","title":"Security","generation":"markdown"},{"nameUrl":"downloads.html","title":"Downloads","generation":"markdown"},{"nameUrl":"all-examples.html","title":"All Examples","generation":"markdown"},{"nameUrl":"toc.html","title":"Table of Contents","generation":"html"}]}}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/OperationDefinition-docref.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/OperationDefinition-docref.json deleted file mode 100644 index f2080c39e7c..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/OperationDefinition-docref.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"OperationDefinition","id":"docref","text":{"status":"extensions","div":"

USCoreFetchDocumentReferences

OPERATION: USCoreFetchDocumentReferences

The official URL for this operation definition is:

http://hl7.org/fhir/us/core/OperationDefinition/docref

This operation is used to return all the references to documents related to a patient.

\n

The operation takes the optional input parameters:

\n\n

and returns a Bundle of type "searchset" containing US Core DocumentReference Profiles for the patient. If the server has or can create documents that are related to the patient, and that are available for the given user, the server returns the DocumentReference profiles needed to support the records. The principle intended use for this operation is to provide a provider or patient with access to their available document information.

\n

This operation is different from a search by patient and type and date range because:

\n
    \n
  1. \n

    It is used to request a server generate a document based on the specified parameters.

    \n
  2. \n
  3. \n

    If no parameters are specified, the server SHALL return a DocumentReference to the patient's most current CCD

    \n
  4. \n
  5. \n

    If the server cannot generate a document based on the specified parameters, the operation will return an empty search bundle.

    \n
  6. \n
\n

This operation is the same as a FHIR RESTful search by patient,type and date range because:

\n
    \n
  1. References for existing documents that meet the requirements of the request SHOULD also be returned unless the client indicates they are only interested in 'on-demand' documents using the on-demand parameter.
  2. \n
\n

Parameters

UseNameCardinalityTypeBindingDocumentation
INpatient1..1id

The id of the patient resource located on the server on which this operation is executed. If there is no match, an empty Bundle is returned

\n
INstart0..1date

The date range relates to care dates, not record currency dates - e.g. all records relating to care provided in a certain date range. If no start date is provided, all documents prior to the end date are in scope. If neither a start date nor an end date is provided, the most recent or current document is in scope.

\n
INend0..1date

The date range relates to care dates, not record currency dates - e.g. all records relating to care provided in a certain date range. If no end date is provided, all documents subsequent to the start date are in scope. If neither a start date nor an end date is provided, the most recent or current document is in scope

\n
INtype0..1CodeableConcepthttp://hl7.org/fhir/ValueSet/c80-doc-typecodes (Required)

The type relates to document type e.g. for the LOINC code for a C-CDA Clinical Summary of Care (CCD) is 34133-9 (Summary of episode note). If no type is provided, the CCD document, if available, SHALL be in scope and all other document types MAY be in scope

\n
INon-demand0..1boolean

This on-demand parameter allows client to dictate whether they are requesting only ‘on-demand’ or both ‘on-demand’ and 'stable' documents (or delayed/deferred assembly) that meet the query parameters

\n
OUTreturn1..1Bundle

The bundle type is "searchset"containing US Core DocumentReference Profiles

\n
\n
"},"url":"http://hl7.org/fhir/us/core/OperationDefinition/docref","version":"3.1.1","name":"USCoreFetchDocumentReferences","title":"US Core Fetch DocumentReferences","status":"active","kind":"operation","date":"2019-05-21","publisher":"US Core Project","description":"This operation is used to return all the references to documents related to a patient. \n\n The operation takes the optional input parameters: \n - patient id\n - start date\n - end date\n - document type \n\n and returns a [Bundle](http://hl7.org/fhir/bundle.html) of type \"searchset\" containing [US Core DocumentReference Profiles](http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference) for the patient. If the server has or can create documents that are related to the patient, and that are available for the given user, the server returns the DocumentReference profiles needed to support the records. The principle intended use for this operation is to provide a provider or patient with access to their available document information. \n\n This operation is *different* from a search by patient and type and date range because: \n\n 1. It is used to request a server *generate* a document based on the specified parameters. \n\n 1. If no parameters are specified, the server SHALL return a DocumentReference to the patient's most current CCD \n\n 1. If the server cannot *generate* a document based on the specified parameters, the operation will return an empty search bundle. \n\n This operation is the *same* as a FHIR RESTful search by patient,type and date range because: \n\n 1. References for *existing* documents that meet the requirements of the request SHOULD also be returned unless the client indicates they are only interested in 'on-demand' documents using the *on-demand* parameter.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"docref","comment":" - The server is responsible for determining what resources, if any, to return as [included](http://hl7.org/fhir/R4/search.html#revinclude) resources rather than the client specifying which ones. This frees the client from needing to determine what it could or should ask for. For example, the server may return the referenced document as an included FHIR Binary resource within the return bundle. The server's CapabilityStatement should document this behavior. \n\n - The document itself can be subsequently retrieved using the link provided in the `DocumentReference.content.attachment.url element`. The link could be a FHIR endpoint to a [Binary](http://hl7.org/fhir/R4/binary.html) Resource or some other document repository. \n\n - It is assumed that the server has identified and secured the context appropriately, and can either associate the authorization context with a single patient, or determine whether the context has the rights to the nominated patient, if there is one. If there is no nominated patient (e.g. the operation is invoked at the system level) and the context is not associated with a single patient record, then the server should return an error. Specifying the relationship between the context, a user and patient records is outside the scope of this specification","system":false,"type":true,"instance":false,"parameter":[{"name":"patient","use":"in","min":1,"max":"1","documentation":"The id of the patient resource located on the server on which this operation is executed. If there is no match, an empty Bundle is returned","type":"id"},{"name":"start","use":"in","min":0,"max":"1","documentation":"The date range relates to care dates, not record currency dates - e.g. all records relating to care provided in a certain date range. If no start date is provided, all documents prior to the end date are in scope. If neither a start date nor an end date is provided, the most recent or current document is in scope.","type":"date"},{"name":"end","use":"in","min":0,"max":"1","documentation":"The date range relates to care dates, not record currency dates - e.g. all records relating to care provided in a certain date range. If no end date is provided, all documents subsequent to the start date are in scope. If neither a start date nor an end date is provided, the most recent or current document is in scope","type":"date"},{"name":"type","use":"in","min":0,"max":"1","documentation":"The type relates to document type e.g. for the LOINC code for a C-CDA Clinical Summary of Care (CCD) is 34133-9 (Summary of episode note). If no type is provided, the CCD document, if available, SHALL be in scope and all other document types MAY be in scope","type":"CodeableConcept","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/c80-doc-typecodes"}},{"name":"on-demand","use":"in","min":0,"max":"1","documentation":"This on-demand parameter allows client to dictate whether they are requesting only ‘on-demand’ or both ‘on-demand’ and 'stable' documents (or delayed/deferred assembly) that meet the query parameters","type":"boolean"},{"name":"return","use":"out","min":1,"max":"1","documentation":"The bundle type is \"searchset\"containing [US Core DocumentReference Profiles](http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference)","type":"Bundle"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-allergyintolerance-clinical-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-allergyintolerance-clinical-status.json deleted file mode 100644 index 9d77729a939..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-allergyintolerance-clinical-status.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-allergyintolerance-clinical-status","text":{"status":"generated","div":"

SearchParameter: USCoreAllergyintoleranceClinicalStatus

description : active | inactive | resolved
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-allergyintolerance-clinical-status

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status\n\t\t\t

version : 4.0.1

name : USCoreAllergyintoleranceClinicalStatus

derivedFrom : http://hl7.org/fhir/SearchParameter/AllergyIntolerance-clinical-status\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : clinical-status\n\t\t\t

base :AllergyIntolerance

type : token

expression : AllergyIntolerance.clinicalStatus\n\t\t\t

xpath : f:AllergyIntolerance/f:clinicalStatus\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status","version":"3.1.1","name":"USCoreAllergyintoleranceClinicalStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/AllergyIntolerance-clinical-status","status":"active","experimental":false,"date":"2020-07-01T21:51:57.193068Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"active | inactive | resolved
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"clinical-status","base":["AllergyIntolerance"],"type":"token","expression":"AllergyIntolerance.clinicalStatus","xpath":"f:AllergyIntolerance/f:clinicalStatus","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-allergyintolerance-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-allergyintolerance-patient.json deleted file mode 100644 index 9ddd3357406..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-allergyintolerance-patient.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-allergyintolerance-patient","text":{"status":"generated","div":"

SearchParameter: USCoreAllergyintolerancePatient

description : Who the sensitivity is for
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-allergyintolerance-patient

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient\n\t\t\t

version : 4.0.1

name : USCoreAllergyintolerancePatient

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-patient\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : patient\n\t\t\t

base :AllergyIntolerance

type : reference

expression : AllergyIntolerance.patient\n\t\t\t

xpath : f:AllergyIntolerance/f:patient\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient","version":"3.1.1","name":"USCoreAllergyintolerancePatient","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-patient","status":"active","experimental":false,"date":"2020-07-01T21:51:57.234110Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Who the sensitivity is for
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"patient","base":["AllergyIntolerance"],"type":"reference","expression":"AllergyIntolerance.patient","xpath":"f:AllergyIntolerance/f:patient","xpathUsage":"normal","target":["Patient","Group"],"multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careplan-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careplan-category.json deleted file mode 100644 index d8e85609027..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careplan-category.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-careplan-category","text":{"status":"generated","div":"

SearchParameter: USCoreCareplanCategory

description : Type of plan
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-careplan-category

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category\n\t\t\t

version : 4.0.1

name : USCoreCareplanCategory

derivedFrom : http://hl7.org/fhir/SearchParameter/CarePlan-category\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : category\n\t\t\t

base :CarePlan

type : token

expression : CarePlan.category\n\t\t\t

xpath : f:CarePlan/f:category\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category","version":"3.1.1","name":"USCoreCareplanCategory","derivedFrom":"http://hl7.org/fhir/SearchParameter/CarePlan-category","status":"active","experimental":false,"date":"2020-07-01T21:51:58.240921Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Type of plan
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"category","base":["CarePlan"],"type":"token","expression":"CarePlan.category","xpath":"f:CarePlan/f:category","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careplan-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careplan-date.json deleted file mode 100644 index fe0d8af864e..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careplan-date.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-careplan-date","text":{"status":"generated","div":"

SearchParameter: USCoreCareplanDate

description : Time period plan covers
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-careplan-date

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date\n\t\t\t

version : 4.0.1

name : USCoreCareplanDate

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-date\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : date\n\t\t\t

base :CarePlan

type : date

expression : CarePlan.period\n\t\t\t

xpath : f:CarePlan/f:period\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = SHOULD)

comparator : eq ( Conformance Expectation = MAY)

comparator : ne ( Conformance Expectation = MAY)

comparator : gt ( Conformance Expectation = SHALL)

comparator : ge ( Conformance Expectation = SHALL)

comparator : lt ( Conformance Expectation = SHALL)

comparator : le ( Conformance Expectation = SHALL)

comparator : sa ( Conformance Expectation = MAY)

comparator : eb ( Conformance Expectation = MAY)

comparator : ap ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date","version":"3.1.1","name":"USCoreCareplanDate","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-date","status":"active","experimental":false,"date":"2020-07-01T21:51:58.252955Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Time period plan covers
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"date","base":["CarePlan"],"type":"date","expression":"CarePlan.period","xpath":"f:CarePlan/f:period","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHOULD"}]},"comparator":["eq","ne","gt","ge","lt","le","sa","eb","ap"],"_comparator":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careplan-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careplan-patient.json deleted file mode 100644 index d8a856be1f9..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careplan-patient.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "resourceType": "SearchParameter", - "id": "us-core-careplan-patient", - "text": { - "status": "generated", - "div": "

SearchParameter: USCoreCareplanPatient

description : Who the care plan is for
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-careplan-patient

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient\n\t\t\t

version : 4.0.1

name : USCoreCareplanPatient

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-patient\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : patient\n\t\t\t

base :CarePlan

type : reference

expression : CarePlan.subject.where(resolve() is Patient)\n\t\t\t

xpath : f:CarePlan/f:subject\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

" - }, - "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient", - "version": "3.1.1", - "name": "USCoreCareplanPatient", - "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", - "status": "active", - "experimental": false, - "date": "2020-07-01T21:51:58.267188Z", - "publisher": "HL7 International - US Realm Steering Committee", - "contact": [ - { - "telecom": [ - { - "system": "url", - "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" - } - ] - } - ], - "description": "Who the care plan is for
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ", - "jurisdiction": [ - { - "coding": [ - { - "system": "urn:iso:std:iso:3166", - "code": "US", - "display": "United States of America" - } - ] - } - ], - "code": "patient", - "base": [ - "CarePlan" - ], - "type": "reference", - "expression": "CarePlan.subject.where(resolve() is Patient)", - "xpath": "f:CarePlan/f:subject", - "xpathUsage": "normal", - "target": [ - "Patient", - "Group" - ], - "multipleOr": true, - "_multipleOr": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ] - }, - "multipleAnd": true, - "_multipleAnd": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", - "valueCode": "MAY" - } - ] - } -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careplan-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careplan-status.json deleted file mode 100644 index c3a24d88869..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careplan-status.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-careplan-status","text":{"status":"generated","div":"

SearchParameter: USCoreCareplanStatus

description : draft | active | on-hold | revoked | completed | entered-in-error | unknown
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-careplan-status

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status\n\t\t\t

version : 4.0.1

name : USCoreCareplanStatus

derivedFrom : http://hl7.org/fhir/SearchParameter/CarePlan-status\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : status\n\t\t\t

base :CarePlan

type : token

expression : CarePlan.status\n\t\t\t

xpath : f:CarePlan/f:status\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = SHALL)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/request-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status","version":"3.1.1","name":"USCoreCareplanStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/CarePlan-status","status":"active","experimental":false,"date":"2020-07-01T21:51:58.282052Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"draft | active | on-hold | revoked | completed | entered-in-error | unknown
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"status","base":["CarePlan"],"type":"token","expression":"CarePlan.status","xpath":"f:CarePlan/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careteam-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careteam-patient.json deleted file mode 100644 index 872e2b95bbe..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careteam-patient.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-careteam-patient","text":{"status":"generated","div":"

SearchParameter: USCoreCareteamPatient

description : Who care team is for
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-careteam-patient

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient\n\t\t\t

version : 4.0.1

name : USCoreCareteamPatient

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-patient\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : patient\n\t\t\t

base :CareTeam

type : reference

expression : CareTeam.subject.where(resolve() is Patient)\n\t\t\t

xpath : f:CareTeam/f:subject\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient","version":"3.1.1","name":"USCoreCareteamPatient","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-patient","status":"active","experimental":false,"date":"2020-07-01T21:51:58.294355Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Who care team is for
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"patient","base":["CareTeam"],"type":"reference","expression":"CareTeam.subject.where(resolve() is Patient)","xpath":"f:CareTeam/f:subject","xpathUsage":"normal","target":["Patient","Group"],"multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careteam-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careteam-status.json deleted file mode 100644 index 38102a3edf1..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-careteam-status.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-careteam-status","text":{"status":"generated","div":"

SearchParameter: USCoreCareteamStatus

description : proposed | active | suspended | inactive | entered-in-error
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-careteam-status

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status\n\t\t\t

version : 4.0.1

name : USCoreCareteamStatus

derivedFrom : http://hl7.org/fhir/SearchParameter/CareTeam-status\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : status\n\t\t\t

base :CareTeam

type : token

expression : CareTeam.status\n\t\t\t

xpath : f:CareTeam/f:status\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = SHALL)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/care-team-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status","version":"3.1.1","name":"USCoreCareteamStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/CareTeam-status","status":"active","experimental":false,"date":"2020-07-01T21:51:58.330023Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"proposed | active | suspended | inactive | entered-in-error
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"status","base":["CareTeam"],"type":"token","expression":"CareTeam.status","xpath":"f:CareTeam/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-condition-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-condition-category.json deleted file mode 100644 index a6cedc77ce0..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-condition-category.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-condition-category","text":{"status":"generated","div":"

SearchParameter: USCoreConditionCategory

description : The category of the condition
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-condition-category

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category\n\t\t\t

version : 4.0.1

name : USCoreConditionCategory

derivedFrom : http://hl7.org/fhir/SearchParameter/Condition-category\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : category\n\t\t\t

base :Condition

type : token

expression : Condition.category\n\t\t\t

xpath : f:Condition/f:category\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category","version":"3.1.1","name":"USCoreConditionCategory","derivedFrom":"http://hl7.org/fhir/SearchParameter/Condition-category","status":"active","experimental":false,"date":"2020-07-01T21:51:57.252432Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"The category of the condition
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"category","base":["Condition"],"type":"token","expression":"Condition.category","xpath":"f:Condition/f:category","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-condition-clinical-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-condition-clinical-status.json deleted file mode 100644 index 9cbad85d789..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-condition-clinical-status.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-condition-clinical-status","text":{"status":"generated","div":"

SearchParameter: USCoreConditionClinicalStatus

description : The clinical status of the condition
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-condition-clinical-status

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status\n\t\t\t

version : 4.0.1

name : USCoreConditionClinicalStatus

derivedFrom : http://hl7.org/fhir/SearchParameter/Condition-clinical-status\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : clinical-status\n\t\t\t

base :Condition

type : token

expression : Condition.clinicalStatus\n\t\t\t

xpath : f:Condition/f:clinicalStatus\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status","version":"3.1.1","name":"USCoreConditionClinicalStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/Condition-clinical-status","status":"active","experimental":false,"date":"2020-07-01T21:51:57.273619Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"The clinical status of the condition
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"clinical-status","base":["Condition"],"type":"token","expression":"Condition.clinicalStatus","xpath":"f:Condition/f:clinicalStatus","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-condition-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-condition-code.json deleted file mode 100644 index 526d747156d..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-condition-code.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-condition-code","text":{"status":"generated","div":"

SearchParameter: USCoreConditionCode

description : Code for the condition
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-condition-code

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code\n\t\t\t

version : 4.0.1

name : USCoreConditionCode

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-code\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : code\n\t\t\t

base :Condition

type : token

expression : Condition.code\n\t\t\t

xpath : f:Condition/f:code\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code","version":"3.1.1","name":"USCoreConditionCode","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-code","status":"active","experimental":false,"date":"2020-07-01T21:51:57.657922Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Code for the condition
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"code","base":["Condition"],"type":"token","expression":"Condition.code","xpath":"f:Condition/f:code","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-condition-onset-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-condition-onset-date.json deleted file mode 100644 index cf2b5a88731..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-condition-onset-date.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-condition-onset-date","text":{"status":"generated","div":"

SearchParameter: USCoreConditionOnsetDate

description : Date related onsets (dateTime and Period)
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-condition-onset-date

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date\n\t\t\t

version : 4.0.1

name : USCoreConditionOnsetDate

derivedFrom : http://hl7.org/fhir/SearchParameter/Condition-onset-date\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : onset-date\n\t\t\t

base :Condition

type : date

expression : Condition.onset.as(dateTime)\n\t\t\t

xpath : f:Condition/f:onsetDateTime\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = SHOULD)

comparator : eq ( Conformance Expectation = MAY)

comparator : ne ( Conformance Expectation = MAY)

comparator : gt ( Conformance Expectation = SHALL)

comparator : ge ( Conformance Expectation = SHALL)

comparator : lt ( Conformance Expectation = SHALL)

comparator : le ( Conformance Expectation = SHALL)

comparator : sa ( Conformance Expectation = MAY)

comparator : eb ( Conformance Expectation = MAY)

comparator : ap ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date","version":"3.1.1","name":"USCoreConditionOnsetDate","derivedFrom":"http://hl7.org/fhir/SearchParameter/Condition-onset-date","status":"active","experimental":false,"date":"2020-07-01T21:51:57.644555Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Date related onsets (dateTime and Period)
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"onset-date","base":["Condition"],"type":"date","expression":"Condition.onset.as(dateTime)","xpath":"f:Condition/f:onsetDateTime","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHOULD"}]},"comparator":["eq","ne","gt","ge","lt","le","sa","eb","ap"],"_comparator":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-condition-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-condition-patient.json deleted file mode 100644 index c2916594018..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-condition-patient.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-condition-patient","text":{"status":"generated","div":"

SearchParameter: USCoreConditionPatient

description : Who has the condition?
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-condition-patient

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient\n\t\t\t

version : 4.0.1

name : USCoreConditionPatient

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-patient\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : patient\n\t\t\t

base :Condition

type : reference

expression : Condition.subject.where(resolve() is Patient)\n\t\t\t

xpath : f:Condition/f:subject\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient","version":"3.1.1","name":"USCoreConditionPatient","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-patient","status":"active","experimental":false,"date":"2020-07-01T21:51:57.330539Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Who has the condition?
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"patient","base":["Condition"],"type":"reference","expression":"Condition.subject.where(resolve() is Patient)","xpath":"f:Condition/f:subject","xpathUsage":"normal","target":["Patient","Group"],"multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-device-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-device-patient.json deleted file mode 100644 index 3c51f7c1c14..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-device-patient.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-device-patient","text":{"status":"generated","div":"

SearchParameter: USCoreDevicePatient

description : Patient information, if the resource is affixed to a person
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-device-patient

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient\n\t\t\t

version : 4.0.1

name : USCoreDevicePatient

derivedFrom : http://hl7.org/fhir/SearchParameter/Device-patient\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : patient\n\t\t\t

base :Device

type : reference

expression : Device.patient\n\t\t\t

xpath : f:Device/f:patient\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient","version":"3.1.1","name":"USCoreDevicePatient","derivedFrom":"http://hl7.org/fhir/SearchParameter/Device-patient","status":"active","experimental":false,"date":"2020-07-01T21:51:58.352744Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Patient information, if the resource is affixed to a person
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"patient","base":["Device"],"type":"reference","expression":"Device.patient","xpath":"f:Device/f:patient","xpathUsage":"normal","target":["Patient"],"multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-device-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-device-type.json deleted file mode 100644 index 725a815138c..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-device-type.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-device-type","text":{"status":"generated","div":"

SearchParameter: USCoreDeviceType

description : The type of the device
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-device-type

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type\n\t\t\t

version : 4.0.1

name : USCoreDeviceType

derivedFrom : http://hl7.org/fhir/SearchParameter/Device-type\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : type\n\t\t\t

base :Device

type : token

expression : Device.type\n\t\t\t

xpath : f:Device/f:type\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type","version":"3.1.1","name":"USCoreDeviceType","derivedFrom":"http://hl7.org/fhir/SearchParameter/Device-type","status":"active","experimental":false,"date":"2020-07-01T21:51:58.361965Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"The type of the device
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"type","base":["Device"],"type":"token","expression":"Device.type","xpath":"f:Device/f:type","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-diagnosticreport-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-diagnosticreport-category.json deleted file mode 100644 index 1a85af90db1..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-diagnosticreport-category.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-diagnosticreport-category","text":{"status":"generated","div":"

SearchParameter: USCoreDiagnosticreportCategory

description : Which diagnostic discipline/department created the report
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-diagnosticreport-category

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category\n\t\t\t

version : 4.0.1

name : USCoreDiagnosticreportCategory

derivedFrom : http://hl7.org/fhir/SearchParameter/DiagnosticReport-category\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : category\n\t\t\t

base :DiagnosticReport

type : token

expression : DiagnosticReport.category\n\t\t\t

xpath : f:DiagnosticReport/f:category\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category","version":"3.1.1","name":"USCoreDiagnosticreportCategory","derivedFrom":"http://hl7.org/fhir/SearchParameter/DiagnosticReport-category","status":"active","experimental":false,"date":"2020-07-01T21:51:57.911245Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Which diagnostic discipline/department created the report
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"category","base":["DiagnosticReport"],"type":"token","expression":"DiagnosticReport.category","xpath":"f:DiagnosticReport/f:category","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-diagnosticreport-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-diagnosticreport-code.json deleted file mode 100644 index 9a2b43133c6..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-diagnosticreport-code.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-diagnosticreport-code","text":{"status":"generated","div":"

SearchParameter: USCoreDiagnosticreportCode

description : The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-diagnosticreport-code

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code\n\t\t\t

version : 4.0.1

name : USCoreDiagnosticreportCode

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-code\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : code\n\t\t\t

base :DiagnosticReport

type : token

expression : DiagnosticReport.code\n\t\t\t

xpath : f:DiagnosticReport/f:code\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = SHOULD)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code","version":"3.1.1","name":"USCoreDiagnosticreportCode","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-code","status":"active","experimental":false,"date":"2020-07-01T21:51:57.929864Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"code","base":["DiagnosticReport"],"type":"token","expression":"DiagnosticReport.code","xpath":"f:DiagnosticReport/f:code","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHOULD"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-diagnosticreport-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-diagnosticreport-date.json deleted file mode 100644 index 446ccd85852..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-diagnosticreport-date.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-diagnosticreport-date","text":{"status":"generated","div":"

SearchParameter: USCoreDiagnosticreportDate

description : The clinically relevant time of the report
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-diagnosticreport-date

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date\n\t\t\t

version : 4.0.1

name : USCoreDiagnosticreportDate

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-date\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : date\n\t\t\t

base :DiagnosticReport

type : date

expression : DiagnosticReport.effective\n\t\t\t

xpath : f:DiagnosticReport/f:effectiveDateTime\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = SHOULD)

comparator : eq ( Conformance Expectation = MAY)

comparator : ne ( Conformance Expectation = MAY)

comparator : gt ( Conformance Expectation = SHALL)

comparator : ge ( Conformance Expectation = SHALL)

comparator : lt ( Conformance Expectation = SHALL)

comparator : le ( Conformance Expectation = SHALL)

comparator : sa ( Conformance Expectation = MAY)

comparator : eb ( Conformance Expectation = MAY)

comparator : ap ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date","version":"3.1.1","name":"USCoreDiagnosticreportDate","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-date","status":"active","experimental":false,"date":"2020-07-01T21:51:57.939751Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"The clinically relevant time of the report
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"date","base":["DiagnosticReport"],"type":"date","expression":"DiagnosticReport.effective","xpath":"f:DiagnosticReport/f:effectiveDateTime","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHOULD"}]},"comparator":["eq","ne","gt","ge","lt","le","sa","eb","ap"],"_comparator":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-diagnosticreport-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-diagnosticreport-patient.json deleted file mode 100644 index 6fdda03147f..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-diagnosticreport-patient.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-diagnosticreport-patient","text":{"status":"generated","div":"

SearchParameter: USCoreDiagnosticreportPatient

description : The subject of the report if a patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-diagnosticreport-patient

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient\n\t\t\t

version : 4.0.1

name : USCoreDiagnosticreportPatient

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-patient\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : patient\n\t\t\t

base :DiagnosticReport

type : reference

expression : DiagnosticReport.subject.where(resolve() is Patient)\n\t\t\t

xpath : f:DiagnosticReport/f:subject\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient","version":"3.1.1","name":"USCoreDiagnosticreportPatient","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-patient","status":"active","experimental":false,"date":"2020-07-01T21:51:57.885499Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"The subject of the report if a patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"patient","base":["DiagnosticReport"],"type":"reference","expression":"DiagnosticReport.subject.where(resolve() is Patient)","xpath":"f:DiagnosticReport/f:subject","xpathUsage":"normal","target":["Patient","Group"],"multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-diagnosticreport-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-diagnosticreport-status.json deleted file mode 100644 index a5675ee70dd..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-diagnosticreport-status.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-diagnosticreport-status","text":{"status":"generated","div":"

SearchParameter: USCoreDiagnosticreportStatus

description : The status of the report
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-diagnosticreport-status

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status\n\t\t\t

version : 4.0.1

name : USCoreDiagnosticreportStatus

derivedFrom : http://hl7.org/fhir/SearchParameter/DiagnosticReport-status\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : status\n\t\t\t

base :DiagnosticReport

type : token

expression : DiagnosticReport.status\n\t\t\t

xpath : f:DiagnosticReport/f:status\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = SHALL)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/diagnostic-report-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status","version":"3.1.1","name":"USCoreDiagnosticreportStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/DiagnosticReport-status","status":"active","experimental":false,"date":"2020-07-01T21:51:57.843388Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"The status of the report
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"status","base":["DiagnosticReport"],"type":"token","expression":"DiagnosticReport.status","xpath":"f:DiagnosticReport/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-category.json deleted file mode 100644 index 57920d59509..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-category.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-documentreference-category","text":{"status":"generated","div":"

SearchParameter: USCoreDocumentreferenceCategory

description : Categorization of document
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-documentreference-category

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category\n\t\t\t

version : 4.0.1

name : USCoreDocumentreferenceCategory

derivedFrom : http://hl7.org/fhir/SearchParameter/DocumentReference-category\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : category\n\t\t\t

base :DocumentReference

type : token

expression : DocumentReference.category\n\t\t\t

xpath : f:DocumentReference/f:category\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category","version":"3.1.1","name":"USCoreDocumentreferenceCategory","derivedFrom":"http://hl7.org/fhir/SearchParameter/DocumentReference-category","status":"active","experimental":false,"date":"2020-07-01T21:51:57.745873Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Categorization of document
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"category","base":["DocumentReference"],"type":"token","expression":"DocumentReference.category","xpath":"f:DocumentReference/f:category","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-date.json deleted file mode 100644 index bfdc158aa45..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-date.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-documentreference-date","text":{"status":"generated","div":"

SearchParameter: USCoreDocumentreferenceDate

description : When this document reference was created
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-documentreference-date

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date\n\t\t\t

version : 4.0.1

name : USCoreDocumentreferenceDate

derivedFrom : http://hl7.org/fhir/SearchParameter/DocumentReference-date\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : date\n\t\t\t

base :DocumentReference

type : date

expression : DocumentReference.date\n\t\t\t

xpath : f:DocumentReference/f:date\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = SHOULD)

comparator : eq ( Conformance Expectation = MAY)

comparator : ne ( Conformance Expectation = MAY)

comparator : gt ( Conformance Expectation = SHALL)

comparator : ge ( Conformance Expectation = SHALL)

comparator : lt ( Conformance Expectation = SHALL)

comparator : le ( Conformance Expectation = SHALL)

comparator : sa ( Conformance Expectation = MAY)

comparator : eb ( Conformance Expectation = MAY)

comparator : ap ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date","version":"3.1.1","name":"USCoreDocumentreferenceDate","derivedFrom":"http://hl7.org/fhir/SearchParameter/DocumentReference-date","status":"active","experimental":false,"date":"2020-07-01T21:51:57.768751Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"When this document reference was created
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"date","base":["DocumentReference"],"type":"date","expression":"DocumentReference.date","xpath":"f:DocumentReference/f:date","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHOULD"}]},"comparator":["eq","ne","gt","ge","lt","le","sa","eb","ap"],"_comparator":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-id.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-id.json deleted file mode 100644 index ff520c6db64..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-id.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-documentreference-id","text":{"status":"generated","div":"

SearchParameter: USCoreDocumentreferenceId

description : Logical id of this artifact
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-documentreference-id

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id\n\t\t\t

version : 4.0.1

name : USCoreDocumentreferenceId

derivedFrom : http://hl7.org/fhir/SearchParameter/Resource-id\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : _id\n\t\t\t

base :DocumentReference

type : token

expression : DocumentReference.id\n\t\t\t

xpath : DocumentReference.id\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id","version":"3.1.1","name":"USCoreDocumentreferenceId","derivedFrom":"http://hl7.org/fhir/SearchParameter/Resource-id","status":"active","experimental":false,"date":"2020-07-01T21:51:57.702134Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Logical id of this artifact
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"_id","base":["DocumentReference"],"type":"token","expression":"DocumentReference.id","xpath":"DocumentReference.id","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-patient.json deleted file mode 100644 index e50eaa0989a..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-patient.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-documentreference-patient","text":{"status":"generated","div":"

SearchParameter: USCoreDocumentreferencePatient

description : Who/what is the subject of the document
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-documentreference-patient

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient\n\t\t\t

version : 4.0.1

name : USCoreDocumentreferencePatient

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-patient\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : patient\n\t\t\t

base :DocumentReference

type : reference

expression : DocumentReference.subject.where(resolve() is Patient)\n\t\t\t

xpath : f:DocumentReference/f:subject\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient","version":"3.1.1","name":"USCoreDocumentreferencePatient","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-patient","status":"active","experimental":false,"date":"2020-07-01T21:51:57.735682Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Who/what is the subject of the document
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"patient","base":["DocumentReference"],"type":"reference","expression":"DocumentReference.subject.where(resolve() is Patient)","xpath":"f:DocumentReference/f:subject","xpathUsage":"normal","target":["Patient","Group"],"multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-period.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-period.json deleted file mode 100644 index 83e06aa7168..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-period.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-documentreference-period","text":{"status":"generated","div":"

SearchParameter: USCoreDocumentreferencePeriod

description : Time of service that is being documented
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-documentreference-period

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period\n\t\t\t

version : 4.0.1

name : USCoreDocumentreferencePeriod

derivedFrom : http://hl7.org/fhir/SearchParameter/DocumentReference-period\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : period\n\t\t\t

base :DocumentReference

type : date

expression : DocumentReference.context.period\n\t\t\t

xpath : f:DocumentReference/f:context/f:period\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = SHOULD)

comparator : eq ( Conformance Expectation = MAY)

comparator : ne ( Conformance Expectation = MAY)

comparator : gt ( Conformance Expectation = SHALL)

comparator : ge ( Conformance Expectation = SHALL)

comparator : lt ( Conformance Expectation = SHALL)

comparator : le ( Conformance Expectation = SHALL)

comparator : sa ( Conformance Expectation = MAY)

comparator : eb ( Conformance Expectation = MAY)

comparator : ap ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period","version":"3.1.1","name":"USCoreDocumentreferencePeriod","derivedFrom":"http://hl7.org/fhir/SearchParameter/DocumentReference-period","status":"active","experimental":false,"date":"2020-07-01T21:51:57.789454Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Time of service that is being documented
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"period","base":["DocumentReference"],"type":"date","expression":"DocumentReference.context.period","xpath":"f:DocumentReference/f:context/f:period","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHOULD"}]},"comparator":["eq","ne","gt","ge","lt","le","sa","eb","ap"],"_comparator":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-status.json deleted file mode 100644 index 4ae99f88a18..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-status.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-documentreference-status","text":{"status":"generated","div":"

SearchParameter: USCoreDocumentreferenceStatus

description : current | superseded | entered-in-error
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-documentreference-status

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status\n\t\t\t

version : 4.0.1

name : USCoreDocumentreferenceStatus

derivedFrom : http://hl7.org/fhir/SearchParameter/DocumentReference-status\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : status\n\t\t\t

base :DocumentReference

type : token

expression : DocumentReference.status\n\t\t\t

xpath : f:DocumentReference/f:status\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = SHALL)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/document-reference-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status","version":"3.1.1","name":"USCoreDocumentreferenceStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/DocumentReference-status","status":"active","experimental":false,"date":"2020-07-01T21:51:57.721457Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"current | superseded | entered-in-error
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"status","base":["DocumentReference"],"type":"token","expression":"DocumentReference.status","xpath":"f:DocumentReference/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-type.json deleted file mode 100644 index 32c180f584a..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-documentreference-type.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-documentreference-type","text":{"status":"generated","div":"

SearchParameter: USCoreDocumentreferenceType

description : Kind of document (LOINC if possible)
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-documentreference-type

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type\n\t\t\t

version : 4.0.1

name : USCoreDocumentreferenceType

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-type\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : type\n\t\t\t

base :DocumentReference

type : token

expression : DocumentReference.type\n\t\t\t

xpath : f:DocumentReference/f:type\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type","version":"3.1.1","name":"USCoreDocumentreferenceType","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-type","status":"active","experimental":false,"date":"2020-07-01T21:51:57.753275Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Kind of document (LOINC if possible)
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"type","base":["DocumentReference"],"type":"token","expression":"DocumentReference.type","xpath":"f:DocumentReference/f:type","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-class.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-class.json deleted file mode 100644 index 86641fff478..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-class.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-encounter-class","text":{"status":"generated","div":"

SearchParameter: USCoreEncounterClass

description : Classification of patient encounter
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-encounter-class

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class\n\t\t\t

version : 4.0.1

name : USCoreEncounterClass

derivedFrom : http://hl7.org/fhir/SearchParameter/Encounter-class\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : class\n\t\t\t

base :Encounter

type : token

expression : Encounter.class\n\t\t\t

xpath : f:Encounter/f:class\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class","version":"3.1.1","name":"USCoreEncounterClass","derivedFrom":"http://hl7.org/fhir/SearchParameter/Encounter-class","status":"active","experimental":false,"date":"2020-07-01T21:51:57.368583Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Classification of patient encounter
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"class","base":["Encounter"],"type":"token","expression":"Encounter.class","xpath":"f:Encounter/f:class","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-date.json deleted file mode 100644 index b565a03b6f2..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-date.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-encounter-date","text":{"status":"generated","div":"

SearchParameter: USCoreEncounterDate

description : A date within the period the Encounter lasted
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-encounter-date

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date\n\t\t\t

version : 4.0.1

name : USCoreEncounterDate

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-date\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : date\n\t\t\t

base :Encounter

type : date

expression : Encounter.period\n\t\t\t

xpath : f:Encounter/f:period\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = SHOULD)

comparator : eq ( Conformance Expectation = MAY)

comparator : ne ( Conformance Expectation = MAY)

comparator : gt ( Conformance Expectation = SHALL)

comparator : ge ( Conformance Expectation = SHALL)

comparator : lt ( Conformance Expectation = SHALL)

comparator : le ( Conformance Expectation = SHALL)

comparator : sa ( Conformance Expectation = MAY)

comparator : eb ( Conformance Expectation = MAY)

comparator : ap ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date","version":"3.1.1","name":"USCoreEncounterDate","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-date","status":"active","experimental":false,"date":"2020-07-01T21:51:57.385939Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"A date within the period the Encounter lasted
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"date","base":["Encounter"],"type":"date","expression":"Encounter.period","xpath":"f:Encounter/f:period","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHOULD"}]},"comparator":["eq","ne","gt","ge","lt","le","sa","eb","ap"],"_comparator":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-id.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-id.json deleted file mode 100644 index ef550b863c1..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-id.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-encounter-id","text":{"status":"generated","div":"

SearchParameter: USCoreEncounterId

description : Logical id of this artifact
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-encounter-id

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id\n\t\t\t

version : 4.0.1

name : USCoreEncounterId

derivedFrom : http://hl7.org/fhir/SearchParameter/Resource-id\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : _id\n\t\t\t

base :Encounter

type : token

expression : Encounter.id\n\t\t\t

xpath : Encounter.id\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id","version":"3.1.1","name":"USCoreEncounterId","derivedFrom":"http://hl7.org/fhir/SearchParameter/Resource-id","status":"active","experimental":false,"date":"2020-07-01T21:51:57.351982Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Logical id of this artifact
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"_id","base":["Encounter"],"type":"token","expression":"Encounter.id","xpath":"Encounter.id","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-identifier.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-identifier.json deleted file mode 100644 index 48b4be19fee..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-identifier.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-encounter-identifier","text":{"status":"generated","div":"

SearchParameter: USCoreEncounterIdentifier

description : Identifier(s) by which this encounter is known
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-encounter-identifier

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier\n\t\t\t

version : 4.0.1

name : USCoreEncounterIdentifier

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-identifier\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : identifier\n\t\t\t

base :Encounter

type : token

expression : Encounter.identifier\n\t\t\t

xpath : f:Encounter/f:identifier\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier","version":"3.1.1","name":"USCoreEncounterIdentifier","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-identifier","status":"active","experimental":false,"date":"2020-07-01T21:51:57.433157Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Identifier(s) by which this encounter is known
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"identifier","base":["Encounter"],"type":"token","expression":"Encounter.identifier","xpath":"f:Encounter/f:identifier","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-patient.json deleted file mode 100644 index 698b820fd36..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-patient.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-encounter-patient","text":{"status":"generated","div":"

SearchParameter: USCoreEncounterPatient

description : The patient or group present at the encounter
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-encounter-patient

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient\n\t\t\t

version : 4.0.1

name : USCoreEncounterPatient

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-patient\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : patient\n\t\t\t

base :Encounter

type : reference

expression : Encounter.subject.where(resolve() is Patient)\n\t\t\t

xpath : f:Encounter/f:subject\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient","version":"3.1.1","name":"USCoreEncounterPatient","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-patient","status":"active","experimental":false,"date":"2020-07-01T21:51:57.446705Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"The patient or group present at the encounter
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"patient","base":["Encounter"],"type":"reference","expression":"Encounter.subject.where(resolve() is Patient)","xpath":"f:Encounter/f:subject","xpathUsage":"normal","target":["Patient","Group"],"multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-status.json deleted file mode 100644 index 4c4eb7e5d90..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-status.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-encounter-status","text":{"status":"generated","div":"

SearchParameter: USCoreEncounterStatus

description : planned | arrived | triaged | in-progress | onleave | finished | cancelled +
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-encounter-status

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status\n\t\t\t

version : 4.0.1

name : USCoreEncounterStatus

derivedFrom : http://hl7.org/fhir/SearchParameter/Encounter-status\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : status\n\t\t\t

base :Encounter

type : token

expression : Encounter.status\n\t\t\t

xpath : f:Encounter/f:status\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/encounter-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status","version":"3.1.1","name":"USCoreEncounterStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/Encounter-status","status":"active","experimental":false,"date":"2020-07-01T21:51:57.457978Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"planned | arrived | triaged | in-progress | onleave | finished | cancelled +
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"status","base":["Encounter"],"type":"token","expression":"Encounter.status","xpath":"f:Encounter/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-type.json deleted file mode 100644 index 6d168a6afc4..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-encounter-type.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-encounter-type","text":{"status":"generated","div":"

SearchParameter: USCoreEncounterType

description : Specific type of encounter
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-encounter-type

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type\n\t\t\t

version : 4.0.1

name : USCoreEncounterType

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-type\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : type\n\t\t\t

base :Encounter

type : token

expression : Encounter.type\n\t\t\t

xpath : f:Encounter/f:type\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type","version":"3.1.1","name":"USCoreEncounterType","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-type","status":"active","experimental":false,"date":"2020-07-01T21:51:57.478701Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Specific type of encounter
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"type","base":["Encounter"],"type":"token","expression":"Encounter.type","xpath":"f:Encounter/f:type","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-ethnicity.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-ethnicity.json deleted file mode 100644 index 6982754c570..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-ethnicity.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-ethnicity","text":{"status":"generated","div":"

Generated Narrative

id: us-core-ethnicity

url: http://hl7.org/fhir/us/core/SearchParameter/us-core-ethnicity

version: 3.1.1

name: USCoreEthnicity

status: active

date: 2019-05-21

publisher: US Realm Steering Committee

contact: http://www.healthit.gov/

description: Returns patients with an ethnicity extension matching the specified code.

jurisdiction: United States of America

code: ethnicity

base: Patient

type: token

expression: Patient.extension.where(url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity').extension.value.code

xpath: f:Patient/f:extension[@url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity']/f:extension/f:valueCoding/f:code/@value

xpathUsage: normal

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-ethnicity","version":"3.1.1","name":"USCoreEthnicity","status":"active","date":"2019-05-21","publisher":"US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://www.healthit.gov/"}]}],"description":"Returns patients with an ethnicity extension matching the specified code.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"ethnicity","base":["Patient"],"type":"token","expression":"Patient.extension.where(url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity').extension.value.code","xpath":"f:Patient/f:extension[@url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity']/f:extension/f:valueCoding/f:code/@value","xpathUsage":"normal"} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-goal-lifecycle-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-goal-lifecycle-status.json deleted file mode 100644 index 73dd741f50e..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-goal-lifecycle-status.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-goal-lifecycle-status","text":{"status":"generated","div":"

SearchParameter: USCoreGoalLifecycleStatus

description : proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-goal-lifecycle-status

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status\n\t\t\t

version : 4.0.1

name : USCoreGoalLifecycleStatus

derivedFrom : http://hl7.org/fhir/SearchParameter/Goal-lifecycle-status\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : lifecycle-status\n\t\t\t

base :Goal

type : token

expression : Goal.lifecycleStatus\n\t\t\t

xpath : f:Goal/f:lifecycleStatus\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/goal-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status","version":"3.1.1","name":"USCoreGoalLifecycleStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/Goal-lifecycle-status","status":"active","experimental":false,"date":"2020-07-01T21:51:57.953637Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"lifecycle-status","base":["Goal"],"type":"token","expression":"Goal.lifecycleStatus","xpath":"f:Goal/f:lifecycleStatus","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-goal-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-goal-patient.json deleted file mode 100644 index e46b6548138..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-goal-patient.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-goal-patient","text":{"status":"generated","div":"

SearchParameter: USCoreGoalPatient

description : Who this goal is intended for
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-goal-patient

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient\n\t\t\t

version : 4.0.1

name : USCoreGoalPatient

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-patient\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : patient\n\t\t\t

base :Goal

type : reference

expression : Goal.subject.where(resolve() is Patient)\n\t\t\t

xpath : f:Goal/f:subject\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient","version":"3.1.1","name":"USCoreGoalPatient","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-patient","status":"active","experimental":false,"date":"2020-07-01T21:51:57.964712Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Who this goal is intended for
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"patient","base":["Goal"],"type":"reference","expression":"Goal.subject.where(resolve() is Patient)","xpath":"f:Goal/f:subject","xpathUsage":"normal","target":["Patient","Group"],"multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-goal-target-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-goal-target-date.json deleted file mode 100644 index 9702aebe04b..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-goal-target-date.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-goal-target-date","text":{"status":"generated","div":"

SearchParameter: USCoreGoalTargetDate

description : Reach goal on or before
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-goal-target-date

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date\n\t\t\t

version : 4.0.1

name : USCoreGoalTargetDate

derivedFrom : http://hl7.org/fhir/SearchParameter/Goal-target-date\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : target-date\n\t\t\t

base :Goal

type : date

expression : (Goal.target.due as date)\n\t\t\t

xpath : f:Goal/f:target/f:dueDate\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = SHOULD)

comparator : eq ( Conformance Expectation = MAY)

comparator : ne ( Conformance Expectation = MAY)

comparator : gt ( Conformance Expectation = SHALL)

comparator : ge ( Conformance Expectation = SHALL)

comparator : lt ( Conformance Expectation = SHALL)

comparator : le ( Conformance Expectation = SHALL)

comparator : sa ( Conformance Expectation = MAY)

comparator : eb ( Conformance Expectation = MAY)

comparator : ap ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date","version":"3.1.1","name":"USCoreGoalTargetDate","derivedFrom":"http://hl7.org/fhir/SearchParameter/Goal-target-date","status":"active","experimental":false,"date":"2020-07-01T21:51:57.971462Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Reach goal on or before
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"target-date","base":["Goal"],"type":"date","expression":"(Goal.target.due as date)","xpath":"f:Goal/f:target/f:dueDate","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHOULD"}]},"comparator":["eq","ne","gt","ge","lt","le","sa","eb","ap"],"_comparator":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-immunization-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-immunization-date.json deleted file mode 100644 index 7d46ed64f78..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-immunization-date.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-immunization-date","text":{"status":"generated","div":"

SearchParameter: USCoreImmunizationDate

description : Vaccination (non)-Administration Date
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-immunization-date

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date\n\t\t\t

version : 4.0.1

name : USCoreImmunizationDate

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-date\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : date\n\t\t\t

base :Immunization

type : date

expression : Immunization.occurrence\n\t\t\t

xpath : f:Immunization/f:occurrenceDateTime\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = SHOULD)

comparator : eq ( Conformance Expectation = MAY)

comparator : ne ( Conformance Expectation = MAY)

comparator : gt ( Conformance Expectation = SHALL)

comparator : ge ( Conformance Expectation = SHALL)

comparator : lt ( Conformance Expectation = SHALL)

comparator : le ( Conformance Expectation = SHALL)

comparator : sa ( Conformance Expectation = MAY)

comparator : eb ( Conformance Expectation = MAY)

comparator : ap ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date","version":"3.1.1","name":"USCoreImmunizationDate","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-date","status":"active","experimental":false,"date":"2020-07-01T21:51:57.688565Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Vaccination (non)-Administration Date
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"date","base":["Immunization"],"type":"date","expression":"Immunization.occurrence","xpath":"f:Immunization/f:occurrenceDateTime","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHOULD"}]},"comparator":["eq","ne","gt","ge","lt","le","sa","eb","ap"],"_comparator":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-immunization-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-immunization-patient.json deleted file mode 100644 index 0b7097a893a..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-immunization-patient.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-immunization-patient","text":{"status":"generated","div":"

SearchParameter: USCoreImmunizationPatient

description : The patient for the vaccination record
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-immunization-patient

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient\n\t\t\t

version : 4.0.1

name : USCoreImmunizationPatient

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-patient\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : patient\n\t\t\t

base :Immunization

type : reference

expression : Immunization.patient\n\t\t\t

xpath : f:Immunization/f:patient\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient","version":"3.1.1","name":"USCoreImmunizationPatient","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-patient","status":"active","experimental":false,"date":"2020-07-01T21:51:57.669969Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"The patient for the vaccination record
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"patient","base":["Immunization"],"type":"reference","expression":"Immunization.patient","xpath":"f:Immunization/f:patient","xpathUsage":"normal","target":["Patient","Group"],"multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-immunization-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-immunization-status.json deleted file mode 100644 index ca80e6eabc8..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-immunization-status.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-immunization-status","text":{"status":"generated","div":"

SearchParameter: USCoreImmunizationStatus

description : Immunization event status
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-immunization-status

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status\n\t\t\t

version : 4.0.1

name : USCoreImmunizationStatus

derivedFrom : http://hl7.org/fhir/SearchParameter/Immunization-status\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : status\n\t\t\t

base :Immunization

type : token

expression : Immunization.status\n\t\t\t

xpath : f:Immunization/f:status\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/event-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status","version":"3.1.1","name":"USCoreImmunizationStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/Immunization-status","status":"active","experimental":false,"date":"2020-07-01T21:51:57.67909Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Immunization event status
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"status","base":["Immunization"],"type":"token","expression":"Immunization.status","xpath":"f:Immunization/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-location-address-city.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-location-address-city.json deleted file mode 100644 index baf6f5a38a1..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-location-address-city.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-location-address-city","text":{"status":"generated","div":"

SearchParameter: USCoreLocationAddressCity

description : A city specified in an address
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-location-address-city

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city\n\t\t\t

version : 4.0.1

name : USCoreLocationAddressCity

derivedFrom : http://hl7.org/fhir/SearchParameter/Location-address-city\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : address-city\n\t\t\t

base :Location

type : string

expression : Location.address.city\n\t\t\t

xpath : f:Location/f:address/f:city\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city","version":"3.1.1","name":"USCoreLocationAddressCity","derivedFrom":"http://hl7.org/fhir/SearchParameter/Location-address-city","status":"active","experimental":false,"date":"2020-07-01T21:51:58.394960Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"A city specified in an address
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"address-city","base":["Location"],"type":"string","expression":"Location.address.city","xpath":"f:Location/f:address/f:city","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-location-address-postalcode.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-location-address-postalcode.json deleted file mode 100644 index 1665788ebdc..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-location-address-postalcode.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-location-address-postalcode","text":{"status":"generated","div":"

SearchParameter: USCoreLocationAddressPostalcode

description : A postal code specified in an address
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-location-address-postalcode

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode\n\t\t\t

version : 4.0.1

name : USCoreLocationAddressPostalcode

derivedFrom : http://hl7.org/fhir/SearchParameter/Location-address-postalcode\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : address-postalcode\n\t\t\t

base :Location

type : string

expression : Location.address.postalCode\n\t\t\t

xpath : f:Location/f:address/f:postalCode\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode","version":"3.1.1","name":"USCoreLocationAddressPostalcode","derivedFrom":"http://hl7.org/fhir/SearchParameter/Location-address-postalcode","status":"active","experimental":false,"date":"2020-07-01T21:51:58.437165Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"A postal code specified in an address
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"address-postalcode","base":["Location"],"type":"string","expression":"Location.address.postalCode","xpath":"f:Location/f:address/f:postalCode","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-location-address-state.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-location-address-state.json deleted file mode 100644 index fb43af9db01..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-location-address-state.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-location-address-state","text":{"status":"generated","div":"

SearchParameter: USCoreLocationAddressState

description : A state specified in an address
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-location-address-state

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state\n\t\t\t

version : 4.0.1

name : USCoreLocationAddressState

derivedFrom : http://hl7.org/fhir/SearchParameter/Location-address-state\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : address-state\n\t\t\t

base :Location

type : string

expression : Location.address.state\n\t\t\t

xpath : f:Location/f:address/f:state\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state","version":"3.1.1","name":"USCoreLocationAddressState","derivedFrom":"http://hl7.org/fhir/SearchParameter/Location-address-state","status":"active","experimental":false,"date":"2020-07-01T21:51:58.406178Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"A state specified in an address
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"address-state","base":["Location"],"type":"string","expression":"Location.address.state","xpath":"f:Location/f:address/f:state","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-location-address.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-location-address.json deleted file mode 100644 index 04c654ccc5f..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-location-address.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-location-address","text":{"status":"generated","div":"

SearchParameter: USCoreLocationAddress

description : A (part of the) address of the location
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-location-address

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address\n\t\t\t

version : 4.0.1

name : USCoreLocationAddress

derivedFrom : http://hl7.org/fhir/SearchParameter/Location-address\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : address\n\t\t\t

base :Location

type : string

expression : Location.address\n\t\t\t

xpath : f:Location/f:address\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address","version":"3.1.1","name":"USCoreLocationAddress","derivedFrom":"http://hl7.org/fhir/SearchParameter/Location-address","status":"active","experimental":false,"date":"2020-07-01T21:51:58.381612Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"A (part of the) address of the location
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"address","base":["Location"],"type":"string","expression":"Location.address","xpath":"f:Location/f:address","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-location-name.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-location-name.json deleted file mode 100644 index 549718d1d2b..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-location-name.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-location-name","text":{"status":"generated","div":"

SearchParameter: USCoreLocationName

description : A portion of the location's name or alias
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-location-name

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name\n\t\t\t

version : 4.0.1

name : USCoreLocationName

derivedFrom : http://hl7.org/fhir/SearchParameter/Location-name\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : name\n\t\t\t

base :Location

type : string

expression : Location.name\n\t\t\t

xpath : f:Location/f:name\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name","version":"3.1.1","name":"USCoreLocationName","derivedFrom":"http://hl7.org/fhir/SearchParameter/Location-name","status":"active","experimental":false,"date":"2020-07-01T21:51:58.373003Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"A portion of the location's name or alias
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"name","base":["Location"],"type":"string","expression":"Location.name","xpath":"f:Location/f:name","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-medicationrequest-authoredon.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-medicationrequest-authoredon.json deleted file mode 100644 index 12efd2b774f..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-medicationrequest-authoredon.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-medicationrequest-authoredon","text":{"status":"generated","div":"

SearchParameter: USCoreMedicationrequestAuthoredon

description : Return prescriptions written on this date
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-medicationrequest-authoredon

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon\n\t\t\t

version : 4.0.1

name : USCoreMedicationrequestAuthoredon

derivedFrom : http://hl7.org/fhir/SearchParameter/MedicationRequest-authoredon\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : authoredon\n\t\t\t

base :MedicationRequest

type : date

expression : MedicationRequest.authoredOn\n\t\t\t

xpath : f:MedicationRequest/f:authoredOn\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = SHOULD)

comparator : eq ( Conformance Expectation = MAY)

comparator : ne ( Conformance Expectation = MAY)

comparator : gt ( Conformance Expectation = SHALL)

comparator : ge ( Conformance Expectation = SHALL)

comparator : lt ( Conformance Expectation = SHALL)

comparator : le ( Conformance Expectation = SHALL)

comparator : sa ( Conformance Expectation = MAY)

comparator : eb ( Conformance Expectation = MAY)

comparator : ap ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon","version":"3.1.1","name":"USCoreMedicationrequestAuthoredon","derivedFrom":"http://hl7.org/fhir/SearchParameter/MedicationRequest-authoredon","status":"active","experimental":false,"date":"2020-07-01T21:51:58.042729Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Return prescriptions written on this date
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"authoredon","base":["MedicationRequest"],"type":"date","expression":"MedicationRequest.authoredOn","xpath":"f:MedicationRequest/f:authoredOn","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHOULD"}]},"comparator":["eq","ne","gt","ge","lt","le","sa","eb","ap"],"_comparator":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-medicationrequest-encounter.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-medicationrequest-encounter.json deleted file mode 100644 index 73e34f2f23f..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-medicationrequest-encounter.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-medicationrequest-encounter","text":{"status":"generated","div":"

SearchParameter: USCoreMedicationrequestEncounter

description : Return prescriptions with this encounter identifier
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-medicationrequest-encounter

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter\n\t\t\t

version : 4.0.1

name : USCoreMedicationrequestEncounter

derivedFrom : http://hl7.org/fhir/SearchParameter/medications-encounter\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : encounter\n\t\t\t

base :MedicationRequest

type : reference

expression : MedicationRequest.encounter\n\t\t\t

xpath : f:MedicationRequest/f:encounter\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter","version":"3.1.1","name":"USCoreMedicationrequestEncounter","derivedFrom":"http://hl7.org/fhir/SearchParameter/medications-encounter","status":"active","experimental":false,"date":"2020-07-01T21:51:58.028565Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Return prescriptions with this encounter identifier
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"encounter","base":["MedicationRequest"],"type":"reference","expression":"MedicationRequest.encounter","xpath":"f:MedicationRequest/f:encounter","xpathUsage":"normal","target":["Encounter"],"multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-medicationrequest-intent.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-medicationrequest-intent.json deleted file mode 100644 index f6e830de225..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-medicationrequest-intent.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-medicationrequest-intent","text":{"status":"generated","div":"

SearchParameter: USCoreMedicationrequestIntent

description : Returns prescriptions with different intents
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-medicationrequest-intent

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent\n\t\t\t

version : 4.0.1

name : USCoreMedicationrequestIntent

derivedFrom : http://hl7.org/fhir/SearchParameter/MedicationRequest-intent\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : intent\n\t\t\t

base :MedicationRequest

type : token

expression : MedicationRequest.intent\n\t\t\t

xpath : f:MedicationRequest/f:intent\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = SHALL)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/CodeSystem/medicationrequest-intent"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent","version":"3.1.1","name":"USCoreMedicationrequestIntent","derivedFrom":"http://hl7.org/fhir/SearchParameter/MedicationRequest-intent","status":"active","experimental":false,"date":"2020-07-01T21:51:58.00284Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Returns prescriptions with different intents
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"intent","base":["MedicationRequest"],"type":"token","expression":"MedicationRequest.intent","xpath":"f:MedicationRequest/f:intent","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-medicationrequest-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-medicationrequest-patient.json deleted file mode 100644 index c208f2669b1..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-medicationrequest-patient.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-medicationrequest-patient","text":{"status":"generated","div":"

SearchParameter: USCoreMedicationrequestPatient

description : Returns prescriptions for a specific patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-medicationrequest-patient

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient\n\t\t\t

version : 4.0.1

name : USCoreMedicationrequestPatient

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-patient\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : patient\n\t\t\t

base :MedicationRequest

type : reference

expression : MedicationRequest.subject.where(resolve() is Patient)\n\t\t\t

xpath : f:MedicationRequest/f:subject\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient","version":"3.1.1","name":"USCoreMedicationrequestPatient","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-patient","status":"active","experimental":false,"date":"2020-07-01T21:51:58.017219Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Returns prescriptions for a specific patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"patient","base":["MedicationRequest"],"type":"reference","expression":"MedicationRequest.subject.where(resolve() is Patient)","xpath":"f:MedicationRequest/f:subject","xpathUsage":"normal","target":["Patient","Group"],"multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-medicationrequest-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-medicationrequest-status.json deleted file mode 100644 index 35029321d2b..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-medicationrequest-status.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-medicationrequest-status","text":{"status":"generated","div":"

SearchParameter: USCoreMedicationrequestStatus

description : Status of the prescription
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-medicationrequest-status

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status\n\t\t\t

version : 4.0.1

name : USCoreMedicationrequestStatus

derivedFrom : http://hl7.org/fhir/SearchParameter/medications-status\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : status\n\t\t\t

base :MedicationRequest

type : token

expression : MedicationRequest.status\n\t\t\t

xpath : f:MedicationRequest/f:status\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = SHALL)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/CodeSystem/medicationrequest-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status","version":"3.1.1","name":"USCoreMedicationrequestStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/medications-status","status":"active","experimental":false,"date":"2020-07-01T21:51:57.986692Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Status of the prescription
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"status","base":["MedicationRequest"],"type":"token","expression":"MedicationRequest.status","xpath":"f:MedicationRequest/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-observation-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-observation-category.json deleted file mode 100644 index 7d4913f3938..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-observation-category.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-observation-category","text":{"status":"generated","div":"

SearchParameter: USCoreObservationCategory

description : The classification of the type of observation
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-observation-category

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category\n\t\t\t

version : 4.0.1

name : USCoreObservationCategory

derivedFrom : http://hl7.org/fhir/SearchParameter/Observation-category\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : category\n\t\t\t

base :Observation

type : token

expression : Observation.category\n\t\t\t

xpath : f:Observation/f:category\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category","version":"3.1.1","name":"USCoreObservationCategory","derivedFrom":"http://hl7.org/fhir/SearchParameter/Observation-category","status":"active","experimental":false,"date":"2020-07-01T21:51:58.120987Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"The classification of the type of observation
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"category","base":["Observation"],"type":"token","expression":"Observation.category","xpath":"f:Observation/f:category","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-observation-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-observation-code.json deleted file mode 100644 index c7009a82d10..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-observation-code.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-observation-code","text":{"status":"generated","div":"

SearchParameter: USCoreObservationCode

description : The code of the observation type
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-observation-code

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code\n\t\t\t

version : 4.0.1

name : USCoreObservationCode

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-code\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : code\n\t\t\t

base :Observation

type : token

expression : Observation.code\n\t\t\t

xpath : f:Observation/f:code\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = SHOULD)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code","version":"3.1.1","name":"USCoreObservationCode","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-code","status":"active","experimental":false,"date":"2020-07-01T21:51:58.164665Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"The code of the observation type
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"code","base":["Observation"],"type":"token","expression":"Observation.code","xpath":"f:Observation/f:code","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHOULD"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-observation-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-observation-date.json deleted file mode 100644 index 9cded47ee49..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-observation-date.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-observation-date","text":{"status":"generated","div":"

SearchParameter: USCoreObservationDate

description : Obtained date/time. If the obtained element is a period, a date that falls in the period
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-observation-date

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date\n\t\t\t

version : 4.0.1

name : USCoreObservationDate

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-date\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : date\n\t\t\t

base :Observation

type : date

expression : Observation.effective\n\t\t\t

xpath : f:Observation/f:effectiveDateTime\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = SHOULD)

comparator : eq ( Conformance Expectation = MAY)

comparator : ne ( Conformance Expectation = MAY)

comparator : gt ( Conformance Expectation = SHALL)

comparator : ge ( Conformance Expectation = SHALL)

comparator : lt ( Conformance Expectation = SHALL)

comparator : le ( Conformance Expectation = SHALL)

comparator : sa ( Conformance Expectation = MAY)

comparator : eb ( Conformance Expectation = MAY)

comparator : ap ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date","version":"3.1.1","name":"USCoreObservationDate","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-date","status":"active","experimental":false,"date":"2020-07-01T21:51:58.206613Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Obtained date/time. If the obtained element is a period, a date that falls in the period
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"date","base":["Observation"],"type":"date","expression":"Observation.effective","xpath":"f:Observation/f:effectiveDateTime","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHOULD"}]},"comparator":["eq","ne","gt","ge","lt","le","sa","eb","ap"],"_comparator":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-observation-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-observation-patient.json deleted file mode 100644 index 2ec595f624e..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-observation-patient.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-observation-patient","text":{"status":"generated","div":"

SearchParameter: USCoreObservationPatient

description : The subject that the observation is about (if patient)
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-observation-patient

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient\n\t\t\t

version : 4.0.1

name : USCoreObservationPatient

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-patient\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : patient\n\t\t\t

base :Observation

type : reference

expression : Observation.subject.where(resolve() is Patient)\n\t\t\t

xpath : f:Observation/f:subject\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient","version":"3.1.1","name":"USCoreObservationPatient","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-patient","status":"active","experimental":false,"date":"2020-07-01T21:51:58.226469Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"The subject that the observation is about (if patient)
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"patient","base":["Observation"],"type":"reference","expression":"Observation.subject.where(resolve() is Patient)","xpath":"f:Observation/f:subject","xpathUsage":"normal","target":["Patient","Group"],"multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-observation-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-observation-status.json deleted file mode 100644 index a642c390a71..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-observation-status.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-observation-status","text":{"status":"generated","div":"

SearchParameter: USCoreObservationStatus

description : The status of the observation
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-observation-status

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status\n\t\t\t

version : 4.0.1

name : USCoreObservationStatus

derivedFrom : http://hl7.org/fhir/SearchParameter/Observation-status\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : status\n\t\t\t

base :Observation

type : token

expression : Observation.status\n\t\t\t

xpath : f:Observation/f:status\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = SHALL)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/observation-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status","version":"3.1.1","name":"USCoreObservationStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/Observation-status","status":"active","experimental":false,"date":"2020-07-01T21:51:58.107167Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"The status of the observation
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"status","base":["Observation"],"type":"token","expression":"Observation.status","xpath":"f:Observation/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-organization-address.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-organization-address.json deleted file mode 100644 index 26385e0a4cf..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-organization-address.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-organization-address","text":{"status":"generated","div":"

SearchParameter: USCoreOrganizationAddress

description : A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-organization-address

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address\n\t\t\t

version : 4.0.1

name : USCoreOrganizationAddress

derivedFrom : http://hl7.org/fhir/SearchParameter/Organization-address\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : address\n\t\t\t

base :Organization

type : string

expression : Organization.address\n\t\t\t

xpath : f:Organization/f:address\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address","version":"3.1.1","name":"USCoreOrganizationAddress","derivedFrom":"http://hl7.org/fhir/SearchParameter/Organization-address","status":"active","experimental":false,"date":"2020-07-01T21:51:58.461362Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"address","base":["Organization"],"type":"string","expression":"Organization.address","xpath":"f:Organization/f:address","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-organization-name.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-organization-name.json deleted file mode 100644 index f475ac9d50a..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-organization-name.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-organization-name","text":{"status":"generated","div":"

SearchParameter: USCoreOrganizationName

description : A portion of the organization's name or alias
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-organization-name

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name\n\t\t\t

version : 4.0.1

name : USCoreOrganizationName

derivedFrom : http://hl7.org/fhir/SearchParameter/Organization-name\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : name\n\t\t\t

base :Organization

type : string

expression : Organization.name\n\t\t\t

xpath : f:Organization/f:name\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name","version":"3.1.1","name":"USCoreOrganizationName","derivedFrom":"http://hl7.org/fhir/SearchParameter/Organization-name","status":"active","experimental":false,"date":"2020-07-01T21:51:58.449104Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"A portion of the organization's name or alias
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"name","base":["Organization"],"type":"string","expression":"Organization.name","xpath":"f:Organization/f:name","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-birthdate.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-birthdate.json deleted file mode 100644 index 736eac72301..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-birthdate.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-patient-birthdate","text":{"status":"generated","div":"

SearchParameter: USCorePatientBirthdate

description : The patient's date of birth
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-patient-birthdate

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate\n\t\t\t

version : 4.0.1

name : USCorePatientBirthdate

derivedFrom : http://hl7.org/fhir/SearchParameter/individual-birthdate\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : birthdate\n\t\t\t

base :Patient

type : date

expression : Patient.birthDate\n\t\t\t

xpath : f:Patient/f:birthDate\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

comparator : eq ( Conformance Expectation = MAY)

comparator : ne ( Conformance Expectation = MAY)

comparator : gt ( Conformance Expectation = MAY)

comparator : ge ( Conformance Expectation = MAY)

comparator : lt ( Conformance Expectation = MAY)

comparator : le ( Conformance Expectation = MAY)

comparator : sa ( Conformance Expectation = MAY)

comparator : eb ( Conformance Expectation = MAY)

comparator : ap ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate","version":"3.1.1","name":"USCorePatientBirthdate","derivedFrom":"http://hl7.org/fhir/SearchParameter/individual-birthdate","status":"active","experimental":false,"date":"2020-07-01T21:51:57.536352Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"The patient's date of birth
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"birthdate","base":["Patient"],"type":"date","expression":"Patient.birthDate","xpath":"f:Patient/f:birthDate","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"comparator":["eq","ne","gt","ge","lt","le","sa","eb","ap"],"_comparator":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-family.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-family.json deleted file mode 100644 index 1201338a347..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-family.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-patient-family","text":{"status":"generated","div":"

SearchParameter: USCorePatientFamily

description : A portion of the family name of the patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-patient-family

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family\n\t\t\t

version : 4.0.1

name : USCorePatientFamily

derivedFrom : http://hl7.org/fhir/SearchParameter/individual-family\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : family\n\t\t\t

base :Patient

type : string

expression : Patient.name.family\n\t\t\t

xpath : f:Patient/f:name/f:family\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family","version":"3.1.1","name":"USCorePatientFamily","derivedFrom":"http://hl7.org/fhir/SearchParameter/individual-family","status":"active","experimental":false,"date":"2020-07-01T21:51:57.548525Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"A portion of the family name of the patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"family","base":["Patient"],"type":"string","expression":"Patient.name.family","xpath":"f:Patient/f:name/f:family","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-gender.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-gender.json deleted file mode 100644 index fef550e036c..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-gender.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-patient-gender","text":{"status":"generated","div":"

SearchParameter: USCorePatientGender

description : Gender of the patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-patient-gender

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender\n\t\t\t

version : 4.0.1

name : USCorePatientGender

derivedFrom : http://hl7.org/fhir/SearchParameter/individual-gender\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : gender\n\t\t\t

base :Patient

type : token

expression : Patient.gender\n\t\t\t

xpath : f:Patient/f:gender\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/administrative-gender"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender","version":"3.1.1","name":"USCorePatientGender","derivedFrom":"http://hl7.org/fhir/SearchParameter/individual-gender","status":"active","experimental":false,"date":"2020-07-01T21:51:57.567529Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Gender of the patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"gender","base":["Patient"],"type":"token","expression":"Patient.gender","xpath":"f:Patient/f:gender","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-given.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-given.json deleted file mode 100644 index 960a47efe3b..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-given.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-patient-given","text":{"status":"generated","div":"

SearchParameter: USCorePatientGiven

description : A portion of the given name of the patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-patient-given

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given\n\t\t\t

version : 4.0.1

name : USCorePatientGiven

derivedFrom : http://hl7.org/fhir/SearchParameter/individual-given\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : given\n\t\t\t

base :Patient

type : string

expression : Patient.name.given\n\t\t\t

xpath : f:Patient/f:name/f:given\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given","version":"3.1.1","name":"USCorePatientGiven","derivedFrom":"http://hl7.org/fhir/SearchParameter/individual-given","status":"active","experimental":false,"date":"2020-07-01T21:51:57.585406Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"A portion of the given name of the patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"given","base":["Patient"],"type":"string","expression":"Patient.name.given","xpath":"f:Patient/f:name/f:given","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-id.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-id.json deleted file mode 100644 index a0d2d24e154..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-id.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-patient-id","text":{"status":"generated","div":"

SearchParameter: USCorePatientId

description : Logical id of this artifact
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-patient-id

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id\n\t\t\t

version : 4.0.1

name : USCorePatientId

derivedFrom : http://hl7.org/fhir/SearchParameter/Resource-id\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : _id\n\t\t\t

base :Patient

type : token

expression : Patient.id\n\t\t\t

xpath : Patient.id\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id","version":"3.1.1","name":"USCorePatientId","derivedFrom":"http://hl7.org/fhir/SearchParameter/Resource-id","status":"active","experimental":false,"date":"2020-07-01T21:51:57.493962Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Logical id of this artifact
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"_id","base":["Patient"],"type":"token","expression":"Patient.id","xpath":"Patient.id","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-identifier.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-identifier.json deleted file mode 100644 index b6631c695e0..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-identifier.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-patient-identifier","text":{"status":"generated","div":"

SearchParameter: USCorePatientIdentifier

description : A patient identifier
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-patient-identifier

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier\n\t\t\t

version : 4.0.1

name : USCorePatientIdentifier

derivedFrom : http://hl7.org/fhir/SearchParameter/Patient-identifier\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : identifier\n\t\t\t

base :Patient

type : token

expression : Patient.identifier\n\t\t\t

xpath : f:Patient/f:identifier\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier","version":"3.1.1","name":"USCorePatientIdentifier","derivedFrom":"http://hl7.org/fhir/SearchParameter/Patient-identifier","status":"active","experimental":false,"date":"2020-07-01T21:51:57.604969Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"A patient identifier
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"identifier","base":["Patient"],"type":"token","expression":"Patient.identifier","xpath":"f:Patient/f:identifier","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-name.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-name.json deleted file mode 100644 index c1220a19950..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-patient-name.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-patient-name","text":{"status":"generated","div":"

SearchParameter: USCorePatientName

description : A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-patient-name

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name\n\t\t\t

version : 4.0.1

name : USCorePatientName

derivedFrom : http://hl7.org/fhir/SearchParameter/Patient-name\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : name\n\t\t\t

base :Patient

type : string

expression : Patient.name\n\t\t\t

xpath : f:Patient/f:name\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name","version":"3.1.1","name":"USCorePatientName","derivedFrom":"http://hl7.org/fhir/SearchParameter/Patient-name","status":"active","experimental":false,"date":"2020-07-01T21:51:57.634221Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"name","base":["Patient"],"type":"string","expression":"Patient.name","xpath":"f:Patient/f:name","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-practitioner-identifier.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-practitioner-identifier.json deleted file mode 100644 index a53fe4c08c9..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-practitioner-identifier.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-practitioner-identifier","text":{"status":"generated","div":"

SearchParameter: USCorePractitionerIdentifier

description : A practitioner's Identifier
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-practitioner-identifier

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier\n\t\t\t

version : 4.0.1

name : USCorePractitionerIdentifier

derivedFrom : http://hl7.org/fhir/SearchParameter/Practitioner-identifier\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : identifier\n\t\t\t

base :Practitioner

type : token

expression : Practitioner.identifier\n\t\t\t

xpath : f:Practitioner/f:identifier\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier","version":"3.1.1","name":"USCorePractitionerIdentifier","derivedFrom":"http://hl7.org/fhir/SearchParameter/Practitioner-identifier","status":"active","experimental":false,"date":"2020-07-01T21:51:58.483046Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"A practitioner's Identifier
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"identifier","base":["Practitioner"],"type":"token","expression":"Practitioner.identifier","xpath":"f:Practitioner/f:identifier","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-practitioner-name.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-practitioner-name.json deleted file mode 100644 index abe164a7594..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-practitioner-name.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-practitioner-name","text":{"status":"generated","div":"

SearchParameter: USCorePractitionerName

description : A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-practitioner-name

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name\n\t\t\t

version : 4.0.1

name : USCorePractitionerName

derivedFrom : http://hl7.org/fhir/SearchParameter/Practitioner-name\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : name\n\t\t\t

base :Practitioner

type : string

expression : Practitioner.name\n\t\t\t

xpath : f:Practitioner/f:name\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name","version":"3.1.1","name":"USCorePractitionerName","derivedFrom":"http://hl7.org/fhir/SearchParameter/Practitioner-name","status":"active","experimental":false,"date":"2020-07-01T21:51:58.473510Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"name","base":["Practitioner"],"type":"string","expression":"Practitioner.name","xpath":"f:Practitioner/f:name","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-practitionerrole-practitioner.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-practitionerrole-practitioner.json deleted file mode 100644 index 2652953ab77..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-practitionerrole-practitioner.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-practitionerrole-practitioner","text":{"status":"generated","div":"

SearchParameter: USCorePractitionerrolePractitioner

description : Practitioner that is able to provide the defined services for the organization
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-practitionerrole-practitioner

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner\n\t\t\t

version : 4.0.1

name : USCorePractitionerrolePractitioner

derivedFrom : http://hl7.org/fhir/SearchParameter/PractitionerRole-practitioner\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : practitioner\n\t\t\t

base :PractitionerRole

type : reference

expression : PractitionerRole.practitioner\n\t\t\t

xpath : f:PractitionerRole/f:practitioner\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

chain : identifier (Conformance Expectation = SHALL)

chain : name (Conformance Expectation = SHALL)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner","version":"3.1.1","name":"USCorePractitionerrolePractitioner","derivedFrom":"http://hl7.org/fhir/SearchParameter/PractitionerRole-practitioner","status":"active","experimental":false,"date":"2020-07-01T21:51:58.507650Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Practitioner that is able to provide the defined services for the organization
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"practitioner","base":["PractitionerRole"],"type":"reference","expression":"PractitionerRole.practitioner","xpath":"f:PractitionerRole/f:practitioner","xpathUsage":"normal","target":["Practitioner"],"multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"chain":["identifier","name"],"_chain":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-practitionerrole-specialty.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-practitionerrole-specialty.json deleted file mode 100644 index 04e836b4600..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-practitionerrole-specialty.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-practitionerrole-specialty","text":{"status":"generated","div":"

SearchParameter: USCorePractitionerroleSpecialty

description : The practitioner has this specialty at an organization
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-practitionerrole-specialty

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty\n\t\t\t

version : 4.0.1

name : USCorePractitionerroleSpecialty

derivedFrom : http://hl7.org/fhir/SearchParameter/PractitionerRole-specialty\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : specialty\n\t\t\t

base :PractitionerRole

type : token

expression : PractitionerRole.specialty\n\t\t\t

xpath : f:PractitionerRole/f:specialty\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty","version":"3.1.1","name":"USCorePractitionerroleSpecialty","derivedFrom":"http://hl7.org/fhir/SearchParameter/PractitionerRole-specialty","status":"active","experimental":false,"date":"2020-07-01T21:51:58.492949Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"The practitioner has this specialty at an organization
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"specialty","base":["PractitionerRole"],"type":"token","expression":"PractitionerRole.specialty","xpath":"f:PractitionerRole/f:specialty","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-procedure-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-procedure-code.json deleted file mode 100644 index dedd7338dd0..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-procedure-code.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-procedure-code","text":{"status":"generated","div":"

SearchParameter: USCoreProcedureCode

description : A code to identify a procedure
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-procedure-code

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code\n\t\t\t

version : 4.0.1

name : USCoreProcedureCode

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-code\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : code\n\t\t\t

base :Procedure

type : token

expression : Procedure.code\n\t\t\t

xpath : f:Procedure/f:code\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = SHOULD)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code","version":"3.1.1","name":"USCoreProcedureCode","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-code","status":"active","experimental":false,"date":"2020-07-01T21:51:58.092434Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"A code to identify a procedure
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"code","base":["Procedure"],"type":"token","expression":"Procedure.code","xpath":"f:Procedure/f:code","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHOULD"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-procedure-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-procedure-date.json deleted file mode 100644 index 6c581c1fafa..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-procedure-date.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-procedure-date","text":{"status":"generated","div":"

SearchParameter: USCoreProcedureDate

description : When the procedure was performed
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-procedure-date

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date\n\t\t\t

version : 4.0.1

name : USCoreProcedureDate

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-date\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : date\n\t\t\t

base :Procedure

type : date

expression : Procedure.performed\n\t\t\t

xpath : f:Procedure/f:performedDateTime\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = SHOULD)

comparator : eq ( Conformance Expectation = MAY)

comparator : ne ( Conformance Expectation = MAY)

comparator : gt ( Conformance Expectation = SHALL)

comparator : ge ( Conformance Expectation = SHALL)

comparator : lt ( Conformance Expectation = SHALL)

comparator : le ( Conformance Expectation = SHALL)

comparator : sa ( Conformance Expectation = MAY)

comparator : eb ( Conformance Expectation = MAY)

comparator : ap ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date","version":"3.1.1","name":"USCoreProcedureDate","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-date","status":"active","experimental":false,"date":"2020-07-01T21:51:58.073325Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"When the procedure was performed
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"date","base":["Procedure"],"type":"date","expression":"Procedure.performed","xpath":"f:Procedure/f:performedDateTime","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHOULD"}]},"comparator":["eq","ne","gt","ge","lt","le","sa","eb","ap"],"_comparator":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-procedure-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-procedure-patient.json deleted file mode 100644 index edbe31c614f..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-procedure-patient.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-procedure-patient","text":{"status":"generated","div":"

SearchParameter: USCoreProcedurePatient

description : Search by subject - a patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-procedure-patient

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient\n\t\t\t

version : 4.0.1

name : USCoreProcedurePatient

derivedFrom : http://hl7.org/fhir/SearchParameter/clinical-patient\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : patient\n\t\t\t

base :Procedure

type : reference

expression : Procedure.subject.where(resolve() is Patient)\n\t\t\t

xpath : f:Procedure/f:subject\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = MAY)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient","version":"3.1.1","name":"USCoreProcedurePatient","derivedFrom":"http://hl7.org/fhir/SearchParameter/clinical-patient","status":"active","experimental":false,"date":"2020-07-01T21:51:58.063354Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Search by subject - a patient
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"patient","base":["Procedure"],"type":"reference","expression":"Procedure.subject.where(resolve() is Patient)","xpath":"f:Procedure/f:subject","xpathUsage":"normal","target":["Patient","Group"],"multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-procedure-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-procedure-status.json deleted file mode 100644 index 67f281be33c..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-procedure-status.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-procedure-status","text":{"status":"generated","div":"

SearchParameter: USCoreProcedureStatus

description : preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n


id us-core-procedure-status

url : http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status\n\t\t\t

version : 4.0.1

name : USCoreProcedureStatus

derivedFrom : http://hl7.org/fhir/SearchParameter/Procedure-status\n\t\t\t

status : active

experimental False

date : 2020-07-01

publisher : HL7 International - US Realm Steering Committee

contact : http://www.hl7.org/Special/committees/usrealm/index.cfm

useContext :

jurisdiction : United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United\n States of America (the)'})\n\t\t\t

code : status\n\t\t\t

base :Procedure

type : token

expression : Procedure.status\n\t\t\t

xpath : f:Procedure/f:status\n\t\t\t

xpathUsage : normal

mulitpleOr : True (Conformance Expectation = SHALL)

mulitpleAnd : True ( Conformance Expectation = MAY)

"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/event-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status","version":"3.1.1","name":"USCoreProcedureStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/Procedure-status","status":"active","experimental":false,"date":"2020-07-01T21:51:58.057158Z","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
\nNOTE: This US Core SearchParameter definition extends the usage context of\ncapabilitystatement-expectation\n extension to formally express implementer conformance expectations for these elements:
\n - multipleAnd
\n - multipleOr
\n - comparator
\n - modifier
\n - chain
\n\n ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"status","base":["Procedure"],"type":"token","expression":"Procedure.status","xpath":"f:Procedure/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-race.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-race.json deleted file mode 100644 index 879731c2b7e..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/SearchParameter-us-core-race.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"SearchParameter","id":"us-core-race","text":{"status":"generated","div":"

Generated Narrative

id: us-core-race

url: http://hl7.org/fhir/us/core/SearchParameter/us-core-race

version: 3.1.1

name: USCoreRace

status: active

date: 2019-05-21

publisher: US Realm Steering Committee

contact: http://www.healthit.gov/

description: Returns patients with a race extension matching the specified code.

jurisdiction: United States of America

code: race

base: Patient

type: token

expression: Patient.extension.where(url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race').extension.value.code

xpath: f:Patient/f:extension[@url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-race']/f:extension/f:valueCoding/f:code/@value

xpathUsage: normal

"},"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-race","version":"3.1.1","name":"USCoreRace","status":"active","date":"2019-05-21","publisher":"US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://www.healthit.gov/"}]}],"description":"Returns patients with a race extension matching the specified code.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"code":"race","base":["Patient"],"type":"token","expression":"Patient.extension.where(url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race').extension.value.code","xpath":"f:Patient/f:extension[@url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-race']/f:extension/f:valueCoding/f:code/@value","xpathUsage":"normal"} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-head-occipital-frontal-circumference-percentile.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-head-occipital-frontal-circumference-percentile.json deleted file mode 100644 index f2455dbee91..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-head-occipital-frontal-circumference-percentile.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"head-occipital-frontal-circumference-percentile","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Observation 0..*observation-vitalsignsFHIR Vital Signs Profile
\".\"\".\"\".\" code S1..1CodeableConceptHead Occipital-frontal circumference Percentile
Required Pattern: At least the following
\".\"\".\"\".\"\".\" coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
\".\"\".\"\".\"\".\"\".\" system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
\".\"\".\"\".\"\".\"\".\" code1..1codeSymbol in syntax defined by the system
Fixed Value: 8289-1
\".\"\".\"\".\" subject S1..1Reference(US Core Patient Profile)Who and/or what the observation is about
\".\"\".\"\".\" valueQuantity S0..1QuantityVital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.
\".\"\".\"\".\"\".\" value S1..1decimalNumerical value (with implicit precision)
\".\"\".\"\".\"\".\" unit S1..1stringUnit representation
\".\"\".\"\".\"\".\" system S1..1uriSystem that defines coded unit form
Fixed Value: http://unitsofmeasure.org
\".\"\".\"\".\"\".\" code S1..1codeCoded responses from the common UCUM units for vital signs value set.
Fixed Value: %

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile","version":"3.1.1","name":"UsCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile","title":"US Core Pediatric Head Occipital-frontal Circumference Percentile Profile","status":"active","experimental":false,"date":"2020-07-01","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines constraints and extensions on the Observation resource for use in querying and retrieving pediatric Pediatric Head Occipital-frontal Circumference Percentile observations.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"workflow","uri":"http://hl7.org/fhir/workflow","name":"Workflow Pattern"},{"identity":"sct-concept","uri":"http://snomed.info/conceptdomain","name":"SNOMED CT Concept Domain Binding"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"sct-attr","uri":"http://snomed.org/attributebinding","name":"SNOMED CT Attribute Binding"}],"kind":"resource","abstract":false,"type":"Observation","baseDefinition":"http://hl7.org/fhir/StructureDefinition/vitalsigns","derivation":"constraint","snapshot":{"element":[{"id":"Observation","path":"Observation","short":"FHIR Vital Signs Profile","definition":"This profile defines how to represent head occipital-frontal circumference percentile for patients from birth to 36 months of age in FHIR using a standard LOINC code and UCUM units of measure.","comment":"Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.","alias":["Vital Signs","Measurement","Results","Tests"],"min":0,"max":"*","base":{"path":"Observation","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"obs-6","severity":"error","human":"dataAbsentReason SHALL only be present if Observation.value[x] is not present","expression":"dataAbsentReason.empty() or value.empty()","xpath":"not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))","source":"http://hl7.org/fhir/StructureDefinition/Observation"},{"key":"obs-7","severity":"error","human":"If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present","expression":"value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()","xpath":"not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))","source":"http://hl7.org/fhir/StructureDefinition/Observation"},{"key":"vs-2","severity":"error","human":"If there is no component or hasMember element then either a value[x] or a data absent reason must be present.","expression":"(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())","xpath":"f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason","source":"http://hl7.org/fhir/StructureDefinition/vitalsigns"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"workflow","map":"Event"},{"identity":"sct-concept","map":"< 363787002 |Observable entity|"},{"identity":"v2","map":"OBX"},{"identity":"rim","map":"Observation[classCode=OBS, moodCode=EVN]"}]},{"id":"Observation.id","path":"Observation.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"Observation.meta","path":"Observation.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"Observation.implicitRules","path":"Observation.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"Observation.language","path":"Observation.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"Observation.text","path":"Observation.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"Observation.contained","path":"Observation.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.extension","path":"Observation.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.modifierExtension","path":"Observation.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.identifier","path":"Observation.identifier","short":"Business Identifier for observation","definition":"A unique identifier assigned to this observation.","requirements":"Allows observations to be distinguished and referenced.","min":0,"max":"*","base":{"path":"Observation.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.identifier"},{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."},{"identity":"rim","map":"id"}]},{"id":"Observation.basedOn","path":"Observation.basedOn","short":"Fulfills plan, proposal or order","definition":"A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.","requirements":"Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.","alias":["Fulfills"],"min":0,"max":"*","base":{"path":"Observation.basedOn","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/CarePlan","http://hl7.org/fhir/StructureDefinition/DeviceRequest","http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation","http://hl7.org/fhir/StructureDefinition/MedicationRequest","http://hl7.org/fhir/StructureDefinition/NutritionOrder","http://hl7.org/fhir/StructureDefinition/ServiceRequest"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.basedOn"},{"identity":"v2","map":"ORC"},{"identity":"rim","map":".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"}]},{"id":"Observation.partOf","path":"Observation.partOf","short":"Part of referenced event","definition":"A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.","comment":"To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.","alias":["Container"],"min":0,"max":"*","base":{"path":"Observation.partOf","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/MedicationAdministration","http://hl7.org/fhir/StructureDefinition/MedicationDispense","http://hl7.org/fhir/StructureDefinition/MedicationStatement","http://hl7.org/fhir/StructureDefinition/Procedure","http://hl7.org/fhir/StructureDefinition/Immunization","http://hl7.org/fhir/StructureDefinition/ImagingStudy"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.partOf"},{"identity":"v2","map":"Varies by domain"},{"identity":"rim","map":".outboundRelationship[typeCode=FLFS].target"}]},{"id":"Observation.status","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint","valueString":"default: final"}],"path":"Observation.status","short":"registered | preliminary | final | amended +","definition":"The status of the result value.","comment":"This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.","requirements":"Need to track the status of individual results. Some results are finalized before the whole report is finalized.","min":1,"max":"1","base":{"path":"Observation.status","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Status"}],"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/observation-status|4.0.1"},"mapping":[{"identity":"workflow","map":"Event.status"},{"identity":"w5","map":"FiveWs.status"},{"identity":"sct-concept","map":"< 445584004 |Report by finality status|"},{"identity":"v2","map":"OBX-11"},{"identity":"rim","map":"status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\""}]},{"id":"Observation.category","path":"Observation.category","slicing":{"discriminator":[{"type":"value","path":"coding.code"},{"type":"value","path":"coding.system"}],"ordered":false,"rules":"open"},"short":"Classification of type of observation","definition":"A code that classifies the general type of observation being made.","comment":"In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.","requirements":"Used for filtering what observations are retrieved and displayed.","min":1,"max":"*","base":{"path":"Observation.category","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationCategory"}],"strength":"preferred","description":"Codes for high level observation categories.","valueSet":"http://hl7.org/fhir/ValueSet/observation-category"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"rim","map":".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code"}]},{"id":"Observation.category:VSCat","path":"Observation.category","sliceName":"VSCat","short":"Classification of type of observation","definition":"A code that classifies the general type of observation being made.","comment":"In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.","requirements":"Used for filtering what observations are retrieved and displayed.","min":1,"max":"1","base":{"path":"Observation.category","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationCategory"}],"strength":"preferred","description":"Codes for high level observation categories.","valueSet":"http://hl7.org/fhir/ValueSet/observation-category"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"rim","map":".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code"}]},{"id":"Observation.category:VSCat.id","path":"Observation.category.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.category:VSCat.extension","path":"Observation.category.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.category:VSCat.coding","path":"Observation.category.coding","short":"Code defined by a terminology system","definition":"A reference to a code defined by a terminology system.","comment":"Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.","requirements":"Allows for alternative encodings within a code system, and translations to other code systems.","min":1,"max":"*","base":{"path":"CodeableConcept.coding","min":0,"max":"*"},"type":[{"code":"Coding"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.1-8, C*E.10-22"},{"identity":"rim","map":"union(., ./translation)"},{"identity":"orim","map":"fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"}]},{"id":"Observation.category:VSCat.coding.id","path":"Observation.category.coding.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.category:VSCat.coding.extension","path":"Observation.category.coding.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.category:VSCat.coding.system","path":"Observation.category.coding.system","short":"Identity of the terminology system","definition":"The identification of the code system that defines the meaning of the symbol in the code.","comment":"The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.","requirements":"Need to be unambiguous about the source of the definition of the symbol.","min":1,"max":"1","base":{"path":"Coding.system","min":0,"max":"1"},"type":[{"code":"uri"}],"fixedUri":"http://terminology.hl7.org/CodeSystem/observation-category","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.3"},{"identity":"rim","map":"./codeSystem"},{"identity":"orim","map":"fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"}]},{"id":"Observation.category:VSCat.coding.version","path":"Observation.category.coding.version","short":"Version of the system - if relevant","definition":"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.","comment":"Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.","min":0,"max":"1","base":{"path":"Coding.version","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.7"},{"identity":"rim","map":"./codeSystemVersion"},{"identity":"orim","map":"fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"}]},{"id":"Observation.category:VSCat.coding.code","path":"Observation.category.coding.code","short":"Symbol in syntax defined by the system","definition":"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).","requirements":"Need to refer to a particular code in the system.","min":1,"max":"1","base":{"path":"Coding.code","min":0,"max":"1"},"type":[{"code":"code"}],"fixedCode":"vital-signs","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.1"},{"identity":"rim","map":"./code"},{"identity":"orim","map":"fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"}]},{"id":"Observation.category:VSCat.coding.display","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable","valueBoolean":true}],"path":"Observation.category.coding.display","short":"Representation defined by the system","definition":"A representation of the meaning of the code in the system, following the rules of the system.","requirements":"Need to be able to carry a human-readable meaning of the code for readers that do not know the system.","min":0,"max":"1","base":{"path":"Coding.display","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.2 - but note this is not well followed"},{"identity":"rim","map":"CV.displayName"},{"identity":"orim","map":"fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"}]},{"id":"Observation.category:VSCat.coding.userSelected","path":"Observation.category.coding.userSelected","short":"If this coding was chosen directly by the user","definition":"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).","comment":"Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.","requirements":"This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.","min":0,"max":"1","base":{"path":"Coding.userSelected","min":0,"max":"1"},"type":[{"code":"boolean"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"Sometimes implied by being first"},{"identity":"rim","map":"CD.codingRationale"},{"identity":"orim","map":"fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]"}]},{"id":"Observation.category:VSCat.text","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable","valueBoolean":true}],"path":"Observation.category.text","short":"Plain text representation of the concept","definition":"A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.","comment":"Very often the text is the same as a displayName of one of the codings.","requirements":"The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.","min":0,"max":"1","base":{"path":"CodeableConcept.text","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.9. But note many systems use C*E.2 for this"},{"identity":"rim","map":"./originalText[mediaType/code=\"text/plain\"]/data"},{"identity":"orim","map":"fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"}]},{"id":"Observation.code","path":"Observation.code","short":"Head Occipital-frontal circumference Percentile","definition":"Coded Responses from C-CDA Vital Sign Results.","comment":"additional codes that translate or map to this code are allowed. For example a more granular LOINC code or code that is used locally in a system.","requirements":"5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).","alias":["Name","Test"],"min":1,"max":"1","base":{"path":"Observation.code","min":1,"max":"1"},"type":[{"code":"CodeableConcept"}],"patternCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"8289-1"}]},"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"VitalSigns"}],"strength":"extensible","description":"This identifies the vital sign result type.","valueSet":"http://hl7.org/fhir/ValueSet/observation-vitalsignresult"},"mapping":[{"identity":"workflow","map":"Event.code"},{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"sct-concept","map":"< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|"},{"identity":"v2","map":"OBX-3"},{"identity":"rim","map":"code"},{"identity":"sct-attr","map":"116680003 |Is a|"}]},{"id":"Observation.subject","path":"Observation.subject","short":"Who and/or what the observation is about","definition":"The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.","comment":"One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.","requirements":"Observations have no value if you don't know who or what they're about.","min":1,"max":"1","base":{"path":"Observation.subject","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.subject"},{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"PID-3"},{"identity":"rim","map":"participation[typeCode=RTGT]"},{"identity":"w5","map":"FiveWs.subject"}]},{"id":"Observation.focus","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"trial-use"}],"path":"Observation.focus","short":"What the observation is about, when it is not about the subject of record","definition":"The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.","comment":"Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).","min":0,"max":"*","base":{"path":"Observation.focus","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Resource"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"OBX-3"},{"identity":"rim","map":"participation[typeCode=SBJ]"},{"identity":"w5","map":"FiveWs.subject"}]},{"id":"Observation.encounter","path":"Observation.encounter","short":"Healthcare event during which this observation is made","definition":"The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.","comment":"This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).","requirements":"For some observations it may be important to know the link between an observation and a particular encounter.","alias":["Context"],"min":0,"max":"1","base":{"path":"Observation.encounter","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Encounter"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.context"},{"identity":"w5","map":"FiveWs.context"},{"identity":"v2","map":"PV1"},{"identity":"rim","map":"inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"}]},{"id":"Observation.effective[x]","path":"Observation.effective[x]","short":"Often just a dateTime for Vital Signs","definition":"Often just a dateTime for Vital Signs.","comment":"At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.","requirements":"Knowing when an observation was deemed true is important to its relevance as well as determining trends.","alias":["Occurrence"],"min":1,"max":"1","base":{"path":"Observation.effective[x]","min":0,"max":"1"},"type":[{"code":"dateTime"},{"code":"Period"}],"condition":["vs-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"vs-1","severity":"error","human":"if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day","expression":"($this as dateTime).toString().length() >= 8","xpath":"f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.occurrence[x]"},{"identity":"w5","map":"FiveWs.done[x]"},{"identity":"v2","map":"OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)"},{"identity":"rim","map":"effectiveTime"}]},{"id":"Observation.issued","path":"Observation.issued","short":"Date/Time this version was made available","definition":"The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.","comment":"For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.","min":0,"max":"1","base":{"path":"Observation.issued","min":0,"max":"1"},"type":[{"code":"instant"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.recorded"},{"identity":"v2","map":"OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)"},{"identity":"rim","map":"participation[typeCode=AUT].time"}]},{"id":"Observation.performer","path":"Observation.performer","short":"Who is responsible for the observation","definition":"Who was responsible for asserting the observed value as \"true\".","requirements":"May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.","min":0,"max":"*","base":{"path":"Observation.performer","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.performer.actor"},{"identity":"w5","map":"FiveWs.actor"},{"identity":"v2","map":"OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'"},{"identity":"rim","map":"participation[typeCode=PRF]"}]},{"id":"Observation.value[x]","path":"Observation.value[x]","slicing":{"discriminator":[{"type":"type","path":"$this"}],"ordered":false,"rules":"closed"},"short":"Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.","definition":"Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.","comment":"An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.","requirements":"9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).","min":0,"max":"1","base":{"path":"Observation.value[x]","min":0,"max":"1"},"type":[{"code":"Quantity"}],"condition":["obs-7","vs-2"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"sct-concept","map":"< 441742003 |Evaluation finding|"},{"identity":"v2","map":"OBX.2, OBX.5, OBX.6"},{"identity":"rim","map":"value"},{"identity":"sct-attr","map":"363714003 |Interprets|"}]},{"id":"Observation.value[x]:valueQuantity","path":"Observation.value[x]","sliceName":"valueQuantity","short":"Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.","definition":"Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.","comment":"An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.","requirements":"9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).","min":0,"max":"1","base":{"path":"Observation.value[x]","min":0,"max":"1"},"type":[{"code":"Quantity"}],"condition":["obs-7","vs-2"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"sct-concept","map":"< 441742003 |Evaluation finding|"},{"identity":"v2","map":"OBX.2, OBX.5, OBX.6"},{"identity":"rim","map":"value"},{"identity":"sct-attr","map":"363714003 |Interprets|"}]},{"id":"Observation.value[x]:valueQuantity.id","path":"Observation.value[x].id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.value[x]:valueQuantity.extension","path":"Observation.value[x].extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.value[x]:valueQuantity.value","path":"Observation.value[x].value","short":"Numerical value (with implicit precision)","definition":"The value of the measured amount. The value includes an implicit precision in the presentation of the value.","comment":"The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).","requirements":"Precision is handled implicitly in almost all cases of measurement.","min":1,"max":"1","base":{"path":"Quantity.value","min":0,"max":"1"},"type":[{"code":"decimal"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"SN.2 / CQ - N/A"},{"identity":"rim","map":"PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"}]},{"id":"Observation.value[x]:valueQuantity.comparator","path":"Observation.value[x].comparator","short":"< | <= | >= | > - how to understand the value","definition":"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.","requirements":"Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.","min":0,"max":"1","base":{"path":"Quantity.comparator","min":0,"max":"1"},"type":[{"code":"code"}],"meaningWhenMissing":"If there is no comparator, then there is no modification of the value","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"QuantityComparator"}],"strength":"required","description":"How the Quantity should be understood and represented.","valueSet":"http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1"},"mapping":[{"identity":"v2","map":"SN.1 / CQ.1"},{"identity":"rim","map":"IVL properties"}]},{"id":"Observation.value[x]:valueQuantity.unit","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable","valueBoolean":true}],"path":"Observation.value[x].unit","short":"Unit representation","definition":"A human-readable form of the unit.","requirements":"There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.","min":1,"max":"1","base":{"path":"Quantity.unit","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"(see OBX.6 etc.) / CQ.2"},{"identity":"rim","map":"PQ.unit"}]},{"id":"Observation.value[x]:valueQuantity.system","path":"Observation.value[x].system","short":"System that defines coded unit form","definition":"The identification of the system that provides the coded form of the unit.","requirements":"Need to know the system that defines the coded form of the unit.","min":1,"max":"1","base":{"path":"Quantity.system","min":0,"max":"1"},"type":[{"code":"uri"}],"fixedUri":"http://unitsofmeasure.org","condition":["qty-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"(see OBX.6 etc.) / CQ.2"},{"identity":"rim","map":"CO.codeSystem, PQ.translation.codeSystem"}]},{"id":"Observation.value[x]:valueQuantity.code","path":"Observation.value[x].code","short":"Coded responses from the common UCUM units for vital signs value set.","definition":"A computer processable form of the unit in some unit representation system.","comment":"The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.","requirements":"Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.","min":1,"max":"1","base":{"path":"Quantity.code","min":0,"max":"1"},"type":[{"code":"code"}],"fixedCode":"%","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"(see OBX.6 etc.) / CQ.2"},{"identity":"rim","map":"PQ.code, MO.currency, PQ.translation.code"}]},{"id":"Observation.dataAbsentReason","path":"Observation.dataAbsentReason","short":"Why the result is missing","definition":"Provides a reason why the expected value in the element Observation.value[x] is missing.","comment":"Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.","requirements":"For many results it is necessary to handle exceptional values in measurements.","min":0,"max":"1","base":{"path":"Observation.dataAbsentReason","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["obs-6","vs-2"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationValueAbsentReason"}],"strength":"extensible","description":"Codes specifying why the result (`Observation.value[x]`) is missing.","valueSet":"http://hl7.org/fhir/ValueSet/data-absent-reason"},"mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"value.nullFlavor"}]},{"id":"Observation.interpretation","path":"Observation.interpretation","short":"High, low, normal, etc.","definition":"A categorical assessment of an observation value. For example, high, low, normal.","comment":"Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.","requirements":"For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.","alias":["Abnormal Flag"],"min":0,"max":"*","base":{"path":"Observation.interpretation","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationInterpretation"}],"strength":"extensible","description":"Codes identifying interpretations of observations.","valueSet":"http://hl7.org/fhir/ValueSet/observation-interpretation"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values|"},{"identity":"v2","map":"OBX-8"},{"identity":"rim","map":"interpretationCode"},{"identity":"sct-attr","map":"363713009 |Has interpretation|"}]},{"id":"Observation.note","path":"Observation.note","short":"Comments about the observation","definition":"Comments about the observation or the results.","comment":"May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.","requirements":"Need to be able to provide free text additional information.","min":0,"max":"*","base":{"path":"Observation.note","min":0,"max":"*"},"type":[{"code":"Annotation"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)"},{"identity":"rim","map":"subjectOf.observationEvent[code=\"annotation\"].value"}]},{"id":"Observation.bodySite","path":"Observation.bodySite","short":"Observed body part","definition":"Indicates the site on the subject's body where the observation was made (i.e. the target site).","comment":"Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).","min":0,"max":"1","base":{"path":"Observation.bodySite","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"BodySite"}],"strength":"example","description":"Codes describing anatomical locations. May include laterality.","valueSet":"http://hl7.org/fhir/ValueSet/body-site"},"mapping":[{"identity":"sct-concept","map":"< 123037004 |Body structure|"},{"identity":"v2","map":"OBX-20"},{"identity":"rim","map":"targetSiteCode"},{"identity":"sct-attr","map":"718497002 |Inherent location|"}]},{"id":"Observation.method","path":"Observation.method","short":"How it was done","definition":"Indicates the mechanism used to perform the observation.","comment":"Only used if not implicit in code for Observation.code.","requirements":"In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.","min":0,"max":"1","base":{"path":"Observation.method","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationMethod"}],"strength":"example","description":"Methods for simple observations.","valueSet":"http://hl7.org/fhir/ValueSet/observation-methods"},"mapping":[{"identity":"v2","map":"OBX-17"},{"identity":"rim","map":"methodCode"}]},{"id":"Observation.specimen","path":"Observation.specimen","short":"Specimen used for this observation","definition":"The specimen that was used when this observation was made.","comment":"Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).","min":0,"max":"1","base":{"path":"Observation.specimen","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Specimen"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"sct-concept","map":"< 123038009 |Specimen|"},{"identity":"v2","map":"SPM segment"},{"identity":"rim","map":"participation[typeCode=SPC].specimen"},{"identity":"sct-attr","map":"704319004 |Inherent in|"}]},{"id":"Observation.device","path":"Observation.device","short":"(Measurement) Device","definition":"The device used to generate the observation data.","comment":"Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.","min":0,"max":"1","base":{"path":"Observation.device","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/DeviceMetric"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"sct-concept","map":"< 49062001 |Device|"},{"identity":"v2","map":"OBX-17 / PRT -10"},{"identity":"rim","map":"participation[typeCode=DEV]"},{"identity":"sct-attr","map":"424226004 |Using device|"}]},{"id":"Observation.referenceRange","path":"Observation.referenceRange","short":"Provides guide for interpretation","definition":"Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.","comment":"Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.","requirements":"Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.","min":0,"max":"*","base":{"path":"Observation.referenceRange","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"obs-3","severity":"error","human":"Must have at least a low or a high or text","expression":"low.exists() or high.exists() or text.exists()","xpath":"(exists(f:low) or exists(f:high)or exists(f:text))"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX.7"},{"identity":"rim","map":"outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"}]},{"id":"Observation.referenceRange.id","path":"Observation.referenceRange.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.referenceRange.extension","path":"Observation.referenceRange.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.referenceRange.modifierExtension","path":"Observation.referenceRange.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.referenceRange.low","path":"Observation.referenceRange.low","short":"Low Range, if relevant","definition":"The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).","min":0,"max":"1","base":{"path":"Observation.referenceRange.low","min":0,"max":"1"},"type":[{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"condition":["obs-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-7"},{"identity":"rim","map":"value:IVL_PQ.low"}]},{"id":"Observation.referenceRange.high","path":"Observation.referenceRange.high","short":"High Range, if relevant","definition":"The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).","min":0,"max":"1","base":{"path":"Observation.referenceRange.high","min":0,"max":"1"},"type":[{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"condition":["obs-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-7"},{"identity":"rim","map":"value:IVL_PQ.high"}]},{"id":"Observation.referenceRange.type","path":"Observation.referenceRange.type","short":"Reference range qualifier","definition":"Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.","comment":"This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.","requirements":"Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.","min":0,"max":"1","base":{"path":"Observation.referenceRange.type","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationRangeMeaning"}],"strength":"preferred","description":"Code for the meaning of a reference range.","valueSet":"http://hl7.org/fhir/ValueSet/referencerange-meaning"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|"},{"identity":"v2","map":"OBX-10"},{"identity":"rim","map":"interpretationCode"}]},{"id":"Observation.referenceRange.appliesTo","path":"Observation.referenceRange.appliesTo","short":"Reference range population","definition":"Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.","comment":"This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.","requirements":"Need to be able to identify the target population for proper interpretation.","min":0,"max":"*","base":{"path":"Observation.referenceRange.appliesTo","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationRangeType"}],"strength":"example","description":"Codes identifying the population the reference range applies to.","valueSet":"http://hl7.org/fhir/ValueSet/referencerange-appliesto"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|"},{"identity":"v2","map":"OBX-10"},{"identity":"rim","map":"interpretationCode"}]},{"id":"Observation.referenceRange.age","path":"Observation.referenceRange.age","short":"Applicable age range, if relevant","definition":"The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.","requirements":"Some analytes vary greatly over age.","min":0,"max":"1","base":{"path":"Observation.referenceRange.age","min":0,"max":"1"},"type":[{"code":"Range"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value"}]},{"id":"Observation.referenceRange.text","path":"Observation.referenceRange.text","short":"Text based reference range in an observation","definition":"Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".","min":0,"max":"1","base":{"path":"Observation.referenceRange.text","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-7"},{"identity":"rim","map":"value:ST"}]},{"id":"Observation.hasMember","path":"Observation.hasMember","short":"Used when reporting vital signs panel components","definition":"Used when reporting vital signs panel components.","comment":"When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.","min":0,"max":"*","base":{"path":"Observation.hasMember","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","http://hl7.org/fhir/StructureDefinition/MolecularSequence","http://hl7.org/fhir/StructureDefinition/vitalsigns"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"Relationships established by OBX-4 usage"},{"identity":"rim","map":"outBoundRelationship"}]},{"id":"Observation.derivedFrom","path":"Observation.derivedFrom","short":"Related measurements the observation is made from","definition":"The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.","comment":"All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.","min":0,"max":"*","base":{"path":"Observation.derivedFrom","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/ImagingStudy","http://hl7.org/fhir/StructureDefinition/Media","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","http://hl7.org/fhir/StructureDefinition/MolecularSequence","http://hl7.org/fhir/StructureDefinition/vitalsigns"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"Relationships established by OBX-4 usage"},{"identity":"rim","map":".targetObservation"}]},{"id":"Observation.component","path":"Observation.component","short":"Used when reporting systolic and diastolic blood pressure.","definition":"Used when reporting systolic and diastolic blood pressure.","comment":"For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.","requirements":"Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.","min":0,"max":"*","base":{"path":"Observation.component","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"vs-3","severity":"error","human":"If there is no a value a data absent reason must be present","expression":"value.exists() or dataAbsentReason.exists()","xpath":"f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"containment by OBX-4?"},{"identity":"rim","map":"outBoundRelationship[typeCode=COMP]"}]},{"id":"Observation.component.id","path":"Observation.component.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.component.extension","path":"Observation.component.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.component.modifierExtension","path":"Observation.component.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.component.code","path":"Observation.component.code","short":"Type of component observation (code / type)","definition":"Describes what was observed. Sometimes this is called the observation \"code\".","comment":"*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.","requirements":"Knowing what kind of observation is being made is essential to understanding the observation.","min":1,"max":"1","base":{"path":"Observation.component.code","min":1,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"VitalSigns"}],"strength":"extensible","description":"This identifies the vital sign result type.","valueSet":"http://hl7.org/fhir/ValueSet/observation-vitalsignresult"},"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"sct-concept","map":"< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|"},{"identity":"v2","map":"OBX-3"},{"identity":"rim","map":"code"}]},{"id":"Observation.component.value[x]","path":"Observation.component.value[x]","short":"Vital Sign Value recorded with UCUM","definition":"Vital Sign Value recorded with UCUM.","comment":"Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.","requirements":"9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).","min":0,"max":"1","base":{"path":"Observation.component.value[x]","min":0,"max":"1"},"type":[{"code":"Quantity"},{"code":"CodeableConcept"},{"code":"string"},{"code":"boolean"},{"code":"integer"},{"code":"Range"},{"code":"Ratio"},{"code":"SampledData"},{"code":"time"},{"code":"dateTime"},{"code":"Period"}],"condition":["vs-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"VitalSignsUnits"}],"strength":"required","description":"Common UCUM units for recording Vital Signs.","valueSet":"http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1"},"mapping":[{"identity":"sct-concept","map":"363714003 |Interprets| < 441742003 |Evaluation finding|"},{"identity":"v2","map":"OBX.2, OBX.5, OBX.6"},{"identity":"rim","map":"value"},{"identity":"sct-attr","map":"363714003 |Interprets|"}]},{"id":"Observation.component.dataAbsentReason","path":"Observation.component.dataAbsentReason","short":"Why the component result is missing","definition":"Provides a reason why the expected value in the element Observation.component.value[x] is missing.","comment":"\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.","requirements":"For many results it is necessary to handle exceptional values in measurements.","min":0,"max":"1","base":{"path":"Observation.component.dataAbsentReason","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["obs-6","vs-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationValueAbsentReason"}],"strength":"extensible","description":"Codes specifying why the result (`Observation.value[x]`) is missing.","valueSet":"http://hl7.org/fhir/ValueSet/data-absent-reason"},"mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"value.nullFlavor"}]},{"id":"Observation.component.interpretation","path":"Observation.component.interpretation","short":"High, low, normal, etc.","definition":"A categorical assessment of an observation value. For example, high, low, normal.","comment":"Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.","requirements":"For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.","alias":["Abnormal Flag"],"min":0,"max":"*","base":{"path":"Observation.component.interpretation","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationInterpretation"}],"strength":"extensible","description":"Codes identifying interpretations of observations.","valueSet":"http://hl7.org/fhir/ValueSet/observation-interpretation"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values|"},{"identity":"v2","map":"OBX-8"},{"identity":"rim","map":"interpretationCode"},{"identity":"sct-attr","map":"363713009 |Has interpretation|"}]},{"id":"Observation.component.referenceRange","path":"Observation.component.referenceRange","short":"Provides guide for interpretation of component result","definition":"Guidance on how to interpret the value by comparison to a normal or recommended range.","comment":"Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.","requirements":"Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.","min":0,"max":"*","base":{"path":"Observation.component.referenceRange","min":0,"max":"*"},"contentReference":"#Observation.referenceRange","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX.7"},{"identity":"rim","map":"outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"}]}]},"differential":{"element":[{"id":"Observation","path":"Observation","definition":"This profile defines how to represent head occipital-frontal circumference percentile for patients from birth to 36 months of age in FHIR using a standard LOINC code and UCUM units of measure.","mustSupport":false},{"id":"Observation.code","path":"Observation.code","short":"Head Occipital-frontal circumference Percentile","comment":"additional codes that translate or map to this code are allowed. For example a more granular LOINC code or code that is used locally in a system.","alias":["Test","Name"],"type":[{"code":"CodeableConcept"}],"patternCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"8289-1"}]},"mustSupport":true},{"id":"Observation.subject","path":"Observation.subject","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true},{"id":"Observation.valueQuantity","path":"Observation.valueQuantity","min":0,"max":"1","mustSupport":true},{"id":"Observation.valueQuantity.value","path":"Observation.valueQuantity.value","min":1,"max":"1","type":[{"code":"decimal"}],"mustSupport":true},{"id":"Observation.valueQuantity.unit","path":"Observation.valueQuantity.unit","min":1,"max":"1","type":[{"code":"string"}],"mustSupport":true},{"id":"Observation.valueQuantity.system","path":"Observation.valueQuantity.system","min":1,"max":"1","type":[{"code":"uri"}],"fixedUri":"http://unitsofmeasure.org","mustSupport":true},{"id":"Observation.valueQuantity.code","path":"Observation.valueQuantity.code","short":"Coded responses from the common UCUM units for vital signs value set.","min":1,"max":"1","type":[{"code":"code"}],"fixedCode":"%","mustSupport":true}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-pediatric-bmi-for-age.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-pediatric-bmi-for-age.json deleted file mode 100644 index c7e0ba07083..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-pediatric-bmi-for-age.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"pediatric-bmi-for-age","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Observation 0..*observation-vitalsignsFHIR Vital Signs Profile
\".\"\".\"\".\" code S1..1CodeableConceptBMI percentile per age and sex for youth 2-20
Required Pattern: At least the following
\".\"\".\"\".\"\".\" coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
\".\"\".\"\".\"\".\"\".\" system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
\".\"\".\"\".\"\".\"\".\" code1..1codeSymbol in syntax defined by the system
Fixed Value: 59576-9
\".\"\".\"\".\" subject S1..1Reference(US Core Patient Profile)Who and/or what the observation is about
\".\"\".\"\".\" valueQuantity S0..1QuantityVital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.
\".\"\".\"\".\"\".\" value S1..1decimalNumerical value (with implicit precision)
\".\"\".\"\".\"\".\" unit S1..1stringUnit representation
\".\"\".\"\".\"\".\" system S1..1uriSystem that defines coded unit form
Fixed Value: http://unitsofmeasure.org
\".\"\".\"\".\"\".\" code S1..1codeCoded responses from the common UCUM units for vital signs value set.
Fixed Value: %

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age","version":"3.1.1","name":"USCorePediatricBMIforAgeObservationProfile","title":"US Core Pediatric BMI for Age Observation Profile","status":"active","experimental":false,"date":"2020-06-27","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines constraints and extensions on the Observation resource for use in querying and retrieving pediatric BMI observations.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"workflow","uri":"http://hl7.org/fhir/workflow","name":"Workflow Pattern"},{"identity":"sct-concept","uri":"http://snomed.info/conceptdomain","name":"SNOMED CT Concept Domain Binding"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"sct-attr","uri":"http://snomed.org/attributebinding","name":"SNOMED CT Attribute Binding"}],"kind":"resource","abstract":false,"type":"Observation","baseDefinition":"http://hl7.org/fhir/StructureDefinition/vitalsigns","derivation":"constraint","snapshot":{"element":[{"id":"Observation","path":"Observation","short":"FHIR Vital Signs Profile","definition":"This profile defines how to represent BMI percentile per age and sex for youth 2-20 observations in FHIR using a standard LOINC code and UCUM units of measure.","comment":"Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.","alias":["Vital Signs","Measurement","Results","Tests"],"min":0,"max":"*","base":{"path":"Observation","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"obs-6","severity":"error","human":"dataAbsentReason SHALL only be present if Observation.value[x] is not present","expression":"dataAbsentReason.empty() or value.empty()","xpath":"not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))","source":"http://hl7.org/fhir/StructureDefinition/Observation"},{"key":"obs-7","severity":"error","human":"If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present","expression":"value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()","xpath":"not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))","source":"http://hl7.org/fhir/StructureDefinition/Observation"},{"key":"vs-2","severity":"error","human":"If there is no component or hasMember element then either a value[x] or a data absent reason must be present.","expression":"(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())","xpath":"f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason","source":"http://hl7.org/fhir/StructureDefinition/vitalsigns"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"workflow","map":"Event"},{"identity":"sct-concept","map":"< 363787002 |Observable entity|"},{"identity":"v2","map":"OBX"},{"identity":"rim","map":"Observation[classCode=OBS, moodCode=EVN]"}]},{"id":"Observation.id","path":"Observation.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"Observation.meta","path":"Observation.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"Observation.implicitRules","path":"Observation.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"Observation.language","path":"Observation.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"Observation.text","path":"Observation.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"Observation.contained","path":"Observation.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.extension","path":"Observation.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.modifierExtension","path":"Observation.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.identifier","path":"Observation.identifier","short":"Business Identifier for observation","definition":"A unique identifier assigned to this observation.","requirements":"Allows observations to be distinguished and referenced.","min":0,"max":"*","base":{"path":"Observation.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.identifier"},{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."},{"identity":"rim","map":"id"}]},{"id":"Observation.basedOn","path":"Observation.basedOn","short":"Fulfills plan, proposal or order","definition":"A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.","requirements":"Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.","alias":["Fulfills"],"min":0,"max":"*","base":{"path":"Observation.basedOn","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/CarePlan","http://hl7.org/fhir/StructureDefinition/DeviceRequest","http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation","http://hl7.org/fhir/StructureDefinition/MedicationRequest","http://hl7.org/fhir/StructureDefinition/NutritionOrder","http://hl7.org/fhir/StructureDefinition/ServiceRequest"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.basedOn"},{"identity":"v2","map":"ORC"},{"identity":"rim","map":".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"}]},{"id":"Observation.partOf","path":"Observation.partOf","short":"Part of referenced event","definition":"A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.","comment":"To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.","alias":["Container"],"min":0,"max":"*","base":{"path":"Observation.partOf","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/MedicationAdministration","http://hl7.org/fhir/StructureDefinition/MedicationDispense","http://hl7.org/fhir/StructureDefinition/MedicationStatement","http://hl7.org/fhir/StructureDefinition/Procedure","http://hl7.org/fhir/StructureDefinition/Immunization","http://hl7.org/fhir/StructureDefinition/ImagingStudy"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.partOf"},{"identity":"v2","map":"Varies by domain"},{"identity":"rim","map":".outboundRelationship[typeCode=FLFS].target"}]},{"id":"Observation.status","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint","valueString":"default: final"}],"path":"Observation.status","short":"registered | preliminary | final | amended +","definition":"The status of the result value.","comment":"This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.","requirements":"Need to track the status of individual results. Some results are finalized before the whole report is finalized.","min":1,"max":"1","base":{"path":"Observation.status","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Status"}],"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/observation-status|4.0.1"},"mapping":[{"identity":"workflow","map":"Event.status"},{"identity":"w5","map":"FiveWs.status"},{"identity":"sct-concept","map":"< 445584004 |Report by finality status|"},{"identity":"v2","map":"OBX-11"},{"identity":"rim","map":"status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\""}]},{"id":"Observation.category","path":"Observation.category","slicing":{"discriminator":[{"type":"value","path":"coding.code"},{"type":"value","path":"coding.system"}],"ordered":false,"rules":"open"},"short":"Classification of type of observation","definition":"A code that classifies the general type of observation being made.","comment":"In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.","requirements":"Used for filtering what observations are retrieved and displayed.","min":1,"max":"*","base":{"path":"Observation.category","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationCategory"}],"strength":"preferred","description":"Codes for high level observation categories.","valueSet":"http://hl7.org/fhir/ValueSet/observation-category"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"rim","map":".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code"}]},{"id":"Observation.category:VSCat","path":"Observation.category","sliceName":"VSCat","short":"Classification of type of observation","definition":"A code that classifies the general type of observation being made.","comment":"In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.","requirements":"Used for filtering what observations are retrieved and displayed.","min":1,"max":"1","base":{"path":"Observation.category","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationCategory"}],"strength":"preferred","description":"Codes for high level observation categories.","valueSet":"http://hl7.org/fhir/ValueSet/observation-category"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"rim","map":".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code"}]},{"id":"Observation.category:VSCat.id","path":"Observation.category.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.category:VSCat.extension","path":"Observation.category.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.category:VSCat.coding","path":"Observation.category.coding","short":"Code defined by a terminology system","definition":"A reference to a code defined by a terminology system.","comment":"Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.","requirements":"Allows for alternative encodings within a code system, and translations to other code systems.","min":1,"max":"*","base":{"path":"CodeableConcept.coding","min":0,"max":"*"},"type":[{"code":"Coding"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.1-8, C*E.10-22"},{"identity":"rim","map":"union(., ./translation)"},{"identity":"orim","map":"fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"}]},{"id":"Observation.category:VSCat.coding.id","path":"Observation.category.coding.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.category:VSCat.coding.extension","path":"Observation.category.coding.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.category:VSCat.coding.system","path":"Observation.category.coding.system","short":"Identity of the terminology system","definition":"The identification of the code system that defines the meaning of the symbol in the code.","comment":"The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.","requirements":"Need to be unambiguous about the source of the definition of the symbol.","min":1,"max":"1","base":{"path":"Coding.system","min":0,"max":"1"},"type":[{"code":"uri"}],"fixedUri":"http://terminology.hl7.org/CodeSystem/observation-category","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.3"},{"identity":"rim","map":"./codeSystem"},{"identity":"orim","map":"fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"}]},{"id":"Observation.category:VSCat.coding.version","path":"Observation.category.coding.version","short":"Version of the system - if relevant","definition":"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.","comment":"Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.","min":0,"max":"1","base":{"path":"Coding.version","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.7"},{"identity":"rim","map":"./codeSystemVersion"},{"identity":"orim","map":"fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"}]},{"id":"Observation.category:VSCat.coding.code","path":"Observation.category.coding.code","short":"Symbol in syntax defined by the system","definition":"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).","requirements":"Need to refer to a particular code in the system.","min":1,"max":"1","base":{"path":"Coding.code","min":0,"max":"1"},"type":[{"code":"code"}],"fixedCode":"vital-signs","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.1"},{"identity":"rim","map":"./code"},{"identity":"orim","map":"fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"}]},{"id":"Observation.category:VSCat.coding.display","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable","valueBoolean":true}],"path":"Observation.category.coding.display","short":"Representation defined by the system","definition":"A representation of the meaning of the code in the system, following the rules of the system.","requirements":"Need to be able to carry a human-readable meaning of the code for readers that do not know the system.","min":0,"max":"1","base":{"path":"Coding.display","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.2 - but note this is not well followed"},{"identity":"rim","map":"CV.displayName"},{"identity":"orim","map":"fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"}]},{"id":"Observation.category:VSCat.coding.userSelected","path":"Observation.category.coding.userSelected","short":"If this coding was chosen directly by the user","definition":"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).","comment":"Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.","requirements":"This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.","min":0,"max":"1","base":{"path":"Coding.userSelected","min":0,"max":"1"},"type":[{"code":"boolean"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"Sometimes implied by being first"},{"identity":"rim","map":"CD.codingRationale"},{"identity":"orim","map":"fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]"}]},{"id":"Observation.category:VSCat.text","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable","valueBoolean":true}],"path":"Observation.category.text","short":"Plain text representation of the concept","definition":"A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.","comment":"Very often the text is the same as a displayName of one of the codings.","requirements":"The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.","min":0,"max":"1","base":{"path":"CodeableConcept.text","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.9. But note many systems use C*E.2 for this"},{"identity":"rim","map":"./originalText[mediaType/code=\"text/plain\"]/data"},{"identity":"orim","map":"fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"}]},{"id":"Observation.code","path":"Observation.code","short":"BMI percentile per age and sex for youth 2-20","definition":"Coded Responses from C-CDA Vital Sign Results.","comment":"additional codes that translate or map to this code are allowed. For example a more granular LOINC code or code that is used locally in a system.","requirements":"5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).","alias":["Name","Test"],"min":1,"max":"1","base":{"path":"Observation.code","min":1,"max":"1"},"type":[{"code":"CodeableConcept"}],"patternCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"59576-9"}]},"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"VitalSigns"}],"strength":"extensible","description":"This identifies the vital sign result type.","valueSet":"http://hl7.org/fhir/ValueSet/observation-vitalsignresult"},"mapping":[{"identity":"workflow","map":"Event.code"},{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"sct-concept","map":"< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|"},{"identity":"v2","map":"OBX-3"},{"identity":"rim","map":"code"},{"identity":"sct-attr","map":"116680003 |Is a|"}]},{"id":"Observation.subject","path":"Observation.subject","short":"Who and/or what the observation is about","definition":"The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.","comment":"One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.","requirements":"Observations have no value if you don't know who or what they're about.","min":1,"max":"1","base":{"path":"Observation.subject","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.subject"},{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"PID-3"},{"identity":"rim","map":"participation[typeCode=RTGT]"},{"identity":"w5","map":"FiveWs.subject"}]},{"id":"Observation.focus","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"trial-use"}],"path":"Observation.focus","short":"What the observation is about, when it is not about the subject of record","definition":"The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.","comment":"Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).","min":0,"max":"*","base":{"path":"Observation.focus","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Resource"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"OBX-3"},{"identity":"rim","map":"participation[typeCode=SBJ]"},{"identity":"w5","map":"FiveWs.subject"}]},{"id":"Observation.encounter","path":"Observation.encounter","short":"Healthcare event during which this observation is made","definition":"The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.","comment":"This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).","requirements":"For some observations it may be important to know the link between an observation and a particular encounter.","alias":["Context"],"min":0,"max":"1","base":{"path":"Observation.encounter","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Encounter"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.context"},{"identity":"w5","map":"FiveWs.context"},{"identity":"v2","map":"PV1"},{"identity":"rim","map":"inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"}]},{"id":"Observation.effective[x]","path":"Observation.effective[x]","short":"Often just a dateTime for Vital Signs","definition":"Often just a dateTime for Vital Signs.","comment":"At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.","requirements":"Knowing when an observation was deemed true is important to its relevance as well as determining trends.","alias":["Occurrence"],"min":1,"max":"1","base":{"path":"Observation.effective[x]","min":0,"max":"1"},"type":[{"code":"dateTime"},{"code":"Period"}],"condition":["vs-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"vs-1","severity":"error","human":"if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day","expression":"($this as dateTime).toString().length() >= 8","xpath":"f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.occurrence[x]"},{"identity":"w5","map":"FiveWs.done[x]"},{"identity":"v2","map":"OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)"},{"identity":"rim","map":"effectiveTime"}]},{"id":"Observation.issued","path":"Observation.issued","short":"Date/Time this version was made available","definition":"The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.","comment":"For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.","min":0,"max":"1","base":{"path":"Observation.issued","min":0,"max":"1"},"type":[{"code":"instant"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.recorded"},{"identity":"v2","map":"OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)"},{"identity":"rim","map":"participation[typeCode=AUT].time"}]},{"id":"Observation.performer","path":"Observation.performer","short":"Who is responsible for the observation","definition":"Who was responsible for asserting the observed value as \"true\".","requirements":"May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.","min":0,"max":"*","base":{"path":"Observation.performer","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.performer.actor"},{"identity":"w5","map":"FiveWs.actor"},{"identity":"v2","map":"OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'"},{"identity":"rim","map":"participation[typeCode=PRF]"}]},{"id":"Observation.value[x]","path":"Observation.value[x]","slicing":{"discriminator":[{"type":"type","path":"$this"}],"ordered":false,"rules":"closed"},"short":"Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.","definition":"Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.","comment":"An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.","requirements":"9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).","min":0,"max":"1","base":{"path":"Observation.value[x]","min":0,"max":"1"},"type":[{"code":"Quantity"}],"condition":["obs-7","vs-2"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"sct-concept","map":"< 441742003 |Evaluation finding|"},{"identity":"v2","map":"OBX.2, OBX.5, OBX.6"},{"identity":"rim","map":"value"},{"identity":"sct-attr","map":"363714003 |Interprets|"}]},{"id":"Observation.value[x]:valueQuantity","path":"Observation.value[x]","sliceName":"valueQuantity","short":"Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.","definition":"Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.","comment":"An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.","requirements":"9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).","min":0,"max":"1","base":{"path":"Observation.value[x]","min":0,"max":"1"},"type":[{"code":"Quantity"}],"condition":["obs-7","vs-2"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"sct-concept","map":"< 441742003 |Evaluation finding|"},{"identity":"v2","map":"OBX.2, OBX.5, OBX.6"},{"identity":"rim","map":"value"},{"identity":"sct-attr","map":"363714003 |Interprets|"}]},{"id":"Observation.value[x]:valueQuantity.id","path":"Observation.value[x].id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.value[x]:valueQuantity.extension","path":"Observation.value[x].extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.value[x]:valueQuantity.value","path":"Observation.value[x].value","short":"Numerical value (with implicit precision)","definition":"The value of the measured amount. The value includes an implicit precision in the presentation of the value.","comment":"The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).","requirements":"Precision is handled implicitly in almost all cases of measurement.","min":1,"max":"1","base":{"path":"Quantity.value","min":0,"max":"1"},"type":[{"code":"decimal"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"SN.2 / CQ - N/A"},{"identity":"rim","map":"PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"}]},{"id":"Observation.value[x]:valueQuantity.comparator","path":"Observation.value[x].comparator","short":"< | <= | >= | > - how to understand the value","definition":"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.","requirements":"Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.","min":0,"max":"1","base":{"path":"Quantity.comparator","min":0,"max":"1"},"type":[{"code":"code"}],"meaningWhenMissing":"If there is no comparator, then there is no modification of the value","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"QuantityComparator"}],"strength":"required","description":"How the Quantity should be understood and represented.","valueSet":"http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1"},"mapping":[{"identity":"v2","map":"SN.1 / CQ.1"},{"identity":"rim","map":"IVL properties"}]},{"id":"Observation.value[x]:valueQuantity.unit","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable","valueBoolean":true}],"path":"Observation.value[x].unit","short":"Unit representation","definition":"A human-readable form of the unit.","requirements":"There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.","min":1,"max":"1","base":{"path":"Quantity.unit","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"(see OBX.6 etc.) / CQ.2"},{"identity":"rim","map":"PQ.unit"}]},{"id":"Observation.value[x]:valueQuantity.system","path":"Observation.value[x].system","short":"System that defines coded unit form","definition":"The identification of the system that provides the coded form of the unit.","requirements":"Need to know the system that defines the coded form of the unit.","min":1,"max":"1","base":{"path":"Quantity.system","min":0,"max":"1"},"type":[{"code":"uri"}],"fixedUri":"http://unitsofmeasure.org","condition":["qty-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"(see OBX.6 etc.) / CQ.2"},{"identity":"rim","map":"CO.codeSystem, PQ.translation.codeSystem"}]},{"id":"Observation.value[x]:valueQuantity.code","path":"Observation.value[x].code","short":"Coded responses from the common UCUM units for vital signs value set.","definition":"A computer processable form of the unit in some unit representation system.","comment":"The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.","requirements":"Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.","min":1,"max":"1","base":{"path":"Quantity.code","min":0,"max":"1"},"type":[{"code":"code"}],"fixedCode":"%","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"(see OBX.6 etc.) / CQ.2"},{"identity":"rim","map":"PQ.code, MO.currency, PQ.translation.code"}]},{"id":"Observation.dataAbsentReason","path":"Observation.dataAbsentReason","short":"Why the result is missing","definition":"Provides a reason why the expected value in the element Observation.value[x] is missing.","comment":"Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.","requirements":"For many results it is necessary to handle exceptional values in measurements.","min":0,"max":"1","base":{"path":"Observation.dataAbsentReason","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["obs-6","vs-2"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationValueAbsentReason"}],"strength":"extensible","description":"Codes specifying why the result (`Observation.value[x]`) is missing.","valueSet":"http://hl7.org/fhir/ValueSet/data-absent-reason"},"mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"value.nullFlavor"}]},{"id":"Observation.interpretation","path":"Observation.interpretation","short":"High, low, normal, etc.","definition":"A categorical assessment of an observation value. For example, high, low, normal.","comment":"Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.","requirements":"For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.","alias":["Abnormal Flag"],"min":0,"max":"*","base":{"path":"Observation.interpretation","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationInterpretation"}],"strength":"extensible","description":"Codes identifying interpretations of observations.","valueSet":"http://hl7.org/fhir/ValueSet/observation-interpretation"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values|"},{"identity":"v2","map":"OBX-8"},{"identity":"rim","map":"interpretationCode"},{"identity":"sct-attr","map":"363713009 |Has interpretation|"}]},{"id":"Observation.note","path":"Observation.note","short":"Comments about the observation","definition":"Comments about the observation or the results.","comment":"May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.","requirements":"Need to be able to provide free text additional information.","min":0,"max":"*","base":{"path":"Observation.note","min":0,"max":"*"},"type":[{"code":"Annotation"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)"},{"identity":"rim","map":"subjectOf.observationEvent[code=\"annotation\"].value"}]},{"id":"Observation.bodySite","path":"Observation.bodySite","short":"Observed body part","definition":"Indicates the site on the subject's body where the observation was made (i.e. the target site).","comment":"Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).","min":0,"max":"1","base":{"path":"Observation.bodySite","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"BodySite"}],"strength":"example","description":"Codes describing anatomical locations. May include laterality.","valueSet":"http://hl7.org/fhir/ValueSet/body-site"},"mapping":[{"identity":"sct-concept","map":"< 123037004 |Body structure|"},{"identity":"v2","map":"OBX-20"},{"identity":"rim","map":"targetSiteCode"},{"identity":"sct-attr","map":"718497002 |Inherent location|"}]},{"id":"Observation.method","path":"Observation.method","short":"How it was done","definition":"Indicates the mechanism used to perform the observation.","comment":"Only used if not implicit in code for Observation.code.","requirements":"In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.","min":0,"max":"1","base":{"path":"Observation.method","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationMethod"}],"strength":"example","description":"Methods for simple observations.","valueSet":"http://hl7.org/fhir/ValueSet/observation-methods"},"mapping":[{"identity":"v2","map":"OBX-17"},{"identity":"rim","map":"methodCode"}]},{"id":"Observation.specimen","path":"Observation.specimen","short":"Specimen used for this observation","definition":"The specimen that was used when this observation was made.","comment":"Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).","min":0,"max":"1","base":{"path":"Observation.specimen","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Specimen"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"sct-concept","map":"< 123038009 |Specimen|"},{"identity":"v2","map":"SPM segment"},{"identity":"rim","map":"participation[typeCode=SPC].specimen"},{"identity":"sct-attr","map":"704319004 |Inherent in|"}]},{"id":"Observation.device","path":"Observation.device","short":"(Measurement) Device","definition":"The device used to generate the observation data.","comment":"Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.","min":0,"max":"1","base":{"path":"Observation.device","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/DeviceMetric"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"sct-concept","map":"< 49062001 |Device|"},{"identity":"v2","map":"OBX-17 / PRT -10"},{"identity":"rim","map":"participation[typeCode=DEV]"},{"identity":"sct-attr","map":"424226004 |Using device|"}]},{"id":"Observation.referenceRange","path":"Observation.referenceRange","short":"Provides guide for interpretation","definition":"Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.","comment":"Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.","requirements":"Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.","min":0,"max":"*","base":{"path":"Observation.referenceRange","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"obs-3","severity":"error","human":"Must have at least a low or a high or text","expression":"low.exists() or high.exists() or text.exists()","xpath":"(exists(f:low) or exists(f:high)or exists(f:text))"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX.7"},{"identity":"rim","map":"outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"}]},{"id":"Observation.referenceRange.id","path":"Observation.referenceRange.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.referenceRange.extension","path":"Observation.referenceRange.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.referenceRange.modifierExtension","path":"Observation.referenceRange.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.referenceRange.low","path":"Observation.referenceRange.low","short":"Low Range, if relevant","definition":"The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).","min":0,"max":"1","base":{"path":"Observation.referenceRange.low","min":0,"max":"1"},"type":[{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"condition":["obs-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-7"},{"identity":"rim","map":"value:IVL_PQ.low"}]},{"id":"Observation.referenceRange.high","path":"Observation.referenceRange.high","short":"High Range, if relevant","definition":"The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).","min":0,"max":"1","base":{"path":"Observation.referenceRange.high","min":0,"max":"1"},"type":[{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"condition":["obs-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-7"},{"identity":"rim","map":"value:IVL_PQ.high"}]},{"id":"Observation.referenceRange.type","path":"Observation.referenceRange.type","short":"Reference range qualifier","definition":"Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.","comment":"This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.","requirements":"Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.","min":0,"max":"1","base":{"path":"Observation.referenceRange.type","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationRangeMeaning"}],"strength":"preferred","description":"Code for the meaning of a reference range.","valueSet":"http://hl7.org/fhir/ValueSet/referencerange-meaning"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|"},{"identity":"v2","map":"OBX-10"},{"identity":"rim","map":"interpretationCode"}]},{"id":"Observation.referenceRange.appliesTo","path":"Observation.referenceRange.appliesTo","short":"Reference range population","definition":"Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.","comment":"This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.","requirements":"Need to be able to identify the target population for proper interpretation.","min":0,"max":"*","base":{"path":"Observation.referenceRange.appliesTo","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationRangeType"}],"strength":"example","description":"Codes identifying the population the reference range applies to.","valueSet":"http://hl7.org/fhir/ValueSet/referencerange-appliesto"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|"},{"identity":"v2","map":"OBX-10"},{"identity":"rim","map":"interpretationCode"}]},{"id":"Observation.referenceRange.age","path":"Observation.referenceRange.age","short":"Applicable age range, if relevant","definition":"The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.","requirements":"Some analytes vary greatly over age.","min":0,"max":"1","base":{"path":"Observation.referenceRange.age","min":0,"max":"1"},"type":[{"code":"Range"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value"}]},{"id":"Observation.referenceRange.text","path":"Observation.referenceRange.text","short":"Text based reference range in an observation","definition":"Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".","min":0,"max":"1","base":{"path":"Observation.referenceRange.text","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-7"},{"identity":"rim","map":"value:ST"}]},{"id":"Observation.hasMember","path":"Observation.hasMember","short":"Used when reporting vital signs panel components","definition":"Used when reporting vital signs panel components.","comment":"When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.","min":0,"max":"*","base":{"path":"Observation.hasMember","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","http://hl7.org/fhir/StructureDefinition/MolecularSequence","http://hl7.org/fhir/StructureDefinition/vitalsigns"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"Relationships established by OBX-4 usage"},{"identity":"rim","map":"outBoundRelationship"}]},{"id":"Observation.derivedFrom","path":"Observation.derivedFrom","short":"Related measurements the observation is made from","definition":"The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.","comment":"All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.","min":0,"max":"*","base":{"path":"Observation.derivedFrom","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/ImagingStudy","http://hl7.org/fhir/StructureDefinition/Media","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","http://hl7.org/fhir/StructureDefinition/MolecularSequence","http://hl7.org/fhir/StructureDefinition/vitalsigns"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"Relationships established by OBX-4 usage"},{"identity":"rim","map":".targetObservation"}]},{"id":"Observation.component","path":"Observation.component","short":"Used when reporting systolic and diastolic blood pressure.","definition":"Used when reporting systolic and diastolic blood pressure.","comment":"For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.","requirements":"Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.","min":0,"max":"*","base":{"path":"Observation.component","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"vs-3","severity":"error","human":"If there is no a value a data absent reason must be present","expression":"value.exists() or dataAbsentReason.exists()","xpath":"f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"containment by OBX-4?"},{"identity":"rim","map":"outBoundRelationship[typeCode=COMP]"}]},{"id":"Observation.component.id","path":"Observation.component.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.component.extension","path":"Observation.component.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.component.modifierExtension","path":"Observation.component.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.component.code","path":"Observation.component.code","short":"Type of component observation (code / type)","definition":"Describes what was observed. Sometimes this is called the observation \"code\".","comment":"*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.","requirements":"Knowing what kind of observation is being made is essential to understanding the observation.","min":1,"max":"1","base":{"path":"Observation.component.code","min":1,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"VitalSigns"}],"strength":"extensible","description":"This identifies the vital sign result type.","valueSet":"http://hl7.org/fhir/ValueSet/observation-vitalsignresult"},"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"sct-concept","map":"< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|"},{"identity":"v2","map":"OBX-3"},{"identity":"rim","map":"code"}]},{"id":"Observation.component.value[x]","path":"Observation.component.value[x]","short":"Vital Sign Value recorded with UCUM","definition":"Vital Sign Value recorded with UCUM.","comment":"Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.","requirements":"9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).","min":0,"max":"1","base":{"path":"Observation.component.value[x]","min":0,"max":"1"},"type":[{"code":"Quantity"},{"code":"CodeableConcept"},{"code":"string"},{"code":"boolean"},{"code":"integer"},{"code":"Range"},{"code":"Ratio"},{"code":"SampledData"},{"code":"time"},{"code":"dateTime"},{"code":"Period"}],"condition":["vs-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"VitalSignsUnits"}],"strength":"required","description":"Common UCUM units for recording Vital Signs.","valueSet":"http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1"},"mapping":[{"identity":"sct-concept","map":"363714003 |Interprets| < 441742003 |Evaluation finding|"},{"identity":"v2","map":"OBX.2, OBX.5, OBX.6"},{"identity":"rim","map":"value"},{"identity":"sct-attr","map":"363714003 |Interprets|"}]},{"id":"Observation.component.dataAbsentReason","path":"Observation.component.dataAbsentReason","short":"Why the component result is missing","definition":"Provides a reason why the expected value in the element Observation.component.value[x] is missing.","comment":"\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.","requirements":"For many results it is necessary to handle exceptional values in measurements.","min":0,"max":"1","base":{"path":"Observation.component.dataAbsentReason","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["obs-6","vs-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationValueAbsentReason"}],"strength":"extensible","description":"Codes specifying why the result (`Observation.value[x]`) is missing.","valueSet":"http://hl7.org/fhir/ValueSet/data-absent-reason"},"mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"value.nullFlavor"}]},{"id":"Observation.component.interpretation","path":"Observation.component.interpretation","short":"High, low, normal, etc.","definition":"A categorical assessment of an observation value. For example, high, low, normal.","comment":"Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.","requirements":"For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.","alias":["Abnormal Flag"],"min":0,"max":"*","base":{"path":"Observation.component.interpretation","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationInterpretation"}],"strength":"extensible","description":"Codes identifying interpretations of observations.","valueSet":"http://hl7.org/fhir/ValueSet/observation-interpretation"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values|"},{"identity":"v2","map":"OBX-8"},{"identity":"rim","map":"interpretationCode"},{"identity":"sct-attr","map":"363713009 |Has interpretation|"}]},{"id":"Observation.component.referenceRange","path":"Observation.component.referenceRange","short":"Provides guide for interpretation of component result","definition":"Guidance on how to interpret the value by comparison to a normal or recommended range.","comment":"Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.","requirements":"Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.","min":0,"max":"*","base":{"path":"Observation.component.referenceRange","min":0,"max":"*"},"contentReference":"#Observation.referenceRange","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX.7"},{"identity":"rim","map":"outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"}]}]},"differential":{"element":[{"id":"Observation","path":"Observation","definition":"This profile defines how to represent BMI percentile per age and sex for youth 2-20 observations in FHIR using a standard LOINC code and UCUM units of measure.","mustSupport":false},{"id":"Observation.code","path":"Observation.code","short":"BMI percentile per age and sex for youth 2-20","comment":"additional codes that translate or map to this code are allowed. For example a more granular LOINC code or code that is used locally in a system.","alias":["Test","Name"],"type":[{"code":"CodeableConcept"}],"patternCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"59576-9"}]},"mustSupport":true},{"id":"Observation.subject","path":"Observation.subject","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true},{"id":"Observation.valueQuantity","path":"Observation.valueQuantity","min":0,"max":"1","mustSupport":true},{"id":"Observation.valueQuantity.value","path":"Observation.valueQuantity.value","min":1,"max":"1","type":[{"code":"decimal"}],"mustSupport":true},{"id":"Observation.valueQuantity.unit","path":"Observation.valueQuantity.unit","min":1,"max":"1","type":[{"code":"string"}],"mustSupport":true},{"id":"Observation.valueQuantity.system","path":"Observation.valueQuantity.system","min":1,"max":"1","type":[{"code":"uri"}],"fixedUri":"http://unitsofmeasure.org","mustSupport":true},{"id":"Observation.valueQuantity.code","path":"Observation.valueQuantity.code","short":"Coded responses from the common UCUM units for vital signs value set.","min":1,"max":"1","type":[{"code":"code"}],"fixedCode":"%","mustSupport":true}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-pediatric-weight-for-height.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-pediatric-weight-for-height.json deleted file mode 100644 index 2eb278b7001..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-pediatric-weight-for-height.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"pediatric-weight-for-height","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Observation 0..*observation-vitalsignsFHIR Vital Signs Profile
\".\"\".\"\".\" code S1..1CodeableConceptWeight-for-length per age and gender
Required Pattern: At least the following
\".\"\".\"\".\"\".\" coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
\".\"\".\"\".\"\".\"\".\" system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
\".\"\".\"\".\"\".\"\".\" code1..1codeSymbol in syntax defined by the system
Fixed Value: 77606-2
\".\"\".\"\".\" subject S1..1Reference(US Core Patient Profile)Who and/or what the observation is about
\".\"\".\"\".\" valueQuantity S0..1QuantityVital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.
\".\"\".\"\".\"\".\" value S1..1decimalNumerical value (with implicit precision)
\".\"\".\"\".\"\".\" unit S1..1stringUnit representation
\".\"\".\"\".\"\".\" system S1..1uriSystem that defines coded unit form
Fixed Value: http://unitsofmeasure.org
\".\"\".\"\".\"\".\" code S1..1codeCoded responses from the common UCUM units for vital signs value set.
Fixed Value: %

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height","version":"3.1.1","name":"USCorePediatricWeightForHeightObservationProfile","title":"US Core Pediatric Weight for Height Observation Profile","status":"active","experimental":false,"date":"2020-06-27","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines constraints and extensions on the Observation resource for use in querying and retrieving pediatric Weight-for-length per age and gender observations.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"workflow","uri":"http://hl7.org/fhir/workflow","name":"Workflow Pattern"},{"identity":"sct-concept","uri":"http://snomed.info/conceptdomain","name":"SNOMED CT Concept Domain Binding"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"sct-attr","uri":"http://snomed.org/attributebinding","name":"SNOMED CT Attribute Binding"}],"kind":"resource","abstract":false,"type":"Observation","baseDefinition":"http://hl7.org/fhir/StructureDefinition/vitalsigns","derivation":"constraint","snapshot":{"element":[{"id":"Observation","path":"Observation","short":"FHIR Vital Signs Profile","definition":"This profile defines how to represent Weight-for-length per age and gender observations in FHIR using a standard LOINC code and UCUM units of measure.","comment":"Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.","alias":["Vital Signs","Measurement","Results","Tests"],"min":0,"max":"*","base":{"path":"Observation","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"obs-6","severity":"error","human":"dataAbsentReason SHALL only be present if Observation.value[x] is not present","expression":"dataAbsentReason.empty() or value.empty()","xpath":"not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))","source":"http://hl7.org/fhir/StructureDefinition/Observation"},{"key":"obs-7","severity":"error","human":"If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present","expression":"value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()","xpath":"not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))","source":"http://hl7.org/fhir/StructureDefinition/Observation"},{"key":"vs-2","severity":"error","human":"If there is no component or hasMember element then either a value[x] or a data absent reason must be present.","expression":"(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())","xpath":"f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason","source":"http://hl7.org/fhir/StructureDefinition/vitalsigns"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"workflow","map":"Event"},{"identity":"sct-concept","map":"< 363787002 |Observable entity|"},{"identity":"v2","map":"OBX"},{"identity":"rim","map":"Observation[classCode=OBS, moodCode=EVN]"}]},{"id":"Observation.id","path":"Observation.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"Observation.meta","path":"Observation.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"Observation.implicitRules","path":"Observation.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"Observation.language","path":"Observation.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"Observation.text","path":"Observation.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"Observation.contained","path":"Observation.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.extension","path":"Observation.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.modifierExtension","path":"Observation.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.identifier","path":"Observation.identifier","short":"Business Identifier for observation","definition":"A unique identifier assigned to this observation.","requirements":"Allows observations to be distinguished and referenced.","min":0,"max":"*","base":{"path":"Observation.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.identifier"},{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."},{"identity":"rim","map":"id"}]},{"id":"Observation.basedOn","path":"Observation.basedOn","short":"Fulfills plan, proposal or order","definition":"A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.","requirements":"Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.","alias":["Fulfills"],"min":0,"max":"*","base":{"path":"Observation.basedOn","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/CarePlan","http://hl7.org/fhir/StructureDefinition/DeviceRequest","http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation","http://hl7.org/fhir/StructureDefinition/MedicationRequest","http://hl7.org/fhir/StructureDefinition/NutritionOrder","http://hl7.org/fhir/StructureDefinition/ServiceRequest"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.basedOn"},{"identity":"v2","map":"ORC"},{"identity":"rim","map":".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"}]},{"id":"Observation.partOf","path":"Observation.partOf","short":"Part of referenced event","definition":"A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.","comment":"To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.","alias":["Container"],"min":0,"max":"*","base":{"path":"Observation.partOf","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/MedicationAdministration","http://hl7.org/fhir/StructureDefinition/MedicationDispense","http://hl7.org/fhir/StructureDefinition/MedicationStatement","http://hl7.org/fhir/StructureDefinition/Procedure","http://hl7.org/fhir/StructureDefinition/Immunization","http://hl7.org/fhir/StructureDefinition/ImagingStudy"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.partOf"},{"identity":"v2","map":"Varies by domain"},{"identity":"rim","map":".outboundRelationship[typeCode=FLFS].target"}]},{"id":"Observation.status","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint","valueString":"default: final"}],"path":"Observation.status","short":"registered | preliminary | final | amended +","definition":"The status of the result value.","comment":"This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.","requirements":"Need to track the status of individual results. Some results are finalized before the whole report is finalized.","min":1,"max":"1","base":{"path":"Observation.status","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Status"}],"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/observation-status|4.0.1"},"mapping":[{"identity":"workflow","map":"Event.status"},{"identity":"w5","map":"FiveWs.status"},{"identity":"sct-concept","map":"< 445584004 |Report by finality status|"},{"identity":"v2","map":"OBX-11"},{"identity":"rim","map":"status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\""}]},{"id":"Observation.category","path":"Observation.category","slicing":{"discriminator":[{"type":"value","path":"coding.code"},{"type":"value","path":"coding.system"}],"ordered":false,"rules":"open"},"short":"Classification of type of observation","definition":"A code that classifies the general type of observation being made.","comment":"In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.","requirements":"Used for filtering what observations are retrieved and displayed.","min":1,"max":"*","base":{"path":"Observation.category","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationCategory"}],"strength":"preferred","description":"Codes for high level observation categories.","valueSet":"http://hl7.org/fhir/ValueSet/observation-category"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"rim","map":".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code"}]},{"id":"Observation.category:VSCat","path":"Observation.category","sliceName":"VSCat","short":"Classification of type of observation","definition":"A code that classifies the general type of observation being made.","comment":"In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.","requirements":"Used for filtering what observations are retrieved and displayed.","min":1,"max":"1","base":{"path":"Observation.category","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationCategory"}],"strength":"preferred","description":"Codes for high level observation categories.","valueSet":"http://hl7.org/fhir/ValueSet/observation-category"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"rim","map":".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code"}]},{"id":"Observation.category:VSCat.id","path":"Observation.category.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.category:VSCat.extension","path":"Observation.category.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.category:VSCat.coding","path":"Observation.category.coding","short":"Code defined by a terminology system","definition":"A reference to a code defined by a terminology system.","comment":"Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.","requirements":"Allows for alternative encodings within a code system, and translations to other code systems.","min":1,"max":"*","base":{"path":"CodeableConcept.coding","min":0,"max":"*"},"type":[{"code":"Coding"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.1-8, C*E.10-22"},{"identity":"rim","map":"union(., ./translation)"},{"identity":"orim","map":"fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"}]},{"id":"Observation.category:VSCat.coding.id","path":"Observation.category.coding.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.category:VSCat.coding.extension","path":"Observation.category.coding.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.category:VSCat.coding.system","path":"Observation.category.coding.system","short":"Identity of the terminology system","definition":"The identification of the code system that defines the meaning of the symbol in the code.","comment":"The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.","requirements":"Need to be unambiguous about the source of the definition of the symbol.","min":1,"max":"1","base":{"path":"Coding.system","min":0,"max":"1"},"type":[{"code":"uri"}],"fixedUri":"http://terminology.hl7.org/CodeSystem/observation-category","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.3"},{"identity":"rim","map":"./codeSystem"},{"identity":"orim","map":"fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"}]},{"id":"Observation.category:VSCat.coding.version","path":"Observation.category.coding.version","short":"Version of the system - if relevant","definition":"The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.","comment":"Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.","min":0,"max":"1","base":{"path":"Coding.version","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.7"},{"identity":"rim","map":"./codeSystemVersion"},{"identity":"orim","map":"fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"}]},{"id":"Observation.category:VSCat.coding.code","path":"Observation.category.coding.code","short":"Symbol in syntax defined by the system","definition":"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).","requirements":"Need to refer to a particular code in the system.","min":1,"max":"1","base":{"path":"Coding.code","min":0,"max":"1"},"type":[{"code":"code"}],"fixedCode":"vital-signs","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.1"},{"identity":"rim","map":"./code"},{"identity":"orim","map":"fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"}]},{"id":"Observation.category:VSCat.coding.display","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable","valueBoolean":true}],"path":"Observation.category.coding.display","short":"Representation defined by the system","definition":"A representation of the meaning of the code in the system, following the rules of the system.","requirements":"Need to be able to carry a human-readable meaning of the code for readers that do not know the system.","min":0,"max":"1","base":{"path":"Coding.display","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.2 - but note this is not well followed"},{"identity":"rim","map":"CV.displayName"},{"identity":"orim","map":"fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"}]},{"id":"Observation.category:VSCat.coding.userSelected","path":"Observation.category.coding.userSelected","short":"If this coding was chosen directly by the user","definition":"Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).","comment":"Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.","requirements":"This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.","min":0,"max":"1","base":{"path":"Coding.userSelected","min":0,"max":"1"},"type":[{"code":"boolean"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"Sometimes implied by being first"},{"identity":"rim","map":"CD.codingRationale"},{"identity":"orim","map":"fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]"}]},{"id":"Observation.category:VSCat.text","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable","valueBoolean":true}],"path":"Observation.category.text","short":"Plain text representation of the concept","definition":"A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.","comment":"Very often the text is the same as a displayName of one of the codings.","requirements":"The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.","min":0,"max":"1","base":{"path":"CodeableConcept.text","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"C*E.9. But note many systems use C*E.2 for this"},{"identity":"rim","map":"./originalText[mediaType/code=\"text/plain\"]/data"},{"identity":"orim","map":"fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"}]},{"id":"Observation.code","path":"Observation.code","short":"Weight-for-length per age and gender","definition":"Coded Responses from C-CDA Vital Sign Results.","comment":"additional codes that translate or map to this code are allowed. For example a more granular LOINC code or code that is used locally in a system.","requirements":"5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).","alias":["Name","Test"],"min":1,"max":"1","base":{"path":"Observation.code","min":1,"max":"1"},"type":[{"code":"CodeableConcept"}],"patternCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"77606-2"}]},"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"VitalSigns"}],"strength":"extensible","description":"This identifies the vital sign result type.","valueSet":"http://hl7.org/fhir/ValueSet/observation-vitalsignresult"},"mapping":[{"identity":"workflow","map":"Event.code"},{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"sct-concept","map":"< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|"},{"identity":"v2","map":"OBX-3"},{"identity":"rim","map":"code"},{"identity":"sct-attr","map":"116680003 |Is a|"}]},{"id":"Observation.subject","path":"Observation.subject","short":"Who and/or what the observation is about","definition":"The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.","comment":"One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.","requirements":"Observations have no value if you don't know who or what they're about.","min":1,"max":"1","base":{"path":"Observation.subject","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.subject"},{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"PID-3"},{"identity":"rim","map":"participation[typeCode=RTGT]"},{"identity":"w5","map":"FiveWs.subject"}]},{"id":"Observation.focus","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"trial-use"}],"path":"Observation.focus","short":"What the observation is about, when it is not about the subject of record","definition":"The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.","comment":"Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).","min":0,"max":"*","base":{"path":"Observation.focus","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Resource"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"OBX-3"},{"identity":"rim","map":"participation[typeCode=SBJ]"},{"identity":"w5","map":"FiveWs.subject"}]},{"id":"Observation.encounter","path":"Observation.encounter","short":"Healthcare event during which this observation is made","definition":"The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.","comment":"This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).","requirements":"For some observations it may be important to know the link between an observation and a particular encounter.","alias":["Context"],"min":0,"max":"1","base":{"path":"Observation.encounter","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Encounter"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.context"},{"identity":"w5","map":"FiveWs.context"},{"identity":"v2","map":"PV1"},{"identity":"rim","map":"inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"}]},{"id":"Observation.effective[x]","path":"Observation.effective[x]","short":"Often just a dateTime for Vital Signs","definition":"Often just a dateTime for Vital Signs.","comment":"At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.","requirements":"Knowing when an observation was deemed true is important to its relevance as well as determining trends.","alias":["Occurrence"],"min":1,"max":"1","base":{"path":"Observation.effective[x]","min":0,"max":"1"},"type":[{"code":"dateTime"},{"code":"Period"}],"condition":["vs-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"vs-1","severity":"error","human":"if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day","expression":"($this as dateTime).toString().length() >= 8","xpath":"f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.occurrence[x]"},{"identity":"w5","map":"FiveWs.done[x]"},{"identity":"v2","map":"OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)"},{"identity":"rim","map":"effectiveTime"}]},{"id":"Observation.issued","path":"Observation.issued","short":"Date/Time this version was made available","definition":"The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.","comment":"For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.","min":0,"max":"1","base":{"path":"Observation.issued","min":0,"max":"1"},"type":[{"code":"instant"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.recorded"},{"identity":"v2","map":"OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)"},{"identity":"rim","map":"participation[typeCode=AUT].time"}]},{"id":"Observation.performer","path":"Observation.performer","short":"Who is responsible for the observation","definition":"Who was responsible for asserting the observed value as \"true\".","requirements":"May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.","min":0,"max":"*","base":{"path":"Observation.performer","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.performer.actor"},{"identity":"w5","map":"FiveWs.actor"},{"identity":"v2","map":"OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'"},{"identity":"rim","map":"participation[typeCode=PRF]"}]},{"id":"Observation.value[x]","path":"Observation.value[x]","slicing":{"discriminator":[{"type":"type","path":"$this"}],"ordered":false,"rules":"closed"},"short":"Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.","definition":"Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.","comment":"An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.","requirements":"9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).","min":0,"max":"1","base":{"path":"Observation.value[x]","min":0,"max":"1"},"type":[{"code":"Quantity"}],"condition":["obs-7","vs-2"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"sct-concept","map":"< 441742003 |Evaluation finding|"},{"identity":"v2","map":"OBX.2, OBX.5, OBX.6"},{"identity":"rim","map":"value"},{"identity":"sct-attr","map":"363714003 |Interprets|"}]},{"id":"Observation.value[x]:valueQuantity","path":"Observation.value[x]","sliceName":"valueQuantity","short":"Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.","definition":"Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.","comment":"An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.","requirements":"9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).","min":0,"max":"1","base":{"path":"Observation.value[x]","min":0,"max":"1"},"type":[{"code":"Quantity"}],"condition":["obs-7","vs-2"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"sct-concept","map":"< 441742003 |Evaluation finding|"},{"identity":"v2","map":"OBX.2, OBX.5, OBX.6"},{"identity":"rim","map":"value"},{"identity":"sct-attr","map":"363714003 |Interprets|"}]},{"id":"Observation.value[x]:valueQuantity.id","path":"Observation.value[x].id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.value[x]:valueQuantity.extension","path":"Observation.value[x].extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.value[x]:valueQuantity.value","path":"Observation.value[x].value","short":"Numerical value (with implicit precision)","definition":"The value of the measured amount. The value includes an implicit precision in the presentation of the value.","comment":"The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).","requirements":"Precision is handled implicitly in almost all cases of measurement.","min":1,"max":"1","base":{"path":"Quantity.value","min":0,"max":"1"},"type":[{"code":"decimal"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"SN.2 / CQ - N/A"},{"identity":"rim","map":"PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"}]},{"id":"Observation.value[x]:valueQuantity.comparator","path":"Observation.value[x].comparator","short":"< | <= | >= | > - how to understand the value","definition":"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.","requirements":"Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.","min":0,"max":"1","base":{"path":"Quantity.comparator","min":0,"max":"1"},"type":[{"code":"code"}],"meaningWhenMissing":"If there is no comparator, then there is no modification of the value","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"QuantityComparator"}],"strength":"required","description":"How the Quantity should be understood and represented.","valueSet":"http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1"},"mapping":[{"identity":"v2","map":"SN.1 / CQ.1"},{"identity":"rim","map":"IVL properties"}]},{"id":"Observation.value[x]:valueQuantity.unit","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable","valueBoolean":true}],"path":"Observation.value[x].unit","short":"Unit representation","definition":"A human-readable form of the unit.","requirements":"There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.","min":1,"max":"1","base":{"path":"Quantity.unit","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"(see OBX.6 etc.) / CQ.2"},{"identity":"rim","map":"PQ.unit"}]},{"id":"Observation.value[x]:valueQuantity.system","path":"Observation.value[x].system","short":"System that defines coded unit form","definition":"The identification of the system that provides the coded form of the unit.","requirements":"Need to know the system that defines the coded form of the unit.","min":1,"max":"1","base":{"path":"Quantity.system","min":0,"max":"1"},"type":[{"code":"uri"}],"fixedUri":"http://unitsofmeasure.org","condition":["qty-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"(see OBX.6 etc.) / CQ.2"},{"identity":"rim","map":"CO.codeSystem, PQ.translation.codeSystem"}]},{"id":"Observation.value[x]:valueQuantity.code","path":"Observation.value[x].code","short":"Coded responses from the common UCUM units for vital signs value set.","definition":"A computer processable form of the unit in some unit representation system.","comment":"The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.","requirements":"Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.","min":1,"max":"1","base":{"path":"Quantity.code","min":0,"max":"1"},"type":[{"code":"code"}],"fixedCode":"%","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"(see OBX.6 etc.) / CQ.2"},{"identity":"rim","map":"PQ.code, MO.currency, PQ.translation.code"}]},{"id":"Observation.dataAbsentReason","path":"Observation.dataAbsentReason","short":"Why the result is missing","definition":"Provides a reason why the expected value in the element Observation.value[x] is missing.","comment":"Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.","requirements":"For many results it is necessary to handle exceptional values in measurements.","min":0,"max":"1","base":{"path":"Observation.dataAbsentReason","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["obs-6","vs-2"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationValueAbsentReason"}],"strength":"extensible","description":"Codes specifying why the result (`Observation.value[x]`) is missing.","valueSet":"http://hl7.org/fhir/ValueSet/data-absent-reason"},"mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"value.nullFlavor"}]},{"id":"Observation.interpretation","path":"Observation.interpretation","short":"High, low, normal, etc.","definition":"A categorical assessment of an observation value. For example, high, low, normal.","comment":"Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.","requirements":"For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.","alias":["Abnormal Flag"],"min":0,"max":"*","base":{"path":"Observation.interpretation","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationInterpretation"}],"strength":"extensible","description":"Codes identifying interpretations of observations.","valueSet":"http://hl7.org/fhir/ValueSet/observation-interpretation"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values|"},{"identity":"v2","map":"OBX-8"},{"identity":"rim","map":"interpretationCode"},{"identity":"sct-attr","map":"363713009 |Has interpretation|"}]},{"id":"Observation.note","path":"Observation.note","short":"Comments about the observation","definition":"Comments about the observation or the results.","comment":"May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.","requirements":"Need to be able to provide free text additional information.","min":0,"max":"*","base":{"path":"Observation.note","min":0,"max":"*"},"type":[{"code":"Annotation"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)"},{"identity":"rim","map":"subjectOf.observationEvent[code=\"annotation\"].value"}]},{"id":"Observation.bodySite","path":"Observation.bodySite","short":"Observed body part","definition":"Indicates the site on the subject's body where the observation was made (i.e. the target site).","comment":"Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).","min":0,"max":"1","base":{"path":"Observation.bodySite","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"BodySite"}],"strength":"example","description":"Codes describing anatomical locations. May include laterality.","valueSet":"http://hl7.org/fhir/ValueSet/body-site"},"mapping":[{"identity":"sct-concept","map":"< 123037004 |Body structure|"},{"identity":"v2","map":"OBX-20"},{"identity":"rim","map":"targetSiteCode"},{"identity":"sct-attr","map":"718497002 |Inherent location|"}]},{"id":"Observation.method","path":"Observation.method","short":"How it was done","definition":"Indicates the mechanism used to perform the observation.","comment":"Only used if not implicit in code for Observation.code.","requirements":"In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.","min":0,"max":"1","base":{"path":"Observation.method","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationMethod"}],"strength":"example","description":"Methods for simple observations.","valueSet":"http://hl7.org/fhir/ValueSet/observation-methods"},"mapping":[{"identity":"v2","map":"OBX-17"},{"identity":"rim","map":"methodCode"}]},{"id":"Observation.specimen","path":"Observation.specimen","short":"Specimen used for this observation","definition":"The specimen that was used when this observation was made.","comment":"Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).","min":0,"max":"1","base":{"path":"Observation.specimen","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Specimen"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"sct-concept","map":"< 123038009 |Specimen|"},{"identity":"v2","map":"SPM segment"},{"identity":"rim","map":"participation[typeCode=SPC].specimen"},{"identity":"sct-attr","map":"704319004 |Inherent in|"}]},{"id":"Observation.device","path":"Observation.device","short":"(Measurement) Device","definition":"The device used to generate the observation data.","comment":"Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.","min":0,"max":"1","base":{"path":"Observation.device","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/DeviceMetric"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"sct-concept","map":"< 49062001 |Device|"},{"identity":"v2","map":"OBX-17 / PRT -10"},{"identity":"rim","map":"participation[typeCode=DEV]"},{"identity":"sct-attr","map":"424226004 |Using device|"}]},{"id":"Observation.referenceRange","path":"Observation.referenceRange","short":"Provides guide for interpretation","definition":"Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.","comment":"Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.","requirements":"Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.","min":0,"max":"*","base":{"path":"Observation.referenceRange","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"obs-3","severity":"error","human":"Must have at least a low or a high or text","expression":"low.exists() or high.exists() or text.exists()","xpath":"(exists(f:low) or exists(f:high)or exists(f:text))"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX.7"},{"identity":"rim","map":"outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"}]},{"id":"Observation.referenceRange.id","path":"Observation.referenceRange.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.referenceRange.extension","path":"Observation.referenceRange.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.referenceRange.modifierExtension","path":"Observation.referenceRange.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.referenceRange.low","path":"Observation.referenceRange.low","short":"Low Range, if relevant","definition":"The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).","min":0,"max":"1","base":{"path":"Observation.referenceRange.low","min":0,"max":"1"},"type":[{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"condition":["obs-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-7"},{"identity":"rim","map":"value:IVL_PQ.low"}]},{"id":"Observation.referenceRange.high","path":"Observation.referenceRange.high","short":"High Range, if relevant","definition":"The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).","min":0,"max":"1","base":{"path":"Observation.referenceRange.high","min":0,"max":"1"},"type":[{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"condition":["obs-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-7"},{"identity":"rim","map":"value:IVL_PQ.high"}]},{"id":"Observation.referenceRange.type","path":"Observation.referenceRange.type","short":"Reference range qualifier","definition":"Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.","comment":"This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.","requirements":"Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.","min":0,"max":"1","base":{"path":"Observation.referenceRange.type","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationRangeMeaning"}],"strength":"preferred","description":"Code for the meaning of a reference range.","valueSet":"http://hl7.org/fhir/ValueSet/referencerange-meaning"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|"},{"identity":"v2","map":"OBX-10"},{"identity":"rim","map":"interpretationCode"}]},{"id":"Observation.referenceRange.appliesTo","path":"Observation.referenceRange.appliesTo","short":"Reference range population","definition":"Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.","comment":"This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.","requirements":"Need to be able to identify the target population for proper interpretation.","min":0,"max":"*","base":{"path":"Observation.referenceRange.appliesTo","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationRangeType"}],"strength":"example","description":"Codes identifying the population the reference range applies to.","valueSet":"http://hl7.org/fhir/ValueSet/referencerange-appliesto"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|"},{"identity":"v2","map":"OBX-10"},{"identity":"rim","map":"interpretationCode"}]},{"id":"Observation.referenceRange.age","path":"Observation.referenceRange.age","short":"Applicable age range, if relevant","definition":"The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.","requirements":"Some analytes vary greatly over age.","min":0,"max":"1","base":{"path":"Observation.referenceRange.age","min":0,"max":"1"},"type":[{"code":"Range"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value"}]},{"id":"Observation.referenceRange.text","path":"Observation.referenceRange.text","short":"Text based reference range in an observation","definition":"Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".","min":0,"max":"1","base":{"path":"Observation.referenceRange.text","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-7"},{"identity":"rim","map":"value:ST"}]},{"id":"Observation.hasMember","path":"Observation.hasMember","short":"Used when reporting vital signs panel components","definition":"Used when reporting vital signs panel components.","comment":"When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.","min":0,"max":"*","base":{"path":"Observation.hasMember","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","http://hl7.org/fhir/StructureDefinition/MolecularSequence","http://hl7.org/fhir/StructureDefinition/vitalsigns"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"Relationships established by OBX-4 usage"},{"identity":"rim","map":"outBoundRelationship"}]},{"id":"Observation.derivedFrom","path":"Observation.derivedFrom","short":"Related measurements the observation is made from","definition":"The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.","comment":"All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.","min":0,"max":"*","base":{"path":"Observation.derivedFrom","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/ImagingStudy","http://hl7.org/fhir/StructureDefinition/Media","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","http://hl7.org/fhir/StructureDefinition/MolecularSequence","http://hl7.org/fhir/StructureDefinition/vitalsigns"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"Relationships established by OBX-4 usage"},{"identity":"rim","map":".targetObservation"}]},{"id":"Observation.component","path":"Observation.component","short":"Used when reporting systolic and diastolic blood pressure.","definition":"Used when reporting systolic and diastolic blood pressure.","comment":"For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.","requirements":"Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.","min":0,"max":"*","base":{"path":"Observation.component","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"vs-3","severity":"error","human":"If there is no a value a data absent reason must be present","expression":"value.exists() or dataAbsentReason.exists()","xpath":"f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"containment by OBX-4?"},{"identity":"rim","map":"outBoundRelationship[typeCode=COMP]"}]},{"id":"Observation.component.id","path":"Observation.component.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.component.extension","path":"Observation.component.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.component.modifierExtension","path":"Observation.component.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.component.code","path":"Observation.component.code","short":"Type of component observation (code / type)","definition":"Describes what was observed. Sometimes this is called the observation \"code\".","comment":"*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.","requirements":"Knowing what kind of observation is being made is essential to understanding the observation.","min":1,"max":"1","base":{"path":"Observation.component.code","min":1,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"VitalSigns"}],"strength":"extensible","description":"This identifies the vital sign result type.","valueSet":"http://hl7.org/fhir/ValueSet/observation-vitalsignresult"},"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"sct-concept","map":"< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|"},{"identity":"v2","map":"OBX-3"},{"identity":"rim","map":"code"}]},{"id":"Observation.component.value[x]","path":"Observation.component.value[x]","short":"Vital Sign Value recorded with UCUM","definition":"Vital Sign Value recorded with UCUM.","comment":"Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.","requirements":"9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).","min":0,"max":"1","base":{"path":"Observation.component.value[x]","min":0,"max":"1"},"type":[{"code":"Quantity"},{"code":"CodeableConcept"},{"code":"string"},{"code":"boolean"},{"code":"integer"},{"code":"Range"},{"code":"Ratio"},{"code":"SampledData"},{"code":"time"},{"code":"dateTime"},{"code":"Period"}],"condition":["vs-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"VitalSignsUnits"}],"strength":"required","description":"Common UCUM units for recording Vital Signs.","valueSet":"http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1"},"mapping":[{"identity":"sct-concept","map":"363714003 |Interprets| < 441742003 |Evaluation finding|"},{"identity":"v2","map":"OBX.2, OBX.5, OBX.6"},{"identity":"rim","map":"value"},{"identity":"sct-attr","map":"363714003 |Interprets|"}]},{"id":"Observation.component.dataAbsentReason","path":"Observation.component.dataAbsentReason","short":"Why the component result is missing","definition":"Provides a reason why the expected value in the element Observation.component.value[x] is missing.","comment":"\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.","requirements":"For many results it is necessary to handle exceptional values in measurements.","min":0,"max":"1","base":{"path":"Observation.component.dataAbsentReason","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["obs-6","vs-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationValueAbsentReason"}],"strength":"extensible","description":"Codes specifying why the result (`Observation.value[x]`) is missing.","valueSet":"http://hl7.org/fhir/ValueSet/data-absent-reason"},"mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"value.nullFlavor"}]},{"id":"Observation.component.interpretation","path":"Observation.component.interpretation","short":"High, low, normal, etc.","definition":"A categorical assessment of an observation value. For example, high, low, normal.","comment":"Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.","requirements":"For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.","alias":["Abnormal Flag"],"min":0,"max":"*","base":{"path":"Observation.component.interpretation","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationInterpretation"}],"strength":"extensible","description":"Codes identifying interpretations of observations.","valueSet":"http://hl7.org/fhir/ValueSet/observation-interpretation"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values|"},{"identity":"v2","map":"OBX-8"},{"identity":"rim","map":"interpretationCode"},{"identity":"sct-attr","map":"363713009 |Has interpretation|"}]},{"id":"Observation.component.referenceRange","path":"Observation.component.referenceRange","short":"Provides guide for interpretation of component result","definition":"Guidance on how to interpret the value by comparison to a normal or recommended range.","comment":"Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.","requirements":"Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.","min":0,"max":"*","base":{"path":"Observation.component.referenceRange","min":0,"max":"*"},"contentReference":"#Observation.referenceRange","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX.7"},{"identity":"rim","map":"outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"}]}]},"differential":{"element":[{"id":"Observation","path":"Observation","definition":"This profile defines how to represent Weight-for-length per age and gender observations in FHIR using a standard LOINC code and UCUM units of measure.","mustSupport":false},{"id":"Observation.code","path":"Observation.code","short":"Weight-for-length per age and gender","comment":"additional codes that translate or map to this code are allowed. For example a more granular LOINC code or code that is used locally in a system.","alias":["Test","Name"],"min":1,"max":"1","type":[{"code":"CodeableConcept"}],"patternCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"77606-2"}]},"mustSupport":true},{"id":"Observation.subject","path":"Observation.subject","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true},{"id":"Observation.valueQuantity","path":"Observation.valueQuantity","min":0,"max":"1","mustSupport":true},{"id":"Observation.valueQuantity.value","path":"Observation.valueQuantity.value","min":1,"max":"1","type":[{"code":"decimal"}],"mustSupport":true},{"id":"Observation.valueQuantity.unit","path":"Observation.valueQuantity.unit","min":1,"max":"1","type":[{"code":"string"}],"mustSupport":true},{"id":"Observation.valueQuantity.system","path":"Observation.valueQuantity.system","min":1,"max":"1","type":[{"code":"uri"}],"fixedUri":"http://unitsofmeasure.org","mustSupport":true},{"id":"Observation.valueQuantity.code","path":"Observation.valueQuantity.code","short":"Coded responses from the common UCUM units for vital signs value set.","min":1,"max":"1","type":[{"code":"code"}],"fixedCode":"%","mustSupport":true}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-allergyintolerance.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-allergyintolerance.json deleted file mode 100644 index 6d7db20f4c3..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-allergyintolerance.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-allergyintolerance","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" AllergyIntolerance 0..*AllergyIntoleranceAllergy or Intolerance (generally: Risk of adverse reaction to a substance)
\".\"\".\"\".\" clinicalStatus S0..1CodeableConceptactive | inactive | resolved
Binding: AllergyIntoleranceClinicalStatusCodes (required)
\".\"\".\"\".\" verificationStatus S0..1CodeableConceptunconfirmed | confirmed | refuted | entered-in-error
Binding: AllergyIntoleranceVerificationStatusCodes (required)
\".\"\".\"\".\" code S1..1CodeableConceptCode that identifies the allergy or intolerance
Binding: US Core Common substances for allergy and intolerance documentation including refutations (extensible)
\".\"\".\"\".\" patient S1..1Reference(US Core Patient Profile)Who the sensitivity is for
\".\"\".\"\".\" reaction S0..*BackboneElementAdverse Reaction Events linked to exposure to substance
\".\"\".\"\".\"\".\" manifestation S1..*CodeableConceptClinical symptoms/signs associated with the Event
Binding: SNOMEDCTClinicalFindings (extensible)

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance","version":"3.1.1","name":"USCoreAllergyIntolerance","title":"US Core AllergyIntolerance Profile","status":"active","experimental":false,"date":"2020-06-29","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines constraints and extensions on the AllergyIntolerance resource for the minimal set of data to query and retrieve allergy information.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"argonaut-dq-dstu2","uri":"http://unknown.org/Argonaut-DQ-DSTU2","name":"Argonaut-DQ-DSTU2"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"}],"kind":"resource","abstract":false,"type":"AllergyIntolerance","baseDefinition":"http://hl7.org/fhir/StructureDefinition/AllergyIntolerance","derivation":"constraint","snapshot":{"element":[{"id":"AllergyIntolerance","path":"AllergyIntolerance","short":"Allergy or Intolerance (generally: Risk of adverse reaction to a substance)","definition":"The US Core Allergies Profile is based upon the core FHIR AllergyIntolerance Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medical allergies' requirements.","comment":"Substances include, but are not limited to: a therapeutic substance administered correctly at an appropriate dosage for the individual; food; material derived from plants or animals; or venom from insect stings.","alias":["Allergy","Intolerance","Adverse Reaction"],"min":0,"max":"*","base":{"path":"AllergyIntolerance","min":0,"max":"*"},"constraint":[{"key":"ait-1","severity":"error","human":"AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.","expression":"verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()","xpath":"f:verificationStatus/f:coding/f:code/@value='entered-in-error' or exists(f:clinicalStatus)","source":"http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"},{"key":"ait-2","severity":"error","human":"AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error","expression":"verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()","xpath":"not(f:verificationStatus/f:coding/f:code/@value='entered-in-error') or not(exists(f:clinicalStatus))","source":"http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"},{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"rim","map":"Observation[classCode=OBS, moodCode=EVN]"},{"identity":"argonaut-dq-dstu2","map":"AllergyIntolerance"}]},{"id":"AllergyIntolerance.id","path":"AllergyIntolerance.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"AllergyIntolerance.meta","path":"AllergyIntolerance.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"AllergyIntolerance.implicitRules","path":"AllergyIntolerance.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"AllergyIntolerance.language","path":"AllergyIntolerance.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"AllergyIntolerance.text","path":"AllergyIntolerance.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"AllergyIntolerance.contained","path":"AllergyIntolerance.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"AllergyIntolerance.extension","path":"AllergyIntolerance.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"AllergyIntolerance.modifierExtension","path":"AllergyIntolerance.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"AllergyIntolerance.identifier","path":"AllergyIntolerance.identifier","short":"External ids for this item","definition":"Business identifiers assigned to this AllergyIntolerance by the performer or other systems which remain constant as the resource is updated and propagates from server to server.","comment":"This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.","requirements":"Allows identification of the AllergyIntolerance as it is known by various participating systems and in a way that remains consistent across servers.","min":0,"max":"*","base":{"path":"AllergyIntolerance.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"IAM-7"},{"identity":"rim","map":"id"}]},{"id":"AllergyIntolerance.clinicalStatus","path":"AllergyIntolerance.clinicalStatus","short":"active | inactive | resolved","definition":"The clinical status of the allergy or intolerance.","comment":"Refer to [discussion](http://hl7.org/fhir/R4/extensibility.html#Special-Case) if clincalStatus is missing data.\nThe data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.","min":0,"max":"1","base":{"path":"AllergyIntolerance.clinicalStatus","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["ait-1","ait-2"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the status contains the codes inactive and resolved that mark the AllergyIntolerance as no longer active.","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/allergyintolerance-clinical"},"mapping":[{"identity":"w5","map":"FiveWs.status"},{"identity":"rim","map":"Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"clinicalStatus\", moodCode=EVN].value"},{"identity":"argonaut-dq-dstu2","map":"AllergyIntolerance.status"}]},{"id":"AllergyIntolerance.verificationStatus","path":"AllergyIntolerance.verificationStatus","short":"unconfirmed | confirmed | refuted | entered-in-error","definition":"Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product).","comment":"The data type is CodeableConcept because verificationStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.","min":0,"max":"1","base":{"path":"AllergyIntolerance.verificationStatus","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["ait-1","ait-2"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the status contains the codes refuted and entered-in-error that mark the AllergyIntolerance as not currently valid.","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/allergyintolerance-verification"},"mapping":[{"identity":"w5","map":"FiveWs.status"},{"identity":"rim","map":"Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"verificationStatus\", moodCode=EVN].value"},{"identity":"argonaut-dq-dstu2","map":"AllergyIntolerance.status"}]},{"id":"AllergyIntolerance.type","path":"AllergyIntolerance.type","short":"allergy | intolerance - Underlying mechanism (if known)","definition":"Identification of the underlying physiological mechanism for the reaction risk.","comment":"Allergic (typically immune-mediated) reactions have been traditionally regarded as an indicator for potential escalation to significant future risk. Contemporary knowledge suggests that some reactions previously thought to be immune-mediated are, in fact, non-immune, but in some cases can still pose a life threatening risk. It is acknowledged that many clinicians might not be in a position to distinguish the mechanism of a particular reaction. Often the term \"allergy\" is used rather generically and may overlap with the use of \"intolerance\" - in practice the boundaries between these two concepts might not be well-defined or understood. This data element is included nevertheless, because many legacy systems have captured this attribute. Immunologic testing may provide supporting evidence for the basis of the reaction and the causative substance, but no tests are 100% sensitive or specific for sensitivity to a particular substance. If, as is commonly the case, it is unclear whether the reaction is due to an allergy or an intolerance, then the type element should be omitted from the resource.","alias":["Category","Class"],"min":0,"max":"1","base":{"path":"AllergyIntolerance.type","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"AllergyIntoleranceType"}],"strength":"required","description":"Identification of the underlying physiological mechanism for a Reaction Risk.","valueSet":"http://hl7.org/fhir/ValueSet/allergy-intolerance-type|4.0.1"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"v2","map":"IAM-9"},{"identity":"rim","map":"code"}]},{"id":"AllergyIntolerance.category","path":"AllergyIntolerance.category","short":"food | medication | environment | biologic","definition":"Category of the identified substance.","comment":"This data element has been included because it is currently being captured in some clinical systems. This data can be derived from the substance where coding systems are used, and is effectively redundant in that situation. When searching on category, consider the implications of AllergyIntolerance resources without a category. For example, when searching on category = medication, medication allergies that don't have a category valued will not be returned. Refer to [search](http://hl7.org/fhir/R4/search.html) for more information on how to search category with a :missing modifier to get allergies that don't have a category. Additionally, category should be used with caution because category can be subjective based on the sender.","alias":["Category","Type","Reaction Type","Class"],"min":0,"max":"*","base":{"path":"AllergyIntolerance.category","min":0,"max":"*"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"AllergyIntoleranceCategory"}],"strength":"required","description":"Category of an identified substance associated with allergies or intolerances.","valueSet":"http://hl7.org/fhir/ValueSet/allergy-intolerance-category|4.0.1"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"v2","map":"AL1-2"},{"identity":"rim","map":"value < IntoleranceValue (Agent)"}]},{"id":"AllergyIntolerance.criticality","path":"AllergyIntolerance.criticality","short":"low | high | unable-to-assess","definition":"Estimate of the potential clinical harm, or seriousness, of the reaction to the identified substance.","comment":"The default criticality value for any propensity to an adverse reaction should be 'Low Risk', indicating at the very least a relative contraindication to deliberate or voluntary exposure to the substance. 'High Risk' is flagged if the clinician has identified a propensity for a more serious or potentially life-threatening reaction, such as anaphylaxis, and implies an absolute contraindication to deliberate or voluntary exposure to the substance. If this element is missing, the criticality is unknown (though it may be known elsewhere). Systems that capture a severity at the condition level are actually representing the concept of criticality whereas the severity documented at the reaction level is representing the true reaction severity. Existing systems that are capturing both condition criticality and reaction severity may use the term \"severity\" to represent both. Criticality is the worst it could be in the future (i.e. situation-agnostic) whereas severity is situation-dependent.","alias":["Severity","Seriousness","Contra-indication","Risk"],"min":0,"max":"1","base":{"path":"AllergyIntolerance.criticality","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"AllergyIntoleranceCriticality"}],"strength":"required","description":"Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.","valueSet":"http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality|4.0.1"},"mapping":[{"identity":"w5","map":"FiveWs.grade"},{"identity":"v2","map":"AL1-4"},{"identity":"rim","map":"inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]"}]},{"id":"AllergyIntolerance.code","path":"AllergyIntolerance.code","short":"Code that identifies the allergy or intolerance","definition":"Code for an allergy or intolerance statement (either a positive or a negated/excluded statement). This may be a code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk (e.g., \"Latex\"), an allergy or intolerance condition (e.g., \"Latex allergy\"), or a negated/excluded code for a specific substance or class (e.g., \"No latex allergy\") or a general or categorical negated statement (e.g., \"No known allergy\", \"No known drug allergies\"). Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'. If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance.","comment":"It is strongly recommended that this element be populated using a terminology, where possible. For example, some terminologies used include RxNorm, SNOMED CT, DM+D, NDFRT, ICD-9, IDC-10, UNII, and ATC. Plain text should only be used if there is no appropriate terminology available. Additional details can be specified in the text.\r\rWhen a substance or product code is specified for the 'code' element, the \"default\" semantic context is that this is a positive statement of an allergy or intolerance (depending on the value of the 'type' element, if present) condition to the specified substance/product. In the corresponding SNOMED CT allergy model, the specified substance/product is the target (destination) of the \"Causative agent\" relationship.\r\rThe 'substanceExposureRisk' extension is available as a structured and more flexible alternative to the 'code' element for making positive or negative allergy or intolerance statements. This extension provides the capability to make \"no known allergy\" (or \"no risk of adverse reaction\") statements regarding any coded substance/product (including cases when a pre-coordinated \"no allergy to x\" concept for that substance/product does not exist). If the 'substanceExposureRisk' extension is present, the AllergyIntolerance.code element SHALL be omitted.","alias":["Code"],"min":1,"max":"1","base":{"path":"AllergyIntolerance.code","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-allergy-substance"},"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"v2","map":"AL1-3 / IAM-3"},{"identity":"rim","map":"substance/product:\r\r.participation[typeCode=CAGNT].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]\r\rnegated/excluded substance/product:\r\r.participation[typeCode=CAGNT, negationInd=true].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]\r\rpositive or negated/excluded condition/situation:\r\rObservation.code=ASSERTION; Observation.value"},{"identity":"argonaut-dq-dstu2","map":"AllergyIntolerance.substance"}]},{"id":"AllergyIntolerance.patient","path":"AllergyIntolerance.patient","short":"Who the sensitivity is for","definition":"The patient who has the allergy or intolerance.","alias":["Patient"],"min":1,"max":"1","base":{"path":"AllergyIntolerance.patient","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"(PID-3)"},{"identity":"rim","map":".participation[typeCode=SBJ].role[classCode=PAT]"},{"identity":"w5","map":"FiveWs.subject"},{"identity":"argonaut-dq-dstu2","map":"AllergyIntolerance.patient"}]},{"id":"AllergyIntolerance.encounter","path":"AllergyIntolerance.encounter","short":"Encounter when the allergy or intolerance was asserted","definition":"The encounter when the allergy or intolerance was asserted.","min":0,"max":"1","base":{"path":"AllergyIntolerance.encounter","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Encounter"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.context"},{"identity":"rim","map":".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"}]},{"id":"AllergyIntolerance.onset[x]","path":"AllergyIntolerance.onset[x]","short":"When allergy or intolerance was identified","definition":"Estimated or actual date, date-time, or age when allergy or intolerance was identified.","min":0,"max":"1","base":{"path":"AllergyIntolerance.onset[x]","min":0,"max":"1"},"type":[{"code":"dateTime"},{"code":"Age"},{"code":"Period"},{"code":"Range"},{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.init"},{"identity":"rim","map":"effectiveTime.low"}]},{"id":"AllergyIntolerance.recordedDate","path":"AllergyIntolerance.recordedDate","short":"Date first version of the resource instance was recorded","definition":"The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date.","min":0,"max":"1","base":{"path":"AllergyIntolerance.recordedDate","min":0,"max":"1"},"type":[{"code":"dateTime"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.recorded"},{"identity":"v2","map":"IAM-13"},{"identity":"rim","map":".participation[typeCode=AUT].time"}]},{"id":"AllergyIntolerance.recorder","path":"AllergyIntolerance.recorder","short":"Who recorded the sensitivity","definition":"Individual who recorded the record and takes responsibility for its content.","alias":["Author"],"min":0,"max":"1","base":{"path":"AllergyIntolerance.recorder","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.author"},{"identity":"rim","map":".participation[typeCode=AUT].role"}]},{"id":"AllergyIntolerance.asserter","path":"AllergyIntolerance.asserter","short":"Source of the information about the allergy","definition":"The source of the information about the allergy that is recorded.","comment":"The recorder takes responsibility for the content, but can reference the source from where they got it.","alias":["Source","Informant"],"min":0,"max":"1","base":{"path":"AllergyIntolerance.asserter","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.source"},{"identity":"v2","map":"IAM-14 (if patient) / IAM-18 (if practitioner)"},{"identity":"rim","map":".participation[typeCode=INF].role"}]},{"id":"AllergyIntolerance.lastOccurrence","path":"AllergyIntolerance.lastOccurrence","short":"Date(/time) of last known occurrence of a reaction","definition":"Represents the date and/or time of the last known occurrence of a reaction event.","comment":"This date may be replicated by one of the Onset of Reaction dates. Where a textual representation of the date of last occurrence is required e.g. 'In Childhood, '10 years ago' the Comment element should be used.","min":0,"max":"1","base":{"path":"AllergyIntolerance.lastOccurrence","min":0,"max":"1"},"type":[{"code":"dateTime"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)].effectiveTime"}]},{"id":"AllergyIntolerance.note","path":"AllergyIntolerance.note","short":"Additional text not captured in other fields","definition":"Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.","comment":"For example: including reason for flagging a seriousness of 'High Risk'; and instructions related to future exposure or administration of the substance, such as administration within an Intensive Care Unit or under corticosteroid cover. The notes should be related to an allergy or intolerance as a condition in general and not related to any particular episode of it. For episode notes and descriptions, use AllergyIntolerance.event.description and AllergyIntolerance.event.notes.","min":0,"max":"*","base":{"path":"AllergyIntolerance.note","min":0,"max":"*"},"type":[{"code":"Annotation"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"subjectOf.observationEvent[code=\"annotation\"].value"}]},{"id":"AllergyIntolerance.reaction","path":"AllergyIntolerance.reaction","short":"Adverse Reaction Events linked to exposure to substance","definition":"Details about each adverse reaction event linked to exposure to the identified substance.","min":0,"max":"*","base":{"path":"AllergyIntolerance.reaction","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]"}]},{"id":"AllergyIntolerance.reaction.id","path":"AllergyIntolerance.reaction.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"AllergyIntolerance.reaction.extension","path":"AllergyIntolerance.reaction.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"AllergyIntolerance.reaction.modifierExtension","path":"AllergyIntolerance.reaction.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"AllergyIntolerance.reaction.substance","path":"AllergyIntolerance.reaction.substance","short":"Specific substance or pharmaceutical product considered to be responsible for event","definition":"Identification of the specific substance (or pharmaceutical product) considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'. If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance.","comment":"Coding of the specific substance (or pharmaceutical product) with a terminology capable of triggering decision support should be used wherever possible. The 'code' element allows for the use of a specific substance or pharmaceutical product, or a group or class of substances. In the case of an allergy or intolerance to a class of substances, (for example, \"penicillins\"), the 'reaction.substance' element could be used to code the specific substance that was identified as having caused the reaction (for example, \"amoxycillin\"). Duplication of the value in the 'code' and 'reaction.substance' elements is acceptable when a specific substance has been recorded in 'code'.","min":0,"max":"1","base":{"path":"AllergyIntolerance.reaction.substance","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"SubstanceCode"}],"strength":"example","description":"Codes defining the type of the substance (including pharmaceutical products).","valueSet":"http://hl7.org/fhir/ValueSet/substance-code"},"mapping":[{"identity":"rim","map":"outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].participation[typeCode=CSM].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]"}]},{"id":"AllergyIntolerance.reaction.manifestation","path":"AllergyIntolerance.reaction.manifestation","short":"Clinical symptoms/signs associated with the Event","definition":"Clinical symptoms and/or signs that are observed or associated with the adverse reaction event.","comment":"Manifestation can be expressed as a single word, phrase or brief description. For example: nausea, rash or no reaction. It is preferable that manifestation should be coded with a terminology, where possible. The values entered here may be used to display on an application screen as part of a list of adverse reactions, as recommended in the UK NHS CUI guidelines. Terminologies commonly used include, but are not limited to, SNOMED CT or ICD10.","alias":["Symptoms","Signs"],"min":1,"max":"*","base":{"path":"AllergyIntolerance.reaction.manifestation","min":1,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/clinical-findings"},"mapping":[{"identity":"v2","map":"AL1-5"},{"identity":"rim","map":"code"}]},{"id":"AllergyIntolerance.reaction.description","path":"AllergyIntolerance.reaction.description","short":"Description of the event as a whole","definition":"Text description about the reaction as a whole, including details of the manifestation if required.","comment":"Use the description to provide any details of a particular event of the occurred reaction such as circumstances, reaction specifics, what happened before/after. Information, related to the event, but not describing a particular care should be captured in the comment field. For example: at the age of four, the patient was given penicillin for strep throat and subsequently developed severe hives.","alias":["Narrative","Text"],"min":0,"max":"1","base":{"path":"AllergyIntolerance.reaction.description","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"text"}]},{"id":"AllergyIntolerance.reaction.onset","path":"AllergyIntolerance.reaction.onset","short":"Date(/time) when manifestations showed","definition":"Record of the date and/or time of the onset of the Reaction.","min":0,"max":"1","base":{"path":"AllergyIntolerance.reaction.onset","min":0,"max":"1"},"type":[{"code":"dateTime"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"AL1-6"},{"identity":"rim","map":"effectiveTime.low"}]},{"id":"AllergyIntolerance.reaction.severity","path":"AllergyIntolerance.reaction.severity","short":"mild | moderate | severe (of event as a whole)","definition":"Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations.","comment":"It is acknowledged that this assessment is very subjective. There may be some specific practice domains where objective scales have been applied. Objective scales can be included in this model as extensions.","min":0,"max":"1","base":{"path":"AllergyIntolerance.reaction.severity","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"AllergyIntoleranceSeverity"}],"strength":"required","description":"Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.","valueSet":"http://hl7.org/fhir/ValueSet/reaction-event-severity|4.0.1"},"mapping":[{"identity":"rim","map":"inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]"}]},{"id":"AllergyIntolerance.reaction.exposureRoute","path":"AllergyIntolerance.reaction.exposureRoute","short":"How the subject was exposed to the substance","definition":"Identification of the route by which the subject was exposed to the substance.","comment":"Coding of the route of exposure with a terminology should be used wherever possible.","min":0,"max":"1","base":{"path":"AllergyIntolerance.reaction.exposureRoute","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"RouteOfAdministration"}],"strength":"example","description":"A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.","valueSet":"http://hl7.org/fhir/ValueSet/route-codes"},"mapping":[{"identity":"rim","map":"outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].routeCode"}]},{"id":"AllergyIntolerance.reaction.note","path":"AllergyIntolerance.reaction.note","short":"Text about event not captured in other fields","definition":"Additional text about the adverse reaction event not captured in other fields.","comment":"Use this field to record information indirectly related to a particular event and not captured in the description. For example: Clinical records are no longer available, recorded based on information provided to the patient by her mother and her mother is deceased.","min":0,"max":"*","base":{"path":"AllergyIntolerance.reaction.note","min":0,"max":"*"},"type":[{"code":"Annotation"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"subjectOf.observationEvent[code=\"annotation\"].value"}]}]},"differential":{"element":[{"id":"AllergyIntolerance","path":"AllergyIntolerance","definition":"The US Core Allergies Profile is based upon the core FHIR AllergyIntolerance Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medical allergies' requirements.","mustSupport":false,"mapping":[{"identity":"argonaut-dq-dstu2","map":"AllergyIntolerance"}]},{"id":"AllergyIntolerance.clinicalStatus","path":"AllergyIntolerance.clinicalStatus","min":0,"max":"1","mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/allergyintolerance-clinical"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"AllergyIntolerance.status"}]},{"id":"AllergyIntolerance.verificationStatus","path":"AllergyIntolerance.verificationStatus","min":0,"max":"1","mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/allergyintolerance-verification"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"AllergyIntolerance.status"}]},{"id":"AllergyIntolerance.code","path":"AllergyIntolerance.code","min":1,"max":"1","mustSupport":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-allergy-substance"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"AllergyIntolerance.substance"}]},{"id":"AllergyIntolerance.patient","path":"AllergyIntolerance.patient","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"AllergyIntolerance.patient"}]},{"id":"AllergyIntolerance.reaction","path":"AllergyIntolerance.reaction","min":0,"max":"*","mustSupport":true},{"id":"AllergyIntolerance.reaction.manifestation","path":"AllergyIntolerance.reaction.manifestation","min":1,"max":"*","mustSupport":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/clinical-findings"}}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-birthsex.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-birthsex.json deleted file mode 100644 index ab01d9a4844..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-birthsex.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-birthsex","text":{"status":"extensions","div":"
\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Extension 0..1ExtensionExtension
\".\"\".\"\".\" url 1..1uri"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"
\".\"\".\"\".\" valueCode 1..1codeValue of extension
Binding: Birth Sex (required)

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex","version":"3.1.1","name":"USCoreBirthSexExtension","title":"US Core Birth Sex Extension","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc). This extension aligns with the C-CDA Birth Sex Observation (LOINC 76689-9).","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"}],"kind":"complex-type","abstract":false,"context":[{"type":"element","expression":"Patient"}],"type":"Extension","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Extension","derivation":"constraint","snapshot":{"element":[{"id":"Extension","path":"Extension","short":"Extension","definition":"A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc).","comment":"The codes required are intended to present birth sex (i.e., the sex recorded on the patient’s birth certificate) and not gender identity or reassigned sex.","min":0,"max":"1","base":{"path":"Extension","min":0,"max":"*"},"condition":["ele-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"mapping":[{"identity":"rim","map":"player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"},{"identity":"iso11179","map":".patient.administrativeGenderCode"}]},{"id":"Extension.id","path":"Extension.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension","path":"Extension.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.url","path":"Extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","definition":"Source of the definition for the extension code - a logical name or a URL.","comment":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","min":1,"max":"1","base":{"path":"Extension.url","min":1,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"uri"}],"code":"http://hl7.org/fhirpath/System.String"}],"fixedUri":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex","isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.value[x]","path":"Extension.value[x]","slicing":{"discriminator":[{"type":"type","path":"$this"}],"ordered":false,"rules":"closed"},"short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":1,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.value[x]:valueCode","path":"Extension.value[x]","sliceName":"valueCode","short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":1,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"strength":"required","description":"Code for sex assigned at birth","valueSet":"http://hl7.org/fhir/us/core/ValueSet/birthsex"},"mapping":[{"identity":"rim","map":"N/A"}]}]},"differential":{"element":[{"id":"Extension","path":"Extension","definition":"A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc).","comment":"The codes required are intended to present birth sex (i.e., the sex recorded on the patient’s birth certificate) and not gender identity or reassigned sex.","min":0,"max":"1","isModifier":false,"mapping":[{"identity":"rim","map":"player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"},{"identity":"iso11179","map":".patient.administrativeGenderCode"}]},{"id":"Extension.url","path":"Extension.url","fixedUri":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"},{"id":"Extension.valueCode","path":"Extension.valueCode","min":1,"max":"1","type":[{"code":"code"}],"binding":{"strength":"required","description":"Code for sex assigned at birth","valueSet":"http://hl7.org/fhir/us/core/ValueSet/birthsex"}}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-careplan.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-careplan.json deleted file mode 100644 index 2e0c7722796..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-careplan.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-careplan","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" CarePlan 0..*CarePlanHealthcare plan for patient or group
\".\"\".\"\".\" text S1..1NarrativeText summary of the resource, for human interpretation
\".\"\".\"\".\"\".\" status S1..1codegenerated | extensions | additional | empty
Binding: US Core Narrative Status (required)
\".\"\".\"\".\" status S1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required)
\".\"\".\"\".\" intent S1..1codeproposal | plan | order | option
Binding: CarePlanIntent (required)
\".\"\".\"\".\" category S1..*(Slice Definition)Type of plan
Slice: Unordered, Open by pattern:$this
\".\"\".\"\".\"\".\" category:AssessPlan S1..1CodeableConceptType of plan
Required Pattern: At least the following
\".\"\".\"\".\"\".\"\".\" coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
\".\"\".\"\".\"\".\"\".\"\".\" system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/core/CodeSystem/careplan-category
\".\"\".\"\".\"\".\"\".\"\".\" code1..1codeSymbol in syntax defined by the system
Fixed Value: assess-plan
\".\"\".\"\".\" subject S1..1Reference(US Core Patient Profile)Who the care plan is for

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan","version":"3.1.1","name":"USCoreCarePlanProfile","title":"US Core CarePlan Profile","status":"active","experimental":false,"date":"2019-08-29","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines constraints and extensions on the CarePlan resource for the minimal set of data to query and retrieve a patient's Care Plan.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"argonaut-dq-dstu2","uri":"http://unknown.org/Argonaut-DQ-DSTU2","name":"Argonaut-DQ-DSTU2"},{"identity":"workflow","uri":"http://hl7.org/fhir/workflow","name":"Workflow Pattern"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"}],"kind":"resource","abstract":false,"type":"CarePlan","baseDefinition":"http://hl7.org/fhir/StructureDefinition/CarePlan","derivation":"constraint","snapshot":{"element":[{"id":"CarePlan","path":"CarePlan","short":"Healthcare plan for patient or group","definition":"The US Core CarePlan Profile is based upon the core FHIR CarePlan Resource and created to meet the 2015 Edition Common Clinical Data Set 'Assessment and Plan of Treatment requirements.","alias":["Care Team"],"min":0,"max":"*","base":{"path":"CarePlan","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"workflow","map":"Request"},{"identity":"rim","map":"Act[classCode=PCPR, moodCode=INT]"},{"identity":"argonaut-dq-dstu2","map":"CarePlan"}]},{"id":"CarePlan.id","path":"CarePlan.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"CarePlan.meta","path":"CarePlan.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"CarePlan.implicitRules","path":"CarePlan.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"CarePlan.language","path":"CarePlan.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"CarePlan.text","path":"CarePlan.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":1,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"},{"identity":"argonaut-dq-dstu2","map":"CarePlan.text"}]},{"id":"CarePlan.text.id","path":"CarePlan.text.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"CarePlan.text.extension","path":"CarePlan.text.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"CarePlan.text.status","path":"CarePlan.text.status","short":"generated | extensions | additional | empty","definition":"generated | additional.","min":1,"max":"1","base":{"path":"Narrative.status","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"strength":"required","description":"Constrained value set of narrative statuses.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status"},"mapping":[{"identity":"rim","map":"N/A"},{"identity":"argonaut-dq-dstu2","map":"CarePlan.text.status"}]},{"id":"CarePlan.text.div","path":"CarePlan.text.div","short":"Limited xhtml content","definition":"The actual narrative content, a stripped down version of XHTML.","comment":"The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.","min":1,"max":"1","base":{"path":"Narrative.div","min":1,"max":"1"},"type":[{"code":"xhtml"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"txt-1","severity":"error","human":"The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, elements (either name or href), images and internally contained style attributes","expression":"htmlChecks()","xpath":"not(descendant-or-self::*[not(local-name(.)=('a', 'abbr', 'acronym', 'b', 'big', 'blockquote', 'br', 'caption', 'cite', 'code', 'col', 'colgroup', 'dd', 'dfn', 'div', 'dl', 'dt', 'em', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'li', 'ol', 'p', 'pre', 'q', 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'ul', 'var'))]) and not(descendant-or-self::*/@*[not(name(.)=('abbr', 'accesskey', 'align', 'alt', 'axis', 'bgcolor', 'border', 'cellhalign', 'cellpadding', 'cellspacing', 'cellvalign', 'char', 'charoff', 'charset', 'cite', 'class', 'colspan', 'compact', 'coords', 'dir', 'frame', 'headers', 'height', 'href', 'hreflang', 'hspace', 'id', 'lang', 'longdesc', 'name', 'nowrap', 'rel', 'rev', 'rowspan', 'rules', 'scope', 'shape', 'span', 'src', 'start', 'style', 'summary', 'tabindex', 'title', 'type', 'valign', 'value', 'vspace', 'width'))])"},{"key":"txt-2","severity":"error","human":"The narrative SHALL have some non-whitespace content","expression":"htmlChecks()","xpath":"descendant::text()[normalize-space(.)!=''] or descendant::h:img[@src]"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"CarePlan.contained","path":"CarePlan.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"CarePlan.extension","path":"CarePlan.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"CarePlan.modifierExtension","path":"CarePlan.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"CarePlan.identifier","path":"CarePlan.identifier","short":"External Ids for this plan","definition":"Business identifiers assigned to this care plan by the performer or other systems which remain constant as the resource is updated and propagates from server to server.","comment":"This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.","requirements":"Allows identification of the care plan as it is known by various participating systems and in a way that remains consistent across servers.","min":0,"max":"*","base":{"path":"CarePlan.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Request.identifier"},{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"PTH-3"},{"identity":"rim","map":".id"}]},{"id":"CarePlan.instantiatesCanonical","path":"CarePlan.instantiatesCanonical","short":"Instantiates FHIR protocol or definition","definition":"The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.","min":0,"max":"*","base":{"path":"CarePlan.instantiatesCanonical","min":0,"max":"*"},"type":[{"code":"canonical","targetProfile":["http://hl7.org/fhir/StructureDefinition/PlanDefinition","http://hl7.org/fhir/StructureDefinition/Questionnaire","http://hl7.org/fhir/StructureDefinition/Measure","http://hl7.org/fhir/StructureDefinition/ActivityDefinition","http://hl7.org/fhir/StructureDefinition/OperationDefinition"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Request.instantiatesCanonical"},{"identity":"rim","map":".outboundRelationship[typeCode=DEFN].target"}]},{"id":"CarePlan.instantiatesUri","path":"CarePlan.instantiatesUri","short":"Instantiates external protocol or definition","definition":"The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.","comment":"This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.","min":0,"max":"*","base":{"path":"CarePlan.instantiatesUri","min":0,"max":"*"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Request.instantiatesUri"},{"identity":"rim","map":".outboundRelationship[typeCode=DEFN].target"}]},{"id":"CarePlan.basedOn","path":"CarePlan.basedOn","short":"Fulfills CarePlan","definition":"A care plan that is fulfilled in whole or in part by this care plan.","requirements":"Allows tracing of the care plan and tracking whether proposals/recommendations were acted upon.","alias":["fulfills"],"min":0,"max":"*","base":{"path":"CarePlan.basedOn","min":0,"max":"*"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy","valueBoolean":true}],"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/CarePlan"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Request.basedOn"}]},{"id":"CarePlan.replaces","path":"CarePlan.replaces","short":"CarePlan replaced by this CarePlan","definition":"Completed or terminated care plan whose function is taken by this new care plan.","comment":"The replacement could be because the initial care plan was immediately rejected (due to an issue) or because the previous care plan was completed, but the need for the action described by the care plan remains ongoing.","requirements":"Allows tracing the continuation of a therapy or administrative process instantiated through multiple care plans.","alias":["supersedes"],"min":0,"max":"*","base":{"path":"CarePlan.replaces","min":0,"max":"*"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy","valueBoolean":true}],"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/CarePlan"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Request.replaces"}]},{"id":"CarePlan.partOf","path":"CarePlan.partOf","short":"Part of referenced CarePlan","definition":"A larger care plan of which this particular care plan is a component or step.","comment":"Each care plan is an independent request, such that having a care plan be part of another care plan can cause issues with cascading statuses. As such, this element is still being discussed.","min":0,"max":"*","base":{"path":"CarePlan.partOf","min":0,"max":"*"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy","valueBoolean":true}],"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/CarePlan"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"CarePlan.status","path":"CarePlan.status","short":"draft | active | on-hold | revoked | completed | entered-in-error | unknown","definition":"Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.","comment":"The unknown code is not to be used to convey other statuses. The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the care plan.\n\nThis element is labeled as a modifier because the status contains the code entered-in-error that marks the plan as not currently valid.","requirements":"Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.","min":1,"max":"1","base":{"path":"CarePlan.status","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","description":"Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.","valueSet":"http://hl7.org/fhir/ValueSet/request-status"},"mapping":[{"identity":"workflow","map":"Request.status {uses different ValueSet}"},{"identity":"w5","map":"FiveWs.status"},{"identity":"v2","map":"PTH-5"},{"identity":"rim","map":".statusCode planned = new active = active completed = completed"},{"identity":"argonaut-dq-dstu2","map":"CarePlan.status"}]},{"id":"CarePlan.intent","path":"CarePlan.intent","short":"proposal | plan | order | option","definition":"Indicates the level of authority/intentionality associated with the care plan and where the care plan fits into the workflow chain.","comment":"This element is labeled as a modifier because the intent alters when and how the resource is actually applicable.","requirements":"Proposals/recommendations, plans and orders all use the same structure and can exist in the same fulfillment chain.","min":1,"max":"1","base":{"path":"CarePlan.intent","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element changes the interpretation of all descriptive attributes. For example \"the time the request is recommended to occur\" vs. \"the time the request is authorized to occur\" or \"who is recommended to perform the request\" vs. \"who is authorized to perform the request\"","isSummary":true,"binding":{"strength":"required","description":"Codes indicating the degree of authority/intentionality associated with a care plan","valueSet":"http://hl7.org/fhir/ValueSet/care-plan-intent"},"mapping":[{"identity":"workflow","map":"Request.intent"},{"identity":"argonaut-dq-dstu2","map":"NA (new element in STU3)"}]},{"id":"CarePlan.category","path":"CarePlan.category","slicing":{"discriminator":[{"type":"pattern","path":"$this"}],"rules":"open"},"short":"Type of plan","definition":"Type of plan.","comment":"There may be multiple axes of categorization and one plan may serve multiple purposes. In some cases, this may be redundant with references to CarePlan.concern.","requirements":"Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.","min":1,"max":"*","base":{"path":"CarePlan.category","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"CarePlanCategory"}],"strength":"example","description":"Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", etc.","valueSet":"http://hl7.org/fhir/ValueSet/care-plan-category"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"argonaut-dq-dstu2","map":"CarePlan.category"}]},{"id":"CarePlan.category:AssessPlan","path":"CarePlan.category","sliceName":"AssessPlan","short":"Type of plan","definition":"Type of plan.","comment":"There may be multiple axes of categorization and one plan may serve multiple purposes. In some cases, this may be redundant with references to CarePlan.concern.","requirements":"Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.","min":1,"max":"1","base":{"path":"CarePlan.category","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"patternCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/careplan-category","code":"assess-plan"}]},"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"CarePlanCategory"}],"strength":"example","description":"Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", etc.","valueSet":"http://hl7.org/fhir/ValueSet/care-plan-category"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"argonaut-dq-dstu2","map":"CarePlan.category"}]},{"id":"CarePlan.title","path":"CarePlan.title","short":"Human-friendly name for the care plan","definition":"Human-friendly name for the care plan.","min":0,"max":"1","base":{"path":"CarePlan.title","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"CarePlan.description","path":"CarePlan.description","short":"Summary of nature of plan","definition":"A description of the scope and nature of the plan.","requirements":"Provides more detail than conveyed by category.","min":0,"max":"1","base":{"path":"CarePlan.description","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.what[x]"}]},{"id":"CarePlan.subject","path":"CarePlan.subject","short":"Who the care plan is for","definition":"Who care plan is for.","requirements":"Identifies the patient or group whose intended care is described by the plan.","alias":["patient"],"min":1,"max":"1","base":{"path":"CarePlan.subject","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Request.subject"},{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"PID-3"},{"identity":"rim","map":".participation[typeCode=PAT].role[classCode=PAT]"},{"identity":"w5","map":"FiveWs.subject"},{"identity":"argonaut-dq-dstu2","map":"CarePlan.subject"}]},{"id":"CarePlan.encounter","path":"CarePlan.encounter","short":"Encounter created as part of","definition":"The Encounter during which this CarePlan was created or to which the creation of this record is tightly associated.","comment":"This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter. CarePlan activities conducted as a result of the care plan may well occur as part of other encounters.","min":0,"max":"1","base":{"path":"CarePlan.encounter","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Encounter"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Request.context"},{"identity":"w5","map":"FiveWs.context"},{"identity":"v2","map":"Associated PV1"},{"identity":"rim","map":"."}]},{"id":"CarePlan.period","path":"CarePlan.period","short":"Time period plan covers","definition":"Indicates when the plan did (or is intended to) come into effect and end.","comment":"Any activities scheduled as part of the plan should be constrained to the specified period regardless of whether the activities are planned within a single encounter/episode or across multiple encounters/episodes (e.g. the longitudinal management of a chronic condition).","requirements":"Allows tracking what plan(s) are in effect at a particular time.","alias":["timing"],"min":0,"max":"1","base":{"path":"CarePlan.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Request.occurrence[x]"},{"identity":"w5","map":"FiveWs.planned"},{"identity":"v2","map":"GOL-7 / GOL-8"},{"identity":"rim","map":".effectiveTime"}]},{"id":"CarePlan.created","path":"CarePlan.created","short":"Date record was first recorded","definition":"Represents when this particular CarePlan record was created in the system, which is often a system-generated date.","alias":["authoredOn"],"min":0,"max":"1","base":{"path":"CarePlan.created","min":0,"max":"1"},"type":[{"code":"dateTime"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Request.authoredOn"},{"identity":"w5","map":"FiveWs.recorded"},{"identity":"rim","map":".participation[typeCode=AUT].time"}]},{"id":"CarePlan.author","path":"CarePlan.author","short":"Who is the designated responsible party","definition":"When populated, the author is responsible for the care plan. The care plan is attributed to the author.","comment":"The author may also be a contributor. For example, an organization can be an author, but not listed as a contributor.","min":0,"max":"1","base":{"path":"CarePlan.author","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/RelatedPerson","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/CareTeam"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Request.requester"},{"identity":"w5","map":"FiveWs.author"}]},{"id":"CarePlan.contributor","path":"CarePlan.contributor","short":"Who provided the content of the care plan","definition":"Identifies the individual(s) or organization who provided the contents of the care plan.","comment":"Collaborative care plans may have multiple contributors.","min":0,"max":"*","base":{"path":"CarePlan.contributor","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/RelatedPerson","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/CareTeam"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false},{"id":"CarePlan.careTeam","path":"CarePlan.careTeam","short":"Who's involved in plan?","definition":"Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.","requirements":"Allows representation of care teams, helps scope care plan. In some cases may be a determiner of access permissions.","min":0,"max":"*","base":{"path":"CarePlan.careTeam","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/CareTeam"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.performer {similar but does not entail CareTeam}"},{"identity":"w5","map":"FiveWs.actor"}]},{"id":"CarePlan.addresses","path":"CarePlan.addresses","short":"Health issues this plan addresses","definition":"Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.","comment":"When the diagnosis is related to an allergy or intolerance, the Condition and AllergyIntolerance resources can both be used. However, to be actionable for decision support, using Condition alone is not sufficient as the allergy or intolerance condition needs to be represented as an AllergyIntolerance.","requirements":"Links plan to the conditions it manages. The element can identify risks addressed by the plan as well as active conditions. (The Condition resource can include things like \"at risk for hypertension\" or \"fall risk\".) Also scopes plans - multiple plans may exist addressing different concerns.","min":0,"max":"*","base":{"path":"CarePlan.addresses","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Condition"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Request.reasonReference"},{"identity":"w5","map":"FiveWs.why[x]"},{"identity":"v2","map":"PRB-4"},{"identity":"rim","map":".actRelationship[typeCode=SUBJ].target[classCode=CONC, moodCode=EVN]"}]},{"id":"CarePlan.supportingInfo","path":"CarePlan.supportingInfo","short":"Information considered as part of plan","definition":"Identifies portions of the patient's record that specifically influenced the formation of the plan. These might include comorbidities, recent procedures, limitations, recent assessments, etc.","comment":"Use \"concern\" to identify specific conditions addressed by the care plan.","requirements":"Identifies barriers and other considerations associated with the care plan.","min":0,"max":"*","base":{"path":"CarePlan.supportingInfo","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Resource"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.supportingInfo"}]},{"id":"CarePlan.goal","path":"CarePlan.goal","short":"Desired outcome of plan","definition":"Describes the intended objective(s) of carrying out the care plan.","comment":"Goal can be achieving a particular change or merely maintaining a current state or even slowing a decline.","requirements":"Provides context for plan. Allows plan effectiveness to be evaluated by clinicians.","min":0,"max":"*","base":{"path":"CarePlan.goal","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Goal"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"GOL.1"},{"identity":"rim","map":".outboundRelationship[typeCode<=OBJ]."}]},{"id":"CarePlan.activity","path":"CarePlan.activity","short":"Action to occur as part of plan","definition":"Identifies a planned action to occur as part of the plan. For example, a medication to be used, lab tests to perform, self-monitoring, education, etc.","requirements":"Allows systems to prompt for performance of planned activities, and validate plans against best practice.","min":0,"max":"*","base":{"path":"CarePlan.activity","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"cpl-3","severity":"error","human":"Provide a reference or detail, not both","expression":"detail.empty() or reference.empty()","xpath":"not(exists(f:detail)) or not(exists(f:reference))"},{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"{no mapping\nNOTE: This is a list of contained Request-Event tuples!}"},{"identity":"rim","map":".outboundRelationship[typeCode=COMP].target"}]},{"id":"CarePlan.activity.id","path":"CarePlan.activity.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"CarePlan.activity.extension","path":"CarePlan.activity.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"CarePlan.activity.modifierExtension","path":"CarePlan.activity.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"CarePlan.activity.outcomeCodeableConcept","path":"CarePlan.activity.outcomeCodeableConcept","short":"Results of the activity","definition":"Identifies the outcome at the point when the status of the activity is assessed. For example, the outcome of an education activity could be patient understands (or not).","comment":"Note that this should not duplicate the activity status (e.g. completed or in progress).","min":0,"max":"*","base":{"path":"CarePlan.activity.outcomeCodeableConcept","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"CarePlanActivityOutcome"}],"strength":"example","description":"Identifies the results of the activity.","valueSet":"http://hl7.org/fhir/ValueSet/care-plan-activity-outcome"}},{"id":"CarePlan.activity.outcomeReference","path":"CarePlan.activity.outcomeReference","short":"Appointment, Encounter, Procedure, etc.","definition":"Details of the outcome or action resulting from the activity. The reference to an \"event\" resource, such as Procedure or Encounter or Observation, is the result/outcome of the activity itself. The activity can be conveyed using CarePlan.activity.detail OR using the CarePlan.activity.reference (a reference to a “request” resource).","comment":"The activity outcome is independent of the outcome of the related goal(s). For example, if the goal is to achieve a target body weight of 150 lbs and an activity is defined to diet, then the activity outcome could be calories consumed whereas the goal outcome is an observation for the actual body weight measured.","requirements":"Links plan to resulting actions.","min":0,"max":"*","base":{"path":"CarePlan.activity.outcomeReference","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Resource"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"{Event that is outcome of Request in activity.reference}"},{"identity":"rim","map":".inboundRelationship[typeCode=FLFS].source"}]},{"id":"CarePlan.activity.progress","path":"CarePlan.activity.progress","short":"Comments about the activity status/progress","definition":"Notes about the adherence/status/progress of the activity.","comment":"This element should NOT be used to describe the activity to be performed - that occurs either within the resource pointed to by activity.detail.reference or in activity.detail.description.","requirements":"Can be used to capture information about adherence, progress, concerns, etc.","min":0,"max":"*","base":{"path":"CarePlan.activity.progress","min":0,"max":"*"},"type":[{"code":"Annotation"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"NTE?"},{"identity":"rim","map":".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"}]},{"id":"CarePlan.activity.reference","path":"CarePlan.activity.reference","short":"Activity details defined in specific resource","definition":"The details of the proposed activity represented in a specific resource.","comment":"Standard extension exists ([resource-pertainsToGoal](http://hl7.org/fhir/R4/extension-resource-pertainstogoal.html)) that allows goals to be referenced from any of the referenced resources in CarePlan.activity.reference. \rThe goal should be visible when the resource referenced by CarePlan.activity.reference is viewed independently from the CarePlan. Requests that are pointed to by a CarePlan using this element should *not* point to this CarePlan using the \"basedOn\" element. i.e. Requests that are part of a CarePlan are not \"based on\" the CarePlan.","requirements":"Details in a form consistent with other applications and contexts of use.","min":0,"max":"1","base":{"path":"CarePlan.activity.reference","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Appointment","http://hl7.org/fhir/StructureDefinition/CommunicationRequest","http://hl7.org/fhir/StructureDefinition/DeviceRequest","http://hl7.org/fhir/StructureDefinition/MedicationRequest","http://hl7.org/fhir/StructureDefinition/NutritionOrder","http://hl7.org/fhir/StructureDefinition/Task","http://hl7.org/fhir/StructureDefinition/ServiceRequest","http://hl7.org/fhir/StructureDefinition/VisionPrescription","http://hl7.org/fhir/StructureDefinition/RequestGroup"]}],"condition":["cpl-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"{Request that resulted in Event in activity.actionResulting}"},{"identity":"rim","map":".outboundRelationship[typeCode=COMP].target"}]},{"id":"CarePlan.activity.detail","path":"CarePlan.activity.detail","short":"In-line definition of activity","definition":"A simple summary of a planned activity suitable for a general care plan system (e.g. form driven) that doesn't know about specific resources such as procedure etc.","requirements":"Details in a simple form for generic care plan systems.","min":0,"max":"1","base":{"path":"CarePlan.activity.detail","min":0,"max":"1"},"type":[{"code":"BackboneElement"}],"condition":["cpl-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".outboundRelationship[typeCode=COMP, subsetCode=SUMM].target"}]},{"id":"CarePlan.activity.detail.id","path":"CarePlan.activity.detail.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"CarePlan.activity.detail.extension","path":"CarePlan.activity.detail.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"CarePlan.activity.detail.modifierExtension","path":"CarePlan.activity.detail.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"CarePlan.activity.detail.kind","path":"CarePlan.activity.detail.kind","short":"Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription","definition":"A description of the kind of resource the in-line definition of a care plan activity is representing. The CarePlan.activity.detail is an in-line definition when a resource is not referenced using CarePlan.activity.reference. For example, a MedicationRequest, a ServiceRequest, or a CommunicationRequest.","requirements":"May determine what types of extensions are permitted.","min":0,"max":"1","base":{"path":"CarePlan.activity.detail.kind","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"CarePlanActivityKind"}],"strength":"required","description":"Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity.","valueSet":"http://hl7.org/fhir/ValueSet/care-plan-activity-kind|4.0.1"},"mapping":[{"identity":"rim","map":".inboundRelationship[typeCode=COMP].source[classCode=LIST].code"}]},{"id":"CarePlan.activity.detail.instantiatesCanonical","path":"CarePlan.activity.detail.instantiatesCanonical","short":"Instantiates FHIR protocol or definition","definition":"The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity.","requirements":"Allows Questionnaires that the patient (or practitioner) should fill in to fulfill the care plan activity.","min":0,"max":"*","base":{"path":"CarePlan.activity.detail.instantiatesCanonical","min":0,"max":"*"},"type":[{"code":"canonical","targetProfile":["http://hl7.org/fhir/StructureDefinition/PlanDefinition","http://hl7.org/fhir/StructureDefinition/ActivityDefinition","http://hl7.org/fhir/StructureDefinition/Questionnaire","http://hl7.org/fhir/StructureDefinition/Measure","http://hl7.org/fhir/StructureDefinition/OperationDefinition"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.instantiatesCanonical"},{"identity":"rim","map":".outboundRelationship[typeCode=DEFN].target"}]},{"id":"CarePlan.activity.detail.instantiatesUri","path":"CarePlan.activity.detail.instantiatesUri","short":"Instantiates external protocol or definition","definition":"The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity.","comment":"This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.","requirements":"Allows Questionnaires that the patient (or practitioner) should fill in to fulfill the care plan activity.","min":0,"max":"*","base":{"path":"CarePlan.activity.detail.instantiatesUri","min":0,"max":"*"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.instantiatesUri"},{"identity":"rim","map":".outboundRelationship[typeCode=DEFN].target"}]},{"id":"CarePlan.activity.detail.code","path":"CarePlan.activity.detail.code","short":"Detail type of activity","definition":"Detailed description of the type of planned activity; e.g. what lab test, what procedure, what kind of encounter.","comment":"Tends to be less relevant for activities involving particular products. Codes should not convey negation - use \"prohibited\" instead.","requirements":"Allows matching performed to planned as well as validation against protocols.","min":0,"max":"1","base":{"path":"CarePlan.activity.detail.code","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"CarePlanActivityType"}],"strength":"example","description":"Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.","valueSet":"http://hl7.org/fhir/ValueSet/procedure-code"},"mapping":[{"identity":"workflow","map":"Request.code"},{"identity":"v2","map":"OBR-4 / RXE-2 / RXO-1 / RXD-2"},{"identity":"rim","map":".code"}]},{"id":"CarePlan.activity.detail.reasonCode","path":"CarePlan.activity.detail.reasonCode","short":"Why activity should be done or why activity was prohibited","definition":"Provides the rationale that drove the inclusion of this particular activity as part of the plan or the reason why the activity was prohibited.","comment":"This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonCondition instead.","min":0,"max":"*","base":{"path":"CarePlan.activity.detail.reasonCode","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"CarePlanActivityReason"}],"strength":"example","description":"Identifies why a care plan activity is needed. Can include any health condition codes as well as such concepts as \"general wellness\", prophylaxis, surgical preparation, etc.","valueSet":"http://hl7.org/fhir/ValueSet/clinical-findings"},"mapping":[{"identity":"workflow","map":"Request.reasonCode"}]},{"id":"CarePlan.activity.detail.reasonReference","path":"CarePlan.activity.detail.reasonReference","short":"Why activity is needed","definition":"Indicates another resource, such as the health condition(s), whose existence justifies this request and drove the inclusion of this particular activity as part of the plan.","comment":"Conditions can be identified at the activity level that are not identified as reasons for the overall plan.","min":0,"max":"*","base":{"path":"CarePlan.activity.detail.reasonReference","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.reasonReference"}]},{"id":"CarePlan.activity.detail.goal","path":"CarePlan.activity.detail.goal","short":"Goals this activity relates to","definition":"Internal reference that identifies the goals that this activity is intended to contribute towards meeting.","requirements":"So that participants know the link explicitly.","min":0,"max":"*","base":{"path":"CarePlan.activity.detail.goal","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Goal"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".outboundRelationship[typeCode<=OBJ]."}]},{"id":"CarePlan.activity.detail.status","path":"CarePlan.activity.detail.status","short":"not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error","definition":"Identifies what progress is being made for the specific activity.","comment":"Some aspects of status can be inferred based on the resources linked in actionTaken. Note that \"status\" is only as current as the plan was most recently updated. \nThe unknown code is not to be used to convey other statuses. The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the activity.","requirements":"Indicates progress against the plan, whether the activity is still relevant for the plan.","min":1,"max":"1","base":{"path":"CarePlan.activity.detail.status","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the activity should not be treated as valid","isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"CarePlanActivityStatus"}],"strength":"required","description":"Codes that reflect the current state of a care plan activity within its overall life cycle.","valueSet":"http://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.1"},"mapping":[{"identity":"workflow","map":"Request.status"},{"identity":"v2","map":"ORC-5?"},{"identity":"rim","map":".statusCode not-started = new scheduled = not-started (and fulfillment relationship to appointent) in-progress = active on-hold = suspended completed = completed cancelled = aborted"}]},{"id":"CarePlan.activity.detail.statusReason","path":"CarePlan.activity.detail.statusReason","short":"Reason for current status","definition":"Provides reason why the activity isn't yet started, is on hold, was cancelled, etc.","comment":"Will generally not be present if status is \"complete\". Be sure to prompt to update this (or at least remove the existing value) if the status is changed.","min":0,"max":"1","base":{"path":"CarePlan.activity.detail.statusReason","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.statusReason"}]},{"id":"CarePlan.activity.detail.doNotPerform","path":"CarePlan.activity.detail.doNotPerform","short":"If true, activity is prohibiting action","definition":"If true, indicates that the described activity is one that must NOT be engaged in when following the plan. If false, or missing, indicates that the described activity is one that should be engaged in when following the plan.","comment":"This element is labeled as a modifier because it marks an activity as an activity that is not to be performed.","requirements":"Captures intention to not do something that may have been previously typical.","min":0,"max":"1","base":{"path":"CarePlan.activity.detail.doNotPerform","min":0,"max":"1"},"type":[{"code":"boolean"}],"meaningWhenMissing":"If missing indicates that the described activity is one that should be engaged in when following the plan.","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"If true this element negates the specified action. For example, instead of a request for a procedure, it is a request for the procedure to not occur.","isSummary":false,"mapping":[{"identity":"workflow","map":"Request.doNotPerform"},{"identity":"rim","map":"actionNegationInd"}]},{"id":"CarePlan.activity.detail.scheduled[x]","path":"CarePlan.activity.detail.scheduled[x]","short":"When activity is to occur","definition":"The period, timing or frequency upon which the described activity is to occur.","requirements":"Allows prompting for activities and detection of missed planned activities.","min":0,"max":"1","base":{"path":"CarePlan.activity.detail.scheduled[x]","min":0,"max":"1"},"type":[{"code":"Timing"},{"code":"Period"},{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.occurrence[x]"},{"identity":"v2","map":"TQ1"},{"identity":"rim","map":".effectiveTime"}]},{"id":"CarePlan.activity.detail.location","path":"CarePlan.activity.detail.location","short":"Where it should happen","definition":"Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.","comment":"May reference a specific clinical location or may identify a type of location.","requirements":"Helps in planning of activity.","min":0,"max":"1","base":{"path":"CarePlan.activity.detail.location","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Location"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBR-24(???!!)"},{"identity":"rim","map":".participation[typeCode=LOC].role"}]},{"id":"CarePlan.activity.detail.performer","path":"CarePlan.activity.detail.performer","short":"Who will be responsible?","definition":"Identifies who's expected to be involved in the activity.","comment":"A performer MAY also be a participant in the care plan.","requirements":"Helps in planning of activity.","min":0,"max":"*","base":{"path":"CarePlan.activity.detail.performer","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/RelatedPerson","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/HealthcareService","http://hl7.org/fhir/StructureDefinition/Device"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.performer"},{"identity":"v2","map":"PRT-5 : ( PRV-4 = (provider participations)); PRT-5 : ( PRV-4 = (non-provider person participations )) ; PRT-5 : ( PRV-4 = (patient non-subject of care) ) ; PRT-8"},{"identity":"rim","map":".participation[typeCode=PFM]"}]},{"id":"CarePlan.activity.detail.product[x]","path":"CarePlan.activity.detail.product[x]","short":"What is to be administered/supplied","definition":"Identifies the food, drug or other product to be consumed or supplied in the activity.","min":0,"max":"1","base":{"path":"CarePlan.activity.detail.product[x]","min":0,"max":"1"},"type":[{"code":"CodeableConcept"},{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Medication","http://hl7.org/fhir/StructureDefinition/Substance"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"CarePlanProduct"}],"strength":"example","description":"A product supplied or administered as part of a care plan activity.","valueSet":"http://hl7.org/fhir/ValueSet/medication-codes"},"mapping":[{"identity":"v2","map":"RXE-2 / RXO-1 / RXD-2"},{"identity":"rim","map":".participation[typeCode=PRD].role"}]},{"id":"CarePlan.activity.detail.dailyAmount","path":"CarePlan.activity.detail.dailyAmount","short":"How to consume/day?","definition":"Identifies the quantity expected to be consumed in a given day.","requirements":"Allows rough dose checking.","alias":["daily dose"],"min":0,"max":"1","base":{"path":"CarePlan.activity.detail.dailyAmount","min":0,"max":"1"},"type":[{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"RXO-23 / RXE-19 / RXD-12"},{"identity":"rim","map":".outboundRelationship[typeCode=COMP][classCode=SBADM].doseQuantity"}]},{"id":"CarePlan.activity.detail.quantity","path":"CarePlan.activity.detail.quantity","short":"How much to administer/supply/consume","definition":"Identifies the quantity expected to be supplied, administered or consumed by the subject.","min":0,"max":"1","base":{"path":"CarePlan.activity.detail.quantity","min":0,"max":"1"},"type":[{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"RXO-11 / RXE-10 / RXD-4 / RXG-5 / RXA-6 / TQ1-2.1 *and* RXO-12 / RXE-11 / RXD-5 / RXG-7 / RXA-7 / TQ1-2.2"},{"identity":"rim","map":".outboundRelationship[typeCode=COMP][classCode=SPLY].quantity"}]},{"id":"CarePlan.activity.detail.description","path":"CarePlan.activity.detail.description","short":"Extra info describing activity to perform","definition":"This provides a textual description of constraints on the intended activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc.","min":0,"max":"1","base":{"path":"CarePlan.activity.detail.description","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"NTE?"},{"identity":"rim","map":".text"}]},{"id":"CarePlan.note","path":"CarePlan.note","short":"Comments about the plan","definition":"General notes about the care plan not covered elsewhere.","requirements":"Used to capture information that applies to the plan as a whole that doesn't fit into discrete elements.","min":0,"max":"*","base":{"path":"CarePlan.note","min":0,"max":"*"},"type":[{"code":"Annotation"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.note"},{"identity":"v2","map":"NTE?"},{"identity":"rim","map":".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"}]}]},"differential":{"element":[{"id":"CarePlan","path":"CarePlan","definition":"The US Core CarePlan Profile is based upon the core FHIR CarePlan Resource and created to meet the 2015 Edition Common Clinical Data Set 'Assessment and Plan of Treatment requirements.","mustSupport":false,"mapping":[{"identity":"argonaut-dq-dstu2","map":"CarePlan"}]},{"id":"CarePlan.text","path":"CarePlan.text","min":1,"max":"1","type":[{"code":"Narrative"}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"CarePlan.text"}]},{"id":"CarePlan.text.status","path":"CarePlan.text.status","definition":"generated | additional.","type":[{"code":"code"}],"mustSupport":true,"binding":{"strength":"required","description":"Constrained value set of narrative statuses.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"CarePlan.text.status"}]},{"id":"CarePlan.status","path":"CarePlan.status","requirements":"Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.","min":1,"max":"1","type":[{"code":"code"}],"mustSupport":true,"binding":{"strength":"required","description":"Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.","valueSet":"http://hl7.org/fhir/ValueSet/request-status"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"CarePlan.status"}]},{"id":"CarePlan.intent","path":"CarePlan.intent","min":1,"max":"1","type":[{"code":"code"}],"mustSupport":true,"binding":{"strength":"required","description":"Codes indicating the degree of authority/intentionality associated with a care plan","valueSet":"http://hl7.org/fhir/ValueSet/care-plan-intent"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"NA (new element in STU3)"}]},{"id":"CarePlan.category","path":"CarePlan.category","slicing":{"discriminator":[{"type":"pattern","path":"$this"}],"rules":"open"},"definition":"Type of plan.","requirements":"Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.","min":1,"max":"*","type":[{"code":"CodeableConcept"}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"CarePlan.category"}]},{"id":"CarePlan.category:AssessPlan","path":"CarePlan.category","sliceName":"AssessPlan","definition":"Type of plan.","requirements":"Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.","min":1,"max":"1","type":[{"code":"CodeableConcept"}],"patternCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/careplan-category","code":"assess-plan"}]},"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"CarePlan.category"}]},{"id":"CarePlan.subject","path":"CarePlan.subject","definition":"Who care plan is for.","requirements":"Identifies the patient or group whose intended care is described by the plan.","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"CarePlan.subject"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-careteam.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-careteam.json deleted file mode 100644 index f082e200cc3..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-careteam.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-careteam","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" CareTeam 0..*CareTeamPlanned participants in the coordination and delivery of care for a patient or group
\".\"\".\"\".\" status S0..1codeproposed | active | suspended | inactive | entered-in-error
Binding: CareTeamStatus (required)
\".\"\".\"\".\" subject S1..1Reference(US Core Patient Profile)Who care team is for
\".\"\".\"\".\" participant S1..*BackboneElementMembers of the team
\".\"\".\"\".\"\".\" role S1..1CodeableConceptType of involvement
Binding: US Core CareTeam Provider Roles (extensible)
\".\"\".\"\".\"\".\" member S1..1Reference(US Core Patient Profile | US Core Practitioner Profile | US Core Organization Profile)Who is involved

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam","version":"3.1.1","name":"USCoreCareTeam","title":"US Core CareTeam Profile","status":"active","experimental":false,"date":"2020-06-26","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines constraints and extensions on the CareTeam resource for the minimal set of data to query and retrieve a patient's Care Team.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"argonaut-dq-dstu2","uri":"http://unknown.org/Argonaut-DQ-DSTU2","name":"Argonaut-DQ-DSTU2"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"}],"kind":"resource","abstract":false,"type":"CareTeam","baseDefinition":"http://hl7.org/fhir/StructureDefinition/CareTeam","derivation":"constraint","snapshot":{"element":[{"id":"CareTeam","path":"CareTeam","short":"Planned participants in the coordination and delivery of care for a patient or group","definition":"The US Core CareTeam Profile is based upon the core FHIR CareTeam Resource and created to meet the 2015 Edition Common Clinical Data Set 'Care team member(s)' requirements.","min":0,"max":"*","base":{"path":"CareTeam","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"argonaut-dq-dstu2","map":"CarePlan"}]},{"id":"CareTeam.id","path":"CareTeam.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"CareTeam.meta","path":"CareTeam.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"CareTeam.implicitRules","path":"CareTeam.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"CareTeam.language","path":"CareTeam.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"CareTeam.text","path":"CareTeam.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"CareTeam.contained","path":"CareTeam.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"CareTeam.extension","path":"CareTeam.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"CareTeam.modifierExtension","path":"CareTeam.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"CareTeam.identifier","path":"CareTeam.identifier","short":"External Ids for this team","definition":"Business identifiers assigned to this care team by the performer or other systems which remain constant as the resource is updated and propagates from server to server.","comment":"This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.","requirements":"Allows identification of the care team as it is known by various participating systems and in a way that remains consistent across servers.","min":0,"max":"*","base":{"path":"CareTeam.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.identifier"}]},{"id":"CareTeam.status","path":"CareTeam.status","short":"proposed | active | suspended | inactive | entered-in-error","definition":"Indicates the current state of the care team.","comment":"This element is labeled as a modifier because the status contains the code entered-in-error that marks the care team as not currently valid.","min":0,"max":"1","base":{"path":"CareTeam.status","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","description":"Indicates whether the team is current , represents future intentions or is now a historical record.","valueSet":"http://hl7.org/fhir/ValueSet/care-team-status"},"mapping":[{"identity":"w5","map":"FiveWs.status"},{"identity":"argonaut-dq-dstu2","map":"CarePlan.status"}]},{"id":"CareTeam.category","path":"CareTeam.category","short":"Type of team","definition":"Identifies what kind of team. This is to support differentiation between multiple co-existing teams, such as care plan team, episode of care team, longitudinal care team.","comment":"There may be multiple axis of categorization and one team may serve multiple purposes.","requirements":"Used for filtering what teams(s) are retrieved and displayed to different types of users.","min":0,"max":"*","base":{"path":"CareTeam.category","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"CareTeamCategory"}],"strength":"example","description":"Indicates the type of care team.","valueSet":"http://hl7.org/fhir/ValueSet/care-team-category"},"mapping":[{"identity":"w5","map":"FiveWs.class"}]},{"id":"CareTeam.name","path":"CareTeam.name","short":"Name of the team, such as crisis assessment team","definition":"A label for human use intended to distinguish like teams. E.g. the \"red\" vs. \"green\" trauma teams.","comment":"The meaning/purpose of the team is conveyed in CareTeam.category. This element may also convey semantics of the team (e.g. \"Red trauma team\"), but its primary purpose is to distinguish between identical teams in a human-friendly way. (\"Team 18735\" isn't as friendly.).","min":0,"max":"1","base":{"path":"CareTeam.name","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"CareTeam.subject","path":"CareTeam.subject","short":"Who care team is for","definition":"Identifies the patient or group whose intended care is handled by the team.","requirements":"Allows the team to care for a group (e.g. marriage) therapy. \nAllows for an organization to designate a team such as the PICC line team.","alias":["patient"],"min":1,"max":"1","base":{"path":"CareTeam.subject","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"w5","map":"FiveWs.subject"},{"identity":"argonaut-dq-dstu2","map":"CarePlan.subject"}]},{"id":"CareTeam.encounter","path":"CareTeam.encounter","short":"Encounter created as part of","definition":"The Encounter during which this CareTeam was created or to which the creation of this record is tightly associated.","comment":"This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.","min":0,"max":"1","base":{"path":"CareTeam.encounter","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Encounter"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.context"}]},{"id":"CareTeam.period","path":"CareTeam.period","short":"Time period team covers","definition":"Indicates when the team did (or is intended to) come into effect and end.","requirements":"Allows tracking what team(s) are in effect at a particular time.","min":0,"max":"1","base":{"path":"CareTeam.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.init"}]},{"id":"CareTeam.participant","path":"CareTeam.participant","short":"Members of the team","definition":"Identifies all people and organizations who are expected to be involved in the care team.","min":1,"max":"*","base":{"path":"CareTeam.participant","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"condition":["ctm-1"],"constraint":[{"key":"ctm-1","severity":"error","human":"CareTeam.participant.onBehalfOf can only be populated when CareTeam.participant.member is a Practitioner","expression":"onBehalfOf.exists() implies (member.resolve().iif(empty(), true, ofType(Practitioner).exists()))","xpath":"starts-with(f:member/f:reference/@value, 'Practitioner/') or contains(f:member/f:reference/@value, '/Practitioner/') or exists(ancestor::*/f:contains/f:Practitioner/f:id[@value=substring-after(current()/f:member/f:reference/@value, '#')]) or not(exists(f:onBehalfOf))","source":"http://hl7.org/fhir/StructureDefinition/CareTeam"},{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"REL (REL.4 is always the Patient) ( or PRT?)"},{"identity":"rim","map":".participation[typeCode=PRF]"},{"identity":"argonaut-dq-dstu2","map":"CarePlan.participant"}]},{"id":"CareTeam.participant.id","path":"CareTeam.participant.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"CareTeam.participant.extension","path":"CareTeam.participant.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"CareTeam.participant.modifierExtension","path":"CareTeam.participant.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"CareTeam.participant.role","path":"CareTeam.participant.role","short":"Type of involvement","definition":"Indicates specific responsibility of an individual within the care team, such as \"Primary care physician\", \"Trained social worker counselor\", \"Caregiver\", etc.","comment":"Roles may sometimes be inferred by type of Practitioner. These are relationships that hold only within the context of the care team. General relationships should be handled as properties of the Patient resource directly.","min":1,"max":"1","base":{"path":"CareTeam.participant.role","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","description":"Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-provider-roles"},"mapping":[{"identity":"v2","map":"REL.2 (or PRT-4?)"},{"identity":"rim","map":".functionCode"},{"identity":"argonaut-dq-dstu2","map":"CarePlan.participant.role"}]},{"id":"CareTeam.participant.member","path":"CareTeam.participant.member","short":"Who is involved","definition":"The specific person or organization who is participating/expected to participate in the care team.","comment":"Patient only needs to be listed if they have a role other than \"subject of care\".\n\nMember is optional because some participants may be known only by their role, particularly in draft plans.","min":1,"max":"1","base":{"path":"CareTeam.participant.member","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient","http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner","http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.actor"},{"identity":"v2","map":"REL.5 (or PRT-5 : ( PRV-4 {provider participations} ) / PRT-5 : ( PRV-4 {non-provider person participations} ) / PRT-5 : ( PRV-4 = (patient non-subject of care) ) / PRT-8?)"},{"identity":"rim","map":".role"},{"identity":"argonaut-dq-dstu2","map":"CarePlan.participant.member"}]},{"id":"CareTeam.participant.onBehalfOf","path":"CareTeam.participant.onBehalfOf","short":"Organization of the practitioner","definition":"The organization of the practitioner.","requirements":"Practitioners can be associated with multiple organizations. This element indicates which organization they were acting on behalf of.","min":0,"max":"1","base":{"path":"CareTeam.participant.onBehalfOf","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"CareTeam.participant.period","path":"CareTeam.participant.period","short":"Time period of participant","definition":"Indicates when the specific member or organization did (or is intended to) come into effect and end.","min":0,"max":"1","base":{"path":"CareTeam.participant.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false},{"id":"CareTeam.reasonCode","path":"CareTeam.reasonCode","short":"Why the care team exists","definition":"Describes why the care team exists.","min":0,"max":"*","base":{"path":"CareTeam.reasonCode","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"CareTeamReason"}],"strength":"example","description":"Indicates the reason for the care team.","valueSet":"http://hl7.org/fhir/ValueSet/clinical-findings"},"mapping":[{"identity":"w5","map":"FiveWs.why[x]"}]},{"id":"CareTeam.reasonReference","path":"CareTeam.reasonReference","short":"Why the care team exists","definition":"Condition(s) that this care team addresses.","min":0,"max":"*","base":{"path":"CareTeam.reasonReference","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Condition"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.why[x]"}]},{"id":"CareTeam.managingOrganization","path":"CareTeam.managingOrganization","short":"Organization responsible for the care team","definition":"The organization responsible for the care team.","requirements":"Allows for multiple organizations to collaboratively manage cross-organizational, longitudinal care plan.","min":0,"max":"*","base":{"path":"CareTeam.managingOrganization","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"CareTeam.telecom","path":"CareTeam.telecom","short":"A contact detail for the care team (that applies to all members)","definition":"A central contact detail for the care team (that applies to all members).","comment":"The ContactPoint.use code of home is not appropriate to use. These contacts are not the contact details of individual care team members.","min":0,"max":"*","base":{"path":"CareTeam.telecom","min":0,"max":"*"},"type":[{"code":"ContactPoint"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false},{"id":"CareTeam.note","path":"CareTeam.note","short":"Comments made about the CareTeam","definition":"Comments made about the CareTeam.","min":0,"max":"*","base":{"path":"CareTeam.note","min":0,"max":"*"},"type":[{"code":"Annotation"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false}]},"differential":{"element":[{"id":"CareTeam","path":"CareTeam","definition":"The US Core CareTeam Profile is based upon the core FHIR CareTeam Resource and created to meet the 2015 Edition Common Clinical Data Set 'Care team member(s)' requirements.","mustSupport":false,"mapping":[{"identity":"argonaut-dq-dstu2","map":"CarePlan"}]},{"id":"CareTeam.status","path":"CareTeam.status","min":0,"max":"1","type":[{"code":"code"}],"mustSupport":true,"binding":{"strength":"required","description":"Indicates whether the team is current , represents future intentions or is now a historical record.","valueSet":"http://hl7.org/fhir/ValueSet/care-team-status"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"CarePlan.status"}]},{"id":"CareTeam.subject","path":"CareTeam.subject","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"CarePlan.subject"}]},{"id":"CareTeam.participant","path":"CareTeam.participant","min":1,"max":"*","mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"CarePlan.participant"}]},{"id":"CareTeam.participant.role","path":"CareTeam.participant.role","min":1,"max":"1","type":[{"code":"CodeableConcept"}],"mustSupport":true,"binding":{"strength":"extensible","description":"Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-provider-roles"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"CarePlan.participant.role"}]},{"id":"CareTeam.participant.member","path":"CareTeam.participant.member","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient","http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner","http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"CarePlan.participant.member"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-condition.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-condition.json deleted file mode 100644 index dd5932a8a6a..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-condition.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-condition","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Condition I0..*ConditionDetailed information about conditions, problems or diagnoses
us-core-1: A code in Condition.category SHOULD be from US Core Condition Category Codes value set.
\".\"\".\"\".\" clinicalStatus S0..1CodeableConceptactive | recurrence | relapse | inactive | remission | resolved
Binding: ConditionClinicalStatusCodes (required)
\".\"\".\"\".\" verificationStatus S0..1CodeableConceptunconfirmed | provisional | differential | confirmed | refuted | entered-in-error
Binding: ConditionVerificationStatus (required)
\".\"\".\"\".\" category SI1..*CodeableConceptproblem-list-item | encounter-diagnosis | health-concern
Binding: US Core Condition Category Codes (extensible)
\".\"\".\"\".\" code S1..1CodeableConceptIdentification of the condition, problem or diagnosis
Binding: US Core Condition Code (extensible)
\".\"\".\"\".\" subject S1..1Reference(US Core Patient Profile)Who has the condition?

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition","version":"3.1.1","name":"USCoreCondition","title":"US Core Condition Profile","status":"active","experimental":false,"date":"2020-06-27","publisher":"Health Level Seven International (Infrastructure and Messaging - Data Access Framework)","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines constraints and extensions on the Condition resource for the minimal set of data to query and retrieve problems and health concerns information.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"argonaut-dq-dstu2","uri":"http://unknown.org/Argonaut-DQ-DSTU2","name":"Argonaut-DQ-DSTU2"},{"identity":"workflow","uri":"http://hl7.org/fhir/workflow","name":"Workflow Pattern"},{"identity":"sct-concept","uri":"http://snomed.info/conceptdomain","name":"SNOMED CT Concept Domain Binding"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"sct-attr","uri":"http://snomed.org/attributebinding","name":"SNOMED CT Attribute Binding"}],"kind":"resource","abstract":false,"type":"Condition","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Condition","derivation":"constraint","snapshot":{"element":[{"id":"Condition","path":"Condition","short":"Detailed information about conditions, problems or diagnoses","definition":"The US Core Condition Profile is based upon the core FHIR Condition Resource and created to meet the 2015 Edition Common Clinical Data Set 'Problems' and 'Health Concerns' requirements.","min":0,"max":"*","base":{"path":"Condition","min":0,"max":"*"},"constraint":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"Most systems will expect a clinicalStatus to be valued for problem-list-items that are managed over time, but might not need a clinicalStatus for point in time encounter-diagnosis."}],"key":"con-3","severity":"warning","human":"Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item","expression":"clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()","xpath":"exists(f:clinicalStatus) or exists(f:verificationStatus/f:coding/f:code/@value='entered-in-error') or not(exists(category[@value='problem-list-item']))","source":"http://hl7.org/fhir/StructureDefinition/Condition"},{"key":"con-4","severity":"error","human":"If condition is abated, then clinicalStatus must be either inactive, resolved, or remission","expression":"abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()","xpath":"not(exists(*[starts-with(local-name(.), 'abatement')])) or exists(f:clinicalStatus/f:coding[f:system/@value='http://terminology.hl7.org/CodeSystem/condition-clinical' and f:code/@value=('resolved', 'remission', 'inactive')])","source":"http://hl7.org/fhir/StructureDefinition/Condition"},{"key":"con-5","severity":"error","human":"Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error","expression":"verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()","xpath":"not(exists(f:verificationStatus/f:coding[f:system/@value='http://terminology.hl7.org/CodeSystem/condition-ver-status' and f:code/@value='entered-in-error'])) or not(exists(f:clinicalStatus))","source":"http://hl7.org/fhir/StructureDefinition/Condition"},{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true}],"key":"us-core-1","severity":"warning","human":"A code in Condition.category SHOULD be from US Core Condition Category Codes value set.","expression":"where(category.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category')).exists()","xpath":"(no xpath equivalent)"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"workflow","map":"Event"},{"identity":"sct-concept","map":"< 243796009 |Situation with explicit context| : 246090004 |Associated finding| = ( ( < 404684003 |Clinical finding| MINUS ( << 420134006 |Propensity to adverse reactions| OR << 473010000 |Hypersensitivity condition| OR << 79899007 |Drug interaction| OR << 69449002 |Drug action| OR << 441742003 |Evaluation finding| OR << 307824009 |Administrative status| OR << 385356007 |Tumor stage finding|)) OR < 272379006 |Event|)"},{"identity":"v2","map":"PPR message"},{"identity":"rim","map":"Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"Condition.implicitRules","path":"Condition.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"Condition.language","path":"Condition.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"Condition.text","path":"Condition.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"Condition.contained","path":"Condition.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Condition.extension","path":"Condition.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Condition.modifierExtension","path":"Condition.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Condition.identifier","path":"Condition.identifier","short":"External Ids for this condition","definition":"Business identifiers assigned to this condition by the performer or other systems which remain constant as the resource is updated and propagates from server to server.","comment":"This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.","requirements":"Allows identification of the condition as it is known by various participating systems and in a way that remains consistent across servers.","min":0,"max":"*","base":{"path":"Condition.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.identifier"},{"identity":"w5","map":"FiveWs.identifier"},{"identity":"rim","map":".id"}]},{"id":"Condition.clinicalStatus","path":"Condition.clinicalStatus","short":"active | recurrence | relapse | inactive | remission | resolved","definition":"The clinical status of the condition.","comment":"The data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.","min":0,"max":"1","base":{"path":"Condition.clinicalStatus","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["con-3","con-4","con-5"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the status contains codes that mark the condition as no longer active.","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/condition-clinical"},"mapping":[{"identity":"workflow","map":"Event.status"},{"identity":"w5","map":"FiveWs.status"},{"identity":"sct-concept","map":"< 303105007 |Disease phases|"},{"identity":"v2","map":"PRB-14"},{"identity":"rim","map":"Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"clinicalStatus\", moodCode=EVN].value"},{"identity":"argonaut-dq-dstu2","map":"Condition.clinicalStatus"}]},{"id":"Condition.verificationStatus","path":"Condition.verificationStatus","short":"unconfirmed | provisional | differential | confirmed | refuted | entered-in-error","definition":"The verification status to support the clinical status of the condition.","comment":"verificationStatus is not required. For example, when a patient has abdominal pain in the ED, there is not likely going to be a verification status.\nThe data type is CodeableConcept because verificationStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.","min":0,"max":"1","base":{"path":"Condition.verificationStatus","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["con-3","con-5"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the status contains the code refuted and entered-in-error that mark the Condition as not currently valid.","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/condition-ver-status"},"mapping":[{"identity":"workflow","map":"Event.status"},{"identity":"w5","map":"FiveWs.status"},{"identity":"sct-concept","map":"< 410514004 |Finding context value|"},{"identity":"v2","map":"PRB-13"},{"identity":"rim","map":"Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"verificationStatus\", moodCode=EVN].value"},{"identity":"sct-attr","map":"408729009"},{"identity":"argonaut-dq-dstu2","map":"Condition.verificationStatus"}]},{"id":"Condition.category","path":"Condition.category","short":"problem-list-item | encounter-diagnosis | health-concern","definition":"A category assigned to the condition.","comment":"The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts.","min":1,"max":"*","base":{"path":"Condition.category","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"condition":["us-core-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"sct-concept","map":"< 404684003 |Clinical finding|"},{"identity":"v2","map":"'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message"},{"identity":"rim","map":".code"},{"identity":"argonaut-dq-dstu2","map":"Condition.category"}]},{"id":"Condition.severity","path":"Condition.severity","short":"Subjective severity of condition","definition":"A subjective assessment of the severity of the condition as evaluated by the clinician.","comment":"Coding of the severity with a terminology is preferred, where possible.","min":0,"max":"1","base":{"path":"Condition.severity","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ConditionSeverity"}],"strength":"preferred","description":"A subjective assessment of the severity of the condition as evaluated by the clinician.","valueSet":"http://hl7.org/fhir/ValueSet/condition-severity"},"mapping":[{"identity":"w5","map":"FiveWs.grade"},{"identity":"sct-concept","map":"< 272141005 |Severities|"},{"identity":"v2","map":"PRB-26 / ABS-3"},{"identity":"rim","map":"Can be pre/post-coordinated into value. Or ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"severity\"].value"},{"identity":"sct-attr","map":"246112005"}]},{"id":"Condition.code","path":"Condition.code","short":"Identification of the condition, problem or diagnosis","definition":"Identification of the condition, problem or diagnosis.","requirements":"0..1 to account for primarily narrative only resources.","alias":["type"],"min":1,"max":"1","base":{"path":"Condition.code","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","description":"Valueset to describe the actual problem experienced by the patient","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code"},"mapping":[{"identity":"workflow","map":"Event.code"},{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"sct-concept","map":"code 246090004 |Associated finding| (< 404684003 |Clinical finding| MINUS\n<< 420134006 |Propensity to adverse reactions| MINUS \n<< 473010000 |Hypersensitivity condition| MINUS \n<< 79899007 |Drug interaction| MINUS\n<< 69449002 |Drug action| MINUS \n<< 441742003 |Evaluation finding| MINUS \n<< 307824009 |Administrative status| MINUS \n<< 385356007 |Tumor stage finding|) \nOR < 413350009 |Finding with explicit context|\nOR < 272379006 |Event|"},{"identity":"v2","map":"PRB-3"},{"identity":"rim","map":".value"},{"identity":"sct-attr","map":"246090004"},{"identity":"argonaut-dq-dstu2","map":"Condition.code"}]},{"id":"Condition.bodySite","path":"Condition.bodySite","short":"Anatomical location, if relevant","definition":"The anatomical location where this condition manifests itself.","comment":"Only used if not implicit in code found in Condition.code. If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](http://hl7.org/fhir/R4/extension-bodysite.html). May be a summary code, or a reference to a very precise definition of the location, or both.","min":0,"max":"*","base":{"path":"Condition.bodySite","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"BodySite"}],"strength":"example","description":"Codes describing anatomical locations. May include laterality.","valueSet":"http://hl7.org/fhir/ValueSet/body-site"},"mapping":[{"identity":"sct-concept","map":"< 442083009 |Anatomical or acquired body structure|"},{"identity":"rim","map":".targetBodySiteCode"},{"identity":"sct-attr","map":"363698007"}]},{"id":"Condition.subject","path":"Condition.subject","short":"Who has the condition?","definition":"Indicates the patient or group who the condition record is associated with.","requirements":"Group is typically used for veterinary or public health use cases.","alias":["patient"],"min":1,"max":"1","base":{"path":"Condition.subject","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.subject"},{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"PID-3"},{"identity":"rim","map":".participation[typeCode=SBJ].role[classCode=PAT]"},{"identity":"w5","map":"FiveWs.subject"},{"identity":"argonaut-dq-dstu2","map":"Condition.patient"}]},{"id":"Condition.encounter","path":"Condition.encounter","short":"Encounter created as part of","definition":"The Encounter during which this Condition was created or to which the creation of this record is tightly associated.","comment":"This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter. This record indicates the encounter this particular record is associated with. In the case of a \"new\" diagnosis reflecting ongoing/revised information about the condition, this might be distinct from the first encounter in which the underlying condition was first \"known\".","min":0,"max":"1","base":{"path":"Condition.encounter","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Encounter"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.context"},{"identity":"w5","map":"FiveWs.context"},{"identity":"v2","map":"PV1-19 (+PV1-54)"},{"identity":"rim","map":".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"}]},{"id":"Condition.onset[x]","path":"Condition.onset[x]","short":"Estimated or actual date, date-time, or age","definition":"Estimated or actual date or date-time the condition began, in the opinion of the clinician.","comment":"Age is generally used when the patient reports an age at which the Condition began to occur.","min":0,"max":"1","base":{"path":"Condition.onset[x]","min":0,"max":"1"},"type":[{"code":"dateTime"},{"code":"Age"},{"code":"Period"},{"code":"Range"},{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.occurrence[x]"},{"identity":"w5","map":"FiveWs.init"},{"identity":"v2","map":"PRB-16"},{"identity":"rim","map":".effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at onset\"].value"}]},{"id":"Condition.abatement[x]","path":"Condition.abatement[x]","short":"When in resolution/remission","definition":"The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate.","comment":"There is no explicit distinction between resolution and remission because in many cases the distinction is not clear. Age is generally used when the patient reports an age at which the Condition abated. If there is no abatement element, it is unknown whether the condition has resolved or entered remission; applications and users should generally assume that the condition is still valid. When abatementString exists, it implies the condition is abated.","min":0,"max":"1","base":{"path":"Condition.abatement[x]","min":0,"max":"1"},"type":[{"code":"dateTime"},{"code":"Age"},{"code":"Period"},{"code":"Range"},{"code":"string"}],"condition":["con-4"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.done[x]"},{"identity":"rim","map":".effectiveTime.high or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at remission\"].value or .inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed"}]},{"id":"Condition.recordedDate","path":"Condition.recordedDate","short":"Date record was first recorded","definition":"The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date.","min":0,"max":"1","base":{"path":"Condition.recordedDate","min":0,"max":"1"},"type":[{"code":"dateTime"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.recorded"},{"identity":"v2","map":"REL-11"},{"identity":"rim","map":".participation[typeCode=AUT].time"}]},{"id":"Condition.recorder","path":"Condition.recorder","short":"Who recorded the condition","definition":"Individual who recorded the record and takes responsibility for its content.","min":0,"max":"1","base":{"path":"Condition.recorder","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.author"},{"identity":"rim","map":".participation[typeCode=AUT].role"}]},{"id":"Condition.asserter","path":"Condition.asserter","short":"Person who asserts this condition","definition":"Individual who is making the condition statement.","min":0,"max":"1","base":{"path":"Condition.asserter","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.source"},{"identity":"v2","map":"REL-7.1 identifier + REL-7.12 type code"},{"identity":"rim","map":".participation[typeCode=INF].role"}]},{"id":"Condition.stage","path":"Condition.stage","short":"Stage/grade, usually assessed formally","definition":"Clinical stage or grade of a condition. May include formal severity assessments.","min":0,"max":"*","base":{"path":"Condition.stage","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"con-1","severity":"error","human":"Stage SHALL have summary or assessment","expression":"summary.exists() or assessment.exists()","xpath":"exists(f:summary) or exists(f:assessment)"},{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]"}]},{"id":"Condition.stage.id","path":"Condition.stage.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Condition.stage.extension","path":"Condition.stage.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Condition.stage.modifierExtension","path":"Condition.stage.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Condition.stage.summary","path":"Condition.stage.summary","short":"Simple summary (disease specific)","definition":"A simple summary of the stage such as \"Stage 3\". The determination of the stage is disease-specific.","min":0,"max":"1","base":{"path":"Condition.stage.summary","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["con-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ConditionStage"}],"strength":"example","description":"Codes describing condition stages (e.g. Cancer stages).","valueSet":"http://hl7.org/fhir/ValueSet/condition-stage"},"mapping":[{"identity":"sct-concept","map":"< 254291000 |Staging and scales|"},{"identity":"v2","map":"PRB-14"},{"identity":"rim","map":".value"}]},{"id":"Condition.stage.assessment","path":"Condition.stage.assessment","short":"Formal record of assessment","definition":"Reference to a formal record of the evidence on which the staging assessment is based.","min":0,"max":"*","base":{"path":"Condition.stage.assessment","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/ClinicalImpression","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/Observation"]}],"condition":["con-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".self"}]},{"id":"Condition.stage.type","path":"Condition.stage.type","short":"Kind of staging","definition":"The kind of staging, such as pathological or clinical staging.","min":0,"max":"1","base":{"path":"Condition.stage.type","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ConditionStageType"}],"strength":"example","description":"Codes describing the kind of condition staging (e.g. clinical or pathological).","valueSet":"http://hl7.org/fhir/ValueSet/condition-stage-type"},"mapping":[{"identity":"rim","map":"./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage type\"]"}]},{"id":"Condition.evidence","path":"Condition.evidence","short":"Supporting evidence","definition":"Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.","comment":"The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.","min":0,"max":"*","base":{"path":"Condition.evidence","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"con-2","severity":"error","human":"evidence SHALL have code or details","expression":"code.exists() or detail.exists()","xpath":"exists(f:code) or exists(f:detail)"},{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]"}]},{"id":"Condition.evidence.id","path":"Condition.evidence.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Condition.evidence.extension","path":"Condition.evidence.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Condition.evidence.modifierExtension","path":"Condition.evidence.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Condition.evidence.code","path":"Condition.evidence.code","short":"Manifestation/symptom","definition":"A manifestation or symptom that led to the recording of this condition.","min":0,"max":"*","base":{"path":"Condition.evidence.code","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"condition":["con-2"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ManifestationOrSymptom"}],"strength":"example","description":"Codes that describe the manifestation or symptoms of a condition.","valueSet":"http://hl7.org/fhir/ValueSet/manifestation-or-symptom"},"mapping":[{"identity":"workflow","map":"Event.reasonCode"},{"identity":"w5","map":"FiveWs.why[x]"},{"identity":"sct-concept","map":"< 404684003 |Clinical finding|"},{"identity":"rim","map":"[code=\"diagnosis\"].value"}]},{"id":"Condition.evidence.detail","path":"Condition.evidence.detail","short":"Supporting information found elsewhere","definition":"Links to other relevant information, including pathology reports.","min":0,"max":"*","base":{"path":"Condition.evidence.detail","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Resource"]}],"condition":["con-2"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.why[x]"},{"identity":"rim","map":".self"}]},{"id":"Condition.note","path":"Condition.note","short":"Additional information about the Condition","definition":"Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.","min":0,"max":"*","base":{"path":"Condition.note","min":0,"max":"*"},"type":[{"code":"Annotation"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.note"},{"identity":"v2","map":"NTE child of PRB"},{"identity":"rim","map":".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"}]}]},"differential":{"element":[{"id":"Condition","path":"Condition","definition":"The US Core Condition Profile is based upon the core FHIR Condition Resource and created to meet the 2015 Edition Common Clinical Data Set 'Problems' and 'Health Concerns' requirements.","constraint":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true}],"key":"us-core-1","severity":"warning","human":"A code in Condition.category SHOULD be from US Core Condition Category Codes value set.","expression":"where(category.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category')).exists()","xpath":"(no xpath equivalent)"}],"mustSupport":false,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Condition"}]},{"id":"Condition.clinicalStatus","path":"Condition.clinicalStatus","min":0,"max":"1","type":[{"code":"CodeableConcept"}],"mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/condition-clinical"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Condition.clinicalStatus"}]},{"id":"Condition.verificationStatus","path":"Condition.verificationStatus","min":0,"max":"1","type":[{"code":"CodeableConcept"}],"mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/condition-ver-status"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Condition.verificationStatus"}]},{"id":"Condition.category","path":"Condition.category","short":"problem-list-item | encounter-diagnosis | health-concern","min":1,"max":"*","type":[{"code":"CodeableConcept"}],"condition":["us-core-1"],"mustSupport":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Condition.category"}]},{"id":"Condition.code","path":"Condition.code","min":1,"max":"1","type":[{"code":"CodeableConcept"}],"mustSupport":true,"binding":{"strength":"extensible","description":"Valueset to describe the actual problem experienced by the patient","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Condition.code"}]},{"id":"Condition.subject","path":"Condition.subject","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Condition.patient"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-diagnosticreport-lab.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-diagnosticreport-lab.json deleted file mode 100644 index 7c0dbc4cd7a..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-diagnosticreport-lab.json +++ /dev/null @@ -1,1915 +0,0 @@ -{ - "resourceType": "StructureDefinition", - "id": "us-core-diagnosticreport-lab", - "text": { - "status": "extensions", - "div": "
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" DiagnosticReport 0..*DiagnosticReportA Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
\".\"\".\"\".\" status S1..1coderegistered | partial | preliminary | final +
Binding: DiagnosticReportStatus (required)
\".\"\".\"\".\" category S1..*(Slice Definition)Service category
Slice: Unordered, Open by pattern:$this
\".\"\".\"\".\"\".\" category:LaboratorySlice S1..1CodeableConceptService category
Required Pattern: At least the following
\".\"\".\"\".\"\".\"\".\" coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
\".\"\".\"\".\"\".\"\".\"\".\" system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0074
\".\"\".\"\".\"\".\"\".\"\".\" code1..1codeSymbol in syntax defined by the system
Fixed Value: LAB
\".\"\".\"\".\" code S1..1CodeableConceptUS Core Laboratory Report Order Code
Binding: US Core Diagnostic Report Laboratory Codes (extensible)
\".\"\".\"\".\" subject S1..1Reference(US Core Patient Profile)The subject of the report - usually, but not always, the patient
\".\"\".\"\".\" effective[x] S1..1Specimen Collection Datetime or Period
\".\"\".\"\".\"\".\" effectiveDateTimedateTime
\".\"\".\"\".\"\".\" effectivePeriodPeriod
\".\"\".\"\".\" issued S1..1instantDateTime this version was made
\".\"\".\"\".\" performer S0..*Reference(US Core Practitioner Profile | US Core Organization Profile)Responsible Diagnostic Service
\".\"\".\"\".\" result S0..*Reference(US Core Laboratory Result Observation Profile)Observations

\"doco\" Documentation for this format
" - }, - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab", - "version": "3.1.1", - "name": "USCoreDiagnosticReportProfileLaboratoryReporting", - "title": "US Core DiagnosticReport Profile for Laboratory Results Reporting", - "status": "active", - "experimental": false, - "date": "2019-05-21", - "publisher": "HL7 US Realm Steering Committee", - "contact": [ - { - "telecom": [ - { - "system": "url", - "value": "http://www.healthit.gov" - } - ] - } - ], - "description": "Defines constraints and extensions on the DiagnosticReport resource for the minimal set of data to query and retrieve diagnostic reports associated with laboratory results for a patient", - "jurisdiction": [ - { - "coding": [ - { - "system": "urn:iso:std:iso:3166", - "code": "US", - "display": "United States of America" - } - ] - } - ], - "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "workflow", - "uri": "http://hl7.org/fhir/workflow", - "name": "Workflow Pattern" - }, - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - } - ], - "kind": "resource", - "abstract": false, - "type": "DiagnosticReport", - "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", - "derivation": "constraint", - "snapshot": { - "element": [ - { - "id": "DiagnosticReport", - "path": "DiagnosticReport", - "short": "A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports", - "definition": "The US Core Diagnostic Report Profile is based upon the core FHIR DiagnosticReport Resource and created to meet the 2015 Edition Common Clinical Data Set 'Laboratory test(s) and Laboratory value(s)/result(s)' requirements.", - "comment": "This is intended to capture a single report and is not suitable for use in displaying summary information that covers multiple reports. For example, this resource has not been designed for laboratory cumulative reporting formats nor detailed structured reports for sequencing.", - "alias": [ - "Report", - "Test", - "Result", - "Results", - "Labs", - "Laboratory", - "Lab Result", - "Lab Report" - ], - "min": 0, - "max": "*", - "base": { - "path": "DiagnosticReport", - "min": 0, - "max": "*" - }, - "constraint": [ - { - "key": "dom-2", - "severity": "error", - "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", - "expression": "contained.contained.empty()", - "xpath": "not(parent::f:contained and f:contained)", - "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" - }, - { - "key": "dom-3", - "severity": "error", - "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", - "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", - "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", - "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" - }, - { - "key": "dom-4", - "severity": "error", - "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", - "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", - "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", - "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" - }, - { - "key": "dom-5", - "severity": "error", - "human": "If a resource is contained in another resource, it SHALL NOT have a security label", - "expression": "contained.meta.security.empty()", - "xpath": "not(exists(f:contained/*/f:meta/f:security))", - "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", - "valueBoolean": true - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", - "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." - } - ], - "key": "dom-6", - "severity": "warning", - "human": "A resource should have narrative for robust management", - "expression": "text.`div`.exists()", - "xpath": "exists(f:text/h:div)", - "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" - } - ], - "mustSupport": false, - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "Entity. Role, or Act" - }, - { - "identity": "workflow", - "map": "Event" - }, - { - "identity": "v2", - "map": "ORU -> OBR" - }, - { - "identity": "rim", - "map": "Observation[classCode=OBS, moodCode=EVN]" - } - ] - }, - { - "id": "DiagnosticReport.id", - "path": "DiagnosticReport.id", - "short": "Logical id of this artifact", - "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", - "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", - "min": 0, - "max": "1", - "base": { - "path": "Resource.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ], - "code": "http://hl7.org/fhirpath/System.String" - } - ], - "isModifier": false, - "isSummary": true - }, - { - "id": "DiagnosticReport.meta", - "path": "DiagnosticReport.meta", - "short": "Metadata about the resource", - "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", - "min": 0, - "max": "1", - "base": { - "path": "Resource.meta", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Meta" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true - }, - { - "id": "DiagnosticReport.implicitRules", - "path": "DiagnosticReport.implicitRules", - "short": "A set of rules under which this content was created", - "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", - "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", - "min": 0, - "max": "1", - "base": { - "path": "Resource.implicitRules", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "uri" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": true, - "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", - "isSummary": true - }, - { - "id": "DiagnosticReport.language", - "path": "DiagnosticReport.language", - "short": "Language of the resource content", - "definition": "The base language in which the resource is written.", - "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", - "min": 0, - "max": "1", - "base": { - "path": "Resource.language", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "code" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", - "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "Language" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", - "valueBoolean": true - } - ], - "strength": "preferred", - "description": "A human language.", - "valueSet": "http://hl7.org/fhir/ValueSet/languages" - } - }, - { - "id": "DiagnosticReport.text", - "path": "DiagnosticReport.text", - "short": "Text summary of the resource, for human interpretation", - "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", - "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", - "alias": [ - "narrative", - "html", - "xhtml", - "display" - ], - "min": 0, - "max": "1", - "base": { - "path": "DomainResource.text", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Narrative" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "Act.text?" - } - ] - }, - { - "id": "DiagnosticReport.contained", - "path": "DiagnosticReport.contained", - "short": "Contained, inline Resources", - "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", - "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", - "alias": [ - "inline resources", - "anonymous resources", - "contained resources" - ], - "min": 0, - "max": "*", - "base": { - "path": "DomainResource.contained", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Resource" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "N/A" - } - ] - }, - { - "id": "DiagnosticReport.extension", - "path": "DiagnosticReport.extension", - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "DomainResource.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "N/A" - } - ] - }, - { - "id": "DiagnosticReport.modifierExtension", - "path": "DiagnosticReport.modifierExtension", - "short": "Extensions that cannot be ignored", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "DomainResource.modifierExtension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": true, - "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "N/A" - } - ] - }, - { - "id": "DiagnosticReport.identifier", - "path": "DiagnosticReport.identifier", - "short": "Business identifier for report", - "definition": "Identifiers assigned to this report by the performer or other systems.", - "comment": "Usually assigned by the Information System of the diagnostic service provider (filler id).", - "requirements": "Need to know what identifier to use when making queries about this report from the source laboratory, and for linking to the report outside FHIR context.", - "alias": [ - "ReportID", - "Filler ID", - "Placer ID" - ], - "min": 0, - "max": "*", - "base": { - "path": "DiagnosticReport.identifier", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Identifier" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "workflow", - "map": "Event.identifier" - }, - { - "identity": "w5", - "map": "FiveWs.identifier" - }, - { - "identity": "v2", - "map": "OBR-51/ for globally unique filler ID - OBR-3 , For non-globally unique filler-id the flller/placer number must be combined with the universal service Id - OBR-2(if present)+OBR-3+OBR-4" - }, - { - "identity": "rim", - "map": "id" - } - ] - }, - { - "id": "DiagnosticReport.basedOn", - "path": "DiagnosticReport.basedOn", - "short": "What was requested", - "definition": "Details concerning a service requested.", - "comment": "Note: Usually there is one test request for each result, however in some circumstances multiple test requests may be represented using a single test result resource. Note that there are also cases where one request leads to multiple reports.", - "requirements": "This allows tracing of authorization for the report and tracking whether proposals/recommendations were acted upon.", - "alias": [ - "Request" - ], - "min": 0, - "max": "*", - "base": { - "path": "DiagnosticReport.basedOn", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/CarePlan", - "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", - "http://hl7.org/fhir/StructureDefinition/MedicationRequest", - "http://hl7.org/fhir/StructureDefinition/NutritionOrder", - "http://hl7.org/fhir/StructureDefinition/ServiceRequest" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "workflow", - "map": "Event.basedOn" - }, - { - "identity": "v2", - "map": "ORC? OBR-2/3?" - }, - { - "identity": "rim", - "map": "outboundRelationship[typeCode=FLFS].target" - } - ] - }, - { - "id": "DiagnosticReport.status", - "path": "DiagnosticReport.status", - "short": "registered | partial | preliminary | final +", - "definition": "The status of the diagnostic report.", - "requirements": "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.", - "min": 1, - "max": "1", - "base": { - "path": "DiagnosticReport.status", - "min": 1, - "max": "1" - }, - "type": [ - { - "code": "code" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": true, - "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", - "isSummary": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" - }, - "mapping": [ - { - "identity": "workflow", - "map": "Event.status" - }, - { - "identity": "w5", - "map": "FiveWs.status" - }, - { - "identity": "v2", - "map": "OBR-25 (not 1:1 mapping)" - }, - { - "identity": "rim", - "map": "statusCode Note: final and amended are distinguished by whether observation is the subject of a ControlAct event of type \"revise\"" - } - ] - }, - { - "id": "DiagnosticReport.category", - "path": "DiagnosticReport.category", - "slicing": { - "discriminator": [ - { - "type": "pattern", - "path": "$this" - } - ], - "rules": "open" - }, - "short": "Service category", - "definition": "A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.", - "comment": "Multiple categories are allowed using various categorization schemes. The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code.", - "alias": [ - "Department", - "Sub-department", - "Service", - "Discipline" - ], - "min": 1, - "max": "*", - "base": { - "path": "DiagnosticReport.category", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "DiagnosticServiceSection" - } - ], - "strength": "example", - "description": "Codes for diagnostic service sections.", - "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-service-sections" - }, - "mapping": [ - { - "identity": "w5", - "map": "FiveWs.class" - }, - { - "identity": "v2", - "map": "OBR-24" - }, - { - "identity": "rim", - "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" - } - ] - }, - { - "id": "DiagnosticReport.category:LaboratorySlice", - "path": "DiagnosticReport.category", - "sliceName": "LaboratorySlice", - "short": "Service category", - "definition": "A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.", - "comment": "Multiple categories are allowed using various categorization schemes. The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code.", - "alias": [ - "Department", - "Sub-department", - "Service", - "Discipline" - ], - "min": 1, - "max": "1", - "base": { - "path": "DiagnosticReport.category", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "patternCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB" - } - ] - }, - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "DiagnosticServiceSection" - } - ], - "strength": "example", - "description": "Codes for diagnostic service sections.", - "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-service-sections" - }, - "mapping": [ - { - "identity": "w5", - "map": "FiveWs.class" - }, - { - "identity": "v2", - "map": "OBR-24" - }, - { - "identity": "rim", - "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" - } - ] - }, - { - "id": "DiagnosticReport.code", - "path": "DiagnosticReport.code", - "short": "US Core Laboratory Report Order Code", - "definition": "The test, panel or battery that was ordered.", - "comment": "UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.", - "alias": [ - "Type" - ], - "min": 1, - "max": "1", - "base": { - "path": "DiagnosticReport.code", - "min": 1, - "max": "1" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "strength": "extensible", - "description": "LOINC codes", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes" - }, - "mapping": [ - { - "identity": "workflow", - "map": "Event.code" - }, - { - "identity": "w5", - "map": "FiveWs.what[x]" - }, - { - "identity": "v2", - "map": "OBR-4 (HL7 v2 doesn't provide an easy way to indicate both the ordered test and the performed panel)" - }, - { - "identity": "rim", - "map": "code" - } - ] - }, - { - "id": "DiagnosticReport.subject", - "path": "DiagnosticReport.subject", - "short": "The subject of the report - usually, but not always, the patient", - "definition": "The subject of the report. Usually, but not always, this is a patient. However, diagnostic services also perform analyses on specimens collected from a variety of other sources.", - "requirements": "SHALL know the subject context.", - "alias": [ - "Patient" - ], - "min": 1, - "max": "1", - "base": { - "path": "DiagnosticReport.subject", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "workflow", - "map": "Event.subject" - }, - { - "identity": "w5", - "map": "FiveWs.subject[x]" - }, - { - "identity": "v2", - "map": "PID-3 (no HL7 v2 mapping for Group or Device)" - }, - { - "identity": "rim", - "map": "participation[typeCode=SBJ]" - }, - { - "identity": "w5", - "map": "FiveWs.subject" - } - ] - }, - { - "id": "DiagnosticReport.encounter", - "path": "DiagnosticReport.encounter", - "short": "Health care event when test ordered", - "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) which this DiagnosticReport is about.", - "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", - "requirements": "Links the request to the Encounter context.", - "alias": [ - "Context" - ], - "min": 0, - "max": "1", - "base": { - "path": "DiagnosticReport.encounter", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Encounter" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "workflow", - "map": "Event.encounter" - }, - { - "identity": "w5", - "map": "FiveWs.context" - }, - { - "identity": "v2", - "map": "PV1-19" - }, - { - "identity": "rim", - "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" - } - ] - }, - { - "id": "DiagnosticReport.effective[x]", - "path": "DiagnosticReport.effective[x]", - "short": "Specimen Collection Datetime or Period", - "definition": "This is the Specimen Collection Datetime or Period which is the physically relevent dateTime for laboratory tests.", - "comment": "If the diagnostic procedure was performed on the patient, this is the time it was performed. If there are specimens, the diagnostically relevant time can be derived from the specimen collection times, but the specimen information is not always available, and the exact relationship between the specimens and the diagnostically relevant time is not always automatic.", - "requirements": "Need to know where in the patient history to file/present this report.", - "alias": [ - "Observation time", - "Effective Time", - "Occurrence" - ], - "min": 1, - "max": "1", - "base": { - "path": "DiagnosticReport.effective[x]", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "dateTime" - }, - { - "code": "Period" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "workflow", - "map": "Event.occurrence[x]" - }, - { - "identity": "w5", - "map": "FiveWs.done[x]" - }, - { - "identity": "v2", - "map": "OBR-7" - }, - { - "identity": "rim", - "map": "effectiveTime" - } - ] - }, - { - "id": "DiagnosticReport.issued", - "path": "DiagnosticReport.issued", - "short": "DateTime this version was made", - "definition": "The date and time that this version of the report was made available to providers, typically after the report was reviewed and verified.", - "comment": "May be different from the update time of the resource itself, because that is the status of the record (potentially a secondary copy), not the actual release time of the report.", - "requirements": "Clinicians need to be able to check the date that the report was released.", - "alias": [ - "Date published", - "Date Issued", - "Date Verified" - ], - "min": 1, - "max": "1", - "base": { - "path": "DiagnosticReport.issued", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "instant" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "w5", - "map": "FiveWs.recorded" - }, - { - "identity": "v2", - "map": "OBR-22" - }, - { - "identity": "rim", - "map": "participation[typeCode=VRF or AUT].time" - } - ] - }, - { - "id": "DiagnosticReport.performer", - "path": "DiagnosticReport.performer", - "short": "Responsible Diagnostic Service", - "definition": "The diagnostic service that is responsible for issuing the report.", - "comment": "This is not necessarily the source of the atomic data items or the entity that interpreted the results. It is the entity that takes responsibility for the clinical report.", - "requirements": "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.", - "alias": [ - "Laboratory", - "Service", - "Practitioner", - "Department", - "Company", - "Authorized by", - "Director" - ], - "min": 0, - "max": "*", - "base": { - "path": "DiagnosticReport.performer", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "workflow", - "map": "Event.performer.actor" - }, - { - "identity": "w5", - "map": "FiveWs.actor" - }, - { - "identity": "v2", - "map": "PRT-8 (where this PRT-4-Participation = \"PO\")" - }, - { - "identity": "rim", - "map": ".participation[typeCode=PRF]" - } - ] - }, - { - "id": "DiagnosticReport.resultsInterpreter", - "path": "DiagnosticReport.resultsInterpreter", - "short": "Primary result interpreter", - "definition": "The practitioner or organization that is responsible for the report's conclusions and interpretations.", - "comment": "Might not be the same entity that takes responsibility for the clinical report.", - "requirements": "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.", - "alias": [ - "Analyzed by", - "Reported by" - ], - "min": 0, - "max": "*", - "base": { - "path": "DiagnosticReport.resultsInterpreter", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Practitioner", - "http://hl7.org/fhir/StructureDefinition/PractitionerRole", - "http://hl7.org/fhir/StructureDefinition/Organization", - "http://hl7.org/fhir/StructureDefinition/CareTeam" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "workflow", - "map": "Event.performer.actor" - }, - { - "identity": "w5", - "map": "FiveWs.actor" - }, - { - "identity": "v2", - "map": "OBR-32, PRT-8 (where this PRT-4-Participation = \"PI\")" - }, - { - "identity": "rim", - "map": ".participation[typeCode=PRF]" - } - ] - }, - { - "id": "DiagnosticReport.specimen", - "path": "DiagnosticReport.specimen", - "short": "Specimens this report is based on", - "definition": "Details about the specimens on which this diagnostic report is based.", - "comment": "If the specimen is sufficiently specified with a code in the test result name, then this additional data may be redundant. If there are multiple specimens, these may be represented per observation or group.", - "requirements": "Need to be able to report information about the collected specimens on which the report is based.", - "min": 0, - "max": "*", - "base": { - "path": "DiagnosticReport.specimen", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Specimen" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "v2", - "map": "SPM" - }, - { - "identity": "rim", - "map": "participation[typeCode=SBJ]" - } - ] - }, - { - "id": "DiagnosticReport.result", - "path": "DiagnosticReport.result", - "short": "Observations", - "definition": "[Observations](http://hl7.org/fhir/R4/observation.html) that are part of this diagnostic report.", - "comment": "Observations can contain observations.", - "requirements": "Need to support individual results, or groups of results, where the result grouping is arbitrary, but meaningful.", - "alias": [ - "Data", - "Atomic Value", - "Result", - "Atomic result", - "Data", - "Test", - "Analyte", - "Battery", - "Organizer" - ], - "min": 0, - "max": "*", - "base": { - "path": "DiagnosticReport.result", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "v2", - "map": "OBXs" - }, - { - "identity": "rim", - "map": "outboundRelationship[typeCode=COMP].target" - } - ] - }, - { - "id": "DiagnosticReport.imagingStudy", - "path": "DiagnosticReport.imagingStudy", - "short": "Reference to full details of imaging associated with the diagnostic report", - "definition": "One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.", - "comment": "ImagingStudy and the image element are somewhat overlapping - typically, the list of image references in the image element will also be found in one of the imaging study resources. However, each caters to different types of displays for different types of purposes. Neither, either, or both may be provided.", - "min": 0, - "max": "*", - "base": { - "path": "DiagnosticReport.imagingStudy", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/ImagingStudy" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]" - } - ] - }, - { - "id": "DiagnosticReport.media", - "path": "DiagnosticReport.media", - "short": "Key images associated with this report", - "definition": "A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).", - "requirements": "Many diagnostic services include images in the report as part of their service.", - "alias": [ - "DICOM", - "Slides", - "Scans" - ], - "min": 0, - "max": "*", - "base": { - "path": "DiagnosticReport.media", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "BackboneElement" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "OBX?" - }, - { - "identity": "rim", - "map": "outboundRelationship[typeCode=COMP].target" - } - ] - }, - { - "id": "DiagnosticReport.media.id", - "path": "DiagnosticReport.media.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ], - "code": "http://hl7.org/fhirpath/System.String" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "DiagnosticReport.media.extension", - "path": "DiagnosticReport.media.extension", - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "DiagnosticReport.media.modifierExtension", - "path": "DiagnosticReport.media.modifierExtension", - "short": "Extensions that cannot be ignored even if unrecognized", - "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", - "alias": [ - "extensions", - "user content", - "modifiers" - ], - "min": 0, - "max": "*", - "base": { - "path": "BackboneElement.modifierExtension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": true, - "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", - "isSummary": true, - "mapping": [ - { - "identity": "rim", - "map": "N/A" - } - ] - }, - { - "id": "DiagnosticReport.media.comment", - "path": "DiagnosticReport.media.comment", - "short": "Comment about the image (e.g. explanation)", - "definition": "A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features.", - "comment": "The comment should be displayed with the image. It would be common for the report to include additional discussion of the image contents in other sections such as the conclusion.", - "requirements": "The provider of the report should make a comment about each image included in the report.", - "min": 0, - "max": "1", - "base": { - "path": "DiagnosticReport.media.comment", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" - } - ] - }, - { - "id": "DiagnosticReport.media.link", - "path": "DiagnosticReport.media.link", - "short": "Reference to the image source", - "definition": "Reference to the image source.", - "min": 1, - "max": "1", - "base": { - "path": "DiagnosticReport.media.link", - "min": 1, - "max": "1" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Media" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "rim", - "map": ".value.reference" - } - ] - }, - { - "id": "DiagnosticReport.conclusion", - "path": "DiagnosticReport.conclusion", - "short": "Clinical conclusion (interpretation) of test results", - "definition": "Concise and clinically contextualized summary conclusion (interpretation/impression) of the diagnostic report.", - "requirements": "Need to be able to provide a conclusion that is not lost among the basic result data.", - "alias": [ - "Report" - ], - "min": 0, - "max": "1", - "base": { - "path": "DiagnosticReport.conclusion", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "v2", - "map": "OBX" - }, - { - "identity": "rim", - "map": "inboundRelationship[typeCode=\"SPRT\"].source[classCode=OBS, moodCode=EVN, code=LOINC:48767-8].value (type=ST)" - } - ] - }, - { - "id": "DiagnosticReport.conclusionCode", - "path": "DiagnosticReport.conclusionCode", - "short": "Codes for the clinical conclusion of test results", - "definition": "One or more codes that represent the summary conclusion (interpretation/impression) of the diagnostic report.", - "min": 0, - "max": "*", - "base": { - "path": "DiagnosticReport.conclusionCode", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "AdjunctDiagnosis" - } - ], - "strength": "example", - "description": "Diagnosis codes provided as adjuncts to the report.", - "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" - }, - "mapping": [ - { - "identity": "v2", - "map": "OBX" - }, - { - "identity": "rim", - "map": "inboundRelationship[typeCode=SPRT].source[classCode=OBS, moodCode=EVN, code=LOINC:54531-9].value (type=CD)" - } - ] - }, - { - "id": "DiagnosticReport.presentedForm", - "path": "DiagnosticReport.presentedForm", - "short": "Entire report as issued", - "definition": "Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.", - "comment": "\"application/pdf\" is recommended as the most reliable and interoperable in this context.", - "requirements": "Gives laboratory the ability to provide its own fully formatted report for clinical fidelity.", - "min": 0, - "max": "*", - "base": { - "path": "DiagnosticReport.presentedForm", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Attachment" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "v2", - "map": "OBX" - }, - { - "identity": "rim", - "map": "text (type=ED)" - } - ] - } - ] - }, - "differential": { - "element": [ - { - "id": "DiagnosticReport", - "path": "DiagnosticReport", - "definition": "The US Core Diagnostic Report Profile is based upon the core FHIR DiagnosticReport Resource and created to meet the 2015 Edition Common Clinical Data Set 'Laboratory test(s) and Laboratory value(s)/result(s)' requirements.", - "alias": [ - "Lab Result", - "Lab Report" - ], - "mustSupport": false, - "isModifier": false - }, - { - "id": "DiagnosticReport.status", - "path": "DiagnosticReport.status", - "min": 1, - "max": "1", - "type": [ - { - "code": "code" - } - ], - "mustSupport": true, - "isModifier": false, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" - } - }, - { - "id": "DiagnosticReport.category", - "path": "DiagnosticReport.category", - "slicing": { - "discriminator": [ - { - "type": "pattern", - "path": "$this" - } - ], - "rules": "open" - }, - "min": 1, - "max": "*", - "type": [ - { - "code": "CodeableConcept" - } - ], - "mustSupport": true, - "isModifier": false - }, - { - "id": "DiagnosticReport.category:LaboratorySlice", - "path": "DiagnosticReport.category", - "sliceName": "LaboratorySlice", - "min": 1, - "max": "1", - "type": [ - { - "code": "CodeableConcept" - } - ], - "patternCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB" - } - ] - }, - "mustSupport": true, - "isModifier": false - }, - { - "id": "DiagnosticReport.code", - "path": "DiagnosticReport.code", - "short": "US Core Laboratory Report Order Code", - "definition": "The test, panel or battery that was ordered.", - "comment": "UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.", - "min": 1, - "max": "1", - "type": [ - { - "code": "CodeableConcept" - } - ], - "mustSupport": true, - "isModifier": false, - "binding": { - "strength": "extensible", - "description": "LOINC codes", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes" - } - }, - { - "id": "DiagnosticReport.subject", - "path": "DiagnosticReport.subject", - "min": 1, - "max": "1", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" - ] - } - ], - "mustSupport": true, - "isModifier": false - }, - { - "id": "DiagnosticReport.effective[x]", - "path": "DiagnosticReport.effective[x]", - "short": "Specimen Collection Datetime or Period", - "definition": "This is the Specimen Collection Datetime or Period which is the physically relevent dateTime for laboratory tests.", - "min": 1, - "max": "1", - "type": [ - { - "code": "dateTime" - }, - { - "code": "Period" - } - ], - "mustSupport": true, - "isModifier": false - }, - { - "id": "DiagnosticReport.issued", - "path": "DiagnosticReport.issued", - "min": 1, - "max": "1", - "type": [ - { - "code": "instant" - } - ], - "mustSupport": true, - "isModifier": false - }, - { - "id": "DiagnosticReport.performer", - "path": "DiagnosticReport.performer", - "min": 0, - "max": "*", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" - ] - } - ], - "mustSupport": true, - "isModifier": false - }, - { - "id": "DiagnosticReport.result", - "path": "DiagnosticReport.result", - "min": 0, - "max": "*", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - } - ], - "mustSupport": true, - "isModifier": false - } - ] - } -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-diagnosticreport-note.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-diagnosticreport-note.json deleted file mode 100644 index 0f262ff1e65..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-diagnosticreport-note.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-diagnosticreport-note","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" DiagnosticReport 0..*DiagnosticReportUS Core Diagnostic Report Profile for Report and Note exchange
\".\"\".\"\".\" status S1..1coderegistered | partial | preliminary | final +
Binding: DiagnosticReportStatus (required)
\".\"\".\"\".\" category S1..*CodeableConceptService category
Binding: US Core DiagnosticReport Category (extensible)
\".\"\".\"\".\" code S1..1CodeableConceptUS Core Report Code
Binding: US Core Diagnosticreport Report And Note Codes (extensible)
\".\"\".\"\".\" subject SΣ1..1Reference(US Core Patient Profile)The subject of the report - usually, but not always, the patient
\".\"\".\"\".\" encounter S0..1Reference(US Core Encounter Profile)Health care event when test ordered
\".\"\".\"\".\" effective[x] S1..1Time of the report or note
\".\"\".\"\".\"\".\" effectiveDateTimedateTime
\".\"\".\"\".\"\".\" effectivePeriodPeriod
\".\"\".\"\".\" issued S0..1instantDateTime this version was made
\".\"\".\"\".\" performer S0..*Reference(US Core Practitioner Profile | US Core Organization Profile)Responsible Diagnostic Service
\".\"\".\"\".\" presentedForm S0..*AttachmentEntire report as issued

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note","version":"3.1.1","name":"USCoreDiagnosticReportProfileNoteExchange","title":"US Core DiagnosticReport Profile for Report and Note exchange","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines constraints and extensions on the DiagnosticReport resource for the minimal set of data to query and retrieve diagnostic reports associated with clinical notes for a patient","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"workflow","uri":"http://hl7.org/fhir/workflow","name":"Workflow Pattern"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"}],"kind":"resource","abstract":false,"type":"DiagnosticReport","baseDefinition":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport","derivation":"constraint","snapshot":{"element":[{"id":"DiagnosticReport","path":"DiagnosticReport","short":"US Core Diagnostic Report Profile for Report and Note exchange","definition":"The US Core Diagnostic Report Profile for Report and Note exchange is based upon the requirements of the Argonauts to exchang imaginge reports.","comment":"This is intended to capture a single report and is not suitable for use in displaying summary information that covers multiple reports. For example, this resource has not been designed for laboratory cumulative reporting formats nor detailed structured reports for sequencing.","alias":["Report","Test","Result","Results","Labs","Laboratory","Imaging Report","Radiology Report"],"min":0,"max":"*","base":{"path":"DiagnosticReport","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"workflow","map":"Event"},{"identity":"v2","map":"ORU -> OBR"},{"identity":"rim","map":"Observation[classCode=OBS, moodCode=EVN]"}]},{"id":"DiagnosticReport.id","path":"DiagnosticReport.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"DiagnosticReport.meta","path":"DiagnosticReport.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"DiagnosticReport.implicitRules","path":"DiagnosticReport.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"DiagnosticReport.language","path":"DiagnosticReport.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"DiagnosticReport.text","path":"DiagnosticReport.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"DiagnosticReport.contained","path":"DiagnosticReport.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"DiagnosticReport.extension","path":"DiagnosticReport.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"DiagnosticReport.modifierExtension","path":"DiagnosticReport.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"DiagnosticReport.identifier","path":"DiagnosticReport.identifier","short":"Business identifier for report","definition":"Identifiers assigned to this report by the performer or other systems.","comment":"Usually assigned by the Information System of the diagnostic service provider (filler id).","requirements":"Need to know what identifier to use when making queries about this report from the source laboratory, and for linking to the report outside FHIR context.","alias":["ReportID","Filler ID","Placer ID"],"min":0,"max":"*","base":{"path":"DiagnosticReport.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.identifier"},{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"OBR-51/ for globally unique filler ID - OBR-3 , For non-globally unique filler-id the flller/placer number must be combined with the universal service Id - OBR-2(if present)+OBR-3+OBR-4"},{"identity":"rim","map":"id"}]},{"id":"DiagnosticReport.basedOn","path":"DiagnosticReport.basedOn","short":"What was requested","definition":"Details concerning a service requested.","comment":"Note: Usually there is one test request for each result, however in some circumstances multiple test requests may be represented using a single test result resource. Note that there are also cases where one request leads to multiple reports.","requirements":"This allows tracing of authorization for the report and tracking whether proposals/recommendations were acted upon.","alias":["Request"],"min":0,"max":"*","base":{"path":"DiagnosticReport.basedOn","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/CarePlan","http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation","http://hl7.org/fhir/StructureDefinition/MedicationRequest","http://hl7.org/fhir/StructureDefinition/NutritionOrder","http://hl7.org/fhir/StructureDefinition/ServiceRequest"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.basedOn"},{"identity":"v2","map":"ORC? OBR-2/3?"},{"identity":"rim","map":"outboundRelationship[typeCode=FLFS].target"}]},{"id":"DiagnosticReport.status","path":"DiagnosticReport.status","short":"registered | partial | preliminary | final +","definition":"The status of the diagnostic report.","requirements":"Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.","min":1,"max":"1","base":{"path":"DiagnosticReport.status","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/diagnostic-report-status"},"mapping":[{"identity":"workflow","map":"Event.status"},{"identity":"w5","map":"FiveWs.status"},{"identity":"v2","map":"OBR-25 (not 1:1 mapping)"},{"identity":"rim","map":"statusCode Note: final and amended are distinguished by whether observation is the subject of a ControlAct event of type \"revise\""}]},{"id":"DiagnosticReport.category","path":"DiagnosticReport.category","short":"Service category","definition":"A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.","comment":"Multiple categories are allowed using various categorization schemes. The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code.","alias":["Department","Sub-department","Service","Discipline","service","discipline"],"min":1,"max":"*","base":{"path":"DiagnosticReport.category","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"v2","map":"OBR-24"},{"identity":"rim","map":"inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code"}]},{"id":"DiagnosticReport.code","path":"DiagnosticReport.code","short":"US Core Report Code","definition":"The test, panel, report, or note that was ordered.","comment":"UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.","alias":["Type"],"min":1,"max":"1","base":{"path":"DiagnosticReport.code","min":1,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","description":"LOINC codes","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes"},"mapping":[{"identity":"workflow","map":"Event.code"},{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"v2","map":"OBR-4 (HL7 v2 doesn't provide an easy way to indicate both the ordered test and the performed panel)"},{"identity":"rim","map":"code"}]},{"id":"DiagnosticReport.subject","path":"DiagnosticReport.subject","short":"The subject of the report - usually, but not always, the patient","definition":"The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources.","requirements":"SHALL know the subject context.","alias":["Patient"],"min":1,"max":"1","base":{"path":"DiagnosticReport.subject","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.subject"},{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"PID-3 (no HL7 v2 mapping for Group or Device)"},{"identity":"rim","map":"participation[typeCode=SBJ]"},{"identity":"w5","map":"FiveWs.subject"}]},{"id":"DiagnosticReport.encounter","path":"DiagnosticReport.encounter","short":"Health care event when test ordered","definition":"The healthcare event (e.g. a patient and healthcare provider interaction) which this DiagnosticReport is about.","comment":"This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).","requirements":"Links the request to the Encounter context.","alias":["Context"],"min":0,"max":"1","base":{"path":"DiagnosticReport.encounter","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.encounter"},{"identity":"w5","map":"FiveWs.context"},{"identity":"v2","map":"PV1-19"},{"identity":"rim","map":"inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"}]},{"id":"DiagnosticReport.effective[x]","path":"DiagnosticReport.effective[x]","short":"Time of the report or note","definition":"This is the Datetime or Period when the report or note was written.","comment":"If the diagnostic procedure was performed on the patient, this is the time it was performed. If there are specimens, the diagnostically relevant time can be derived from the specimen collection times, but the specimen information is not always available, and the exact relationship between the specimens and the diagnostically relevant time is not always automatic.","requirements":"Need to know where in the patient history to file/present this report.","alias":["Observation time","Effective Time","Occurrence"],"min":1,"max":"1","base":{"path":"DiagnosticReport.effective[x]","min":0,"max":"1"},"type":[{"code":"dateTime"},{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.occurrence[x]"},{"identity":"w5","map":"FiveWs.done[x]"},{"identity":"v2","map":"OBR-7"},{"identity":"rim","map":"effectiveTime"}]},{"id":"DiagnosticReport.issued","path":"DiagnosticReport.issued","short":"DateTime this version was made","definition":"The date and time that this version of the report was made available to providers, typically after the report was reviewed and verified.","comment":"May be different from the update time of the resource itself, because that is the status of the record (potentially a secondary copy), not the actual release time of the report.","requirements":"Clinicians need to be able to check the date that the report was released.","alias":["Date published","Date Issued","Date Verified"],"min":0,"max":"1","base":{"path":"DiagnosticReport.issued","min":0,"max":"1"},"type":[{"code":"instant"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.recorded"},{"identity":"v2","map":"OBR-22"},{"identity":"rim","map":"participation[typeCode=VRF or AUT].time"}]},{"id":"DiagnosticReport.performer","path":"DiagnosticReport.performer","short":"Responsible Diagnostic Service","definition":"The diagnostic service that is responsible for issuing the report.","comment":"This is not necessarily the source of the atomic data items or the entity that interpreted the results. It is the entity that takes responsibility for the clinical report.","requirements":"Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.","alias":["Laboratory","Service","Practitioner","Department","Company","Authorized by","Director"],"min":0,"max":"*","base":{"path":"DiagnosticReport.performer","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner","http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.performer.actor"},{"identity":"w5","map":"FiveWs.actor"},{"identity":"v2","map":"PRT-8 (where this PRT-4-Participation = \"PO\")"},{"identity":"rim","map":".participation[typeCode=PRF]"}]},{"id":"DiagnosticReport.resultsInterpreter","path":"DiagnosticReport.resultsInterpreter","short":"Primary result interpreter","definition":"The practitioner or organization that is responsible for the report's conclusions and interpretations.","comment":"Might not be the same entity that takes responsibility for the clinical report.","requirements":"Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.","alias":["Analyzed by","Reported by"],"min":0,"max":"*","base":{"path":"DiagnosticReport.resultsInterpreter","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/CareTeam"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.performer.actor"},{"identity":"w5","map":"FiveWs.actor"},{"identity":"v2","map":"OBR-32, PRT-8 (where this PRT-4-Participation = \"PI\")"},{"identity":"rim","map":".participation[typeCode=PRF]"}]},{"id":"DiagnosticReport.specimen","path":"DiagnosticReport.specimen","short":"Specimens this report is based on","definition":"Details about the specimens on which this diagnostic report is based.","comment":"If the specimen is sufficiently specified with a code in the test result name, then this additional data may be redundant. If there are multiple specimens, these may be represented per observation or group.","requirements":"Need to be able to report information about the collected specimens on which the report is based.","min":0,"max":"*","base":{"path":"DiagnosticReport.specimen","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Specimen"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"SPM"},{"identity":"rim","map":"participation[typeCode=SBJ]"}]},{"id":"DiagnosticReport.result","path":"DiagnosticReport.result","short":"Observations","definition":"[Observations](http://hl7.org/fhir/R4/observation.html) that are part of this diagnostic report.","comment":"Observations can contain observations.","requirements":"Need to support individual results, or groups of results, where the result grouping is arbitrary, but meaningful.","alias":["Data","Atomic Value","Result","Atomic result","Data","Test","Analyte","Battery","Organizer"],"min":0,"max":"*","base":{"path":"DiagnosticReport.result","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Observation"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBXs"},{"identity":"rim","map":"outboundRelationship[typeCode=COMP].target"}]},{"id":"DiagnosticReport.imagingStudy","path":"DiagnosticReport.imagingStudy","short":"Reference to full details of imaging associated with the diagnostic report","definition":"One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.","comment":"ImagingStudy and the image element are somewhat overlapping - typically, the list of image references in the image element will also be found in one of the imaging study resources. However, each caters to different types of displays for different types of purposes. Neither, either, or both may be provided.","min":0,"max":"*","base":{"path":"DiagnosticReport.imagingStudy","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/ImagingStudy"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]"}]},{"id":"DiagnosticReport.media","path":"DiagnosticReport.media","short":"Key images associated with this report","definition":"A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).","requirements":"Many diagnostic services include images in the report as part of their service.","alias":["DICOM","Slides","Scans"],"min":0,"max":"*","base":{"path":"DiagnosticReport.media","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"OBX?"},{"identity":"rim","map":"outboundRelationship[typeCode=COMP].target"}]},{"id":"DiagnosticReport.media.id","path":"DiagnosticReport.media.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"DiagnosticReport.media.extension","path":"DiagnosticReport.media.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"DiagnosticReport.media.modifierExtension","path":"DiagnosticReport.media.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"DiagnosticReport.media.comment","path":"DiagnosticReport.media.comment","short":"Comment about the image (e.g. explanation)","definition":"A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features.","comment":"The comment should be displayed with the image. It would be common for the report to include additional discussion of the image contents in other sections such as the conclusion.","requirements":"The provider of the report should make a comment about each image included in the report.","min":0,"max":"1","base":{"path":"DiagnosticReport.media.comment","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"}]},{"id":"DiagnosticReport.media.link","path":"DiagnosticReport.media.link","short":"Reference to the image source","definition":"Reference to the image source.","min":1,"max":"1","base":{"path":"DiagnosticReport.media.link","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Media"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":".value.reference"}]},{"id":"DiagnosticReport.conclusion","path":"DiagnosticReport.conclusion","short":"Clinical conclusion (interpretation) of test results","definition":"Concise and clinically contextualized summary conclusion (interpretation/impression) of the diagnostic report.","requirements":"Need to be able to provide a conclusion that is not lost among the basic result data.","alias":["Report"],"min":0,"max":"1","base":{"path":"DiagnosticReport.conclusion","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX"},{"identity":"rim","map":"inboundRelationship[typeCode=\"SPRT\"].source[classCode=OBS, moodCode=EVN, code=LOINC:48767-8].value (type=ST)"}]},{"id":"DiagnosticReport.conclusionCode","path":"DiagnosticReport.conclusionCode","short":"Codes for the clinical conclusion of test results","definition":"One or more codes that represent the summary conclusion (interpretation/impression) of the diagnostic report.","min":0,"max":"*","base":{"path":"DiagnosticReport.conclusionCode","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"AdjunctDiagnosis"}],"strength":"example","description":"Diagnosis codes provided as adjuncts to the report.","valueSet":"http://hl7.org/fhir/ValueSet/clinical-findings"},"mapping":[{"identity":"v2","map":"OBX"},{"identity":"rim","map":"inboundRelationship[typeCode=SPRT].source[classCode=OBS, moodCode=EVN, code=LOINC:54531-9].value (type=CD)"}]},{"id":"DiagnosticReport.presentedForm","path":"DiagnosticReport.presentedForm","short":"Entire report as issued","definition":"Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.","comment":"\"application/pdf\" is recommended as the most reliable and interoperable in this context.","requirements":"Gives laboratory the ability to provide its own fully formatted report for clinical fidelity.","min":0,"max":"*","base":{"path":"DiagnosticReport.presentedForm","min":0,"max":"*"},"type":[{"code":"Attachment"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX"},{"identity":"rim","map":"text (type=ED)"}]}]},"differential":{"element":[{"id":"DiagnosticReport","path":"DiagnosticReport","short":"US Core Diagnostic Report Profile for Report and Note exchange","definition":"The US Core Diagnostic Report Profile for Report and Note exchange is based upon the requirements of the Argonauts to exchang imaginge reports.","alias":["Imaging Report","Radiology Report"],"mustSupport":false,"isModifier":false},{"id":"DiagnosticReport.status","path":"DiagnosticReport.status","min":1,"max":"1","type":[{"code":"code"}],"mustSupport":true,"isModifier":false,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/diagnostic-report-status"}},{"id":"DiagnosticReport.category","path":"DiagnosticReport.category","alias":["Department","Sub-department","service","discipline"],"min":1,"type":[{"code":"CodeableConcept"}],"mustSupport":true,"isModifier":false,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category"}},{"id":"DiagnosticReport.code","path":"DiagnosticReport.code","short":"US Core Report Code","definition":"The test, panel, report, or note that was ordered.","comment":"UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.","min":1,"max":"1","type":[{"code":"CodeableConcept"}],"mustSupport":true,"isModifier":false,"binding":{"strength":"extensible","description":"LOINC codes","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes"}},{"id":"DiagnosticReport.subject","path":"DiagnosticReport.subject","short":"The subject of the report - usually, but not always, the patient","definition":"The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources.","requirements":"SHALL know the subject context.","alias":["Patient"],"min":1,"max":"1","base":{"path":"DiagnosticReport.subject","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true,"isModifier":false,"isSummary":true},{"id":"DiagnosticReport.encounter","path":"DiagnosticReport.encounter","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"]}],"mustSupport":true,"isModifier":false},{"id":"DiagnosticReport.effective[x]","path":"DiagnosticReport.effective[x]","short":"Time of the report or note","definition":"This is the Datetime or Period when the report or note was written.","min":1,"max":"1","type":[{"code":"dateTime"},{"code":"Period"}],"mustSupport":true,"isModifier":false},{"id":"DiagnosticReport.issued","path":"DiagnosticReport.issued","min":0,"max":"1","type":[{"code":"instant"}],"mustSupport":true,"isModifier":false},{"id":"DiagnosticReport.performer","path":"DiagnosticReport.performer","min":0,"max":"*","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner","http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]}],"mustSupport":true,"isModifier":false},{"id":"DiagnosticReport.presentedForm","path":"DiagnosticReport.presentedForm","min":0,"max":"*","type":[{"code":"Attachment"}],"mustSupport":true,"isModifier":false}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-direct.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-direct.json deleted file mode 100644 index ae77207495f..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-direct.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-direct","text":{"status":"extensions","div":"
\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Extension 0..1ExtensionEmail is a "direct" email
\".\"\".\"\".\" url 1..1uri"http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct"
\".\"\".\"\".\" valueBoolean 1..1booleanValue of extension

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct","version":"3.1.1","name":"USCoreDirectEmailExtension","title":"US Core Direct email Extension","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"This email address is associated with a [direct](http://wiki.directproject.org/Addressing+Specification) service. This extension can only be used on contact points where the system = 'email'","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"}],"kind":"complex-type","abstract":false,"context":[{"type":"element","expression":"ContactPoint"}],"type":"Extension","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Extension","derivation":"constraint","snapshot":{"element":[{"id":"Extension","path":"Extension","short":"Email is a \"direct\" email","definition":"This email address is associated with a \"direct\" service - e.g. http://wiki.directproject.org/Addressing+Specification. This extension can only be used on contact points where the system = 'email'","comment":"This extension can only be used on contact points where the system = 'email'.","min":0,"max":"1","base":{"path":"Extension","min":0,"max":"*"},"condition":["ele-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"mapping":[{"identity":"v2","map":"No v2 equivalent"},{"identity":"rim","map":"No RIM equivalent"}]},{"id":"Extension.id","path":"Extension.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension","path":"Extension.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.url","path":"Extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","definition":"Source of the definition for the extension code - a logical name or a URL.","comment":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","min":1,"max":"1","base":{"path":"Extension.url","min":1,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"uri"}],"code":"http://hl7.org/fhirpath/System.String"}],"fixedUri":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct","isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.value[x]","path":"Extension.value[x]","slicing":{"discriminator":[{"type":"type","path":"$this"}],"ordered":false,"rules":"closed"},"short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":1,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"boolean"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.value[x]:valueBoolean","path":"Extension.value[x]","sliceName":"valueBoolean","short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":1,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"boolean"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]}]},"differential":{"element":[{"id":"Extension","path":"Extension","short":"Email is a \"direct\" email","definition":"This email address is associated with a \"direct\" service - e.g. http://wiki.directproject.org/Addressing+Specification. This extension can only be used on contact points where the system = 'email'","comment":"This extension can only be used on contact points where the system = 'email'.","min":0,"max":"1","isModifier":false,"mapping":[{"identity":"v2","map":"No v2 equivalent"},{"identity":"rim","map":"No RIM equivalent"}]},{"id":"Extension.url","path":"Extension.url","fixedUri":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct"},{"id":"Extension.valueBoolean","path":"Extension.valueBoolean","min":1,"max":"1","type":[{"code":"boolean"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-documentreference.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-documentreference.json deleted file mode 100644 index e2ac2b23d22..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-documentreference.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-documentreference","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" DocumentReference 0..*DocumentReferenceA reference to a document
\".\"\".\"\".\" identifier S0..*IdentifierOther identifiers for the document
\".\"\".\"\".\" status S1..1codecurrent | superseded | entered-in-error
Binding: DocumentReferenceStatus (required)
\".\"\".\"\".\" type S1..1CodeableConceptKind of document (LOINC if possible)
Binding: US Core DocumentReference Type (required)
Min Binding: US Core Clinical Note Type
\".\"\".\"\".\" category S1..*CodeableConceptCategorization of document
Binding: US Core DocumentReference Category (extensible)
\".\"\".\"\".\" subject S1..1Reference(US Core Patient Profile)Who/what is the subject of the document
\".\"\".\"\".\" date S0..1instantWhen this document reference was created
\".\"\".\"\".\" author S0..*Reference(US Core Practitioner Profile | US Core Organization Profile | US Core Patient Profile)Who and/or what authored the document
\".\"\".\"\".\" custodian S0..1Reference(US Core Organization Profile)Organization which maintains the document
\".\"\".\"\".\" content S1..*BackboneElementDocument referenced
\".\"\".\"\".\"\".\" attachment SI1..1AttachmentWhere to access the document
us-core-6: DocumentReference.content.attachment.url or DocumentReference.content.attachment.data or both SHALL be present.
\".\"\".\"\".\"\".\"\".\" contentType S1..1codeMime type of the content, with charset etc.
\".\"\".\"\".\"\".\"\".\" data SI0..1base64BinaryData inline, base64ed
\".\"\".\"\".\"\".\"\".\" url SI0..1urlUri where the data can be found
\".\"\".\"\".\"\".\" format S0..1CodingFormat/content rules for the document
Binding: DocumentReferenceFormatCodeSet (extensible)
\".\"\".\"\".\" context S0..1BackboneElementClinical context of document
\".\"\".\"\".\"\".\" encounter S0..1Reference(US Core Encounter Profile)Context of the document content
\".\"\".\"\".\"\".\" period S0..1PeriodTime of service that is being documented

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference","version":"3.1.1","name":"USCoreDocumentReferenceProfile","title":"US Core DocumentReference Profile","status":"active","experimental":false,"date":"2020-07-02","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"The document reference profile used in US Core.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"workflow","uri":"http://hl7.org/fhir/workflow","name":"Workflow Pattern"},{"identity":"fhircomposition","uri":"http://hl7.org/fhir/composition","name":"FHIR Composition"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"cda","uri":"http://hl7.org/v3/cda","name":"CDA (R2)"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"},{"identity":"xds","uri":"http://ihe.net/xds","name":"XDS metadata equivalent"}],"kind":"resource","abstract":false,"type":"DocumentReference","baseDefinition":"http://hl7.org/fhir/StructureDefinition/DocumentReference","derivation":"constraint","snapshot":{"element":[{"id":"DocumentReference","path":"DocumentReference","short":"A reference to a document","definition":"This is a basic constraint on DocumentRefernce for use in the US Core IG.","comment":"Usually, this is used for documents other than those defined by FHIR.","min":0,"max":"*","base":{"path":"DocumentReference","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"workflow","map":"Event"},{"identity":"fhircomposition","map":"when describing a Composition"},{"identity":"rim","map":"Document[classCode=\"DOC\" and moodCode=\"EVN\"]"},{"identity":"cda","map":"when describing a CDA"}]},{"id":"DocumentReference.id","path":"DocumentReference.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"DocumentReference.meta","path":"DocumentReference.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"DocumentReference.implicitRules","path":"DocumentReference.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"DocumentReference.language","path":"DocumentReference.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"DocumentReference.text","path":"DocumentReference.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"DocumentReference.contained","path":"DocumentReference.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"DocumentReference.extension","path":"DocumentReference.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"DocumentReference.modifierExtension","path":"DocumentReference.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"DocumentReference.masterIdentifier","path":"DocumentReference.masterIdentifier","short":"Master Version Specific Identifier","definition":"Document identifier as assigned by the source of the document. This identifier is specific to this version of the document. This unique identifier may be used elsewhere to identify this version of the document.","comment":"CDA Document Id extension and root.","requirements":"The structure and format of this Id shall be consistent with the specification corresponding to the formatCode attribute. (e.g. for a DICOM standard document a 64-character numeric UID, for an HL7 CDA format a serialization of the CDA Document Id extension and root in the form \"oid^extension\", where OID is a 64 digits max, and the Id is a 16 UTF-8 char max. If the OID is coded without the extension then the '^' character shall not be included.).","min":0,"max":"1","base":{"path":"DocumentReference.masterIdentifier","min":0,"max":"1"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.identifier"},{"identity":"w5","map":"FiveWs.identifier"},{"identity":"fhircomposition","map":"Composition.identifier"},{"identity":"v2","map":"TXA-12"},{"identity":"rim","map":".id"},{"identity":"xds","map":"DocumentEntry.uniqueId"},{"identity":"cda","map":"ClinicalDocument/id"}]},{"id":"DocumentReference.identifier","path":"DocumentReference.identifier","short":"Other identifiers for the document","definition":"Other identifiers associated with the document, including version independent identifiers.","min":0,"max":"*","base":{"path":"DocumentReference.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.identifier"},{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"TXA-16?"},{"identity":"rim","map":".id / .setId"},{"identity":"xds","map":"DocumentEntry.entryUUID"}]},{"id":"DocumentReference.status","path":"DocumentReference.status","short":"current | superseded | entered-in-error","definition":"The status of this document reference.","comment":"This is the status of the DocumentReference object, which might be independent from the docStatus element.\n\nThis element is labeled as a modifier because the status contains the codes that mark the document or reference as not currently valid.","min":1,"max":"1","base":{"path":"DocumentReference.status","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/document-reference-status"},"mapping":[{"identity":"workflow","map":"Event.status"},{"identity":"w5","map":"FiveWs.status"},{"identity":"v2","map":"TXA-19"},{"identity":"rim","map":"interim: .completionCode=\"IN\" & ./statusCode[isNormalDatatype()]=\"active\"; final: .completionCode=\"AU\" && ./statusCode[isNormalDatatype()]=\"complete\" and not(./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseDocument\", code) and isNormalAct()]); amended: .completionCode=\"AU\" && ./statusCode[isNormalDatatype()]=\"complete\" and ./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseDocument\", code) and isNormalAct() and statusCode=\"completed\"]; withdrawn : .completionCode=NI && ./statusCode[isNormalDatatype()]=\"obsolete\""},{"identity":"xds","map":"DocumentEntry.availabilityStatus"}]},{"id":"DocumentReference.docStatus","path":"DocumentReference.docStatus","short":"preliminary | final | amended | entered-in-error","definition":"The status of the underlying document.","comment":"The document that is pointed to might be in various lifecycle states.","min":0,"max":"1","base":{"path":"DocumentReference.docStatus","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ReferredDocumentStatus"}],"strength":"required","description":"Status of the underlying document.","valueSet":"http://hl7.org/fhir/ValueSet/composition-status|4.0.1"},"mapping":[{"identity":"w5","map":"FiveWs.status"},{"identity":"fhircomposition","map":"Composition.status"},{"identity":"v2","map":"TXA-17"},{"identity":"rim","map":".statusCode"}]},{"id":"DocumentReference.type","path":"DocumentReference.type","short":"Kind of document (LOINC if possible)","definition":"Specifies the particular kind of document referenced (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced.","comment":"Key metadata element describing the document that describes he exact type of document. Helps humans to assess whether the document is of interest when viewing a list of documents.","min":1,"max":"1","base":{"path":"DocumentReference.type","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet","valueCanonical":"http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type"}],"strength":"required","description":"All LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type"},"mapping":[{"identity":"workflow","map":"Event.code"},{"identity":"w5","map":"FiveWs.class"},{"identity":"fhircomposition","map":"Composition.type"},{"identity":"v2","map":"TXA-2"},{"identity":"rim","map":"./code"},{"identity":"xds","map":"DocumentEntry.type"},{"identity":"cda","map":"ClinicalDocument/code/@code \n\nThe typeCode should be mapped from the ClinicalDocument/code element to a set of document type codes configured in the affinity domain. One suggested coding system to use for typeCode is LOINC, in which case the mapping step can be omitted."}]},{"id":"DocumentReference.category","path":"DocumentReference.category","short":"Categorization of document","definition":"A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type.","comment":"Key metadata element describing the the category or classification of the document. This is a broader perspective that groups similar documents based on how they would be used. This is a primary key used in searching.","alias":["claxs"],"min":1,"max":"*","base":{"path":"DocumentReference.category","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","description":"The US Core DocumentReferences Type Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"fhircomposition","map":"Composition.class"},{"identity":"rim","map":".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code"},{"identity":"xds","map":"DocumentEntry.class"},{"identity":"cda","map":"Derived from a mapping of /ClinicalDocument/code/@code to an Affinity Domain specified coded value to use and coding system. Affinity Domains are encouraged to use the appropriate value for Type of Service, based on the LOINC Type of Service (see Page 53 of the LOINC User's Manual). Must be consistent with /ClinicalDocument/code/@code"}]},{"id":"DocumentReference.subject","path":"DocumentReference.subject","short":"Who/what is the subject of the document","definition":"Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure).","min":1,"max":"1","base":{"path":"DocumentReference.subject","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.subject"},{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"fhircomposition","map":"Composition.subject"},{"identity":"v2","map":"PID-3 (No standard way to define a Practitioner or Group subject in HL7 v2 MDM message)"},{"identity":"rim","map":".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]"},{"identity":"xds","map":"DocumentEntry.patientId"},{"identity":"cda","map":"ClinicalDocument/recordTarget/"},{"identity":"w5","map":"FiveWs.subject"}]},{"id":"DocumentReference.date","path":"DocumentReference.date","short":"When this document reference was created","definition":"When the document reference was created.","comment":"Referencing/indexing time is used for tracking, organizing versions and searching.","alias":["indexed"],"min":0,"max":"1","base":{"path":"DocumentReference.date","min":0,"max":"1"},"type":[{"code":"instant"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.occurrence[x]"},{"identity":"w5","map":"FiveWs.recorded"},{"identity":"fhircomposition","map":"Composition.date"},{"identity":"rim","map":".availabilityTime[type=\"TS\"]"}]},{"id":"DocumentReference.author","path":"DocumentReference.author","short":"Who and/or what authored the document","definition":"Identifies who is responsible for adding the information to the document.","comment":"Not necessarily who did the actual data entry (i.e. typist) or who was the source (informant).","min":0,"max":"*","base":{"path":"DocumentReference.author","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner","http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization","http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.performer.actor"},{"identity":"fhircomposition","map":"Composition.author"},{"identity":"v2","map":"TXA-9 (No standard way to indicate a Device in HL7 v2 MDM message)"},{"identity":"rim","map":".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"},{"identity":"xds","map":"DocumentEntry.author"},{"identity":"cda","map":"ClinicalDocument/author"}]},{"id":"DocumentReference.authenticator","path":"DocumentReference.authenticator","short":"Who/what authenticated the document","definition":"Which person or organization authenticates that this document is valid.","comment":"Represents a participant within the author institution who has legally authenticated or attested the document. Legal authentication implies that a document has been signed manually or electronically by the legal Authenticator.","min":0,"max":"1","base":{"path":"DocumentReference.authenticator","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.performer.actor"},{"identity":"w5","map":"FiveWs.witness"},{"identity":"fhircomposition","map":"Composition.attester"},{"identity":"v2","map":"TXA-10"},{"identity":"rim","map":".participation[typeCode=\"AUTHEN\"].role[classCode=\"ASSIGNED\"]"},{"identity":"xds","map":"DocumentEntry.legalAuthenticator"},{"identity":"cda","map":"ClinicalDocument/legalAuthenticator"}]},{"id":"DocumentReference.custodian","path":"DocumentReference.custodian","short":"Organization which maintains the document","definition":"Identifies the organization or group who is responsible for ongoing maintenance of and access to the document.","comment":"Identifies the logical organization (software system, vendor, or department) to go to find the current version, where to report issues, etc. This is different from the physical location (URL, disk drive, or server) of the document, which is the technical location of the document, which host may be delegated to the management of some other organization.","min":0,"max":"1","base":{"path":"DocumentReference.custodian","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.performer.actor"},{"identity":"fhircomposition","map":"Composition.custodian"},{"identity":"rim","map":".participation[typeCode=\"RCV\"].role[classCode=\"CUST\"].scoper[classCode=\"ORG\" and determinerCode=\"INST\"]"}]},{"id":"DocumentReference.relatesTo","path":"DocumentReference.relatesTo","short":"Relationships to other documents","definition":"Relationships that this document has with other document references that already exist.","comment":"This element is labeled as a modifier because documents that append to other documents are incomplete on their own.","min":0,"max":"*","base":{"path":"DocumentReference.relatesTo","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"fhircomposition","map":"Composition.relatesTo"},{"identity":"rim","map":".outboundRelationship"},{"identity":"xds","map":"DocumentEntry Associations"}]},{"id":"DocumentReference.relatesTo.id","path":"DocumentReference.relatesTo.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"DocumentReference.relatesTo.extension","path":"DocumentReference.relatesTo.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"DocumentReference.relatesTo.modifierExtension","path":"DocumentReference.relatesTo.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"DocumentReference.relatesTo.code","path":"DocumentReference.relatesTo.code","short":"replaces | transforms | signs | appends","definition":"The type of relationship that this document has with anther document.","comment":"If this document appends another document, then the document cannot be fully understood without also accessing the referenced document.","min":1,"max":"1","base":{"path":"DocumentReference.relatesTo.code","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"DocumentRelationshipType"}],"strength":"required","description":"The type of relationship between documents.","valueSet":"http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1"},"mapping":[{"identity":"fhircomposition","map":"Composition.relatesTo.code"},{"identity":"rim","map":".outboundRelationship.typeCode"},{"identity":"xds","map":"DocumentEntry Associations type"}]},{"id":"DocumentReference.relatesTo.target","path":"DocumentReference.relatesTo.target","short":"Target of the relationship","definition":"The target document of this relationship.","min":1,"max":"1","base":{"path":"DocumentReference.relatesTo.target","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/DocumentReference"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"fhircomposition","map":"Composition.relatesTo.target"},{"identity":"rim","map":".target[classCode=\"DOC\", moodCode=\"EVN\"].id"},{"identity":"xds","map":"DocumentEntry Associations reference"}]},{"id":"DocumentReference.description","path":"DocumentReference.description","short":"Human-readable description","definition":"Human-readable description of the source document.","comment":"What the document is about, a terse summary of the document.","requirements":"Helps humans to assess whether the document is of interest.","min":0,"max":"1","base":{"path":"DocumentReference.description","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"TXA-25"},{"identity":"rim","map":".outboundRelationship[typeCode=\"SUBJ\"].target.text"},{"identity":"xds","map":"DocumentEntry.comments"}]},{"id":"DocumentReference.securityLabel","path":"DocumentReference.securityLabel","short":"Document security-tags","definition":"A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the \"reference\" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to.","comment":"The confidentiality codes can carry multiple vocabulary items. HL7 has developed an understanding of security and privacy tags that might be desirable in a Document Sharing environment, called HL7 Healthcare Privacy and Security Classification System (HCS). The following specification is recommended but not mandated, as the vocabulary bindings are an administrative domain responsibility. The use of this method is up to the policy domain such as the XDS Affinity Domain or other Trust Domain where all parties including sender and recipients are trusted to appropriately tag and enforce. \n\nIn the HL7 Healthcare Privacy and Security Classification (HCS) there are code systems specific to Confidentiality, Sensitivity, Integrity, and Handling Caveats. Some values would come from a local vocabulary as they are related to workflow roles and special projects.","requirements":"Use of the Health Care Privacy/Security Classification (HCS) system of security-tag use is recommended.","min":0,"max":"*","base":{"path":"DocumentReference.securityLabel","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"SecurityLabels"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"extensible","description":"Security Labels from the Healthcare Privacy and Security Classification System.","valueSet":"http://hl7.org/fhir/ValueSet/security-labels"},"mapping":[{"identity":"fhircomposition","map":"Composition.confidentiality, Composition.meta.security"},{"identity":"v2","map":"TXA-18"},{"identity":"rim","map":".confidentialityCode"},{"identity":"xds","map":"DocumentEntry.confidentialityCode"},{"identity":"cda","map":"ClinicalDocument/confidentialityCode/@code"}]},{"id":"DocumentReference.content","path":"DocumentReference.content","short":"Document referenced","definition":"The document and format referenced. There may be multiple content element repetitions, each with a different format.","min":1,"max":"*","base":{"path":"DocumentReference.content","min":1,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"fhircomposition","map":"Bundle(Composition+*)"},{"identity":"rim","map":"document.text"}]},{"id":"DocumentReference.content.id","path":"DocumentReference.content.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"DocumentReference.content.extension","path":"DocumentReference.content.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"DocumentReference.content.modifierExtension","path":"DocumentReference.content.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"DocumentReference.content.attachment","path":"DocumentReference.content.attachment","short":"Where to access the document","definition":"The document or URL of the document along with critical metadata to prove content has integrity.","min":1,"max":"1","base":{"path":"DocumentReference.content.attachment","min":1,"max":"1"},"type":[{"code":"Attachment"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"us-core-6","severity":"error","human":"DocumentReference.content.attachment.url or DocumentReference.content.attachment.data or both SHALL be present.","expression":"url.exists() or data.exists()","xpath":"f:url or f:content"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"fhircomposition","map":"Composition.language, \nComposition.title, \nComposition.date"},{"identity":"v2","map":"TXA-3 for mime type"},{"identity":"rim","map":"document.text"},{"identity":"xds","map":"DocumentEntry.mimeType, DocumentEntry.languageCode, DocumentEntry.URI, DocumentEntry.size, DocumentEntry.hash, DocumentEntry.title, DocumentEntry.creationTime"},{"identity":"cda","map":"ClinicalDocument/languageCode, ClinicalDocument/title, ClinicalDocument/date"}]},{"id":"DocumentReference.content.attachment.id","path":"DocumentReference.content.attachment.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"DocumentReference.content.attachment.extension","path":"DocumentReference.content.attachment.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"DocumentReference.content.attachment.contentType","path":"DocumentReference.content.attachment.contentType","short":"Mime type of the content, with charset etc.","definition":"Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.","requirements":"Processors of the data need to be able to know how to interpret the data.","min":1,"max":"1","base":{"path":"Attachment.contentType","min":0,"max":"1"},"type":[{"code":"code"}],"example":[{"label":"General","valueCode":"text/plain; charset=UTF-8, image/png"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"MimeType"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"required","description":"The mime type of an attachment. Any valid mime type is allowed.","valueSet":"http://hl7.org/fhir/ValueSet/mimetypes|4.0.1"},"mapping":[{"identity":"v2","map":"ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used"},{"identity":"rim","map":"./mediaType, ./charset"}]},{"id":"DocumentReference.content.attachment.language","path":"DocumentReference.content.attachment.language","short":"Human language of the content (BCP-47)","definition":"The human language of the content. The value can be any valid value according to BCP 47.","requirements":"Users need to be able to choose between the languages in a set of attachments.","min":0,"max":"1","base":{"path":"Attachment.language","min":0,"max":"1"},"type":[{"code":"code"}],"example":[{"label":"General","valueCode":"en-AU"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"},"mapping":[{"identity":"rim","map":"./language"}]},{"id":"DocumentReference.content.attachment.data","path":"DocumentReference.content.attachment.data","short":"Data inline, base64ed","definition":"The actual data of the attachment - a sequence of bytes, base64 encoded.","comment":"The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON.","requirements":"The data needs to able to be transmitted inline.","min":0,"max":"1","base":{"path":"Attachment.data","min":0,"max":"1"},"type":[{"code":"base64Binary"}],"condition":["us-core-6"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"ED.5"},{"identity":"rim","map":"./data"}]},{"id":"DocumentReference.content.attachment.url","path":"DocumentReference.content.attachment.url","short":"Uri where the data can be found","definition":"A location where the data can be accessed.","comment":"If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data.","requirements":"The data needs to be transmitted by reference.","min":0,"max":"1","base":{"path":"Attachment.url","min":0,"max":"1"},"type":[{"code":"url"}],"example":[{"label":"General","valueUrl":"http://www.acme.com/logo-small.png"}],"condition":["us-core-6"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"RP.1+RP.2 - if they refer to a URL (see v2.6)"},{"identity":"rim","map":"./reference/literal"}]},{"id":"DocumentReference.content.attachment.size","path":"DocumentReference.content.attachment.size","short":"Number of bytes of content (if url provided)","definition":"The number of bytes of data that make up this attachment (before base64 encoding, if that is done).","comment":"The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference.","requirements":"Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all.","min":0,"max":"1","base":{"path":"Attachment.size","min":0,"max":"1"},"type":[{"code":"unsignedInt"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":"N/A (needs data type R3 proposal)"}]},{"id":"DocumentReference.content.attachment.hash","path":"DocumentReference.content.attachment.hash","short":"Hash of the data (sha-1, base64ed)","definition":"The calculated hash of the data using SHA-1. Represented using base64.","comment":"The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](http://hl7.org/fhir/R4/provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature.","requirements":"Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version).","min":0,"max":"1","base":{"path":"Attachment.hash","min":0,"max":"1"},"type":[{"code":"base64Binary"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":".integrityCheck[parent::ED/integrityCheckAlgorithm=\"SHA-1\"]"}]},{"id":"DocumentReference.content.attachment.title","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable","valueBoolean":true}],"path":"DocumentReference.content.attachment.title","short":"Label to display in place of the data","definition":"A label or set of text to display in place of the data.","requirements":"Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer.","min":0,"max":"1","base":{"path":"Attachment.title","min":0,"max":"1"},"type":[{"code":"string"}],"example":[{"label":"General","valueString":"Official Corporate Logo"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":"./title/data"}]},{"id":"DocumentReference.content.attachment.creation","path":"DocumentReference.content.attachment.creation","short":"Date attachment was first created","definition":"The date that the attachment was first created.","requirements":"This is often tracked as an integrity issue for use of the attachment.","min":0,"max":"1","base":{"path":"Attachment.creation","min":0,"max":"1"},"type":[{"code":"dateTime"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":"N/A (needs data type R3 proposal)"}]},{"id":"DocumentReference.content.format","path":"DocumentReference.content.format","short":"Format/content rules for the document","definition":"An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType.","comment":"Note that while IHE mostly issues URNs for format types, not all documents can be identified by a URI.","min":0,"max":"1","base":{"path":"DocumentReference.content.format","min":0,"max":"1"},"type":[{"code":"Coding"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/formatcodes"},"mapping":[{"identity":"fhircomposition","map":"Composition.meta.profile"},{"identity":"rim","map":"document.text"},{"identity":"xds","map":"DocumentEntry.formatCode"},{"identity":"cda","map":"derived from the IHE Profile or Implementation Guide templateID"}]},{"id":"DocumentReference.context","path":"DocumentReference.context","short":"Clinical context of document","definition":"The clinical context in which the document was prepared.","comment":"These values are primarily added to help with searching for interesting/relevant documents.","min":0,"max":"1","base":{"path":"DocumentReference.context","min":0,"max":"1"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":"outboundRelationship[typeCode=\"SUBJ\"].target[classCode<'ACT']"}]},{"id":"DocumentReference.context.id","path":"DocumentReference.context.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"DocumentReference.context.extension","path":"DocumentReference.context.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"DocumentReference.context.modifierExtension","path":"DocumentReference.context.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"DocumentReference.context.encounter","path":"DocumentReference.context.encounter","short":"Context of the document content","definition":"Describes the clinical encounter or type of care that the document content is associated with.","min":0,"max":"1","base":{"path":"DocumentReference.context.encounter","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.context"},{"identity":"w5","map":"FiveWs.context"},{"identity":"fhircomposition","map":"Composition.encounter"},{"identity":"rim","map":"unique(highest(./outboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()], priorityNumber)/target[moodCode=\"EVN\" and classCode=(\"ENC\", \"PCPR\") and isNormalAct])"}]},{"id":"DocumentReference.context.event","path":"DocumentReference.context.event","short":"Main clinical acts documented","definition":"This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the type Code, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.","comment":"An event can further specialize the act inherent in the type, such as where it is simply \"Procedure Report\" and the procedure was a \"colonoscopy\". If one or more event codes are included, they shall not conflict with the values inherent in the class or type elements as such a conflict would create an ambiguous situation.","min":0,"max":"*","base":{"path":"DocumentReference.context.event","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"DocumentEventType"}],"strength":"example","description":"This list of codes represents the main clinical acts being documented.","valueSet":"http://terminology.hl7.org/ValueSet/v3-ActCode"},"mapping":[{"identity":"fhircomposition","map":"Composition.event.code"},{"identity":"rim","map":".code"},{"identity":"xds","map":"DocumentEntry.eventCodeList"}]},{"id":"DocumentReference.context.period","path":"DocumentReference.context.period","short":"Time of service that is being documented","definition":"The time period over which the service that is described by the document was provided.","min":0,"max":"1","base":{"path":"DocumentReference.context.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"fhircomposition","map":"Composition.event.period"},{"identity":"rim","map":".effectiveTime"},{"identity":"xds","map":"DocumentEntry.serviceStartTime, DocumentEntry.serviceStopTime"},{"identity":"cda","map":"ClinicalDocument/documentationOf/\nserviceEvent/effectiveTime/low/\n@value --> ClinicalDocument/documentationOf/\nserviceEvent/effectiveTime/high/\n@value"}]},{"id":"DocumentReference.context.facilityType","path":"DocumentReference.context.facilityType","short":"Kind of facility where patient was seen","definition":"The kind of facility where the patient was seen.","min":0,"max":"1","base":{"path":"DocumentReference.context.facilityType","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"DocumentC80FacilityType"}],"strength":"example","description":"XDS Facility Type.","valueSet":"http://hl7.org/fhir/ValueSet/c80-facilitycodes"},"mapping":[{"identity":"fhircomposition","map":"usually from a mapping to a local ValueSet"},{"identity":"rim","map":".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code"},{"identity":"xds","map":"DocumentEntry.healthcareFacilityTypeCode"},{"identity":"cda","map":"usually a mapping to a local ValueSet. Must be consistent with /clinicalDocument/code"}]},{"id":"DocumentReference.context.practiceSetting","path":"DocumentReference.context.practiceSetting","short":"Additional details about where the content was created (e.g. clinical specialty)","definition":"This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty.","comment":"This element should be based on a coarse classification system for the class of specialty practice. Recommend the use of the classification system for Practice Setting, such as that described by the Subject Matter Domain in LOINC.","requirements":"This is an important piece of metadata that providers often rely upon to quickly sort and/or filter out to find specific content.","min":0,"max":"1","base":{"path":"DocumentReference.context.practiceSetting","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"DocumentC80PracticeSetting"}],"strength":"example","description":"Additional details about where the content was created (e.g. clinical specialty).","valueSet":"http://hl7.org/fhir/ValueSet/c80-practice-codes"},"mapping":[{"identity":"fhircomposition","map":"usually from a mapping to a local ValueSet"},{"identity":"rim","map":".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code"},{"identity":"xds","map":"DocumentEntry.practiceSettingCode"},{"identity":"cda","map":"usually from a mapping to a local ValueSet"}]},{"id":"DocumentReference.context.sourcePatientInfo","path":"DocumentReference.context.sourcePatientInfo","short":"Patient demographics from source","definition":"The Patient Information as known when the document was published. May be a reference to a version specific, or contained.","min":0,"max":"1","base":{"path":"DocumentReference.context.sourcePatientInfo","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"fhircomposition","map":"Composition.subject"},{"identity":"rim","map":".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]"},{"identity":"xds","map":"DocumentEntry.sourcePatientInfo, DocumentEntry.sourcePatientId"},{"identity":"cda","map":"ClinicalDocument/recordTarget/"}]},{"id":"DocumentReference.context.related","path":"DocumentReference.context.related","short":"Related identifiers or resources","definition":"Related identifiers or resources associated with the DocumentReference.","comment":"May be identifiers or resources that caused the DocumentReference or referenced Document to be created.","min":0,"max":"*","base":{"path":"DocumentReference.context.related","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Resource"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"fhircomposition","map":"Composition.event.detail"},{"identity":"rim","map":"./outboundRelationship[typeCode=\"PERT\" and isNormalActRelationship()] / target[isNormalAct]"},{"identity":"xds","map":"DocumentEntry.referenceIdList"},{"identity":"cda","map":"ClinicalDocument/relatedDocument"}]}]},"differential":{"element":[{"id":"DocumentReference","path":"DocumentReference","definition":"This is a basic constraint on DocumentRefernce for use in the US Core IG.","mustSupport":false},{"id":"DocumentReference.identifier","path":"DocumentReference.identifier","min":0,"max":"*","mustSupport":true},{"id":"DocumentReference.status","path":"DocumentReference.status","min":1,"max":"1","mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/document-reference-status"}},{"id":"DocumentReference.type","path":"DocumentReference.type","min":1,"max":"1","mustSupport":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet","valueCanonical":"http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type"}],"strength":"required","description":"All LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type"}},{"id":"DocumentReference.category","path":"DocumentReference.category","min":1,"max":"*","mustSupport":true,"binding":{"strength":"extensible","description":"The US Core DocumentReferences Type Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category"}},{"id":"DocumentReference.subject","path":"DocumentReference.subject","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true},{"id":"DocumentReference.date","path":"DocumentReference.date","min":0,"max":"1","mustSupport":true},{"id":"DocumentReference.author","path":"DocumentReference.author","min":0,"max":"*","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner","http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization","http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true},{"id":"DocumentReference.custodian","path":"DocumentReference.custodian","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]}],"mustSupport":true},{"id":"DocumentReference.content","path":"DocumentReference.content","min":1,"max":"*","mustSupport":true},{"id":"DocumentReference.content.attachment","path":"DocumentReference.content.attachment","min":1,"max":"1","constraint":[{"key":"us-core-6","severity":"error","human":"DocumentReference.content.attachment.url or DocumentReference.content.attachment.data or both SHALL be present.","expression":"url.exists() or data.exists()","xpath":"f:url or f:content"}],"mustSupport":true},{"id":"DocumentReference.content.attachment.contentType","path":"DocumentReference.content.attachment.contentType","min":1,"max":"1","mustSupport":true},{"id":"DocumentReference.content.attachment.data","path":"DocumentReference.content.attachment.data","min":0,"max":"1","condition":["us-core-6"],"mustSupport":true},{"id":"DocumentReference.content.attachment.url","path":"DocumentReference.content.attachment.url","min":0,"max":"1","condition":["us-core-6"],"mustSupport":true},{"id":"DocumentReference.content.format","path":"DocumentReference.content.format","min":0,"max":"1","mustSupport":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/formatcodes"}},{"id":"DocumentReference.context","path":"DocumentReference.context","min":0,"max":"1","mustSupport":true},{"id":"DocumentReference.context.encounter","path":"DocumentReference.context.encounter","min":0,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"]}],"mustSupport":true},{"id":"DocumentReference.context.period","path":"DocumentReference.context.period","mustSupport":true}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-encounter.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-encounter.json deleted file mode 100644 index 6687d8216e4..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-encounter.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-encounter","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Encounter 0..*EncounterAn interaction during which services are provided to the patient
\".\"\".\"\".\" identifier S0..*IdentifierIdentifier(s) by which this encounter is known
\".\"\".\"\".\"\".\" system S1..1uriThe namespace for the identifier value
\".\"\".\"\".\"\".\" value S1..1stringThe value that is unique
\".\"\".\"\".\" status S1..1codeplanned | arrived | triaged | in-progress | onleave | finished | cancelled +
\".\"\".\"\".\" class S1..1CodingClassification of patient encounter
\".\"\".\"\".\" type S1..*CodeableConceptSpecific type of encounter
Binding: US Core Encounter Type (extensible)
\".\"\".\"\".\" subject S1..1Reference(US Core Patient Profile)The patient or group present at the encounter
\".\"\".\"\".\" participant S0..*BackboneElementList of participants involved in the encounter
\".\"\".\"\".\"\".\" type S0..*CodeableConceptRole of participant in encounter
\".\"\".\"\".\"\".\" period S0..1PeriodPeriod of time during the encounter that the participant participated
\".\"\".\"\".\"\".\" individual S0..1Reference(US Core Practitioner Profile)Persons involved in the encounter other than the patient
\".\"\".\"\".\" period S0..1PeriodThe start and end time of the encounter
\".\"\".\"\".\" reasonCode S0..*CodeableConceptCoded reason the encounter takes place
\".\"\".\"\".\" hospitalization S0..1BackboneElementDetails about the admission to a healthcare service
\".\"\".\"\".\"\".\" dischargeDisposition S0..1CodeableConceptCategory or kind of location after discharge
\".\"\".\"\".\" location S0..*BackboneElementList of locations where the patient has been
\".\"\".\"\".\"\".\" location S1..1Reference(Location)Location the encounter takes place

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter","version":"3.1.1","name":"USCoreEncounterProfile","title":"US Core Encounter Profile","status":"active","experimental":false,"date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"The Encounter referenced in the US Core profiles.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"workflow","uri":"http://hl7.org/fhir/workflow","name":"Workflow Pattern"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"}],"kind":"resource","abstract":false,"type":"Encounter","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Encounter","derivation":"constraint","snapshot":{"element":[{"id":"Encounter","path":"Encounter","short":"An interaction during which services are provided to the patient","definition":"This is basic constraint on Encounter for use in US Core resources.","alias":["Visit"],"min":0,"max":"*","base":{"path":"Encounter","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"workflow","map":"Event"},{"identity":"rim","map":"Encounter[@moodCode='EVN']"}]},{"id":"Encounter.id","path":"Encounter.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"Encounter.meta","path":"Encounter.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"Encounter.implicitRules","path":"Encounter.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"Encounter.language","path":"Encounter.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"Encounter.text","path":"Encounter.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"Encounter.contained","path":"Encounter.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Encounter.extension","path":"Encounter.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Encounter.modifierExtension","path":"Encounter.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Encounter.identifier","path":"Encounter.identifier","short":"Identifier(s) by which this encounter is known","definition":"Identifier(s) by which this encounter is known.","min":0,"max":"*","base":{"path":"Encounter.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.identifier"},{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"PV1-19"},{"identity":"rim","map":".id"}]},{"id":"Encounter.identifier.id","path":"Encounter.identifier.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.identifier.extension","path":"Encounter.identifier.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.identifier.use","path":"Encounter.identifier.use","short":"usual | official | temp | secondary | old (If known)","definition":"The purpose of this identifier.","comment":"Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.","requirements":"Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.","min":0,"max":"1","base":{"path":"Identifier.use","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"IdentifierUse"}],"strength":"required","description":"Identifies the purpose for this identifier, if known .","valueSet":"http://hl7.org/fhir/ValueSet/identifier-use|4.0.1"},"mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"Role.code or implied by context"}]},{"id":"Encounter.identifier.type","path":"Encounter.identifier.type","short":"Description of identifier","definition":"A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.","comment":"This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.","requirements":"Allows users to make use of identifiers when the identifier system is not known.","min":0,"max":"1","base":{"path":"Identifier.type","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"IdentifierType"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"extensible","description":"A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.","valueSet":"http://hl7.org/fhir/ValueSet/identifier-type"},"mapping":[{"identity":"v2","map":"CX.5"},{"identity":"rim","map":"Role.code or implied by context"}]},{"id":"Encounter.identifier.system","path":"Encounter.identifier.system","short":"The namespace for the identifier value","definition":"Establishes the namespace for the value - that is, a URL that describes a set values that are unique.","comment":"Identifier.system is always case sensitive.","requirements":"There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.","min":1,"max":"1","base":{"path":"Identifier.system","min":0,"max":"1"},"type":[{"code":"uri"}],"example":[{"label":"General","valueUri":"http://www.acme.com/identifiers/patient"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"CX.4 / EI-2-4"},{"identity":"rim","map":"II.root or Role.id.root"},{"identity":"servd","map":"./IdentifierType"}]},{"id":"Encounter.identifier.value","path":"Encounter.identifier.value","short":"The value that is unique","definition":"The portion of the identifier typically relevant to the user and which is unique within the context of the system.","comment":"If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.","min":1,"max":"1","base":{"path":"Identifier.value","min":0,"max":"1"},"type":[{"code":"string"}],"example":[{"label":"General","valueString":"123456"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"CX.1 / EI.1"},{"identity":"rim","map":"II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"},{"identity":"servd","map":"./Value"}]},{"id":"Encounter.identifier.period","path":"Encounter.identifier.period","short":"Time period when id is/was valid for use","definition":"Time period during which identifier is/was valid for use.","min":0,"max":"1","base":{"path":"Identifier.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"CX.7 + CX.8"},{"identity":"rim","map":"Role.effectiveTime or implied by context"},{"identity":"servd","map":"./StartDate and ./EndDate"}]},{"id":"Encounter.identifier.assigner","path":"Encounter.identifier.assigner","short":"Organization that issued id (may be just text)","definition":"Organization that issued/manages the identifier.","comment":"The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.","min":0,"max":"1","base":{"path":"Identifier.assigner","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"CX.4 / (CX.4,CX.9,CX.10)"},{"identity":"rim","map":"II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper"},{"identity":"servd","map":"./IdentifierIssuingAuthority"}]},{"id":"Encounter.status","path":"Encounter.status","short":"planned | arrived | triaged | in-progress | onleave | finished | cancelled +","definition":"planned | arrived | triaged | in-progress | onleave | finished | cancelled +.","comment":"Note that internal business rules will determine the appropriate transitions that may occur between statuses (and also classes).","min":1,"max":"1","base":{"path":"Encounter.status","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"EncounterStatus"}],"strength":"required","description":"Current state of the encounter.","valueSet":"http://hl7.org/fhir/ValueSet/encounter-status|4.0.1"},"mapping":[{"identity":"workflow","map":"Event.status"},{"identity":"w5","map":"FiveWs.status"},{"identity":"v2","map":"No clear equivalent in HL7 v2; active/finished could be inferred from PV1-44, PV1-45, PV2-24; inactive could be inferred from PV2-16"},{"identity":"rim","map":".statusCode"}]},{"id":"Encounter.statusHistory","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name","valueString":"StatusHistory"}],"path":"Encounter.statusHistory","short":"List of past encounter statuses","definition":"The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them.","comment":"The current status is always found in the current version of the resource, not the status history.","min":0,"max":"*","base":{"path":"Encounter.statusHistory","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.statusHistory.id","path":"Encounter.statusHistory.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.statusHistory.extension","path":"Encounter.statusHistory.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.statusHistory.modifierExtension","path":"Encounter.statusHistory.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Encounter.statusHistory.status","path":"Encounter.statusHistory.status","short":"planned | arrived | triaged | in-progress | onleave | finished | cancelled +","definition":"planned | arrived | triaged | in-progress | onleave | finished | cancelled +.","min":1,"max":"1","base":{"path":"Encounter.statusHistory.status","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"EncounterStatus"}],"strength":"required","description":"Current state of the encounter.","valueSet":"http://hl7.org/fhir/ValueSet/encounter-status|4.0.1"},"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.statusHistory.period","path":"Encounter.statusHistory.period","short":"The time that the episode was in the specified status","definition":"The time that the episode was in the specified status.","min":1,"max":"1","base":{"path":"Encounter.statusHistory.period","min":1,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.class","path":"Encounter.class","short":"Classification of patient encounter","definition":"Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.","min":1,"max":"1","base":{"path":"Encounter.class","min":1,"max":"1"},"type":[{"code":"Coding"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"EncounterClass"}],"strength":"extensible","description":"Classification of the encounter.","valueSet":"http://terminology.hl7.org/ValueSet/v3-ActEncounterCode"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"v2","map":"PV1-2"},{"identity":"rim","map":".inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code"}]},{"id":"Encounter.classHistory","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name","valueString":"ClassHistory"}],"path":"Encounter.classHistory","short":"List of past encounter classes","definition":"The class history permits the tracking of the encounters transitions without needing to go through the resource history. This would be used for a case where an admission starts of as an emergency encounter, then transitions into an inpatient scenario. Doing this and not restarting a new encounter ensures that any lab/diagnostic results can more easily follow the patient and not require re-processing and not get lost or cancelled during a kind of discharge from emergency to inpatient.","min":0,"max":"*","base":{"path":"Encounter.classHistory","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.classHistory.id","path":"Encounter.classHistory.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.classHistory.extension","path":"Encounter.classHistory.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.classHistory.modifierExtension","path":"Encounter.classHistory.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Encounter.classHistory.class","path":"Encounter.classHistory.class","short":"inpatient | outpatient | ambulatory | emergency +","definition":"inpatient | outpatient | ambulatory | emergency +.","min":1,"max":"1","base":{"path":"Encounter.classHistory.class","min":1,"max":"1"},"type":[{"code":"Coding"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"EncounterClass"}],"strength":"extensible","description":"Classification of the encounter.","valueSet":"http://terminology.hl7.org/ValueSet/v3-ActEncounterCode"},"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.classHistory.period","path":"Encounter.classHistory.period","short":"The time that the episode was in the specified class","definition":"The time that the episode was in the specified class.","min":1,"max":"1","base":{"path":"Encounter.classHistory.period","min":1,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.type","path":"Encounter.type","short":"Specific type of encounter","definition":"Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation).","comment":"Since there are many ways to further classify encounters, this element is 0..*.","min":1,"max":"*","base":{"path":"Encounter.type","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","description":"Valueset to describe the Encounter Type","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type"},"mapping":[{"identity":"workflow","map":"Event.code"},{"identity":"w5","map":"FiveWs.class"},{"identity":"v2","map":"PV1-4 / PV1-18"},{"identity":"rim","map":".code"}]},{"id":"Encounter.serviceType","path":"Encounter.serviceType","short":"Specific type of service","definition":"Broad categorization of the service that is to be provided (e.g. cardiology).","min":0,"max":"1","base":{"path":"Encounter.serviceType","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"EncounterServiceType"}],"strength":"example","description":"Broad categorization of the service that is to be provided.","valueSet":"http://hl7.org/fhir/ValueSet/service-type"},"mapping":[{"identity":"workflow","map":"Event.code"},{"identity":"v2","map":"PV1-10"},{"identity":"rim","map":"n/a"}]},{"id":"Encounter.priority","path":"Encounter.priority","short":"Indicates the urgency of the encounter","definition":"Indicates the urgency of the encounter.","min":0,"max":"1","base":{"path":"Encounter.priority","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Priority"}],"strength":"example","description":"Indicates the urgency of the encounter.","valueSet":"http://terminology.hl7.org/ValueSet/v3-ActPriority"},"mapping":[{"identity":"w5","map":"FiveWs.grade"},{"identity":"v2","map":"PV2-25"},{"identity":"rim","map":".priorityCode"}]},{"id":"Encounter.subject","path":"Encounter.subject","short":"The patient or group present at the encounter","definition":"The patient or group present at the encounter.","comment":"While the encounter is always about the patient, the patient might not actually be known in all contexts of use, and there may be a group of patients that could be anonymous (such as in a group therapy for Alcoholics Anonymous - where the recording of the encounter could be used for billing on the number of people/staff and not important to the context of the specific patients) or alternately in veterinary care a herd of sheep receiving treatment (where the animals are not individually tracked).","alias":["patient"],"min":1,"max":"1","base":{"path":"Encounter.subject","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.subject"},{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"PID-3"},{"identity":"rim","map":".participation[typeCode=SBJ]/role[classCode=PAT]"},{"identity":"w5","map":"FiveWs.subject"}]},{"id":"Encounter.episodeOfCare","path":"Encounter.episodeOfCare","short":"Episode(s) of care that this encounter should be recorded against","definition":"Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem. The association is recorded on the encounter as these are typically created after the episode of care and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).","min":0,"max":"*","base":{"path":"Encounter.episodeOfCare","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.context"},{"identity":"w5","map":"FiveWs.context"},{"identity":"v2","map":"PV1-54, PV1-53"},{"identity":"rim","map":"n/a"}]},{"id":"Encounter.basedOn","path":"Encounter.basedOn","short":"The ServiceRequest that initiated this encounter","definition":"The request this encounter satisfies (e.g. incoming referral or procedure request).","alias":["incomingReferral"],"min":0,"max":"*","base":{"path":"Encounter.basedOn","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/ServiceRequest"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.basedOn"},{"identity":"rim","map":".reason.ClinicalDocument"}]},{"id":"Encounter.participant","path":"Encounter.participant","short":"List of participants involved in the encounter","definition":"The list of people responsible for providing the service.","min":0,"max":"*","base":{"path":"Encounter.participant","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.performer"},{"identity":"v2","map":"ROL"},{"identity":"rim","map":".participation[typeCode=PFM]"}]},{"id":"Encounter.participant.id","path":"Encounter.participant.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.participant.extension","path":"Encounter.participant.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.participant.modifierExtension","path":"Encounter.participant.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Encounter.participant.type","path":"Encounter.participant.type","short":"Role of participant in encounter","definition":"Role of participant in encounter.","comment":"The participant type indicates how an individual participates in an encounter. It includes non-practitioner participants, and for practitioners this is to describe the action type in the context of this encounter (e.g. Admitting Dr, Attending Dr, Translator, Consulting Dr). This is different to the practitioner roles which are functional roles, derived from terms of employment, education, licensing, etc.","min":0,"max":"*","base":{"path":"Encounter.participant.type","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ParticipantType"}],"strength":"extensible","description":"Role of participant in encounter.","valueSet":"http://hl7.org/fhir/ValueSet/encounter-participant-type"},"mapping":[{"identity":"workflow","map":"Event.performer.function"},{"identity":"v2","map":"ROL-3 (or maybe PRT-4)"},{"identity":"rim","map":".functionCode"}]},{"id":"Encounter.participant.period","path":"Encounter.participant.period","short":"Period of time during the encounter that the participant participated","definition":"The period of time that the specified participant participated in the encounter. These can overlap or be sub-sets of the overall encounter's period.","min":0,"max":"1","base":{"path":"Encounter.participant.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"ROL-5, ROL-6 (or maybe PRT-5)"},{"identity":"rim","map":".time"}]},{"id":"Encounter.participant.individual","path":"Encounter.participant.individual","short":"Persons involved in the encounter other than the patient","definition":"Persons involved in the encounter other than the patient.","min":0,"max":"1","base":{"path":"Encounter.participant.individual","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.performer.actor"},{"identity":"w5","map":"FiveWs.who"},{"identity":"v2","map":"ROL-4"},{"identity":"rim","map":".role"}]},{"id":"Encounter.appointment","path":"Encounter.appointment","short":"The appointment that scheduled this encounter","definition":"The appointment that scheduled this encounter.","min":0,"max":"*","base":{"path":"Encounter.appointment","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Appointment"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.basedOn"},{"identity":"v2","map":"SCH-1 / SCH-2"},{"identity":"rim","map":".outboundRelationship[typeCode=FLFS].target[classCode=ENC, moodCode=APT]"}]},{"id":"Encounter.period","path":"Encounter.period","short":"The start and end time of the encounter","definition":"The start and end time of the encounter.","comment":"If not (yet) known, the end of the Period may be omitted.","min":0,"max":"1","base":{"path":"Encounter.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.occurrence[x]"},{"identity":"w5","map":"FiveWs.done[x]"},{"identity":"v2","map":"PV1-44, PV1-45"},{"identity":"rim","map":".effectiveTime (low & high)"}]},{"id":"Encounter.length","path":"Encounter.length","short":"Quantity of time the encounter lasted (less time absent)","definition":"Quantity of time the encounter lasted. This excludes the time during leaves of absence.","comment":"May differ from the time the Encounter.period lasted because of leave of absence.","min":0,"max":"1","base":{"path":"Encounter.length","min":0,"max":"1"},"type":[{"code":"Duration"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.occurrence[x]"},{"identity":"v2","map":"(PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes"},{"identity":"rim","map":".lengthOfStayQuantity"}]},{"id":"Encounter.reasonCode","path":"Encounter.reasonCode","short":"Coded reason the encounter takes place","definition":"Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.","comment":"For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).","alias":["Indication","Admission diagnosis"],"min":0,"max":"*","base":{"path":"Encounter.reasonCode","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"EncounterReason"}],"strength":"preferred","description":"Reason why the encounter takes place.","valueSet":"http://hl7.org/fhir/ValueSet/encounter-reason"},"mapping":[{"identity":"workflow","map":"Event.reasonCode"},{"identity":"w5","map":"FiveWs.why[x]"},{"identity":"v2","map":"EVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )"},{"identity":"rim","map":".reasonCode"}]},{"id":"Encounter.reasonReference","path":"Encounter.reasonReference","short":"Reason the encounter takes place (reference)","definition":"Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.","comment":"For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).","alias":["Indication","Admission diagnosis"],"min":0,"max":"*","base":{"path":"Encounter.reasonReference","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/Procedure","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.reasonCode"},{"identity":"w5","map":"FiveWs.why[x]"},{"identity":"v2","map":"EVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )"},{"identity":"rim","map":".reasonCode"}]},{"id":"Encounter.diagnosis","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name","valueString":"Diagnosis"}],"path":"Encounter.diagnosis","short":"The list of diagnosis relevant to this encounter","definition":"The list of diagnosis relevant to this encounter.","min":0,"max":"*","base":{"path":"Encounter.diagnosis","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":".outboundRelationship[typeCode=RSON]"}]},{"id":"Encounter.diagnosis.id","path":"Encounter.diagnosis.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.diagnosis.extension","path":"Encounter.diagnosis.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.diagnosis.modifierExtension","path":"Encounter.diagnosis.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Encounter.diagnosis.condition","path":"Encounter.diagnosis.condition","short":"The diagnosis or procedure relevant to the encounter","definition":"Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.","comment":"For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).","alias":["Admission diagnosis","discharge diagnosis","indication"],"min":1,"max":"1","base":{"path":"Encounter.diagnosis.condition","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/Procedure"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.reasonReference"},{"identity":"w5","map":"FiveWs.why[x]"},{"identity":"v2","map":"Resources that would commonly referenced at Encounter.indication would be Condition and/or Procedure. These most closely align with DG1/PRB and PR1 respectively."},{"identity":"rim","map":".outboundRelationship[typeCode=RSON].target"}]},{"id":"Encounter.diagnosis.use","path":"Encounter.diagnosis.use","short":"Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)","definition":"Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …).","min":0,"max":"1","base":{"path":"Encounter.diagnosis.use","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"DiagnosisRole"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"The type of diagnosis this condition represents.","valueSet":"http://hl7.org/fhir/ValueSet/diagnosis-role"},"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.diagnosis.rank","path":"Encounter.diagnosis.rank","short":"Ranking of the diagnosis (for each role type)","definition":"Ranking of the diagnosis (for each role type).","min":0,"max":"1","base":{"path":"Encounter.diagnosis.rank","min":0,"max":"1"},"type":[{"code":"positiveInt"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".outboundRelationship[typeCode=RSON].priority"}]},{"id":"Encounter.account","path":"Encounter.account","short":"The set of accounts that may be used for billing for this Encounter","definition":"The set of accounts that may be used for billing for this Encounter.","comment":"The billing system may choose to allocate billable items associated with the Encounter to different referenced Accounts based on internal business rules.","min":0,"max":"*","base":{"path":"Encounter.account","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Account"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".pertains.A_Account"}]},{"id":"Encounter.hospitalization","path":"Encounter.hospitalization","short":"Details about the admission to a healthcare service","definition":"Details about the admission to a healthcare service.","comment":"An Encounter may cover more than just the inpatient stay. Contexts such as outpatients, community clinics, and aged care facilities are also included.\r\rThe duration recorded in the period of this encounter covers the entire scope of this hospitalization record.","min":0,"max":"1","base":{"path":"Encounter.hospitalization","min":0,"max":"1"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".outboundRelationship[typeCode=COMP].target[classCode=ENC, moodCode=EVN]"}]},{"id":"Encounter.hospitalization.id","path":"Encounter.hospitalization.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.hospitalization.extension","path":"Encounter.hospitalization.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.hospitalization.modifierExtension","path":"Encounter.hospitalization.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Encounter.hospitalization.preAdmissionIdentifier","path":"Encounter.hospitalization.preAdmissionIdentifier","short":"Pre-admission identifier","definition":"Pre-admission identifier.","min":0,"max":"1","base":{"path":"Encounter.hospitalization.preAdmissionIdentifier","min":0,"max":"1"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"PV1-5"},{"identity":"rim","map":".id"}]},{"id":"Encounter.hospitalization.origin","path":"Encounter.hospitalization.origin","short":"The location/organization from which the patient came before admission","definition":"The location/organization from which the patient came before admission.","min":0,"max":"1","base":{"path":"Encounter.hospitalization.origin","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".participation[typeCode=ORG].role"}]},{"id":"Encounter.hospitalization.admitSource","path":"Encounter.hospitalization.admitSource","short":"From where patient was admitted (physician referral, transfer)","definition":"From where patient was admitted (physician referral, transfer).","min":0,"max":"1","base":{"path":"Encounter.hospitalization.admitSource","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"AdmitSource"}],"strength":"preferred","description":"From where the patient was admitted.","valueSet":"http://hl7.org/fhir/ValueSet/encounter-admit-source"},"mapping":[{"identity":"v2","map":"PV1-14"},{"identity":"rim","map":".admissionReferralSourceCode"}]},{"id":"Encounter.hospitalization.reAdmission","path":"Encounter.hospitalization.reAdmission","short":"The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission","definition":"Whether this hospitalization is a readmission and why if known.","min":0,"max":"1","base":{"path":"Encounter.hospitalization.reAdmission","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ReAdmissionType"}],"strength":"example","description":"The reason for re-admission of this hospitalization encounter.","valueSet":"http://terminology.hl7.org/ValueSet/v2-0092"},"mapping":[{"identity":"v2","map":"PV1-13"},{"identity":"rim","map":"n/a"}]},{"id":"Encounter.hospitalization.dietPreference","path":"Encounter.hospitalization.dietPreference","short":"Diet preferences reported by the patient","definition":"Diet preferences reported by the patient.","comment":"For example, a patient may request both a dairy-free and nut-free diet preference (not mutually exclusive).","requirements":"Used to track patient's diet restrictions and/or preference. For a complete description of the nutrition needs of a patient during their stay, one should use the nutritionOrder resource which links to Encounter.","min":0,"max":"*","base":{"path":"Encounter.hospitalization.dietPreference","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"PatientDiet"}],"strength":"example","description":"Medical, cultural or ethical food preferences to help with catering requirements.","valueSet":"http://hl7.org/fhir/ValueSet/encounter-diet"},"mapping":[{"identity":"v2","map":"PV1-38"},{"identity":"rim","map":".outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=EVN, code=\"diet\"]"}]},{"id":"Encounter.hospitalization.specialCourtesy","path":"Encounter.hospitalization.specialCourtesy","short":"Special courtesies (VIP, board member)","definition":"Special courtesies (VIP, board member).","min":0,"max":"*","base":{"path":"Encounter.hospitalization.specialCourtesy","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Courtesies"}],"strength":"preferred","description":"Special courtesies.","valueSet":"http://hl7.org/fhir/ValueSet/encounter-special-courtesy"},"mapping":[{"identity":"v2","map":"PV1-16"},{"identity":"rim","map":".specialCourtesiesCode"}]},{"id":"Encounter.hospitalization.specialArrangement","path":"Encounter.hospitalization.specialArrangement","short":"Wheelchair, translator, stretcher, etc.","definition":"Any special requests that have been made for this hospitalization encounter, such as the provision of specific equipment or other things.","min":0,"max":"*","base":{"path":"Encounter.hospitalization.specialArrangement","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Arrangements"}],"strength":"preferred","description":"Special arrangements.","valueSet":"http://hl7.org/fhir/ValueSet/encounter-special-arrangements"},"mapping":[{"identity":"v2","map":"PV1-15 / OBR-30 / OBR-43"},{"identity":"rim","map":".specialArrangementCode"}]},{"id":"Encounter.hospitalization.destination","path":"Encounter.hospitalization.destination","short":"Location/organization to which the patient is discharged","definition":"Location/organization to which the patient is discharged.","min":0,"max":"1","base":{"path":"Encounter.hospitalization.destination","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"PV1-37"},{"identity":"rim","map":".participation[typeCode=DST]"}]},{"id":"Encounter.hospitalization.dischargeDisposition","path":"Encounter.hospitalization.dischargeDisposition","short":"Category or kind of location after discharge","definition":"Category or kind of location after discharge.","min":0,"max":"1","base":{"path":"Encounter.hospitalization.dischargeDisposition","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"DischargeDisp"}],"strength":"example","description":"Discharge Disposition.","valueSet":"http://hl7.org/fhir/ValueSet/encounter-discharge-disposition"},"mapping":[{"identity":"v2","map":"PV1-36"},{"identity":"rim","map":".dischargeDispositionCode"}]},{"id":"Encounter.location","path":"Encounter.location","short":"List of locations where the patient has been","definition":"List of locations where the patient has been during this encounter.","comment":"Virtual encounters can be recorded in the Encounter by specifying a location reference to a location of type \"kind\" such as \"client's home\" and an encounter.class = \"virtual\".","min":0,"max":"*","base":{"path":"Encounter.location","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".participation[typeCode=LOC]"}]},{"id":"Encounter.location.id","path":"Encounter.location.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.location.extension","path":"Encounter.location.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Encounter.location.modifierExtension","path":"Encounter.location.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Encounter.location.location","path":"Encounter.location.location","short":"Location the encounter takes place","definition":"The location where the encounter takes place.","min":1,"max":"1","base":{"path":"Encounter.location.location","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Location"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.location"},{"identity":"w5","map":"FiveWs.where[x]"},{"identity":"v2","map":"PV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43"},{"identity":"rim","map":".role"}]},{"id":"Encounter.location.status","path":"Encounter.location.status","short":"planned | active | reserved | completed","definition":"The status of the participants' presence at the specified location during the period specified. If the participant is no longer at the location, then the period will have an end date/time.","comment":"When the patient is no longer active at a location, then the period end date is entered, and the status may be changed to completed.","min":0,"max":"1","base":{"path":"Encounter.location.status","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"EncounterLocationStatus"}],"strength":"required","description":"The status of the location.","valueSet":"http://hl7.org/fhir/ValueSet/encounter-location-status|4.0.1"},"mapping":[{"identity":"rim","map":".role.statusCode"}]},{"id":"Encounter.location.physicalType","path":"Encounter.location.physicalType","short":"The physical type of the location (usually the level in the location hierachy - bed room ward etc.)","definition":"This will be used to specify the required levels (bed/ward/room/etc.) desired to be recorded to simplify either messaging or query.","comment":"This information is de-normalized from the Location resource to support the easier understanding of the encounter resource and processing in messaging or query.\n\nThere may be many levels in the hierachy, and this may only pic specific levels that are required for a specific usage scenario.","min":0,"max":"1","base":{"path":"Encounter.location.physicalType","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"PhysicalType"}],"strength":"example","description":"Physical form of the location.","valueSet":"http://hl7.org/fhir/ValueSet/location-physical-type"}},{"id":"Encounter.location.period","path":"Encounter.location.period","short":"Time period during which the patient was present at the location","definition":"Time period during which the patient was present at the location.","min":0,"max":"1","base":{"path":"Encounter.location.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".time"}]},{"id":"Encounter.serviceProvider","path":"Encounter.serviceProvider","short":"The organization (facility) responsible for this encounter","definition":"The organization that is primarily responsible for this Encounter's services. This MAY be the same as the organization on the Patient record, however it could be different, such as if the actor performing the services was from an external organization (which may be billed seperately) for an external consultation. Refer to the example bundle showing an abbreviated set of Encounters for a colonoscopy.","min":0,"max":"1","base":{"path":"Encounter.serviceProvider","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.performer.actor"},{"identity":"v2","map":"PL.6 & PL.1"},{"identity":"rim","map":".particiaption[typeCode=PFM].role"}]},{"id":"Encounter.partOf","path":"Encounter.partOf","short":"Another Encounter this encounter is part of","definition":"Another Encounter of which this encounter is a part of (administratively or in time).","comment":"This is also used for associating a child's encounter back to the mother's encounter.\r\rRefer to the Notes section in the Patient resource for further details.","min":0,"max":"1","base":{"path":"Encounter.partOf","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy","valueBoolean":true}],"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Encounter"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.partOf"},{"identity":"rim","map":".inboundRelationship[typeCode=COMP].source[classCode=COMP, moodCode=EVN]"}]}]},"differential":{"element":[{"id":"Encounter","path":"Encounter","definition":"This is basic constraint on Encounter for use in US Core resources.","alias":["Visit"],"mustSupport":false},{"id":"Encounter.identifier","path":"Encounter.identifier","min":0,"max":"*","type":[{"code":"Identifier"}],"mustSupport":true},{"id":"Encounter.identifier.system","path":"Encounter.identifier.system","min":1,"max":"1","type":[{"code":"uri"}],"mustSupport":true},{"id":"Encounter.identifier.value","path":"Encounter.identifier.value","min":1,"max":"1","type":[{"code":"string"}],"mustSupport":true},{"id":"Encounter.status","path":"Encounter.status","min":1,"max":"1","type":[{"code":"code"}],"mustSupport":true},{"id":"Encounter.class","path":"Encounter.class","min":1,"max":"1","type":[{"code":"Coding"}],"mustSupport":true},{"id":"Encounter.type","path":"Encounter.type","min":1,"max":"*","type":[{"code":"CodeableConcept"}],"mustSupport":true,"binding":{"strength":"extensible","description":"Valueset to describe the Encounter Type","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type"}},{"id":"Encounter.subject","path":"Encounter.subject","alias":["patient"],"min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true},{"id":"Encounter.participant","path":"Encounter.participant","min":0,"max":"*","mustSupport":true},{"id":"Encounter.participant.type","path":"Encounter.participant.type","min":0,"max":"*","type":[{"code":"CodeableConcept"}],"mustSupport":true},{"id":"Encounter.participant.period","path":"Encounter.participant.period","min":0,"max":"1","type":[{"code":"Period"}],"mustSupport":true},{"id":"Encounter.participant.individual","path":"Encounter.participant.individual","min":0,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"]}],"mustSupport":true},{"id":"Encounter.period","path":"Encounter.period","min":0,"max":"1","type":[{"code":"Period"}],"mustSupport":true},{"id":"Encounter.reasonCode","path":"Encounter.reasonCode","alias":["Indication","Admission diagnosis"],"min":0,"max":"*","type":[{"code":"CodeableConcept"}],"mustSupport":true},{"id":"Encounter.hospitalization","path":"Encounter.hospitalization","min":0,"max":"1","mustSupport":true},{"id":"Encounter.hospitalization.dischargeDisposition","path":"Encounter.hospitalization.dischargeDisposition","min":0,"max":"1","type":[{"code":"CodeableConcept"}],"mustSupport":true},{"id":"Encounter.location","path":"Encounter.location","min":0,"max":"*","mustSupport":true},{"id":"Encounter.location.location","path":"Encounter.location.location","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Location"]}],"mustSupport":true}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-ethnicity.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-ethnicity.json deleted file mode 100644 index 519cf08d966..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-ethnicity.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-ethnicity","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Extension 0..1ExtensionUS Core ethnicity Extension
\".\"\".\"\".\" extension:ombCategory S0..1ExtensionHispanic or Latino|Not Hispanic or Latino
\".\"\".\"\".\"\".\" url 1..1uri"ombCategory"
\".\"\".\"\".\"\".\" value[x] 1..1CodingValue of extension
Binding: OMB Ethnicity Categories (required)
\".\"\".\"\".\" extension:detailed 0..*ExtensionExtended ethnicity codes
\".\"\".\"\".\"\".\" url 1..1uri"detailed"
\".\"\".\"\".\"\".\" value[x] 1..1CodingValue of extension
Binding: Detailed ethnicity (required)
\".\"\".\"\".\" extension:text S1..1Extensionethnicity Text
\".\"\".\"\".\"\".\" url 1..1uri"text"
\".\"\".\"\".\"\".\" value[x] 1..1stringValue of extension
\".\"\".\"\".\" url 1..1uri"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
\".\"\".\"\".\" value[x] 0..0

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity","version":"3.1.1","name":"USCoreEthnicityExtension","title":"US Core Ethnicity Extension","status":"active","date":"2019-05-21T00:00:00-04:00","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"purpose":"Complies with 2015 Edition Common Clinical Data Set for patient race.","fhirVersion":"4.0.1","mapping":[{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"}],"kind":"complex-type","abstract":false,"context":[{"type":"element","expression":"Patient"}],"type":"Extension","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Extension","derivation":"constraint","snapshot":{"element":[{"id":"Extension","path":"Extension","short":"US Core ethnicity Extension","definition":"Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.","min":0,"max":"1","base":{"path":"Extension","min":0,"max":"*"},"condition":["ele-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false},{"id":"Extension.id","path":"Extension.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension","path":"Extension.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:ombCategory","path":"Extension.extension","sliceName":"ombCategory","short":"Hispanic or Latino|Not Hispanic or Latino","definition":"The 2 ethnicity category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).","min":0,"max":"1","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"iso11179","map":"/ClinicalDocument/recordTarget/patientRole/patient/ethnicGroupCode"}]},{"id":"Extension.extension:ombCategory.id","path":"Extension.extension.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:ombCategory.extension","path":"Extension.extension.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:ombCategory.extension.id","path":"Extension.extension.extension.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:ombCategory.extension.extension","path":"Extension.extension.extension.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:ombCategory.extension.url","path":"Extension.extension.extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","definition":"Source of the definition for the extension code - a logical name or a URL.","comment":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","min":1,"max":"1","base":{"path":"Extension.url","min":1,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"uri"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:ombCategory.extension.value[x]","path":"Extension.extension.extension.value[x]","short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":0,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"base64Binary"},{"code":"boolean"},{"code":"canonical"},{"code":"code"},{"code":"date"},{"code":"dateTime"},{"code":"decimal"},{"code":"id"},{"code":"instant"},{"code":"integer"},{"code":"markdown"},{"code":"oid"},{"code":"positiveInt"},{"code":"string"},{"code":"time"},{"code":"unsignedInt"},{"code":"uri"},{"code":"url"},{"code":"uuid"},{"code":"Address"},{"code":"Age"},{"code":"Annotation"},{"code":"Attachment"},{"code":"CodeableConcept"},{"code":"Coding"},{"code":"ContactPoint"},{"code":"Count"},{"code":"Distance"},{"code":"Duration"},{"code":"HumanName"},{"code":"Identifier"},{"code":"Money"},{"code":"Period"},{"code":"Quantity"},{"code":"Range"},{"code":"Ratio"},{"code":"Reference"},{"code":"SampledData"},{"code":"Signature"},{"code":"Timing"},{"code":"ContactDetail"},{"code":"Contributor"},{"code":"DataRequirement"},{"code":"Expression"},{"code":"ParameterDefinition"},{"code":"RelatedArtifact"},{"code":"TriggerDefinition"},{"code":"UsageContext"},{"code":"Dosage"},{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:ombCategory.url","path":"Extension.extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","definition":"Source of the definition for the extension code - a logical name or a URL.","comment":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","min":1,"max":"1","base":{"path":"Extension.url","min":1,"max":"1"},"type":[{"code":"uri"}],"fixedUri":"ombCategory","isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:ombCategory.value[x]","path":"Extension.extension.value[x]","short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":1,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"Coding"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"strength":"required","description":"The 2 ethnicity category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).","valueSet":"http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category"},"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:detailed","path":"Extension.extension","sliceName":"detailed","short":"Extended ethnicity codes","definition":"The 41 CDC ethnicity codes that are grouped under one of the 2 OMB ethnicity category codes.","min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"iso11179","map":"/ClinicalDocument/recordTarget/patientRole/patient/sdtc:ethnicGroupCode"}]},{"id":"Extension.extension:detailed.id","path":"Extension.extension.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:detailed.extension","path":"Extension.extension.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:detailed.extension.id","path":"Extension.extension.extension.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:detailed.extension.extension","path":"Extension.extension.extension.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:detailed.extension.url","path":"Extension.extension.extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","definition":"Source of the definition for the extension code - a logical name or a URL.","comment":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","min":1,"max":"1","base":{"path":"Extension.url","min":1,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"uri"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:detailed.extension.value[x]","path":"Extension.extension.extension.value[x]","short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":0,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"base64Binary"},{"code":"boolean"},{"code":"canonical"},{"code":"code"},{"code":"date"},{"code":"dateTime"},{"code":"decimal"},{"code":"id"},{"code":"instant"},{"code":"integer"},{"code":"markdown"},{"code":"oid"},{"code":"positiveInt"},{"code":"string"},{"code":"time"},{"code":"unsignedInt"},{"code":"uri"},{"code":"url"},{"code":"uuid"},{"code":"Address"},{"code":"Age"},{"code":"Annotation"},{"code":"Attachment"},{"code":"CodeableConcept"},{"code":"Coding"},{"code":"ContactPoint"},{"code":"Count"},{"code":"Distance"},{"code":"Duration"},{"code":"HumanName"},{"code":"Identifier"},{"code":"Money"},{"code":"Period"},{"code":"Quantity"},{"code":"Range"},{"code":"Ratio"},{"code":"Reference"},{"code":"SampledData"},{"code":"Signature"},{"code":"Timing"},{"code":"ContactDetail"},{"code":"Contributor"},{"code":"DataRequirement"},{"code":"Expression"},{"code":"ParameterDefinition"},{"code":"RelatedArtifact"},{"code":"TriggerDefinition"},{"code":"UsageContext"},{"code":"Dosage"},{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:detailed.url","path":"Extension.extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","definition":"Source of the definition for the extension code - a logical name or a URL.","comment":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","min":1,"max":"1","base":{"path":"Extension.url","min":1,"max":"1"},"type":[{"code":"uri"}],"fixedUri":"detailed","isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:detailed.value[x]","path":"Extension.extension.value[x]","short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":1,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"Coding"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"strength":"required","description":"The 41 [CDC ethnicity codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 2 OMB ethnicity category codes.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity"},"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:text","path":"Extension.extension","sliceName":"text","short":"ethnicity Text","definition":"Plain text representation of the ethnicity concept(s).","min":1,"max":"1","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"mustSupport":true,"isModifier":false,"isSummary":false},{"id":"Extension.extension:text.id","path":"Extension.extension.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:text.extension","path":"Extension.extension.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:text.extension.id","path":"Extension.extension.extension.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:text.extension.extension","path":"Extension.extension.extension.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:text.extension.url","path":"Extension.extension.extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","definition":"Source of the definition for the extension code - a logical name or a URL.","comment":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","min":1,"max":"1","base":{"path":"Extension.url","min":1,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"uri"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:text.extension.value[x]","path":"Extension.extension.extension.value[x]","short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":0,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"base64Binary"},{"code":"boolean"},{"code":"canonical"},{"code":"code"},{"code":"date"},{"code":"dateTime"},{"code":"decimal"},{"code":"id"},{"code":"instant"},{"code":"integer"},{"code":"markdown"},{"code":"oid"},{"code":"positiveInt"},{"code":"string"},{"code":"time"},{"code":"unsignedInt"},{"code":"uri"},{"code":"url"},{"code":"uuid"},{"code":"Address"},{"code":"Age"},{"code":"Annotation"},{"code":"Attachment"},{"code":"CodeableConcept"},{"code":"Coding"},{"code":"ContactPoint"},{"code":"Count"},{"code":"Distance"},{"code":"Duration"},{"code":"HumanName"},{"code":"Identifier"},{"code":"Money"},{"code":"Period"},{"code":"Quantity"},{"code":"Range"},{"code":"Ratio"},{"code":"Reference"},{"code":"SampledData"},{"code":"Signature"},{"code":"Timing"},{"code":"ContactDetail"},{"code":"Contributor"},{"code":"DataRequirement"},{"code":"Expression"},{"code":"ParameterDefinition"},{"code":"RelatedArtifact"},{"code":"TriggerDefinition"},{"code":"UsageContext"},{"code":"Dosage"},{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:text.url","path":"Extension.extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","definition":"Source of the definition for the extension code - a logical name or a URL.","comment":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","min":1,"max":"1","base":{"path":"Extension.url","min":1,"max":"1"},"type":[{"code":"uri"}],"fixedUri":"text","isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:text.value[x]","path":"Extension.extension.value[x]","short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":1,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.url","path":"Extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","definition":"Source of the definition for the extension code - a logical name or a URL.","comment":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","min":1,"max":"1","base":{"path":"Extension.url","min":1,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"uri"}],"code":"http://hl7.org/fhirpath/System.String"}],"fixedUri":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity","isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.value[x]","path":"Extension.value[x]","short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":0,"max":"0","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"base64Binary"},{"code":"boolean"},{"code":"canonical"},{"code":"code"},{"code":"date"},{"code":"dateTime"},{"code":"decimal"},{"code":"id"},{"code":"instant"},{"code":"integer"},{"code":"markdown"},{"code":"oid"},{"code":"positiveInt"},{"code":"string"},{"code":"time"},{"code":"unsignedInt"},{"code":"uri"},{"code":"url"},{"code":"uuid"},{"code":"Address"},{"code":"Age"},{"code":"Annotation"},{"code":"Attachment"},{"code":"CodeableConcept"},{"code":"Coding"},{"code":"ContactPoint"},{"code":"Count"},{"code":"Distance"},{"code":"Duration"},{"code":"HumanName"},{"code":"Identifier"},{"code":"Money"},{"code":"Period"},{"code":"Quantity"},{"code":"Range"},{"code":"Ratio"},{"code":"Reference"},{"code":"SampledData"},{"code":"Signature"},{"code":"Timing"},{"code":"ContactDetail"},{"code":"Contributor"},{"code":"DataRequirement"},{"code":"Expression"},{"code":"ParameterDefinition"},{"code":"RelatedArtifact"},{"code":"TriggerDefinition"},{"code":"UsageContext"},{"code":"Dosage"},{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]}]},"differential":{"element":[{"id":"Extension","path":"Extension","short":"US Core ethnicity Extension","definition":"Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.","min":0,"max":"1"},{"id":"Extension.extension:ombCategory","path":"Extension.extension","sliceName":"ombCategory","short":"Hispanic or Latino|Not Hispanic or Latino","definition":"The 2 ethnicity category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).","min":0,"max":"1","type":[{"code":"Extension"}],"mustSupport":true,"mapping":[{"identity":"iso11179","map":"/ClinicalDocument/recordTarget/patientRole/patient/ethnicGroupCode"}]},{"id":"Extension.extension:ombCategory.url","path":"Extension.extension.url","min":1,"max":"1","type":[{"code":"uri"}],"fixedUri":"ombCategory"},{"id":"Extension.extension:ombCategory.value[x]","path":"Extension.extension.value[x]","min":1,"max":"1","type":[{"code":"Coding"}],"binding":{"strength":"required","description":"The 2 ethnicity category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).","valueSet":"http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category"}},{"id":"Extension.extension:detailed","path":"Extension.extension","sliceName":"detailed","short":"Extended ethnicity codes","definition":"The 41 CDC ethnicity codes that are grouped under one of the 2 OMB ethnicity category codes.","min":0,"max":"*","type":[{"code":"Extension"}],"mapping":[{"identity":"iso11179","map":"/ClinicalDocument/recordTarget/patientRole/patient/sdtc:ethnicGroupCode"}]},{"id":"Extension.extension:detailed.url","path":"Extension.extension.url","min":1,"max":"1","type":[{"code":"uri"}],"fixedUri":"detailed"},{"id":"Extension.extension:detailed.value[x]","path":"Extension.extension.value[x]","min":1,"max":"1","type":[{"code":"Coding"}],"binding":{"strength":"required","description":"The 41 [CDC ethnicity codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 2 OMB ethnicity category codes.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity"}},{"id":"Extension.extension:text","path":"Extension.extension","sliceName":"text","short":"ethnicity Text","definition":"Plain text representation of the ethnicity concept(s).","min":1,"max":"1","type":[{"code":"Extension"}],"mustSupport":true},{"id":"Extension.extension:text.url","path":"Extension.extension.url","min":1,"max":"1","type":[{"code":"uri"}],"fixedUri":"text"},{"id":"Extension.extension:text.value[x]","path":"Extension.extension.value[x]","min":1,"max":"1","type":[{"code":"string"}]},{"id":"Extension.url","path":"Extension.url","min":1,"max":"1","fixedUri":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"},{"id":"Extension.value[x]","path":"Extension.value[x]","min":0,"max":"0"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-goal.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-goal.json deleted file mode 100644 index ccd488dce81..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-goal.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-goal","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Goal 0..*GoalDescribes the intended objective(s) for a patient, group or organization
\".\"\".\"\".\" lifecycleStatus S1..1codeproposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
Binding: GoalLifecycleStatus (required)
\".\"\".\"\".\" description S1..1CodeableConceptCode or text describing goal
\".\"\".\"\".\" subject S1..1Reference(US Core Patient Profile)Who this goal is intended for
\".\"\".\"\".\" target S0..*BackboneElementTarget outcome for the goal
\".\"\".\"\".\"\".\" dueDate S0..1dateReach goal on or before

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal","version":"3.1.1","name":"USCoreGoalProfile","title":"US Core Goal Profile","status":"active","experimental":false,"date":"2020-07-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines constraints and extensions on the Goal resource for the minimal set of data to query and retrieve a patient's goal(s).","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"argonaut-dq-dstu2","uri":"http://unknown.org/Argonaut-DQ-DSTU2","name":"Argonaut-DQ-DSTU2"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"}],"kind":"resource","abstract":false,"type":"Goal","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Goal","derivation":"constraint","snapshot":{"element":[{"id":"Goal","path":"Goal","short":"Describes the intended objective(s) for a patient, group or organization","definition":"The US Core Goal Profile is based upon the core FHIR Goal Resource and created to meet the 2015 Edition Common Clinical Data Set 'Goals' requirements.","comment":"Goal can be achieving a particular change or merely maintaining a current state or even slowing a decline.","min":0,"max":"*","base":{"path":"Goal","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"v2","map":"GOL.1"},{"identity":"rim","map":".outboundRelationship[typeCode<=OBJ]."},{"identity":"argonaut-dq-dstu2","map":"Goal"}]},{"id":"Goal.id","path":"Goal.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"Goal.meta","path":"Goal.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"Goal.implicitRules","path":"Goal.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"Goal.language","path":"Goal.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"Goal.text","path":"Goal.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"Goal.contained","path":"Goal.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Goal.extension","path":"Goal.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Goal.modifierExtension","path":"Goal.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Goal.identifier","path":"Goal.identifier","short":"External Ids for this goal","definition":"Business identifiers assigned to this goal by the performer or other systems which remain constant as the resource is updated and propagates from server to server.","comment":"This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.","requirements":"Allows identification of the goal as it is known by various participating systems and in a way that remains consistent across servers.","min":0,"max":"*","base":{"path":"Goal.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.identifier"},{"identity":"rim","map":".id"}]},{"id":"Goal.lifecycleStatus","path":"Goal.lifecycleStatus","short":"proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected","definition":"The state of the goal throughout its lifecycle.","comment":"This element is labeled as a modifier because the lifecycleStatus contains codes that mark the resource as not currently valid.","requirements":"Allows knowing whether goal needs to be further tracked.","min":1,"max":"1","base":{"path":"Goal.lifecycleStatus","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/goal-status"},"mapping":[{"identity":"w5","map":"FiveWs.status"},{"identity":"v2","map":"GOL-18-goal life cycle status"},{"identity":"rim","map":".statusCode in-progress = active (classCode = OBJ) cancelled = aborted"},{"identity":"argonaut-dq-dstu2","map":"Goal.status"}]},{"id":"Goal.achievementStatus","path":"Goal.achievementStatus","short":"in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable","definition":"Describes the progression, or lack thereof, towards the goal against the target.","min":0,"max":"1","base":{"path":"Goal.achievementStatus","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"GoalAchievementStatus"}],"strength":"preferred","description":"Indicates the progression, or lack thereof, towards the goal against the target.","valueSet":"http://hl7.org/fhir/ValueSet/goal-achievement"},"mapping":[{"identity":"rim","map":".statusCode achieved = complete sustaining = active"}]},{"id":"Goal.category","path":"Goal.category","short":"E.g. Treatment, dietary, behavioral, etc.","definition":"Indicates a category the goal falls within.","requirements":"Allows goals to be filtered and sorted.","min":0,"max":"*","base":{"path":"Goal.category","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"GoalCategory"}],"strength":"example","description":"Codes for grouping and sorting goals.","valueSet":"http://hl7.org/fhir/ValueSet/goal-category"},"mapping":[{"identity":"w5","map":"FiveWs.class"}]},{"id":"Goal.priority","path":"Goal.priority","short":"high-priority | medium-priority | low-priority","definition":"Identifies the mutually agreed level of importance associated with reaching/sustaining the goal.","comment":"Extensions are available to track priorities as established by each participant (i.e. Priority from the patient's perspective, different practitioners' perspectives, family member's perspectives)\r\rThe ordinal extension on Coding can be used to convey a numerically comparable ranking to priority. (Keep in mind that different coding systems may use a \"low value=important\".","requirements":"Used for sorting and presenting goals.","min":0,"max":"1","base":{"path":"Goal.priority","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"GoalPriority"}],"strength":"preferred","description":"The level of importance associated with a goal.","valueSet":"http://hl7.org/fhir/ValueSet/goal-priority"},"mapping":[{"identity":"w5","map":"FiveWs.grade"},{"identity":"rim","map":".priorityCode"}]},{"id":"Goal.description","path":"Goal.description","short":"Code or text describing goal","definition":"Human-readable and/or coded description of a specific desired objective of care, such as \"control blood pressure\" or \"negotiate an obstacle course\" or \"dance with child at wedding\".","comment":"If no code is available, use CodeableConcept.text.","requirements":"Without a description of what's trying to be achieved, element has no purpose.","min":1,"max":"1","base":{"path":"Goal.description","min":1,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"GoalDescription"}],"strength":"example","description":"Codes providing the details of a particular goal. This will generally be system or implementation guide-specific. In many systems, only the text element will be used.","valueSet":"http://hl7.org/fhir/ValueSet/clinical-findings"},"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"v2","map":"GOL-3.2-goal ID.text"},{"identity":"rim","map":".text"},{"identity":"argonaut-dq-dstu2","map":"Goal.description"}]},{"id":"Goal.subject","path":"Goal.subject","short":"Who this goal is intended for","definition":"Identifies the patient, group or organization for whom the goal is being established.","requirements":"Subject is optional to support annonymized reporting.","min":1,"max":"1","base":{"path":"Goal.subject","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"PID-3-patient ID list"},{"identity":"rim","map":".participation[typeCode=PAT].role[classCode=PAT]"},{"identity":"w5","map":"FiveWs.subject"},{"identity":"argonaut-dq-dstu2","map":"Goal.subject"}]},{"id":"Goal.start[x]","path":"Goal.start[x]","short":"When goal pursuit begins","definition":"The date or event after which the goal should begin being pursued.","requirements":"Goals can be established prior to there being an intention to start pursuing them; e.g. Goals for post-surgical recovery established prior to surgery.","min":0,"max":"1","base":{"path":"Goal.start[x]","min":0,"max":"1"},"type":[{"code":"date"},{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"GoalStartEvent"}],"strength":"example","description":"Codes describing events that can trigger the initiation of a goal.","valueSet":"http://hl7.org/fhir/ValueSet/goal-start-event"},"mapping":[{"identity":"w5","map":"FiveWs.planned"}]},{"id":"Goal.target","path":"Goal.target","short":"Target outcome for the goal","definition":"Indicates what should be done by when.","comment":"When multiple targets are present for a single goal instance, all targets must be met for the overall goal to be met.","requirements":"Allows the progress of the goal to be monitored against an observation or due date. Target is 0..* to support Observations with multiple components, such as blood pressure goals with both a systolic and diastolic target.","min":0,"max":"*","base":{"path":"Goal.target","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"condition":["gol-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"gol-1","severity":"error","human":"Goal.target.measure is required if Goal.target.detail is populated","expression":"(detail.exists() and measure.exists()) or detail.exists().not()","xpath":"(exists(f:*[starts-with(local-name(.), 'detail')]) and exists(f:measure)) or not(exists(f:*[starts-with(local-name(.), 'detail')]))","source":"http://hl7.org/fhir/StructureDefinition/Goal"}],"mustSupport":true,"isModifier":false,"isSummary":false},{"id":"Goal.target.id","path":"Goal.target.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Goal.target.extension","path":"Goal.target.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Goal.target.modifierExtension","path":"Goal.target.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Goal.target.measure","path":"Goal.target.measure","short":"The parameter whose value is being tracked","definition":"The parameter whose value is being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.","min":0,"max":"1","base":{"path":"Goal.target.measure","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["gol-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"GoalTargetMeasure"}],"strength":"example","description":"Codes to identify the value being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.","valueSet":"http://hl7.org/fhir/ValueSet/observation-codes"}},{"id":"Goal.target.detail[x]","path":"Goal.target.detail[x]","short":"The target value to be achieved","definition":"The target value of the focus to be achieved to signify the fulfillment of the goal, e.g. 150 pounds, 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any focus value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any focus value at or above the low value.","comment":"A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Goal.target.measure defines a coded value.","min":0,"max":"1","base":{"path":"Goal.target.detail[x]","min":0,"max":"1"},"type":[{"code":"Quantity"},{"code":"Range"},{"code":"CodeableConcept"},{"code":"string"},{"code":"boolean"},{"code":"integer"},{"code":"Ratio"}],"condition":["gol-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"GoalTargetDetail"}],"strength":"example","description":"Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal."}},{"id":"Goal.target.due[x]","path":"Goal.target.due[x]","slicing":{"discriminator":[{"type":"type","path":"$this"}],"ordered":false,"rules":"closed"},"short":"Reach goal on or before","definition":"Indicates either the date or the duration after start by which the goal should be met.","requirements":"Identifies when the goal should be evaluated.","min":0,"max":"1","base":{"path":"Goal.target.due[x]","min":0,"max":"1"},"type":[{"code":"date"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.done[x]"}]},{"id":"Goal.target.due[x]:dueDate","path":"Goal.target.due[x]","sliceName":"dueDate","short":"Reach goal on or before","definition":"Indicates either the date or the duration after start by which the goal should be met.","requirements":"Identifies when the goal should be evaluated.","min":0,"max":"1","base":{"path":"Goal.target.due[x]","min":0,"max":"1"},"type":[{"code":"date"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.done[x]"}]},{"id":"Goal.statusDate","path":"Goal.statusDate","short":"When goal status took effect","definition":"Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc.","comment":"To see the date for past statuses, query history.","min":0,"max":"1","base":{"path":"Goal.statusDate","min":0,"max":"1"},"type":[{"code":"date"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.recorded"}]},{"id":"Goal.statusReason","path":"Goal.statusReason","short":"Reason for current status","definition":"Captures the reason for the current status.","comment":"This will typically be captured for statuses such as rejected, on-hold or cancelled, but could be present for others.","min":0,"max":"1","base":{"path":"Goal.statusReason","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false},{"id":"Goal.expressedBy","path":"Goal.expressedBy","short":"Who's responsible for creating Goal?","definition":"Indicates whose goal this is - patient goal, practitioner goal, etc.","comment":"This is the individual responsible for establishing the goal, not necessarily who recorded it. (For that, use the Provenance resource.).","min":0,"max":"1","base":{"path":"Goal.expressedBy","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.source"}]},{"id":"Goal.addresses","path":"Goal.addresses","short":"Issues addressed by this goal","definition":"The identified conditions and other health record elements that are intended to be addressed by the goal.","requirements":"Allows specific goals to explicitly linked to the concerns they're dealing with - makes the goal more understandable.","min":0,"max":"*","base":{"path":"Goal.addresses","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/MedicationStatement","http://hl7.org/fhir/StructureDefinition/NutritionOrder","http://hl7.org/fhir/StructureDefinition/ServiceRequest","http://hl7.org/fhir/StructureDefinition/RiskAssessment"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.why[x]"},{"identity":"rim","map":".outboundRelationship[typeCode=SUBJ].target[classCode=CONC]"}]},{"id":"Goal.note","path":"Goal.note","short":"Comments about the goal","definition":"Any comments related to the goal.","comment":"May be used for progress notes, concerns or other related information that doesn't actually describe the goal itself.","requirements":"There's a need to capture information about the goal that doesn't actually describe the goal.","min":0,"max":"*","base":{"path":"Goal.note","min":0,"max":"*"},"type":[{"code":"Annotation"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"GOL-16-goal evaluation + NTE?"},{"identity":"rim","map":".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"}]},{"id":"Goal.outcomeCode","path":"Goal.outcomeCode","short":"What result was achieved regarding the goal?","definition":"Identifies the change (or lack of change) at the point when the status of the goal is assessed.","comment":"Note that this should not duplicate the goal status.","requirements":"Outcome tracking is a key aspect of care planning.","min":0,"max":"*","base":{"path":"Goal.outcomeCode","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"GoalOutcome"}],"strength":"example","description":"The result of the goal; e.g. \"25% increase in shoulder mobility\", \"Anxiety reduced to moderate levels\". \"15 kg weight loss sustained over 6 months\".","valueSet":"http://hl7.org/fhir/ValueSet/clinical-findings"}},{"id":"Goal.outcomeReference","path":"Goal.outcomeReference","short":"Observation that resulted from goal","definition":"Details of what's changed (or not changed).","comment":"The goal outcome is independent of the outcome of the related activities. For example, if the Goal is to achieve a target body weight of 150 lb and a care plan activity is defined to diet, then the care plan’s activity outcome could be calories consumed whereas goal outcome is an observation for the actual body weight measured.","requirements":"Outcome tracking is a key aspect of care planning.","min":0,"max":"*","base":{"path":"Goal.outcomeReference","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Observation"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false}]},"differential":{"element":[{"id":"Goal","path":"Goal","definition":"The US Core Goal Profile is based upon the core FHIR Goal Resource and created to meet the 2015 Edition Common Clinical Data Set 'Goals' requirements.","mustSupport":false,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Goal"}]},{"id":"Goal.lifecycleStatus","path":"Goal.lifecycleStatus","min":1,"max":"1","type":[{"code":"code"}],"mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/goal-status"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Goal.status"}]},{"id":"Goal.description","path":"Goal.description","min":1,"max":"1","type":[{"code":"CodeableConcept"}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Goal.description"}]},{"id":"Goal.subject","path":"Goal.subject","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Goal.subject"}]},{"id":"Goal.target","path":"Goal.target","min":0,"max":"*","mustSupport":true},{"id":"Goal.target.dueDate","path":"Goal.target.dueDate","min":0,"max":"1","mustSupport":true}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-immunization.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-immunization.json deleted file mode 100644 index 209ac947021..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-immunization.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-immunization","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Immunization 0..*ImmunizationImmunization event information
\".\"\".\"\".\" status S1..1codecompleted | entered-in-error | not-done
Binding: ImmunizationStatusCodes (required)
\".\"\".\"\".\" statusReason S0..1CodeableConceptReason not done
Binding: ImmunizationStatusReasonCodes (example)
\".\"\".\"\".\" vaccineCode SI1..1CodeableConceptVaccine Product Type (bind to CVX)
Binding: US Core Vaccine Administered Value Set (CVX) (extensible)
us-core-1: SHOULD have a translation to the NDC value set
\".\"\".\"\".\" patient S1..1Reference(US Core Patient Profile)Who was immunized
\".\"\".\"\".\" occurrence[x] S1..1Vaccine administration date
\".\"\".\"\".\"\".\" occurrenceDateTimedateTime
\".\"\".\"\".\"\".\" occurrenceStringstring
\".\"\".\"\".\" primarySource S1..1booleanIndicates context the data was recorded in

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization","version":"3.1.1","name":"USCoreImmunizationProfile","title":"US Core Immunization Profile","status":"active","experimental":false,"date":"2019-08-26","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines constraints and extensions on the Immunization resource for the minimal set of data to query and retrieve patient's immunization information.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"quick","uri":"http://unknown.org/QUICK","name":"QUICK"},{"identity":"argonaut-dq-dstu2","uri":"http://unknown.org/Argonaut-DQ-DSTU2","name":"Argonaut-DQ-DSTU2"},{"identity":"workflow","uri":"http://hl7.org/fhir/workflow","name":"Workflow Pattern"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"cda","uri":"http://hl7.org/v3/cda","name":"CDA (R2)"}],"kind":"resource","abstract":false,"type":"Immunization","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Immunization","derivation":"constraint","snapshot":{"element":[{"id":"Immunization","path":"Immunization","short":"Immunization event information","definition":"The US Core Immunization Profile is based upon the core FHIR Immunization Resource and created to meet the 2015 Edition Common Clinical Data Set 'Immunizations' requirements.","min":0,"max":"*","base":{"path":"Immunization","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"workflow","map":"Event"},{"identity":"v2","map":"VXU_V04"},{"identity":"rim","map":"SubstanceAdministration"},{"identity":"quick","map":"ImmunizationPerformanceOccurrence"},{"identity":"argonaut-dq-dstu2","map":"Immunization"}]},{"id":"Immunization.id","path":"Immunization.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"Immunization.meta","path":"Immunization.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"Immunization.implicitRules","path":"Immunization.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"Immunization.language","path":"Immunization.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"Immunization.text","path":"Immunization.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"Immunization.contained","path":"Immunization.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Immunization.extension","path":"Immunization.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Immunization.modifierExtension","path":"Immunization.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Immunization.identifier","path":"Immunization.identifier","short":"Business identifier","definition":"A unique identifier assigned to this immunization record.","min":0,"max":"*","base":{"path":"Immunization.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.identifier"},{"identity":"w5","map":"FiveWs.identifier"},{"identity":"rim","map":".id"},{"identity":"cda","map":"ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/id"}]},{"id":"Immunization.status","path":"Immunization.status","short":"completed | entered-in-error | not-done","definition":"Indicates the current status of the immunization event.","comment":"Will generally be set to show that the immunization has been completed or not done. This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.","min":1,"max":"1","base":{"path":"Immunization.status","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains statuses entered-in-error and not-done which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","description":"Constrained list of immunizaiotn status","valueSet":"http://hl7.org/fhir/ValueSet/immunization-status"},"mapping":[{"identity":"workflow","map":"Event.status"},{"identity":"w5","map":"FiveWs.status"},{"identity":"rim","map":"statusCode"},{"identity":"argonaut-dq-dstu2","map":"Immunization.status"}]},{"id":"Immunization.statusReason","path":"Immunization.statusReason","short":"Reason not done","definition":"Indicates the reason the immunization event was not performed.","comment":"This is generally only used for the status of \"not-done\". The reason for performing the immunization event is captured in reasonCode, not here.","min":0,"max":"1","base":{"path":"Immunization.statusReason","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/immunization-status-reason"},"mapping":[{"identity":"workflow","map":"Event.statusReason"},{"identity":"rim","map":".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde"},{"identity":"argonaut-dq-dstu2","map":"Immunization.wasNotGiven"}]},{"id":"Immunization.vaccineCode","path":"Immunization.vaccineCode","short":"Vaccine Product Type (bind to CVX)","definition":"Vaccine that was administered or was to be administered.","min":1,"max":"1","base":{"path":"Immunization.vaccineCode","min":1,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["us-core-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true}],"key":"us-core-1","severity":"warning","human":"SHOULD have a translation to the NDC value set","expression":"coding.where(system='http://hl7.org/fhir/sid/ndc').empty()","xpath":"not(exists(f:coding/f:system[@value='http://hl7.org/fhir/sid/ndc']))"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","description":"The CVX (vaccine administered) code system","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-vaccines-cvx"},"mapping":[{"identity":"workflow","map":"Event.code"},{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"v2","map":"RXA-5"},{"identity":"rim","map":".code"},{"identity":"cda","map":"ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacturedMaterial/realmCode/code"},{"identity":"quick","map":"vaccine"},{"identity":"argonaut-dq-dstu2","map":"Immunization.vaccineCode"}]},{"id":"Immunization.patient","path":"Immunization.patient","short":"Who was immunized","definition":"The patient who either received or did not receive the immunization.","alias":["Patient"],"min":1,"max":"1","base":{"path":"Immunization.patient","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.subject"},{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"PID-3"},{"identity":"rim","map":".partipication[ttypeCode=].role"},{"identity":"w5","map":"FiveWs.subject"},{"identity":"quick","map":"subject"},{"identity":"argonaut-dq-dstu2","map":"Immunization.patient"}]},{"id":"Immunization.encounter","path":"Immunization.encounter","short":"Encounter immunization was part of","definition":"The visit or admission or other contact between patient and health care provider the immunization was performed as part of.","min":0,"max":"1","base":{"path":"Immunization.encounter","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Encounter"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.context"},{"identity":"w5","map":"FiveWs.context"},{"identity":"v2","map":"PV1-19"},{"identity":"rim","map":"component->EncounterEvent"}]},{"id":"Immunization.occurrence[x]","path":"Immunization.occurrence[x]","short":"Vaccine administration date","definition":"Date vaccine administered or was to be administered.","comment":"When immunizations are given a specific date and time should always be known. When immunizations are patient reported, a specific date might not be known. Although partial dates are allowed, an adult patient might not be able to recall the year a childhood immunization was given. An exact date is always preferable, but the use of the String data type is acceptable when an exact date is not known. A small number of vaccines (e.g. live oral typhoid vaccine) are given as a series of patient self-administered dose over a span of time. In cases like this, often, only the first dose (typically a provider supervised dose) is recorded with the occurrence indicating the date/time of the first dose.","min":1,"max":"1","base":{"path":"Immunization.occurrence[x]","min":1,"max":"1"},"type":[{"code":"dateTime"},{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.occurrence[x]"},{"identity":"w5","map":"FiveWs.done[x]"},{"identity":"v2","map":"RXA-3"},{"identity":"rim","map":".effectiveTime"},{"identity":"cda","map":"ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/effectiveTime/value"},{"identity":"quick","map":"performanceTime"},{"identity":"argonaut-dq-dstu2","map":"Immunization.date"}]},{"id":"Immunization.recorded","path":"Immunization.recorded","short":"When the immunization was first captured in the subject's record","definition":"The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event.","min":0,"max":"1","base":{"path":"Immunization.recorded","min":0,"max":"1"},"type":[{"code":"dateTime"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.recorded"},{"identity":"rim","map":".participation[typeCode=AUT].time"}]},{"id":"Immunization.primarySource","path":"Immunization.primarySource","short":"Indicates context the data was recorded in","definition":"An indication that the content of the record is based on information from the person who administered the vaccine. This reflects the context under which the data was originally recorded.","comment":"Reflects the “reliability” of the content.","min":1,"max":"1","base":{"path":"Immunization.primarySource","min":0,"max":"1"},"type":[{"code":"boolean"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.source"},{"identity":"v2","map":"RXA-9"},{"identity":"rim","map":"immunization.uncertaintycode (if primary source=false, uncertainty=U)"},{"identity":"quick","map":"reported"},{"identity":"argonaut-dq-dstu2","map":"Immunization.reported"}]},{"id":"Immunization.reportOrigin","path":"Immunization.reportOrigin","short":"Indicates the source of a secondarily reported record","definition":"The source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.","comment":"Should not be populated if primarySource = True, not required even if primarySource = False.","min":0,"max":"1","base":{"path":"Immunization.reportOrigin","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ImmunizationReportOrigin"}],"strength":"example","description":"The source of the data for a record which is not from a primary source.","valueSet":"http://hl7.org/fhir/ValueSet/immunization-origin"},"mapping":[{"identity":"w5","map":"FiveWs.source"},{"identity":"v2","map":"RXA-9"},{"identity":"rim","map":".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported) .participation[typeCode=INF].role[classCode=LIC] (this syntax for health care professional) .participation[typeCode=INF].role[classCode=PRS] (this syntax for family member)"}]},{"id":"Immunization.location","path":"Immunization.location","short":"Where immunization occurred","definition":"The service delivery location where the vaccine administration occurred.","min":0,"max":"1","base":{"path":"Immunization.location","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Location"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.location"},{"identity":"w5","map":"FiveWs.where[x]"},{"identity":"v2","map":"RXA-27 (or RXA-11, deprecated as of v2.7)"},{"identity":"rim","map":".participation[typeCode=LOC].COCT_MT240000UV"}]},{"id":"Immunization.manufacturer","path":"Immunization.manufacturer","short":"Vaccine manufacturer","definition":"Name of vaccine manufacturer.","min":0,"max":"1","base":{"path":"Immunization.manufacturer","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"RXA-17"},{"identity":"rim","map":".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=ORG]"},{"identity":"cda","map":"ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacuturerOrganization/name"}]},{"id":"Immunization.lotNumber","path":"Immunization.lotNumber","short":"Vaccine lot number","definition":"Lot number of the vaccine product.","min":0,"max":"1","base":{"path":"Immunization.lotNumber","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"RXA-15"},{"identity":"rim","map":".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].id"},{"identity":"cda","map":"ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacturedMaterial/lotNumberText"}]},{"id":"Immunization.expirationDate","path":"Immunization.expirationDate","short":"Vaccine expiration date","definition":"Date vaccine batch expires.","min":0,"max":"1","base":{"path":"Immunization.expirationDate","min":0,"max":"1"},"type":[{"code":"date"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"RXA-16"},{"identity":"rim","map":".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime"}]},{"id":"Immunization.site","path":"Immunization.site","short":"Body site vaccine was administered","definition":"Body site where vaccine was administered.","min":0,"max":"1","base":{"path":"Immunization.site","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ImmunizationSite"}],"strength":"example","description":"The site at which the vaccine was administered.","valueSet":"http://hl7.org/fhir/ValueSet/immunization-site"},"mapping":[{"identity":"v2","map":"RXR-2"},{"identity":"rim","map":"observation.targetSiteCode"},{"identity":"cda","map":"ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/approachSiteCode/code"}]},{"id":"Immunization.route","path":"Immunization.route","short":"How vaccine entered body","definition":"The path by which the vaccine product is taken into the body.","min":0,"max":"1","base":{"path":"Immunization.route","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ImmunizationRoute"}],"strength":"example","description":"The route by which the vaccine was administered.","valueSet":"http://hl7.org/fhir/ValueSet/immunization-route"},"mapping":[{"identity":"v2","map":"RXR-1"},{"identity":"rim","map":".routeCode"},{"identity":"cda","map":"ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/routeCode/code"}]},{"id":"Immunization.doseQuantity","path":"Immunization.doseQuantity","short":"Amount of vaccine administered","definition":"The quantity of vaccine product that was administered.","min":0,"max":"1","base":{"path":"Immunization.doseQuantity","min":0,"max":"1"},"type":[{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"RXA-6 / RXA-7"},{"identity":"rim","map":".doseQuantity"}]},{"id":"Immunization.performer","path":"Immunization.performer","short":"Who performed event","definition":"Indicates who performed the immunization event.","min":0,"max":"*","base":{"path":"Immunization.performer","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.performer"},{"identity":"v2","map":"ORC-12 / RXA-10"},{"identity":"rim","map":".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]"}]},{"id":"Immunization.performer.id","path":"Immunization.performer.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Immunization.performer.extension","path":"Immunization.performer.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Immunization.performer.modifierExtension","path":"Immunization.performer.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Immunization.performer.function","path":"Immunization.performer.function","short":"What type of performance was done","definition":"Describes the type of performance (e.g. ordering provider, administering provider, etc.).","min":0,"max":"1","base":{"path":"Immunization.performer.function","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ImmunizationFunction"}],"strength":"extensible","description":"The role a practitioner or organization plays in the immunization event.","valueSet":"http://hl7.org/fhir/ValueSet/immunization-function"},"mapping":[{"identity":"workflow","map":"Event.performer.function"},{"identity":"rim","map":".participation.functionCode"}]},{"id":"Immunization.performer.actor","path":"Immunization.performer.actor","short":"Individual or organization who was performing","definition":"The practitioner or organization who performed the action.","comment":"When the individual practitioner who performed the action is known, it is best to send.","min":1,"max":"1","base":{"path":"Immunization.performer.actor","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.performer.actor"},{"identity":"w5","map":"FiveWs.actor"},{"identity":"rim","map":".player"}]},{"id":"Immunization.note","path":"Immunization.note","short":"Additional immunization notes","definition":"Extra information about the immunization that is not conveyed by the other attributes.","min":0,"max":"*","base":{"path":"Immunization.note","min":0,"max":"*"},"type":[{"code":"Annotation"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.note"},{"identity":"v2","map":"OBX-5 : OBX-3 = 48767-8"},{"identity":"rim","map":"note"}]},{"id":"Immunization.reasonCode","path":"Immunization.reasonCode","short":"Why immunization occurred","definition":"Reasons why the vaccine was administered.","min":0,"max":"*","base":{"path":"Immunization.reasonCode","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ImmunizationReason"}],"strength":"example","description":"The reason why a vaccine was administered.","valueSet":"http://hl7.org/fhir/ValueSet/immunization-reason"},"mapping":[{"identity":"workflow","map":"Event.reasonCode"},{"identity":"rim","map":"[actionNegationInd=false].reasonCode"}]},{"id":"Immunization.reasonReference","path":"Immunization.reasonReference","short":"Why immunization occurred","definition":"Condition, Observation or DiagnosticReport that supports why the immunization was administered.","min":0,"max":"*","base":{"path":"Immunization.reasonReference","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/DiagnosticReport"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.reasonReference"},{"identity":"rim","map":"N/A"}]},{"id":"Immunization.isSubpotent","path":"Immunization.isSubpotent","short":"Dose potency","definition":"Indication if a dose is considered to be subpotent. By default, a dose should be considered to be potent.","comment":"Typically, the recognition of the dose being sub-potent is retrospective, after the administration (ex. notification of a manufacturer recall after administration). However, in the case of a partial administration (the patient moves unexpectedly and only some of the dose is actually administered), subpotency may be recognized immediately, but it is still important to record the event.","min":0,"max":"1","base":{"path":"Immunization.isSubpotent","min":0,"max":"1"},"type":[{"code":"boolean"}],"meaningWhenMissing":"By default, a dose should be considered to be potent.","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because an immunization event with a subpotent vaccine doesn't protect the patient the same way as a potent dose.","isSummary":true,"mapping":[{"identity":"v2","map":"RXA-20 = PA (partial administration)"},{"identity":"rim","map":"N/A"}]},{"id":"Immunization.subpotentReason","path":"Immunization.subpotentReason","short":"Reason for being subpotent","definition":"Reason why a dose is considered to be subpotent.","min":0,"max":"*","base":{"path":"Immunization.subpotentReason","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"SubpotentReason"}],"strength":"example","description":"The reason why a dose is considered to be subpotent.","valueSet":"http://hl7.org/fhir/ValueSet/immunization-subpotent-reason"},"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Immunization.education","path":"Immunization.education","short":"Educational material presented to patient","definition":"Educational material presented to the patient (or guardian) at the time of vaccine administration.","min":0,"max":"*","base":{"path":"Immunization.education","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"imm-1","severity":"error","human":"One of documentType or reference SHALL be present","expression":"documentType.exists() or reference.exists()","xpath":"exists(f:documentType) or exists(f:reference)"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Immunization.education.id","path":"Immunization.education.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Immunization.education.extension","path":"Immunization.education.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Immunization.education.modifierExtension","path":"Immunization.education.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Immunization.education.documentType","path":"Immunization.education.documentType","short":"Educational material document identifier","definition":"Identifier of the material presented to the patient.","min":0,"max":"1","base":{"path":"Immunization.education.documentType","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-5 : OBX-3 = 69764-9"},{"identity":"rim","map":"N/A"}]},{"id":"Immunization.education.reference","path":"Immunization.education.reference","short":"Educational material reference pointer","definition":"Reference pointer to the educational material given to the patient if the information was on line.","min":0,"max":"1","base":{"path":"Immunization.education.reference","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Immunization.education.publicationDate","path":"Immunization.education.publicationDate","short":"Educational material publication date","definition":"Date the educational material was published.","min":0,"max":"1","base":{"path":"Immunization.education.publicationDate","min":0,"max":"1"},"type":[{"code":"dateTime"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-5 : OBX-3 = 29768-9"},{"identity":"rim","map":"N/A"}]},{"id":"Immunization.education.presentationDate","path":"Immunization.education.presentationDate","short":"Educational material presentation date","definition":"Date the educational material was given to the patient.","min":0,"max":"1","base":{"path":"Immunization.education.presentationDate","min":0,"max":"1"},"type":[{"code":"dateTime"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-5 : OBX-3 = 29769-7"},{"identity":"rim","map":"N/A"}]},{"id":"Immunization.programEligibility","path":"Immunization.programEligibility","short":"Patient eligibility for a vaccination program","definition":"Indicates a patient's eligibility for a funding program.","min":0,"max":"*","base":{"path":"Immunization.programEligibility","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ProgramEligibility"}],"strength":"example","description":"The patient's eligibility for a vaccation program.","valueSet":"http://hl7.org/fhir/ValueSet/immunization-program-eligibility"},"mapping":[{"identity":"v2","map":"OBX-5 : OBX-3 = 64994-7"},{"identity":"rim","map":"N/A"}]},{"id":"Immunization.fundingSource","path":"Immunization.fundingSource","short":"Funding source for the vaccine","definition":"Indicates the source of the vaccine actually administered. This may be different than the patient eligibility (e.g. the patient may be eligible for a publically purchased vaccine but due to inventory issues, vaccine purchased with private funds was actually administered).","min":0,"max":"1","base":{"path":"Immunization.fundingSource","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"FundingSource"}],"strength":"example","description":"The source of funding used to purchase the vaccine administered.","valueSet":"http://hl7.org/fhir/ValueSet/immunization-funding-source"},"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Immunization.reaction","path":"Immunization.reaction","short":"Details of a reaction that follows immunization","definition":"Categorical data indicating that an adverse event is associated in time to an immunization.","comment":"A reaction may be an indication of an allergy or intolerance and, if this is determined to be the case, it should be recorded as a new AllergyIntolerance resource instance as most systems will not query against past Immunization.reaction elements.","min":0,"max":"*","base":{"path":"Immunization.reaction","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-3"},{"identity":"rim","map":"Observation[classCode=obs].code"}]},{"id":"Immunization.reaction.id","path":"Immunization.reaction.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Immunization.reaction.extension","path":"Immunization.reaction.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Immunization.reaction.modifierExtension","path":"Immunization.reaction.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Immunization.reaction.date","path":"Immunization.reaction.date","short":"When reaction started","definition":"Date of reaction to the immunization.","min":0,"max":"1","base":{"path":"Immunization.reaction.date","min":0,"max":"1"},"type":[{"code":"dateTime"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-14 (ideally this would be reported in an IAM segment, but IAM is not part of the HL7 v2 VXU message - most likely would appear in OBX segments if at all)"},{"identity":"rim","map":".effectiveTime"}]},{"id":"Immunization.reaction.detail","path":"Immunization.reaction.detail","short":"Additional information on reaction","definition":"Details of the reaction.","min":0,"max":"1","base":{"path":"Immunization.reaction.detail","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Observation"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-5"},{"identity":"rim","map":".value"}]},{"id":"Immunization.reaction.reported","path":"Immunization.reaction.reported","short":"Indicates self-reported reaction","definition":"Self-reported indicator.","min":0,"max":"1","base":{"path":"Immunization.reaction.reported","min":0,"max":"1"},"type":[{"code":"boolean"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"(HL7 v2 doesn't seem to provide for this)"},{"identity":"rim","map":".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported=true)"}]},{"id":"Immunization.protocolApplied","path":"Immunization.protocolApplied","short":"Protocol followed by the provider","definition":"The protocol (set of recommendations) being followed by the provider who administered the dose.","min":0,"max":"*","base":{"path":"Immunization.protocolApplied","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Immunization.protocolApplied.id","path":"Immunization.protocolApplied.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Immunization.protocolApplied.extension","path":"Immunization.protocolApplied.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Immunization.protocolApplied.modifierExtension","path":"Immunization.protocolApplied.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Immunization.protocolApplied.series","path":"Immunization.protocolApplied.series","short":"Name of vaccine series","definition":"One possible path to achieve presumed immunity against a disease - within the context of an authority.","min":0,"max":"1","base":{"path":"Immunization.protocolApplied.series","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Immunization.protocolApplied.authority","path":"Immunization.protocolApplied.authority","short":"Who is responsible for publishing the recommendations","definition":"Indicates the authority who published the protocol (e.g. ACIP) that is being followed.","min":0,"max":"1","base":{"path":"Immunization.protocolApplied.authority","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Immunization.protocolApplied.targetDisease","path":"Immunization.protocolApplied.targetDisease","short":"Vaccine preventatable disease being targetted","definition":"The vaccine preventable disease the dose is being administered against.","min":0,"max":"*","base":{"path":"Immunization.protocolApplied.targetDisease","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"TargetDisease"}],"strength":"example","description":"The vaccine preventable disease the dose is being administered for.","valueSet":"http://hl7.org/fhir/ValueSet/immunization-target-disease"},"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Immunization.protocolApplied.doseNumber[x]","path":"Immunization.protocolApplied.doseNumber[x]","short":"Dose number within series","definition":"Nominal position in a series.","comment":"The use of an integer is preferred if known. A string should only be used in cases where an integer is not available (such as when documenting a recurring booster dose).","min":1,"max":"1","base":{"path":"Immunization.protocolApplied.doseNumber[x]","min":1,"max":"1"},"type":[{"code":"positiveInt"},{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Immunization.protocolApplied.seriesDoses[x]","path":"Immunization.protocolApplied.seriesDoses[x]","short":"Recommended number of doses for immunity","definition":"The recommended number of doses to achieve immunity.","comment":"The use of an integer is preferred if known. A string should only be used in cases where an integer is not available (such as when documenting a recurring booster dose).","min":0,"max":"1","base":{"path":"Immunization.protocolApplied.seriesDoses[x]","min":0,"max":"1"},"type":[{"code":"positiveInt"},{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]}]},"differential":{"element":[{"id":"Immunization","path":"Immunization","definition":"The US Core Immunization Profile is based upon the core FHIR Immunization Resource and created to meet the 2015 Edition Common Clinical Data Set 'Immunizations' requirements.","mustSupport":false,"mapping":[{"identity":"quick","map":"ImmunizationPerformanceOccurrence"},{"identity":"quick","map":"ImmunizationPerformanceOccurrence"},{"identity":"argonaut-dq-dstu2","map":"Immunization"}]},{"id":"Immunization.status","path":"Immunization.status","min":1,"max":"1","type":[{"code":"code"}],"mustSupport":true,"binding":{"strength":"required","description":"Constrained list of immunizaiotn status","valueSet":"http://hl7.org/fhir/ValueSet/immunization-status"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Immunization.status"}]},{"id":"Immunization.statusReason","path":"Immunization.statusReason","min":0,"max":"1","mustSupport":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/immunization-status-reason"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Immunization.wasNotGiven"}]},{"id":"Immunization.vaccineCode","path":"Immunization.vaccineCode","short":"Vaccine Product Type (bind to CVX)","min":1,"max":"1","type":[{"code":"CodeableConcept"}],"condition":["us-core-1"],"constraint":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true}],"key":"us-core-1","severity":"warning","human":"SHOULD have a translation to the NDC value set","expression":"coding.where(system='http://hl7.org/fhir/sid/ndc').empty()","xpath":"not(exists(f:coding/f:system[@value='http://hl7.org/fhir/sid/ndc']))"}],"mustSupport":true,"binding":{"strength":"extensible","description":"The CVX (vaccine administered) code system","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-vaccines-cvx"},"mapping":[{"identity":"quick","map":"vaccine"},{"identity":"quick","map":"vaccine"},{"identity":"argonaut-dq-dstu2","map":"Immunization.vaccineCode"}]},{"id":"Immunization.patient","path":"Immunization.patient","alias":["Patient"],"min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true,"mapping":[{"identity":"quick","map":"subject"},{"identity":"quick","map":"subject"},{"identity":"argonaut-dq-dstu2","map":"Immunization.patient"}]},{"id":"Immunization.occurrence[x]","path":"Immunization.occurrence[x]","min":1,"max":"1","type":[{"code":"dateTime"},{"code":"string"}],"mustSupport":true,"mapping":[{"identity":"quick","map":"performanceTime"},{"identity":"quick","map":"performanceTime"},{"identity":"argonaut-dq-dstu2","map":"Immunization.date"}]},{"id":"Immunization.primarySource","path":"Immunization.primarySource","min":1,"max":"1","type":[{"code":"boolean"}],"mustSupport":true,"mapping":[{"identity":"quick","map":"reported"},{"identity":"quick","map":"reported"},{"identity":"argonaut-dq-dstu2","map":"Immunization.reported"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-implantable-device.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-implantable-device.json deleted file mode 100644 index 90cc7a40f7d..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-implantable-device.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-implantable-device","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Device I0..*DeviceItem used in healthcare
us-core-12: Implantable medical devices that have UDI information SHALL represent this information in either carrierAIDC or carrierHRF.
us-core-9: For implantable medical devices that have UDI information, at least one of the Production Identifiers (UDI-PI) SHALL be present.
\".\"\".\"\".\" udiCarrier S0..1BackboneElementUnique Device Identifier (UDI) Barcode string
\".\"\".\"\".\"\".\" deviceIdentifier S1..1stringMandatory fixed portion of UDI
\".\"\".\"\".\"\".\" carrierAIDC SI0..1base64BinaryUDI Machine Readable Barcode String
\".\"\".\"\".\"\".\" carrierHRF SI0..1stringUDI Human Readable Barcode String
\".\"\".\"\".\" distinctIdentifier SI0..1stringThe distinct identification string
\".\"\".\"\".\" manufactureDate SI0..1dateTimeDate when the device was made
\".\"\".\"\".\" expirationDate SI0..1dateTimeDate and time of expiry of this device (if applicable)
\".\"\".\"\".\" lotNumber SI0..1stringLot number of manufacture
\".\"\".\"\".\" serialNumber SI0..1stringSerial number assigned by the manufacturer
\".\"\".\"\".\" type S1..1CodeableConceptThe kind or type of device
Binding: FHIRDeviceTypes (extensible)
\".\"\".\"\".\" patient S1..1Reference(US Core Patient Profile)Patient to whom Device is affixed

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device","version":"3.1.1","name":"USCoreImplantableDeviceProfile","title":"US Core Implantable Device Profile","status":"active","experimental":false,"date":"2019-09-17","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines constraints and extensions on the Device resource for the minimal set of data to query and retrieve a patient's implantable device(s).","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"argonaut-dq-dstu2","uri":"http://unknown.org/Argonaut-DQ-DSTU2","name":"Argonaut-DQ-DSTU2"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"udi","uri":"http://fda.gov/UDI","name":"UDI Mapping"}],"kind":"resource","abstract":false,"type":"Device","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Device","derivation":"constraint","snapshot":{"element":[{"id":"Device","path":"Device","short":"Item used in healthcare","definition":"The US Core Implantable Device Profile is based upon the core FHIR Device Resource and created to meet the 2015 Edition Common Clinical Data Set 'Unique device identifier(s) for a patient’s implantable device(s)' requirements.","min":0,"max":"*","base":{"path":"Device","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"us-core-12","severity":"error","human":"Implantable medical devices that have UDI information SHALL represent this information in either carrierAIDC or carrierHRF.","expression":"udiCarrier.empty() or (udiCarrier.carrierAIDC.exists() or udiCarrier.carrierHRF.exists())","xpath":"not(f:udiCarrier) or (f:carrierHRF or f:carrierAIDC)"},{"key":"us-core-9","severity":"error","human":"For implantable medical devices that have UDI information, at least one of the Production Identifiers (UDI-PI) SHALL be present.","expression":"udiCarrier.empty() or (manufactureDate.exists() or expirationDate.exists() or lotNumber.exists() or serialNumber.exists() or distinctIdentifier.exists())","xpath":"not(f:udiCarrier) or (f:manufactureDate or f:expirationDate or f:lotNumber or f:serialNumber or f:distinctIdentifier)"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"rim","map":"Device"},{"identity":"argonaut-dq-dstu2","map":"Device"}]},{"id":"Device.id","path":"Device.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"Device.meta","path":"Device.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"Device.implicitRules","path":"Device.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"Device.language","path":"Device.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"Device.text","path":"Device.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"Device.contained","path":"Device.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Device.extension","path":"Device.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Device.modifierExtension","path":"Device.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Device.identifier","path":"Device.identifier","short":"Instance identifier","definition":"Unique instance identifiers assigned to a device by manufacturers other organizations or owners.","comment":"The barcode string from a barcode present on a device label or package may identify the instance, include names given to the device in local usage, or may identify the type of device. If the identifier identifies the type of device, Device.type element should be used.","min":0,"max":"*","base":{"path":"Device.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.identifier"},{"identity":"rim","map":".id"},{"identity":"udi","map":"The serial number which is a component of the production identifier (PI), a conditional, variable portion of a UDI. The identifier.type code should be set to “SNO”(Serial Number) and the system left empty."}]},{"id":"Device.definition","path":"Device.definition","short":"The reference to the definition for the device","definition":"The reference to the definition for the device.","min":0,"max":"1","base":{"path":"Device.definition","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/DeviceDefinition"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false},{"id":"Device.udiCarrier","path":"Device.udiCarrier","short":"Unique Device Identifier (UDI) Barcode string","definition":"Unique device identifier (UDI) assigned to device label or package. Note that the Device may include multiple udiCarriers as it either may include just the udiCarrier for the jurisdiction it is sold, or for multiple jurisdictions it could have been sold.","comment":"Some devices may not have UDI information (for example. historical data or patient reported data).","min":0,"max":"1","base":{"path":"Device.udiCarrier","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.identifier"},{"identity":"rim","map":".id and .code"},{"identity":"argonaut-dq-dstu2","map":"Device.udi"}]},{"id":"Device.udiCarrier.id","path":"Device.udiCarrier.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Device.udiCarrier.extension","path":"Device.udiCarrier.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Device.udiCarrier.modifierExtension","path":"Device.udiCarrier.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Device.udiCarrier.deviceIdentifier","path":"Device.udiCarrier.deviceIdentifier","short":"Mandatory fixed portion of UDI","definition":"The device identifier (DI) is a mandatory, fixed portion of a UDI that identifies the labeler and the specific version or model of a device.","alias":["DI"],"min":1,"max":"1","base":{"path":"Device.udiCarrier.deviceIdentifier","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"rim","map":"Role.id.extension"},{"identity":"udi","map":"The device identifier (DI), a mandatory, fixed portion of a UDI that identifies the labeler and the specific version or model of a device."},{"identity":"argonaut-dq-dstu2","map":"NA (not Supported)"}]},{"id":"Device.udiCarrier.issuer","path":"Device.udiCarrier.issuer","short":"UDI Issuing Organization","definition":"Organization that is charged with issuing UDIs for devices. For example, the US FDA issuers include :\n1) GS1: \nhttp://hl7.org/fhir/NamingSystem/gs1-di, \n2) HIBCC:\nhttp://hl7.org/fhir/NamingSystem/hibcc-dI, \n3) ICCBBA for blood containers:\nhttp://hl7.org/fhir/NamingSystem/iccbba-blood-di, \n4) ICCBA for other devices:\nhttp://hl7.org/fhir/NamingSystem/iccbba-other-di.","alias":["Barcode System"],"min":0,"max":"1","base":{"path":"Device.udiCarrier.issuer","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Role.id.root"},{"identity":"udi","map":"All UDIs are to be issued under a system operated by an Jurisdiction-accredited issuing agency.\nGS1 DIs: \n http://hl7.org/fhir/NamingSystem/gs1\nHIBCC DIs:\n http://hl7.org/fhir/NamingSystem/hibcc\nICCBBA DIs for blood containers:\n http://hl7.org/fhir/NamingSystem/iccbba-blood\nICCBA DIs for other devices:\n http://hl7.org/fhir/NamingSystem/iccbba-other"}]},{"id":"Device.udiCarrier.jurisdiction","path":"Device.udiCarrier.jurisdiction","short":"Regional UDI authority","definition":"The identity of the authoritative source for UDI generation within a jurisdiction. All UDIs are globally unique within a single namespace with the appropriate repository uri as the system. For example, UDIs of devices managed in the U.S. by the FDA, the value is http://hl7.org/fhir/NamingSystem/fda-udi.","requirements":"Allows a recipient of a UDI to know which database will contain the UDI-associated metadata.","min":0,"max":"1","base":{"path":"Device.udiCarrier.jurisdiction","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Role.scoper"}]},{"id":"Device.udiCarrier.carrierAIDC","path":"Device.udiCarrier.carrierAIDC","short":"UDI Machine Readable Barcode String","definition":"The full UDI carrier of the Automatic Identification and Data Capture (AIDC) technology representation of the barcode string as printed on the packaging of the device - e.g., a barcode or RFID. Because of limitations on character sets in XML and the need to round-trip JSON data through XML, AIDC Formats *SHALL* be base64 encoded.","comment":"The AIDC form of UDIs should be scanned or otherwise used for the identification of the device whenever possible to minimize errors in records resulting from manual transcriptions. If separate barcodes for DI and PI are present, concatenate the string with DI first and in order of human readable expression on label.","alias":["Automatic Identification and Data Capture","UDI","Barcode String"],"min":0,"max":"1","base":{"path":"Device.udiCarrier.carrierAIDC","min":0,"max":"1"},"type":[{"code":"base64Binary"}],"condition":["us-core-12"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":"Role.id.extension"},{"identity":"udi","map":"A unique device identifier (UDI) on a device label a form that uses automatic identification and data capture (AIDC) technology."},{"identity":"argonaut-dq-dstu2","map":"NA (not Supported)"}]},{"id":"Device.udiCarrier.carrierHRF","path":"Device.udiCarrier.carrierHRF","short":"UDI Human Readable Barcode String","definition":"The full UDI carrier as the human readable form (HRF) representation of the barcode string as printed on the packaging of the device.","comment":"If separate barcodes for DI and PI are present, concatenate the string with DI first and in order of human readable expression on label.","alias":["Human Readable Form","UDI","Barcode String"],"min":0,"max":"1","base":{"path":"Device.udiCarrier.carrierHRF","min":0,"max":"1"},"type":[{"code":"string"}],"condition":["us-core-12"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":"Role.id.extension"},{"identity":"udi","map":"A unique device identifier (UDI) on a device label in plain text"},{"identity":"argonaut-dq-dstu2","map":"Device.udi"}]},{"id":"Device.udiCarrier.entryType","path":"Device.udiCarrier.entryType","short":"barcode | rfid | manual +","definition":"A coded entry to indicate how the data was entered.","requirements":"Supports a way to distinguish hand entered from machine read data.","min":0,"max":"1","base":{"path":"Device.udiCarrier.entryType","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"UDIEntryType"}],"strength":"required","description":"Codes to identify how UDI data was entered.","valueSet":"http://hl7.org/fhir/ValueSet/udi-entry-type|4.0.1"},"mapping":[{"identity":"rim","map":"NA"}]},{"id":"Device.status","path":"Device.status","short":"active | inactive | entered-in-error | unknown","definition":"Status of the Device availability.","comment":"This element is labeled as a modifier because the status contains the codes inactive and entered-in-error that mark the device (record)as not currently valid.","min":0,"max":"1","base":{"path":"Device.status","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"FHIRDeviceStatus"}],"strength":"required","description":"The availability status of the device.","valueSet":"http://hl7.org/fhir/ValueSet/device-status|4.0.1"},"mapping":[{"identity":"w5","map":"FiveWs.status"},{"identity":"rim","map":".statusCode"}]},{"id":"Device.statusReason","path":"Device.statusReason","short":"online | paused | standby | offline | not-ready | transduc-discon | hw-discon | off","definition":"Reason for the dtatus of the Device availability.","min":0,"max":"*","base":{"path":"Device.statusReason","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"FHIRDeviceStatusReason"}],"strength":"extensible","description":"The availability status reason of the device.","valueSet":"http://hl7.org/fhir/ValueSet/device-status-reason"},"mapping":[{"identity":"w5","map":"FiveWs.status"}]},{"id":"Device.distinctIdentifier","path":"Device.distinctIdentifier","short":"The distinct identification string","definition":"The distinct identification string as required by regulation for a human cell, tissue, or cellular and tissue-based product.","comment":"For example, this applies to devices in the United States regulated under *Code of Federal Regulation 21CFR§1271.290(c)*.","alias":["Distinct Identification Code (DIC)"],"min":0,"max":"1","base":{"path":"Device.distinctIdentifier","min":0,"max":"1"},"type":[{"code":"string"}],"condition":["us-core-9"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"rim","map":".lotNumberText"},{"identity":"udi","map":"The lot or batch number within which a device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI."},{"identity":"argonaut-dq-dstu2","map":"NA (not Supported)"}]},{"id":"Device.manufacturer","path":"Device.manufacturer","short":"Name of device manufacturer","definition":"A name of the manufacturer.","min":0,"max":"1","base":{"path":"Device.manufacturer","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"rim","map":".playedRole[typeCode=MANU].scoper.name"},{"identity":"udi","map":"N/A"}]},{"id":"Device.manufactureDate","path":"Device.manufactureDate","short":"Date when the device was made","definition":"The date and time when the device was manufactured.","min":0,"max":"1","base":{"path":"Device.manufactureDate","min":0,"max":"1"},"type":[{"code":"dateTime"}],"condition":["us-core-9"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"rim","map":".existenceTime.low"},{"identity":"udi","map":"The date a specific device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI. For FHIR, The datetime syntax must converted to YYYY-MM-DD[THH:MM:SS]. If hour is present, the minutes and seconds should both be set to “00”."},{"identity":"argonaut-dq-dstu2","map":"NA (not Supported)"}]},{"id":"Device.expirationDate","path":"Device.expirationDate","short":"Date and time of expiry of this device (if applicable)","definition":"The date and time beyond which this device is no longer valid or should not be used (if applicable).","min":0,"max":"1","base":{"path":"Device.expirationDate","min":0,"max":"1"},"type":[{"code":"dateTime"}],"condition":["us-core-9"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"rim","map":".expirationTime"},{"identity":"udi","map":"the expiration date of a specific device - which is a component of the production identifier (PI), a conditional, variable portion of a UDI. For FHIR, The datetime syntax must converted to YYYY-MM-DD[THH:MM:SS]. If hour is present, the minutes and seconds should both be set to “00”."},{"identity":"argonaut-dq-dstu2","map":"NA (not Supported)"}]},{"id":"Device.lotNumber","path":"Device.lotNumber","short":"Lot number of manufacture","definition":"Lot number assigned by the manufacturer.","min":0,"max":"1","base":{"path":"Device.lotNumber","min":0,"max":"1"},"type":[{"code":"string"}],"condition":["us-core-9"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"rim","map":".lotNumberText"},{"identity":"udi","map":"The lot or batch number within which a device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI."},{"identity":"argonaut-dq-dstu2","map":"NA (not Supported)"}]},{"id":"Device.serialNumber","path":"Device.serialNumber","short":"Serial number assigned by the manufacturer","definition":"The serial number assigned by the organization when the device was manufactured.","comment":"Alphanumeric Maximum 20.","min":0,"max":"1","base":{"path":"Device.serialNumber","min":0,"max":"1"},"type":[{"code":"string"}],"condition":["us-core-9"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"rim","map":".playedRole[typeCode=MANU].id"},{"identity":"argonaut-dq-dstu2","map":"NA (not Supported)"}]},{"id":"Device.deviceName","path":"Device.deviceName","short":"The name of the device as given by the manufacturer","definition":"This represents the manufacturer's name of the device as provided by the device, from a UDI label, or by a person describing the Device. This typically would be used when a person provides the name(s) or when the device represents one of the names available from DeviceDefinition.","min":0,"max":"*","base":{"path":"Device.deviceName","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false},{"id":"Device.deviceName.id","path":"Device.deviceName.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Device.deviceName.extension","path":"Device.deviceName.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Device.deviceName.modifierExtension","path":"Device.deviceName.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Device.deviceName.name","path":"Device.deviceName.name","short":"The name of the device","definition":"The name of the device.","alias":["Σ"],"min":1,"max":"1","base":{"path":"Device.deviceName.name","min":1,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false},{"id":"Device.deviceName.type","path":"Device.deviceName.type","short":"udi-label-name | user-friendly-name | patient-reported-name | manufacturer-name | model-name | other","definition":"The type of deviceName.\nUDILabelName | UserFriendlyName | PatientReportedName | ManufactureDeviceName | ModelName.","min":1,"max":"1","base":{"path":"Device.deviceName.type","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"DeviceNameType"}],"strength":"required","description":"The type of name the device is referred by.","valueSet":"http://hl7.org/fhir/ValueSet/device-nametype|4.0.1"},"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"rim","map":".playedRole[typeCode=MANU].code"}]},{"id":"Device.modelNumber","path":"Device.modelNumber","short":"The model number for the device","definition":"The model number for the device.","min":0,"max":"1","base":{"path":"Device.modelNumber","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"rim","map":".softwareName (included as part)"}]},{"id":"Device.partNumber","path":"Device.partNumber","short":"The part number of the device","definition":"The part number of the device.","comment":"Alphanumeric Maximum 20.","min":0,"max":"1","base":{"path":"Device.partNumber","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"rim","map":".playedRole[typeCode=MANU].id"}]},{"id":"Device.type","path":"Device.type","short":"The kind or type of device","definition":"The kind or type of device.","min":1,"max":"1","base":{"path":"Device.type","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"strength":"extensible","description":"Codes to identify medical devices","valueSet":"http://hl7.org/fhir/ValueSet/device-kind"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Device.type"}]},{"id":"Device.specialization","path":"Device.specialization","short":"The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication","definition":"The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication.","min":0,"max":"*","base":{"path":"Device.specialization","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false},{"id":"Device.specialization.id","path":"Device.specialization.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Device.specialization.extension","path":"Device.specialization.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Device.specialization.modifierExtension","path":"Device.specialization.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Device.specialization.systemType","path":"Device.specialization.systemType","short":"The standard that is used to operate and communicate","definition":"The standard that is used to operate and communicate.","alias":["Σ"],"min":1,"max":"1","base":{"path":"Device.specialization.systemType","min":1,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false},{"id":"Device.specialization.version","path":"Device.specialization.version","short":"The version of the standard that is used to operate and communicate","definition":"The version of the standard that is used to operate and communicate.","min":0,"max":"1","base":{"path":"Device.specialization.version","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.what[x]"}]},{"id":"Device.version","path":"Device.version","short":"The actual design of the device or software version running on the device","definition":"The actual design of the device or software version running on the device.","min":0,"max":"*","base":{"path":"Device.version","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false},{"id":"Device.version.id","path":"Device.version.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Device.version.extension","path":"Device.version.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Device.version.modifierExtension","path":"Device.version.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Device.version.type","path":"Device.version.type","short":"The type of the device version","definition":"The type of the device version.","alias":["Σ"],"min":0,"max":"1","base":{"path":"Device.version.type","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false},{"id":"Device.version.component","path":"Device.version.component","short":"A single component of the device version","definition":"A single component of the device version.","min":0,"max":"1","base":{"path":"Device.version.component","min":0,"max":"1"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.what[x]"}]},{"id":"Device.version.value","path":"Device.version.value","short":"The version text","definition":"The version text.","min":1,"max":"1","base":{"path":"Device.version.value","min":1,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false},{"id":"Device.property","path":"Device.property","short":"The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties","definition":"The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.","min":0,"max":"*","base":{"path":"Device.property","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false},{"id":"Device.property.id","path":"Device.property.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Device.property.extension","path":"Device.property.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Device.property.modifierExtension","path":"Device.property.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Device.property.type","path":"Device.property.type","short":"Code that specifies the property DeviceDefinitionPropetyCode (Extensible)","definition":"Code that specifies the property DeviceDefinitionPropetyCode (Extensible).","min":1,"max":"1","base":{"path":"Device.property.type","min":1,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false},{"id":"Device.property.valueQuantity","path":"Device.property.valueQuantity","short":"Property value as a quantity","definition":"Property value as a quantity.","min":0,"max":"*","base":{"path":"Device.property.valueQuantity","min":0,"max":"*"},"type":[{"code":"Quantity"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false},{"id":"Device.property.valueCode","path":"Device.property.valueCode","short":"Property value as a code, e.g., NTP4 (synced to NTP)","definition":"Property value as a code, e.g., NTP4 (synced to NTP).","min":0,"max":"*","base":{"path":"Device.property.valueCode","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false},{"id":"Device.patient","path":"Device.patient","short":"Patient to whom Device is affixed","definition":"Patient information, If the device is affixed to a person.","requirements":"If the device is implanted in a patient, then need to associate the device to the patient.","min":1,"max":"1","base":{"path":"Device.patient","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"rim","map":".playedRole[typeCode=USED].scoper.playedRole[typeCode=PAT]"},{"identity":"w5","map":"FiveWs.subject"},{"identity":"argonaut-dq-dstu2","map":"Device.patient"}]},{"id":"Device.owner","path":"Device.owner","short":"Organization responsible for device","definition":"An organization that is responsible for the provision and ongoing maintenance of the device.","min":0,"max":"1","base":{"path":"Device.owner","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.source"},{"identity":"rim","map":".playedRole[typeCode=OWN].scoper"}]},{"id":"Device.contact","path":"Device.contact","short":"Details for human/organization for support","definition":"Contact details for an organization or a particular human that is responsible for the device.","comment":"used for troubleshooting etc.","min":0,"max":"*","base":{"path":"Device.contact","min":0,"max":"*"},"type":[{"code":"ContactPoint"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.source"},{"identity":"rim","map":".scopedRole[typeCode=CON].player"}]},{"id":"Device.location","path":"Device.location","short":"Where the device is found","definition":"The place where the device can be found.","requirements":"Device.location can be used to track device location.","min":0,"max":"1","base":{"path":"Device.location","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Location"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.where[x]"},{"identity":"rim","map":".playedRole[typeCode=LOCE].scoper"}]},{"id":"Device.url","path":"Device.url","short":"Network address to contact device","definition":"A network address on which the device may be contacted directly.","comment":"If the device is running a FHIR server, the network address should be the Base URL from which a conformance statement may be retrieved.","min":0,"max":"1","base":{"path":"Device.url","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.where[x]"},{"identity":"rim","map":".telecom"}]},{"id":"Device.note","path":"Device.note","short":"Device notes and comments","definition":"Descriptive information, usage information or implantation information that is not captured in an existing element.","min":0,"max":"*","base":{"path":"Device.note","min":0,"max":"*"},"type":[{"code":"Annotation"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".text"}]},{"id":"Device.safety","path":"Device.safety","short":"Safety Characteristics of Device","definition":"Provides additional safety characteristics about a medical device. For example devices containing latex.","min":0,"max":"*","base":{"path":"Device.safety","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":"NA"}]},{"id":"Device.parent","path":"Device.parent","short":"The parent device","definition":"The parent device.","min":0,"max":"1","base":{"path":"Device.parent","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Device"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false}]},"differential":{"element":[{"id":"Device","path":"Device","definition":"The US Core Implantable Device Profile is based upon the core FHIR Device Resource and created to meet the 2015 Edition Common Clinical Data Set 'Unique device identifier(s) for a patient’s implantable device(s)' requirements.","constraint":[{"key":"us-core-12","severity":"error","human":"Implantable medical devices that have UDI information SHALL represent this information in either carrierAIDC or carrierHRF.","expression":"udiCarrier.empty() or (udiCarrier.carrierAIDC.exists() or udiCarrier.carrierHRF.exists())","xpath":"not(f:udiCarrier) or (f:carrierHRF or f:carrierAIDC)"},{"key":"us-core-9","severity":"error","human":"For implantable medical devices that have UDI information, at least one of the Production Identifiers (UDI-PI) SHALL be present.","expression":"udiCarrier.empty() or (manufactureDate.exists() or expirationDate.exists() or lotNumber.exists() or serialNumber.exists() or distinctIdentifier.exists())","xpath":"not(f:udiCarrier) or (f:manufactureDate or f:expirationDate or f:lotNumber or f:serialNumber or f:distinctIdentifier)"}],"mustSupport":false,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Device"}]},{"id":"Device.udiCarrier","path":"Device.udiCarrier","comment":"Some devices may not have UDI information (for example. historical data or patient reported data).","min":0,"max":"1","mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Device.udi"}]},{"id":"Device.udiCarrier.deviceIdentifier","path":"Device.udiCarrier.deviceIdentifier","alias":["DI"],"min":1,"max":"1","mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"NA (not Supported)"}]},{"id":"Device.udiCarrier.carrierAIDC","path":"Device.udiCarrier.carrierAIDC","alias":["UDI","Barcode String"],"min":0,"max":"1","condition":["us-core-12"],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"NA (not Supported)"}]},{"id":"Device.udiCarrier.carrierHRF","path":"Device.udiCarrier.carrierHRF","alias":["UDI","Barcode String"],"min":0,"max":"1","condition":["us-core-12"],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Device.udi"}]},{"id":"Device.distinctIdentifier","path":"Device.distinctIdentifier","min":0,"max":"1","condition":["us-core-9"],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"NA (not Supported)"}]},{"id":"Device.manufactureDate","path":"Device.manufactureDate","min":0,"max":"1","condition":["us-core-9"],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"NA (not Supported)"}]},{"id":"Device.expirationDate","path":"Device.expirationDate","min":0,"max":"1","condition":["us-core-9"],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"NA (not Supported)"}]},{"id":"Device.lotNumber","path":"Device.lotNumber","min":0,"max":"1","condition":["us-core-9"],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"NA (not Supported)"}]},{"id":"Device.serialNumber","path":"Device.serialNumber","min":0,"max":"1","condition":["us-core-9"],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"NA (not Supported)"}]},{"id":"Device.type","path":"Device.type","min":1,"max":"1","type":[{"code":"CodeableConcept"}],"mustSupport":true,"binding":{"strength":"extensible","description":"Codes to identify medical devices","valueSet":"http://hl7.org/fhir/ValueSet/device-kind"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Device.type"}]},{"id":"Device.patient","path":"Device.patient","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Device.patient"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-location.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-location.json deleted file mode 100644 index 9684b4e4668..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-location.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-location","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Location 0..*LocationDetails and position information for a physical place
\".\"\".\"\".\" status S0..1codeactive | suspended | inactive
\".\"\".\"\".\" name S1..1stringName of the location as used by humans
\".\"\".\"\".\" telecom S0..*ContactPointContact details of the location
\".\"\".\"\".\" address S0..1AddressPhysical location
\".\"\".\"\".\"\".\" line S0..*stringStreet name, number, direction & P.O. Box etc.
\".\"\".\"\".\"\".\" city S0..1stringName of city, town etc.
\".\"\".\"\".\"\".\" state S0..1stringSub-unit of country (abbreviations ok)
Binding: USPS Two Letter Alphabetic Codes (extensible)
\".\"\".\"\".\"\".\" postalCode S0..1stringUS Zip Codes
\".\"\".\"\".\" managingOrganization S0..1Reference(US Core Organization Profile)Organization responsible for provisioning and upkeep

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-location","version":"3.1.1","name":"USCoreLocation","title":"US Core Location Profile","status":"active","experimental":false,"date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines basic constraints and extensions on the Location resource for use with other US Core resources","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"servd","uri":"http://www.omg.org/spec/ServD/1.0/","name":"ServD"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"}],"kind":"resource","abstract":false,"type":"Location","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Location","derivation":"constraint","snapshot":{"element":[{"id":"Location","path":"Location","short":"Details and position information for a physical place","definition":"Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained, or accommodated.","min":0,"max":"*","base":{"path":"Location","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"rim","map":".Role[classCode=SDLC]"},{"identity":"servd","map":"Organization"}]},{"id":"Location.id","path":"Location.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"Location.meta","path":"Location.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"Location.implicitRules","path":"Location.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"Location.language","path":"Location.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"Location.text","path":"Location.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"Location.contained","path":"Location.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Location.extension","path":"Location.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Location.modifierExtension","path":"Location.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Location.identifier","path":"Location.identifier","short":"Unique code or number identifying the location to its users","definition":"Unique code or number identifying the location to its users.","requirements":"Organization label locations in registries, need to keep track of those.","min":0,"max":"*","base":{"path":"Location.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.identifier"},{"identity":"rim","map":".id"}]},{"id":"Location.status","path":"Location.status","short":"active | suspended | inactive","definition":"The status property covers the general availability of the resource, not the current value which may be covered by the operationStatus, or by a schedule/slots if they are configured for the location.","min":0,"max":"1","base":{"path":"Location.status","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"LocationStatus"}],"strength":"required","description":"Indicates whether the location is still in use.","valueSet":"http://hl7.org/fhir/ValueSet/location-status|4.0.1"},"mapping":[{"identity":"w5","map":"FiveWs.status"},{"identity":"rim","map":".statusCode"}]},{"id":"Location.operationalStatus","path":"Location.operationalStatus","short":"The operational status of the location (typically only for a bed/room)","definition":"The operational status covers operation values most relevant to beds (but can also apply to rooms/units/chairs/etc. such as an isolation unit/dialysis chair). This typically covers concepts such as contamination, housekeeping, and other activities like maintenance.","min":0,"max":"1","base":{"path":"Location.operationalStatus","min":0,"max":"1"},"type":[{"code":"Coding"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"OperationalStatus"}],"strength":"preferred","description":"The operational status if the location (where typically a bed/room).","valueSet":"http://terminology.hl7.org/ValueSet/v2-0116"},"mapping":[{"identity":"w5","map":"FiveWs.status"},{"identity":"rim","map":"n/a"}]},{"id":"Location.name","path":"Location.name","short":"Name of the location as used by humans","definition":"Name of the location as used by humans. Does not need to be unique.","comment":"If the name of a location changes, consider putting the old name in the alias column so that it can still be located through searches.","min":1,"max":"1","base":{"path":"Location.name","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":".name"},{"identity":"servd","map":"./PrimaryAddress and ./OtherAddresses"}]},{"id":"Location.alias","path":"Location.alias","short":"A list of alternate names that the location is known as, or was known as, in the past","definition":"A list of alternate names that the location is known as, or was known as, in the past.","comment":"There are no dates associated with the alias/historic names, as this is not intended to track when names were used, but to assist in searching so that older names can still result in identifying the location.","requirements":"Over time locations and organizations go through many changes and can be known by different names.\n\nFor searching knowing previous names that the location was known by can be very useful.","min":0,"max":"*","base":{"path":"Location.alias","min":0,"max":"*"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".name"}]},{"id":"Location.description","path":"Location.description","short":"Additional details about the location that could be displayed as further information to identify the location beyond its name","definition":"Description of the Location, which helps in finding or referencing the place.","requirements":"Humans need additional information to verify a correct location has been identified.","min":0,"max":"1","base":{"path":"Location.description","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":".playingEntity[classCode=PLC determinerCode=INSTANCE].desc"}]},{"id":"Location.mode","path":"Location.mode","short":"instance | kind","definition":"Indicates whether a resource instance represents a specific location or a class of locations.","comment":"This is labeled as a modifier because whether or not the location is a class of locations changes how it can be used and understood.","requirements":"When using a Location resource for scheduling or orders, we need to be able to refer to a class of Locations instead of a specific Location.","min":0,"max":"1","base":{"path":"Location.mode","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"LocationMode"}],"strength":"required","description":"Indicates whether a resource instance represents a specific location or a class of locations.","valueSet":"http://hl7.org/fhir/ValueSet/location-mode|4.0.1"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"rim","map":".playingEntity[classCode=PLC].determinerCode"}]},{"id":"Location.type","path":"Location.type","short":"Type of function performed","definition":"Indicates the type of function performed at the location.","min":0,"max":"*","base":{"path":"Location.type","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"LocationType"}],"strength":"extensible","description":"Indicates the type of function performed at the location.","valueSet":"http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"rim","map":".code"}]},{"id":"Location.telecom","path":"Location.telecom","short":"Contact details of the location","definition":"The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites.","min":0,"max":"*","base":{"path":"Location.telecom","min":0,"max":"*"},"type":[{"code":"ContactPoint"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".telecom"}]},{"id":"Location.address","path":"Location.address","short":"Physical location","definition":"Physical location.","comment":"Additional addresses should be recorded using another instance of the Location resource, or via the Organization.","requirements":"If locations can be visited, we need to keep track of their address.","min":0,"max":"1","base":{"path":"Location.address","min":0,"max":"1"},"type":[{"code":"Address"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".addr"},{"identity":"servd","map":"n/a"}]},{"id":"Location.address.id","path":"Location.address.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Location.address.extension","path":"Location.address.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Location.address.use","path":"Location.address.use","short":"home | work | temp | old | billing - purpose of this address","definition":"The purpose of this address.","comment":"Applications can assume that an address is current unless it explicitly says that it is temporary or old.","requirements":"Allows an appropriate address to be chosen from a list of many.","min":0,"max":"1","base":{"path":"Address.use","min":0,"max":"1"},"type":[{"code":"code"}],"example":[{"label":"General","valueCode":"home"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"AddressUse"}],"strength":"required","description":"The use of an address.","valueSet":"http://hl7.org/fhir/ValueSet/address-use|4.0.1"},"mapping":[{"identity":"v2","map":"XAD.7"},{"identity":"rim","map":"unique(./use)"},{"identity":"servd","map":"./AddressPurpose"}]},{"id":"Location.address.type","path":"Location.address.type","short":"postal | physical | both","definition":"Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.","comment":"The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R4/location.html#) resource).","min":0,"max":"1","base":{"path":"Address.type","min":0,"max":"1"},"type":[{"code":"code"}],"example":[{"label":"General","valueCode":"both"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"AddressType"}],"strength":"required","description":"The type of an address (physical / postal).","valueSet":"http://hl7.org/fhir/ValueSet/address-type|4.0.1"},"mapping":[{"identity":"v2","map":"XAD.18"},{"identity":"rim","map":"unique(./use)"},{"identity":"vcard","map":"address type parameter"}]},{"id":"Location.address.text","path":"Location.address.text","short":"Text representation of the address","definition":"Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.","comment":"Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.","requirements":"A renderable, unencoded form.","min":0,"max":"1","base":{"path":"Address.text","min":0,"max":"1"},"type":[{"code":"string"}],"example":[{"label":"General","valueString":"137 Nowhere Street, Erewhon 9132"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6"},{"identity":"rim","map":"./formatted"},{"identity":"vcard","map":"address label parameter"}]},{"id":"Location.address.line","path":"Location.address.line","short":"Street name, number, direction & P.O. Box etc.","definition":"This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.","min":0,"max":"*","base":{"path":"Address.line","min":0,"max":"*"},"type":[{"code":"string"}],"orderMeaning":"The order in which lines should appear in an address label","example":[{"label":"General","valueString":"137 Nowhere Street"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)"},{"identity":"rim","map":"AD.part[parttype = AL]"},{"identity":"vcard","map":"street"},{"identity":"servd","map":"./StreetAddress (newline delimitted)"}]},{"id":"Location.address.city","path":"Location.address.city","short":"Name of city, town etc.","definition":"The name of the city, town, suburb, village or other community or delivery center.","alias":["Municpality"],"min":0,"max":"1","base":{"path":"Address.city","min":0,"max":"1"},"type":[{"code":"string"}],"example":[{"label":"General","valueString":"Erewhon"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.3"},{"identity":"rim","map":"AD.part[parttype = CTY]"},{"identity":"vcard","map":"locality"},{"identity":"servd","map":"./Jurisdiction"}]},{"id":"Location.address.district","path":"Location.address.district","short":"District name (aka county)","definition":"The name of the administrative area (county).","comment":"District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.","alias":["County"],"min":0,"max":"1","base":{"path":"Address.district","min":0,"max":"1"},"type":[{"code":"string"}],"example":[{"label":"General","valueString":"Madison"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.9"},{"identity":"rim","map":"AD.part[parttype = CNT | CPA]"}]},{"id":"Location.address.state","path":"Location.address.state","short":"Sub-unit of country (abbreviations ok)","definition":"Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).","alias":["Province","Territory"],"min":0,"max":"1","base":{"path":"Address.state","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","description":"Two letter USPS alphabetic codes.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state"},"mapping":[{"identity":"v2","map":"XAD.4"},{"identity":"rim","map":"AD.part[parttype = STA]"},{"identity":"vcard","map":"region"},{"identity":"servd","map":"./Region"},{"identity":"servd","map":"./Sites"}]},{"id":"Location.address.postalCode","path":"Location.address.postalCode","short":"US Zip Codes","definition":"A postal code designating a region defined by the postal service.","alias":["Zip"],"min":0,"max":"1","base":{"path":"Address.postalCode","min":0,"max":"1"},"type":[{"code":"string"}],"example":[{"label":"General","valueString":"9132"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.5"},{"identity":"rim","map":"AD.part[parttype = ZIP]"},{"identity":"vcard","map":"code"},{"identity":"servd","map":"./PostalIdentificationCode"}]},{"id":"Location.address.country","path":"Location.address.country","short":"Country (e.g. can be ISO 3166 2 or 3 letter code)","definition":"Country - a nation as commonly understood or generally accepted.","comment":"ISO 3166 3 letter codes can be used in place of a human readable country name.","min":0,"max":"1","base":{"path":"Address.country","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.6"},{"identity":"rim","map":"AD.part[parttype = CNT]"},{"identity":"vcard","map":"country"},{"identity":"servd","map":"./Country"}]},{"id":"Location.address.period","path":"Location.address.period","short":"Time period when address was/is in use","definition":"Time period when address was/is in use.","requirements":"Allows addresses to be placed in historical context.","min":0,"max":"1","base":{"path":"Address.period","min":0,"max":"1"},"type":[{"code":"Period"}],"example":[{"label":"General","valuePeriod":{"start":"2010-03-23","end":"2010-07-01"}}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.12 / XAD.13 + XAD.14"},{"identity":"rim","map":"./usablePeriod[type=\"IVL\"]"},{"identity":"servd","map":"./StartDate and ./EndDate"}]},{"id":"Location.physicalType","path":"Location.physicalType","short":"Physical form of the location","definition":"Physical form of the location, e.g. building, room, vehicle, road.","requirements":"For purposes of showing relevant locations in queries, we need to categorize locations.","min":0,"max":"1","base":{"path":"Location.physicalType","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"PhysicalType"}],"strength":"example","description":"Physical form of the location.","valueSet":"http://hl7.org/fhir/ValueSet/location-physical-type"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"rim","map":".playingEntity [classCode=PLC].code"}]},{"id":"Location.position","path":"Location.position","short":"The absolute geographic location","definition":"The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).","requirements":"For mobile applications and automated route-finding knowing the exact location of the Location is required.","min":0,"max":"1","base":{"path":"Location.position","min":0,"max":"1"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".playingEntity [classCode=PLC determinerCode=INSTANCE].positionText"}]},{"id":"Location.position.id","path":"Location.position.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Location.position.extension","path":"Location.position.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Location.position.modifierExtension","path":"Location.position.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Location.position.longitude","path":"Location.position.longitude","short":"Longitude with WGS84 datum","definition":"Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below).","min":1,"max":"1","base":{"path":"Location.position.longitude","min":1,"max":"1"},"type":[{"code":"decimal"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"(RIM Opted not to map the sub-elements of GPS location, is now an OBS)"}]},{"id":"Location.position.latitude","path":"Location.position.latitude","short":"Latitude with WGS84 datum","definition":"Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below).","min":1,"max":"1","base":{"path":"Location.position.latitude","min":1,"max":"1"},"type":[{"code":"decimal"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"(RIM Opted not to map the sub-elements of GPS location, is now an OBS)"}]},{"id":"Location.position.altitude","path":"Location.position.altitude","short":"Altitude with WGS84 datum","definition":"Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below).","min":0,"max":"1","base":{"path":"Location.position.altitude","min":0,"max":"1"},"type":[{"code":"decimal"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"(RIM Opted not to map the sub-elements of GPS location, is now an OBS)"}]},{"id":"Location.managingOrganization","path":"Location.managingOrganization","short":"Organization responsible for provisioning and upkeep","definition":"The organization responsible for the provisioning and upkeep of the location.","comment":"This can also be used as the part of the organization hierarchy where this location provides services. These services can be defined through the HealthcareService resource.","requirements":"Need to know who manages the location.","min":0,"max":"1","base":{"path":"Location.managingOrganization","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":".scopingEntity[classCode=ORG determinerKind=INSTANCE]"}]},{"id":"Location.partOf","path":"Location.partOf","short":"Another Location this one is physically a part of","definition":"Another Location of which this Location is physically a part of.","requirements":"For purposes of location, display and identification, knowing which locations are located within other locations is important.","min":0,"max":"1","base":{"path":"Location.partOf","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy","valueBoolean":true}],"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Location"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".inboundLink[typeCode=PART].source[classCode=SDLC]"}]},{"id":"Location.hoursOfOperation","path":"Location.hoursOfOperation","short":"What days/times during a week is this location usually open","definition":"What days/times during a week is this location usually open.","comment":"This type of information is commonly found published in directories and on websites informing customers when the facility is available.\n\nSpecific services within the location may have their own hours which could be shorter (or longer) than the locations hours.","min":0,"max":"*","base":{"path":"Location.hoursOfOperation","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".effectiveTime"}]},{"id":"Location.hoursOfOperation.id","path":"Location.hoursOfOperation.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Location.hoursOfOperation.extension","path":"Location.hoursOfOperation.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Location.hoursOfOperation.modifierExtension","path":"Location.hoursOfOperation.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Location.hoursOfOperation.daysOfWeek","path":"Location.hoursOfOperation.daysOfWeek","short":"mon | tue | wed | thu | fri | sat | sun","definition":"Indicates which days of the week are available between the start and end Times.","min":0,"max":"*","base":{"path":"Location.hoursOfOperation.daysOfWeek","min":0,"max":"*"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"DaysOfWeek"}],"strength":"required","description":"The days of the week.","valueSet":"http://hl7.org/fhir/ValueSet/days-of-week|4.0.1"},"mapping":[{"identity":"rim","map":".effectiveTime"}]},{"id":"Location.hoursOfOperation.allDay","path":"Location.hoursOfOperation.allDay","short":"The Location is open all day","definition":"The Location is open all day.","min":0,"max":"1","base":{"path":"Location.hoursOfOperation.allDay","min":0,"max":"1"},"type":[{"code":"boolean"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".effectiveTime"}]},{"id":"Location.hoursOfOperation.openingTime","path":"Location.hoursOfOperation.openingTime","short":"Time that the Location opens","definition":"Time that the Location opens.","min":0,"max":"1","base":{"path":"Location.hoursOfOperation.openingTime","min":0,"max":"1"},"type":[{"code":"time"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".effectiveTime"}]},{"id":"Location.hoursOfOperation.closingTime","path":"Location.hoursOfOperation.closingTime","short":"Time that the Location closes","definition":"Time that the Location closes.","min":0,"max":"1","base":{"path":"Location.hoursOfOperation.closingTime","min":0,"max":"1"},"type":[{"code":"time"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".effectiveTime"}]},{"id":"Location.availabilityExceptions","path":"Location.availabilityExceptions","short":"Description of availability exceptions","definition":"A description of when the locations opening ours are different to normal, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as detailed in the opening hours Times.","min":0,"max":"1","base":{"path":"Location.availabilityExceptions","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Location.endpoint","path":"Location.endpoint","short":"Technical endpoints providing access to services operated for the location","definition":"Technical endpoints providing access to services operated for the location.","requirements":"Organizations may have different systems at different locations that provide various services and need to be able to define the technical connection details for how to connect to them, and for what purpose.","min":0,"max":"*","base":{"path":"Location.endpoint","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Endpoint"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]}]},"differential":{"element":[{"id":"Location","path":"Location","mustSupport":false,"mapping":[{"identity":"servd","map":"Organization"}]},{"id":"Location.status","path":"Location.status","min":0,"max":"1","type":[{"code":"code"}],"mustSupport":true},{"id":"Location.name","path":"Location.name","min":1,"max":"1","type":[{"code":"string"}],"mustSupport":true,"mapping":[{"identity":"servd","map":"./PrimaryAddress and ./OtherAddresses"}]},{"id":"Location.telecom","path":"Location.telecom","min":0,"max":"*","type":[{"code":"ContactPoint"}],"mustSupport":true},{"id":"Location.address","path":"Location.address","min":0,"max":"1","type":[{"code":"Address"}],"mustSupport":true,"mapping":[{"identity":"servd","map":"n/a"}]},{"id":"Location.address.line","path":"Location.address.line","min":0,"max":"*","type":[{"code":"string"}],"mustSupport":true},{"id":"Location.address.city","path":"Location.address.city","min":0,"max":"1","type":[{"code":"string"}],"mustSupport":true},{"id":"Location.address.state","path":"Location.address.state","min":0,"max":"1","type":[{"code":"string"}],"mustSupport":true,"binding":{"strength":"extensible","description":"Two letter USPS alphabetic codes.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state"},"mapping":[{"identity":"servd","map":"./Sites"}]},{"id":"Location.address.postalCode","path":"Location.address.postalCode","short":"US Zip Codes","min":0,"max":"1","type":[{"code":"string"}],"mustSupport":true},{"id":"Location.managingOrganization","path":"Location.managingOrganization","min":0,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]}],"mustSupport":true}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-medication.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-medication.json deleted file mode 100644 index 5dc8bec70e2..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-medication.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-medication","text":{"status":"extensions","div":"
\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Medication 0..*MedicationDefinition of a Medication
\".\"\".\"\".\" code S1..1CodeableConceptCodes that identify this medication
Binding: US Core Medication Codes (RxNorm) (extensible)

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication","version":"3.1.1","name":"USCoreMedicationProfile","title":"US Core Medication Profile","status":"active","experimental":false,"date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines constraints and extensions on the Medication resource for the minimal set of data to query and retrieve patient retrieving patient's medication information.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"argonaut-dq-dstu2","uri":"http://unknown.org/Argonaut-DQ-DSTU2","name":"Argonaut-DQ-DSTU2"},{"identity":"script10.6","uri":"http://ncpdp.org/SCRIPT10_6","name":"Mapping to NCPDP SCRIPT 10.6"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"}],"kind":"resource","abstract":false,"type":"Medication","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Medication","derivation":"constraint","snapshot":{"element":[{"id":"Medication","path":"Medication","short":"Definition of a Medication","definition":"The US Core Medication Profile is based upon the core FHIR Medication Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements.","min":0,"max":"*","base":{"path":"Medication","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"script10.6","map":"NewRx/MedicationPrescribed\r-or-\rRxFill/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationPrescribed"},{"identity":"rim","map":"ManufacturedProduct[classCode=ADMM]"},{"identity":"argonaut-dq-dstu2","map":"Medication"}]},{"id":"Medication.id","path":"Medication.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"Medication.meta","path":"Medication.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"Medication.implicitRules","path":"Medication.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"Medication.language","path":"Medication.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"Medication.text","path":"Medication.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"Medication.contained","path":"Medication.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Medication.extension","path":"Medication.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Medication.modifierExtension","path":"Medication.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Medication.identifier","path":"Medication.identifier","short":"Business identifier for this medication","definition":"Business identifier for this medication.","comment":"The serial number could be included as an identifier.","min":0,"max":"*","base":{"path":"Medication.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.identifier"},{"identity":"rim","map":".id"}]},{"id":"Medication.code","path":"Medication.code","short":"Codes that identify this medication","definition":"A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.","comment":"Depending on the context of use, the code that was actually selected by the user (prescriber, dispenser, etc.) will have the coding.userSelected set to true. As described in the coding datatype: \"A coding may be marked as a \"userSelected\" if a user selected the particular coded value in a user interface (e.g. the user selects an item in a pick-list). If a user selected coding exists, it is the preferred choice for performing translations etc. Other codes can only be literal translations to alternative code systems, or codes at a lower level of granularity (e.g. a generic code for a vendor-specific primary one).","min":1,"max":"1","base":{"path":"Medication.code","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","description":"Prescribable medications","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes"},"mapping":[{"identity":"script10.6","map":"coding.code = //element(*,MedicationType)/DrugCoded/ProductCode\r\rcoding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier\r\rcoding.display = //element(*,MedicationType)/DrugDescription"},{"identity":"w5","map":"FiveWs.class"},{"identity":"v2","map":"RXO-1.1-Requested Give Code.code / RXE-2.1-Give Code.code / RXD-2.1-Dispense/Give Code.code / RXG-4.1-Give Code.code /RXA-5.1-Administered Code.code / RXC-2.1 Component Code"},{"identity":"rim","map":".code"},{"identity":"argonaut-dq-dstu2","map":"Medication.code"}]},{"id":"Medication.status","path":"Medication.status","short":"active | inactive | entered-in-error","definition":"A code to indicate if the medication is in active use.","comment":"This status is intended to identify if the medication in a local system is in active use within a drug database or inventory. For example, a pharmacy system may create a new drug file record for a compounded product \"ABC Hospital Special Cream\" with an active status. At some point in the future, it may be determined that the drug record was created with an error and the status is changed to \"entered in error\". This status is not intended to specify if a medication is part of a particular formulary. It is possible that the drug record may be referenced by multiple formularies or catalogues and each of those entries would have a separate status.","min":0,"max":"1","base":{"path":"Medication.status","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element changes the interpretation of all descriptive attributes.","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"MedicationStatus"}],"strength":"required","description":"A coded concept defining if the medication is in active use.","valueSet":"http://hl7.org/fhir/ValueSet/medication-status|4.0.1"},"mapping":[{"identity":"rim","map":".statusCode"}]},{"id":"Medication.manufacturer","path":"Medication.manufacturer","short":"Manufacturer of the item","definition":"Describes the details of the manufacturer of the medication product. This is not intended to represent the distributor of a medication product.","min":0,"max":"1","base":{"path":"Medication.manufacturer","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"script10.6","map":"no mapping"},{"identity":"w5","map":"FiveWs.actor"},{"identity":"v2","map":"RXD-20-Substance Manufacturer Name / RXG-21-Substance Manufacturer Name / RXA-17-Substance Manufacturer Name"},{"identity":"rim","map":".player.scopingRole[typeCode=MANU].scoper"}]},{"id":"Medication.form","path":"Medication.form","short":"powder | tablets | capsule +","definition":"Describes the form of the item. Powder; tablets; capsule.","comment":"When Medication is referenced from MedicationRequest, this is the ordered form. When Medication is referenced within MedicationDispense, this is the dispensed form. When Medication is referenced within MedicationAdministration, this is administered form.","min":0,"max":"1","base":{"path":"Medication.form","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"MedicationForm"}],"strength":"example","description":"A coded concept defining the form of a medication.","valueSet":"http://hl7.org/fhir/ValueSet/medication-form-codes"},"mapping":[{"identity":"script10.6","map":"coding.code = //element(*,DrugCodedType)/FormCode\r\rcoding.system = //element(*,DrugCodedType)/FormSourceCode"},{"identity":"v2","map":"RXO-5-Requested Dosage Form / RXE-6-Give Dosage Form / RXD-6-Actual Dosage Form / RXG-8-Give Dosage Form / RXA-8-Administered Dosage Form"},{"identity":"rim","map":".formCode"}]},{"id":"Medication.amount","path":"Medication.amount","short":"Amount of drug in package","definition":"Specific amount of the drug in the packaged product. For example, when specifying a product that has the same strength (For example, Insulin glargine 100 unit per mL solution for injection), this attribute provides additional clarification of the package amount (For example, 3 mL, 10mL, etc.).","min":0,"max":"1","base":{"path":"Medication.amount","min":0,"max":"1"},"type":[{"code":"Ratio"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":".quantity"}]},{"id":"Medication.ingredient","path":"Medication.ingredient","short":"Active or inactive ingredient","definition":"Identifies a particular constituent of interest in the product.","comment":"The ingredients need not be a complete list. If an ingredient is not specified, this does not indicate whether an ingredient is present or absent. If an ingredient is specified it does not mean that all ingredients are specified. It is possible to specify both inactive and active ingredients.","min":0,"max":"*","base":{"path":"Medication.ingredient","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".scopesRole[typeCode=INGR]"}]},{"id":"Medication.ingredient.id","path":"Medication.ingredient.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Medication.ingredient.extension","path":"Medication.ingredient.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Medication.ingredient.modifierExtension","path":"Medication.ingredient.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Medication.ingredient.item[x]","path":"Medication.ingredient.item[x]","short":"The actual ingredient or content","definition":"The actual ingredient - either a substance (simple ingredient) or another medication of a medication.","requirements":"The ingredient may reference a substance (for example, amoxicillin) or another medication (for example in the case of a compounded product, Glaxal Base).","min":1,"max":"1","base":{"path":"Medication.ingredient.item[x]","min":1,"max":"1"},"type":[{"code":"CodeableConcept"},{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Substance","http://hl7.org/fhir/StructureDefinition/Medication"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"script10.6","map":"coding.code = //element(*,MedicationType)/DrugCoded/ProductCode\r\rcoding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier\r\rcoding.display = //element(*,MedicationType)/DrugDescription"},{"identity":"v2","map":"RXC-2-Component Code if medication: RXO-1-Requested Give Code / RXE-2-Give Code / RXD-2-Dispense/Give Code / RXG-4-Give Code / RXA-5-Administered Code"},{"identity":"rim","map":".player"}]},{"id":"Medication.ingredient.isActive","path":"Medication.ingredient.isActive","short":"Active ingredient indicator","definition":"Indication of whether this ingredient affects the therapeutic action of the drug.","requirements":"True indicates that the ingredient affects the therapeutic action of the drug (i.e. active). \rFalse indicates that the ingredient does not affect the therapeutic action of the drug (i.e. inactive).","min":0,"max":"1","base":{"path":"Medication.ingredient.isActive","min":0,"max":"1"},"type":[{"code":"boolean"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"NA"}]},{"id":"Medication.ingredient.strength","path":"Medication.ingredient.strength","short":"Quantity of ingredient present","definition":"Specifies how many (or how much) of the items there are in this Medication. For example, 250 mg per tablet. This is expressed as a ratio where the numerator is 250mg and the denominator is 1 tablet.","min":0,"max":"1","base":{"path":"Medication.ingredient.strength","min":0,"max":"1"},"type":[{"code":"Ratio"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"script10.6","map":"//element(*,DrugCodedType)/Strength"},{"identity":"v2","map":"RXC-3-Component Amount & RXC-4-Component Units if medication: RXO-2-Requested Give Amount - Minimum & RXO-4-Requested Give Units / RXO-3-Requested Give Amount - Maximum & RXO-4-Requested Give Units / RXO-11-Requested Dispense Amount & RXO-12-Requested Dispense Units / RXE-3-Give Amount - Minimum & RXE-5-Give Units / RXE-4-Give Amount - Maximum & RXE-5-Give Units / RXE-10-Dispense Amount & RXE-10-Dispense Units"},{"identity":"rim","map":".quantity"}]},{"id":"Medication.batch","path":"Medication.batch","short":"Details about packaged medications","definition":"Information that only applies to packages (not products).","min":0,"max":"1","base":{"path":"Medication.batch","min":0,"max":"1"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"script10.6","map":"no mapping"},{"identity":"rim","map":".player[classCode=CONT]"}]},{"id":"Medication.batch.id","path":"Medication.batch.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Medication.batch.extension","path":"Medication.batch.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Medication.batch.modifierExtension","path":"Medication.batch.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Medication.batch.lotNumber","path":"Medication.batch.lotNumber","short":"Identifier assigned to batch","definition":"The assigned lot number of a batch of the specified product.","min":0,"max":"1","base":{"path":"Medication.batch.lotNumber","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"script10.6","map":"no mapping"},{"identity":"v2","map":"RXA-15 Substance Lot Number / RXG-19 Substance Lot Number"},{"identity":"rim","map":".id"}]},{"id":"Medication.batch.expirationDate","path":"Medication.batch.expirationDate","short":"When batch will expire","definition":"When this specific batch of product will expire.","min":0,"max":"1","base":{"path":"Medication.batch.expirationDate","min":0,"max":"1"},"type":[{"code":"dateTime"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"script10.6","map":"no mapping"},{"identity":"v2","map":"RXA-16 Substance Expiration Date / RXG-20 Substance Expiration Date"},{"identity":"rim","map":"participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime"}]}]},"differential":{"element":[{"id":"Medication","path":"Medication","definition":"The US Core Medication Profile is based upon the core FHIR Medication Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements.","mustSupport":false,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Medication"}]},{"id":"Medication.code","path":"Medication.code","min":1,"max":"1","mustSupport":true,"binding":{"strength":"extensible","description":"Prescribable medications","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Medication.code"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-medicationrequest.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-medicationrequest.json deleted file mode 100644 index 08fe56e581e..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-medicationrequest.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-medicationrequest","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" MedicationRequest 0..*MedicationRequestOrdering of medication for patient or group
\".\"\".\"\".\" status S1..1codeactive | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required)
\".\"\".\"\".\" intent S1..1codeproposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required)
\".\"\".\"\".\" reported[x] S0..1Reported rather than primary record
\".\"\".\"\".\"\".\" reportedBooleanboolean
\".\"\".\"\".\"\".\" reportedReferenceReference(US Core Patient Profile | US Core Practitioner Profile | US Core Organization Profile)
\".\"\".\"\".\" medication[x] S1..1Medication to be taken
Binding: US Core Medication Codes (RxNorm) (extensible)
\".\"\".\"\".\"\".\" medicationCodeableConceptCodeableConcept
\".\"\".\"\".\"\".\" medicationReferenceReference(US Core Medication Profile)
\".\"\".\"\".\" subject S1..1Reference(US Core Patient Profile)Who or group medication request is for
\".\"\".\"\".\" encounter S0..1Reference(Encounter)Encounter created as part of encounter/admission/stay
\".\"\".\"\".\" authoredOn S1..1dateTimeWhen request was initially authored
\".\"\".\"\".\" requester S1..1Reference(US Core Practitioner Profile | US Core Organization Profile | US Core Patient Profile)Who/What requested the Request
\".\"\".\"\".\" dosageInstruction S0..*DosageHow the medication should be taken
\".\"\".\"\".\"\".\" text S0..1stringFree text dosage instructions e.g. SIG

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest","version":"3.1.1","name":"USCoreMedicationRequestProfile","title":"US Core MedicationRequest Profile","status":"active","experimental":false,"date":"2020-06-26","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines constraints and extensions on the MedicationRequest resource for the minimal set of data to query and retrieve prescription information.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"argonaut-dq-dstu2","uri":"http://unknown.org/Argonaut-DQ-DSTU2","name":"Argonaut-DQ-DSTU2"},{"identity":"workflow","uri":"http://hl7.org/fhir/workflow","name":"Workflow Pattern"},{"identity":"script10.6","uri":"http://ncpdp.org/SCRIPT10_6","name":"Mapping to NCPDP SCRIPT 10.6"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"}],"kind":"resource","abstract":false,"type":"MedicationRequest","baseDefinition":"http://hl7.org/fhir/StructureDefinition/MedicationRequest","derivation":"constraint","snapshot":{"element":[{"id":"MedicationRequest","path":"MedicationRequest","short":"Ordering of medication for patient or group","definition":"The US Core Medication Request (Order) Profile is based upon the core FHIR MedicationRequest Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements.","alias":["Prescription","Order"],"min":0,"max":"*","base":{"path":"MedicationRequest","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"workflow","map":"Request"},{"identity":"script10.6","map":"Message/Body/NewRx"},{"identity":"rim","map":"CombinedMedicationRequest"},{"identity":"argonaut-dq-dstu2","map":"MedicationOrder"}]},{"id":"MedicationRequest.id","path":"MedicationRequest.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"MedicationRequest.meta","path":"MedicationRequest.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"MedicationRequest.implicitRules","path":"MedicationRequest.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"MedicationRequest.language","path":"MedicationRequest.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"MedicationRequest.text","path":"MedicationRequest.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"MedicationRequest.contained","path":"MedicationRequest.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"MedicationRequest.extension","path":"MedicationRequest.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"MedicationRequest.modifierExtension","path":"MedicationRequest.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"MedicationRequest.identifier","path":"MedicationRequest.identifier","short":"External ids for this request","definition":"Identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.","comment":"This is a business identifier, not a resource identifier.","min":0,"max":"*","base":{"path":"MedicationRequest.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.identifier"},{"identity":"script10.6","map":"Message/Header/PrescriberOrderNumber"},{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"ORC-2-Placer Order Number / ORC-3-Filler Order Number"},{"identity":"rim","map":".id"}]},{"id":"MedicationRequest.status","path":"MedicationRequest.status","short":"active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown","definition":"A code specifying the current state of the order. Generally, this will be active or completed state.","comment":"This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.","min":1,"max":"1","base":{"path":"MedicationRequest.status","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","description":"A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.","valueSet":"http://hl7.org/fhir/ValueSet/medicationrequest-status"},"mapping":[{"identity":"workflow","map":"Request.status"},{"identity":"script10.6","map":"no mapping"},{"identity":"w5","map":"FiveWs.status"},{"identity":"rim","map":".statusCode"},{"identity":"argonaut-dq-dstu2","map":"MedicationOrder.status"}]},{"id":"MedicationRequest.statusReason","path":"MedicationRequest.statusReason","short":"Reason for current status","definition":"Captures the reason for the current state of the MedicationRequest.","comment":"This is generally only used for \"exception\" statuses such as \"suspended\" or \"cancelled\". The reason why the MedicationRequest was created at all is captured in reasonCode, not here.","min":0,"max":"1","base":{"path":"MedicationRequest.statusReason","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"MedicationRequestStatusReason"}],"strength":"example","description":"Identifies the reasons for a given status.","valueSet":"http://hl7.org/fhir/ValueSet/medicationrequest-status-reason"},"mapping":[{"identity":"workflow","map":"Request.statusReason"},{"identity":"rim","map":".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde"}]},{"id":"MedicationRequest.intent","path":"MedicationRequest.intent","short":"proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option","definition":"Whether the request is a proposal, plan, or an original order.","comment":"It is expected that the type of requester will be restricted for different stages of a MedicationRequest. For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device. Plans can be created by Practitioners, Patients, RelatedPersons and Devices. Original orders can be created by a Practitioner only.\r\rAn instance-order is an instantiation of a request or order and may be used to populate Medication Administration Record.\r\rThis element is labeled as a modifier because the intent alters when and how the resource is actually applicable.","min":1,"max":"1","base":{"path":"MedicationRequest.intent","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element changes the interpretation of all descriptive attributes. For example \"the time the request is recommended to occur\" vs. \"the time the request is authorized to occur\" or \"who is recommended to perform the request\" vs. \"who is authorized to perform the request","isSummary":true,"binding":{"strength":"required","description":"The kind of medication order.","valueSet":"http://hl7.org/fhir/ValueSet/medicationrequest-intent"},"mapping":[{"identity":"workflow","map":"Request.intent"},{"identity":"w5","map":"FiveWs.class"},{"identity":"rim","map":".moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)"},{"identity":"argonaut-dq-dstu2","map":"MedicationOrder.status"}]},{"id":"MedicationRequest.category","path":"MedicationRequest.category","short":"Type of medication usage","definition":"Indicates the type of medication request (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)).","comment":"The category can be used to include where the medication is expected to be consumed or other types of requests.","min":0,"max":"*","base":{"path":"MedicationRequest.category","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"MedicationRequestCategory"}],"strength":"example","description":"A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.","valueSet":"http://hl7.org/fhir/ValueSet/medicationrequest-category"},"mapping":[{"identity":"script10.6","map":"Message/Body/NewRx/MedicationPrescribed/Directions\r\ror \r\rMessage/Body/NewRx/MedicationPrescribed/StructuredSIG"},{"identity":"w5","map":"FiveWs.class"},{"identity":"rim","map":".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"type of medication usage\"].value"}]},{"id":"MedicationRequest.priority","path":"MedicationRequest.priority","short":"routine | urgent | asap | stat","definition":"Indicates how quickly the Medication Request should be addressed with respect to other requests.","min":0,"max":"1","base":{"path":"MedicationRequest.priority","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"MedicationRequestPriority"}],"strength":"required","description":"Identifies the level of importance to be assigned to actioning the request.","valueSet":"http://hl7.org/fhir/ValueSet/request-priority|4.0.1"},"mapping":[{"identity":"workflow","map":"Request.priority"},{"identity":"w5","map":"FiveWs.grade"},{"identity":"rim","map":".priorityCode"}]},{"id":"MedicationRequest.doNotPerform","path":"MedicationRequest.doNotPerform","short":"True if request is prohibiting action","definition":"If true indicates that the provider is asking for the medication request not to occur.","comment":"If do not perform is not specified, the request is a positive request e.g. \"do perform\".","min":0,"max":"1","base":{"path":"MedicationRequest.doNotPerform","min":0,"max":"1"},"type":[{"code":"boolean"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because this element negates the request to occur (ie, this is a request for the medication not to be ordered or prescribed, etc)","isSummary":true,"mapping":[{"identity":"rim","map":"SubstanceAdministration.actionNegationInd"}]},{"id":"MedicationRequest.reported[x]","path":"MedicationRequest.reported[x]","short":"Reported rather than primary record","definition":"Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.","min":0,"max":"1","base":{"path":"MedicationRequest.reported[x]","min":0,"max":"1"},"type":[{"code":"boolean"},{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient","http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner","http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":".participation[typeCode=INF].role"},{"identity":"argonaut-dq-dstu2","map":"MedicationOrder.status"}]},{"id":"MedicationRequest.medication[x]","path":"MedicationRequest.medication[x]","short":"Medication to be taken","definition":"Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.","comment":"If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the Medication resource is recommended. For example, if you require form or lot number or if the medication is compounded or extemporaneously prepared, then you must reference the Medication resource.","min":1,"max":"1","base":{"path":"MedicationRequest.medication[x]","min":1,"max":"1"},"type":[{"code":"CodeableConcept"},{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","description":"Prescribable medications","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes"},"mapping":[{"identity":"workflow","map":"Request.code"},{"identity":"script10.6","map":"Message/Body/NewRx/MedicationPrescribed\r\rMedication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode\r\rMedication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier\r\rMedication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription"},{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"v2","map":"RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code"},{"identity":"rim","map":"consumable.administrableMedication"},{"identity":"argonaut-dq-dstu2","map":"MedicationOrder.medication[x]"}]},{"id":"MedicationRequest.subject","path":"MedicationRequest.subject","short":"Who or group medication request is for","definition":"A link to a resource representing the person or set of individuals to whom the medication will be given.","comment":"The subject on a medication request is mandatory. For the secondary use case where the actual subject is not provided, there still must be an anonymized subject specified.","min":1,"max":"1","base":{"path":"MedicationRequest.subject","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Request.subject"},{"identity":"script10.6","map":"Message/Body/NewRx/Patient\r\r(need detail to link to specific patient … Patient.Identification in SCRIPT)"},{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"PID-3-Patient ID List"},{"identity":"rim","map":".participation[typeCode=AUT].role"},{"identity":"w5","map":"FiveWs.subject"},{"identity":"argonaut-dq-dstu2","map":"MedicationOrder.patient"}]},{"id":"MedicationRequest.encounter","path":"MedicationRequest.encounter","short":"Encounter created as part of encounter/admission/stay","definition":"The Encounter during which this [x] was created or to which the creation of this record is tightly associated.","comment":"This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.\" If there is a need to link to episodes of care they will be handled with an extension.","min":0,"max":"1","base":{"path":"MedicationRequest.encounter","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Encounter"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.context"},{"identity":"script10.6","map":"no mapping"},{"identity":"w5","map":"FiveWs.context"},{"identity":"v2","map":"PV1-19-Visit Number"},{"identity":"rim","map":".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code=\"type of encounter or episode\"]"},{"identity":"argonaut-dq-dstu2","map":"MedicationOrder.patient"}]},{"id":"MedicationRequest.supportingInformation","path":"MedicationRequest.supportingInformation","short":"Information to support ordering of the medication","definition":"Include additional information (for example, patient height and weight) that supports the ordering of the medication.","min":0,"max":"*","base":{"path":"MedicationRequest.supportingInformation","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Resource"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.supportingInfo"},{"identity":"w5","map":"FiveWs.context"},{"identity":"rim","map":".outboundRelationship[typeCode=PERT].target[A_SupportingClinicalStatement CMET minimal with many different choices of classCodes(ORG, ENC, PROC, SPLY, SBADM, OBS) and each of the act class codes draws from one or more of the following moodCodes (EVN, DEF, INT PRMS, RQO, PRP, APT, ARQ, GOL)]"}]},{"id":"MedicationRequest.authoredOn","path":"MedicationRequest.authoredOn","short":"When request was initially authored","definition":"The date (and perhaps time) when the prescription was initially written or authored on.","min":1,"max":"1","base":{"path":"MedicationRequest.authoredOn","min":0,"max":"1"},"type":[{"code":"dateTime"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Request.authoredOn"},{"identity":"script10.6","map":"Message/Body/NewRx/MedicationPrescribed/WrittenDate"},{"identity":"w5","map":"FiveWs.recorded"},{"identity":"v2","map":"RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction"},{"identity":"rim","map":"author.time"},{"identity":"argonaut-dq-dstu2","map":"MedicationOrder.dateWritten"}]},{"id":"MedicationRequest.requester","path":"MedicationRequest.requester","short":"Who/What requested the Request","definition":"The individual, organization, or device that initiated the request and has responsibility for its activation.","min":1,"max":"1","base":{"path":"MedicationRequest.requester","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner","http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization","http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Request.requester"},{"identity":"w5","map":"FiveWs.author"},{"identity":"rim","map":".participation[typeCode=AUT].role"},{"identity":"argonaut-dq-dstu2","map":"MedicationOrder.prescriber"}]},{"id":"MedicationRequest.performer","path":"MedicationRequest.performer","short":"Intended performer of administration","definition":"The specified desired performer of the medication treatment (e.g. the performer of the medication administration).","min":0,"max":"1","base":{"path":"MedicationRequest.performer","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/RelatedPerson","http://hl7.org/fhir/StructureDefinition/CareTeam"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.performer"},{"identity":"w5","map":"FiveWs.actor"},{"identity":"rim","map":".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]"}]},{"id":"MedicationRequest.performerType","path":"MedicationRequest.performerType","short":"Desired kind of performer of the medication administration","definition":"Indicates the type of performer of the administration of the medication.","comment":"If specified without indicating a performer, this indicates that the performer must be of the specified type. If specified with a performer then it indicates the requirements of the performer if the designated performer is not available.","min":0,"max":"1","base":{"path":"MedicationRequest.performerType","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"MedicationRequestPerformerType"}],"strength":"example","description":"Identifies the type of individual that is desired to administer the medication.","valueSet":"http://hl7.org/fhir/ValueSet/performer-role"},"mapping":[{"identity":"workflow","map":"Request.performerType"},{"identity":"rim","map":".participation[typeCode=PRF].role[scoper.determinerCode=KIND].code"}]},{"id":"MedicationRequest.recorder","path":"MedicationRequest.recorder","short":"Person who entered the request","definition":"The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.","min":0,"max":"1","base":{"path":"MedicationRequest.recorder","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.who"},{"identity":"rim","map":".participation[typeCode=TRANS].role[classCode=ASSIGNED].code (HealthcareProviderType)"}]},{"id":"MedicationRequest.reasonCode","path":"MedicationRequest.reasonCode","short":"Reason or indication for ordering or not ordering the medication","definition":"The reason or the indication for ordering or not ordering the medication.","comment":"This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonReference.","min":0,"max":"*","base":{"path":"MedicationRequest.reasonCode","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"MedicationRequestReason"}],"strength":"example","description":"A coded concept indicating why the medication was ordered.","valueSet":"http://hl7.org/fhir/ValueSet/condition-code"},"mapping":[{"identity":"workflow","map":"Request.reasonCode"},{"identity":"script10.6","map":"Message/Body/NewRx/MedicationPrescribed/Diagnosis/Primary/Value"},{"identity":"w5","map":"FiveWs.why[x]"},{"identity":"v2","map":"ORC-16-Order Control Code Reason /RXE-27-Give Indication/RXO-20-Indication / RXD-21-Indication / RXG-22-Indication / RXA-19-Indication"},{"identity":"rim","map":"reason.observation.reasonCode"}]},{"id":"MedicationRequest.reasonReference","path":"MedicationRequest.reasonReference","short":"Condition or observation that supports why the prescription is being written","definition":"Condition or observation that supports why the medication was ordered.","comment":"This is a reference to a condition or observation that is the reason for the medication order. If only a code exists, use reasonCode.","min":0,"max":"*","base":{"path":"MedicationRequest.reasonReference","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/Observation"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.reasonReference"},{"identity":"script10.6","map":"no mapping"},{"identity":"w5","map":"FiveWs.why[x]"},{"identity":"rim","map":"reason.observation[code=ASSERTION].value"}]},{"id":"MedicationRequest.instantiatesCanonical","path":"MedicationRequest.instantiatesCanonical","short":"Instantiates FHIR protocol or definition","definition":"The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.","min":0,"max":"*","base":{"path":"MedicationRequest.instantiatesCanonical","min":0,"max":"*"},"type":[{"code":"canonical"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Request.instantiates"},{"identity":"rim","map":".outboundRelationship[typeCode=DEFN].target"}]},{"id":"MedicationRequest.instantiatesUri","path":"MedicationRequest.instantiatesUri","short":"Instantiates external protocol or definition","definition":"The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.","min":0,"max":"*","base":{"path":"MedicationRequest.instantiatesUri","min":0,"max":"*"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":".outboundRelationship[typeCode=DEFN].target"}]},{"id":"MedicationRequest.basedOn","path":"MedicationRequest.basedOn","short":"What request fulfills","definition":"A plan or request that is fulfilled in whole or in part by this medication request.","min":0,"max":"*","base":{"path":"MedicationRequest.basedOn","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/CarePlan","http://hl7.org/fhir/StructureDefinition/MedicationRequest","http://hl7.org/fhir/StructureDefinition/ServiceRequest","http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Request.basedOn"},{"identity":"rim","map":".outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP]"}]},{"id":"MedicationRequest.groupIdentifier","path":"MedicationRequest.groupIdentifier","short":"Composite request this is part of","definition":"A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.","requirements":"Requests are linked either by a \"basedOn\" relationship (i.e. one request is fulfilling another) or by having a common requisition. Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation.","min":0,"max":"1","base":{"path":"MedicationRequest.groupIdentifier","min":0,"max":"1"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Request.groupIdentifier"},{"identity":"rim","map":".outboundRelationship(typeCode=COMP].target[classCode=SBADM, moodCode=INT].id"}]},{"id":"MedicationRequest.courseOfTherapyType","path":"MedicationRequest.courseOfTherapyType","short":"Overall pattern of medication administration","definition":"The description of the overall patte3rn of the administration of the medication to the patient.","comment":"This attribute should not be confused with the protocol of the medication.","min":0,"max":"1","base":{"path":"MedicationRequest.courseOfTherapyType","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"MedicationRequestCourseOfTherapy"}],"strength":"example","description":"Identifies the overall pattern of medication administratio.","valueSet":"http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy"},"mapping":[{"identity":"rim","map":"Act.code where classCode = LIST and moodCode = EVN"}]},{"id":"MedicationRequest.insurance","path":"MedicationRequest.insurance","short":"Associated insurance coverage","definition":"Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.","min":0,"max":"*","base":{"path":"MedicationRequest.insurance","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Coverage","http://hl7.org/fhir/StructureDefinition/ClaimResponse"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.insurance"},{"identity":"rim","map":".outboundRelationship[typeCode=COVBY].target"}]},{"id":"MedicationRequest.note","path":"MedicationRequest.note","short":"Information about the prescription","definition":"Extra information about the prescription that could not be conveyed by the other attributes.","min":0,"max":"*","base":{"path":"MedicationRequest.note","min":0,"max":"*"},"type":[{"code":"Annotation"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.note"},{"identity":"script10.6","map":"Message/Body/NewRx/MedicationPrescribed/Note"},{"identity":"rim","map":".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code=\"annotation\"].value"}]},{"id":"MedicationRequest.dosageInstruction","path":"MedicationRequest.dosageInstruction","short":"How the medication should be taken","definition":"Indicates how the medication is to be used by the patient.","comment":"There are examples where a medication request may include the option of an oral dose or an Intravenous or Intramuscular dose. For example, \"Ondansetron 8mg orally or IV twice a day as needed for nausea\" or \"Compazine® (prochlorperazine) 5-10mg PO or 25mg PR bid prn nausea or vomiting\". In these cases, two medication requests would be created that could be grouped together. The decision on which dose and route of administration to use is based on the patient's condition at the time the dose is needed.","min":0,"max":"*","base":{"path":"MedicationRequest.dosageInstruction","min":0,"max":"*"},"type":[{"code":"Dosage"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.occurrence[x]"},{"identity":"rim","map":"see dosageInstruction mapping"}]},{"id":"MedicationRequest.dosageInstruction.id","path":"MedicationRequest.dosageInstruction.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"MedicationRequest.dosageInstruction.extension","path":"MedicationRequest.dosageInstruction.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"MedicationRequest.dosageInstruction.modifierExtension","path":"MedicationRequest.dosageInstruction.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"MedicationRequest.dosageInstruction.sequence","path":"MedicationRequest.dosageInstruction.sequence","short":"The order of the dosage instructions","definition":"Indicates the order in which the dosage instructions should be applied or interpreted.","requirements":"If the sequence number of multiple Dosages is the same, then it is implied that the instructions are to be treated as concurrent. If the sequence number is different, then the Dosages are intended to be sequential.","min":0,"max":"1","base":{"path":"Dosage.sequence","min":0,"max":"1"},"type":[{"code":"integer"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"TQ1-1"},{"identity":"rim","map":".text"}]},{"id":"MedicationRequest.dosageInstruction.text","path":"MedicationRequest.dosageInstruction.text","short":"Free text dosage instructions e.g. SIG","definition":"Free text dosage instructions e.g. SIG.","requirements":"Free text dosage instructions can be used for cases where the instructions are too complex to code. The content of this attribute does not include the name or description of the medication. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. It is expected that the text instructions will always be populated. If the dosage.timing attribute is also populated, then the dosage.text should reflect the same information as the timing. Additional information about administration or preparation of the medication should be included as text.","min":0,"max":"1","base":{"path":"Dosage.text","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"RXO-6; RXE-21"},{"identity":"rim","map":".text"}]},{"id":"MedicationRequest.dosageInstruction.additionalInstruction","path":"MedicationRequest.dosageInstruction.additionalInstruction","short":"Supplemental instruction or warnings to the patient - e.g. \"with meals\", \"may cause drowsiness\"","definition":"Supplemental instructions to the patient on how to take the medication (e.g. \"with meals\" or\"take half to one hour before food\") or warnings for the patient about the medication (e.g. \"may cause drowsiness\" or \"avoid exposure of skin to direct sunlight or sunlamps\").","comment":"Information about administration or preparation of the medication (e.g. \"infuse as rapidly as possibly via intraperitoneal port\" or \"immediately following drug x\") should be populated in dosage.text.","requirements":"Additional instruction is intended to be coded, but where no code exists, the element could include text. For example, \"Swallow with plenty of water\" which might or might not be coded.","min":0,"max":"*","base":{"path":"Dosage.additionalInstruction","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"AdditionalInstruction"}],"strength":"example","description":"A coded concept identifying additional instructions such as \"take with water\" or \"avoid operating heavy machinery\".","valueSet":"http://hl7.org/fhir/ValueSet/additional-instruction-codes"},"mapping":[{"identity":"v2","map":"RXO-7"},{"identity":"rim","map":".text"}]},{"id":"MedicationRequest.dosageInstruction.patientInstruction","path":"MedicationRequest.dosageInstruction.patientInstruction","short":"Patient or consumer oriented instructions","definition":"Instructions in terms that are understood by the patient or consumer.","min":0,"max":"1","base":{"path":"Dosage.patientInstruction","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"RXO-7"},{"identity":"rim","map":".text"}]},{"id":"MedicationRequest.dosageInstruction.timing","path":"MedicationRequest.dosageInstruction.timing","short":"When medication should be administered","definition":"When medication should be administered.","comment":"This attribute might not always be populated while the Dosage.text is expected to be populated. If both are populated, then the Dosage.text should reflect the content of the Dosage.timing.","requirements":"The timing schedule for giving the medication to the patient. This data type allows many different expressions. For example: \"Every 8 hours\"; \"Three times a day\"; \"1/2 an hour before breakfast for 10 days from 23-Dec 2011:\"; \"15 Oct 2013, 17 Oct 2013 and 1 Nov 2013\". Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period.","min":0,"max":"1","base":{"path":"Dosage.timing","min":0,"max":"1"},"type":[{"code":"Timing"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":".effectiveTime"}]},{"id":"MedicationRequest.dosageInstruction.asNeeded[x]","path":"MedicationRequest.dosageInstruction.asNeeded[x]","short":"Take \"as needed\" (for x)","definition":"Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).","comment":"Can express \"as needed\" without a reason by setting the Boolean = True. In this case the CodeableConcept is not populated. Or you can express \"as needed\" with a reason by including the CodeableConcept. In this case the Boolean is assumed to be True. If you set the Boolean to False, then the dose is given according to the schedule and is not \"prn\" or \"as needed\".","min":0,"max":"1","base":{"path":"Dosage.asNeeded[x]","min":0,"max":"1"},"type":[{"code":"boolean"},{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"MedicationAsNeededReason"}],"strength":"example","description":"A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example \"pain\", \"30 minutes prior to sexual intercourse\", \"on flare-up\" etc.","valueSet":"http://hl7.org/fhir/ValueSet/medication-as-needed-reason"},"mapping":[{"identity":"v2","map":"TQ1-9"},{"identity":"rim","map":".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code=\"as needed\"].value=boolean or codable concept"}]},{"id":"MedicationRequest.dosageInstruction.site","path":"MedicationRequest.dosageInstruction.site","short":"Body site to administer to","definition":"Body site to administer to.","comment":"If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](http://hl7.org/fhir/R4/extension-bodysite.html). May be a summary code, or a reference to a very precise definition of the location, or both.","requirements":"A coded specification of the anatomic site where the medication first enters the body.","min":0,"max":"1","base":{"path":"Dosage.site","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"MedicationAdministrationSite"}],"strength":"example","description":"A coded concept describing the site location the medicine enters into or onto the body.","valueSet":"http://hl7.org/fhir/ValueSet/approach-site-codes"},"mapping":[{"identity":"v2","map":"RXR-2"},{"identity":"rim","map":".approachSiteCode"}]},{"id":"MedicationRequest.dosageInstruction.route","path":"MedicationRequest.dosageInstruction.route","short":"How drug should enter body","definition":"How drug should enter body.","requirements":"A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.","min":0,"max":"1","base":{"path":"Dosage.route","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"RouteOfAdministration"}],"strength":"example","description":"A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.","valueSet":"http://hl7.org/fhir/ValueSet/route-codes"},"mapping":[{"identity":"v2","map":"RXR-1"},{"identity":"rim","map":".routeCode"}]},{"id":"MedicationRequest.dosageInstruction.method","path":"MedicationRequest.dosageInstruction.method","short":"Technique for administering medication","definition":"Technique for administering medication.","comment":"Terminologies used often pre-coordinate this term with the route and or form of administration.","requirements":"A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. For examples, Slow Push; Deep IV.","min":0,"max":"1","base":{"path":"Dosage.method","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"MedicationAdministrationMethod"}],"strength":"example","description":"A coded concept describing the technique by which the medicine is administered.","valueSet":"http://hl7.org/fhir/ValueSet/administration-method-codes"},"mapping":[{"identity":"v2","map":"RXR-4"},{"identity":"rim","map":".doseQuantity"}]},{"id":"MedicationRequest.dosageInstruction.doseAndRate","path":"MedicationRequest.dosageInstruction.doseAndRate","short":"Amount of medication administered","definition":"The amount of medication administered.","min":0,"max":"*","base":{"path":"Dosage.doseAndRate","min":0,"max":"*"},"type":[{"code":"Element"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"TQ1-2"}]},{"id":"MedicationRequest.dosageInstruction.doseAndRate.id","path":"MedicationRequest.dosageInstruction.doseAndRate.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"MedicationRequest.dosageInstruction.doseAndRate.extension","path":"MedicationRequest.dosageInstruction.doseAndRate.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"MedicationRequest.dosageInstruction.doseAndRate.type","path":"MedicationRequest.dosageInstruction.doseAndRate.type","short":"The kind of dose or rate specified","definition":"The kind of dose or rate specified, for example, ordered or calculated.","requirements":"If the type is not populated, assume to be \"ordered\".","min":0,"max":"1","base":{"path":"Dosage.doseAndRate.type","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"DoseAndRateType"}],"strength":"example","description":"The kind of dose or rate specified.","valueSet":"http://hl7.org/fhir/ValueSet/dose-rate-type"},"mapping":[{"identity":"v2","map":"RXO-21; RXE-23"}]},{"id":"MedicationRequest.dosageInstruction.doseAndRate.dose[x]","path":"MedicationRequest.dosageInstruction.doseAndRate.dose[x]","short":"Amount of medication per dose","definition":"Amount of medication per dose.","comment":"Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours.","requirements":"The amount of therapeutic or other substance given at one administration event.","min":0,"max":"1","base":{"path":"Dosage.doseAndRate.dose[x]","min":0,"max":"1"},"type":[{"code":"Range"},{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"RXO-2, RXE-3"},{"identity":"rim","map":".doseQuantity"}]},{"id":"MedicationRequest.dosageInstruction.doseAndRate.rate[x]","path":"MedicationRequest.dosageInstruction.doseAndRate.rate[x]","short":"Amount of medication per unit of time","definition":"Amount of medication per unit of time.","comment":"It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate.\r\rIt is possible to specify a rate over time (for example, 100 ml/hour) using either the rateRatio and rateQuantity. The rateQuantity approach requires systems to have the capability to parse UCUM grammer where ml/hour is included rather than a specific ratio where the time is specified as the denominator. Where a rate such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically correct than specifying using a rateQuantity of 250 mg/hour.","requirements":"Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours. Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period.","min":0,"max":"1","base":{"path":"Dosage.doseAndRate.rate[x]","min":0,"max":"1"},"type":[{"code":"Ratio"},{"code":"Range"},{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"RXE22, RXE23, RXE-24"},{"identity":"rim","map":".rateQuantity"}]},{"id":"MedicationRequest.dosageInstruction.maxDosePerPeriod","path":"MedicationRequest.dosageInstruction.maxDosePerPeriod","short":"Upper limit on medication per unit of time","definition":"Upper limit on medication per unit of time.","comment":"This is intended for use as an adjunct to the dosage when there is an upper cap. For example \"2 tablets every 4 hours to a maximum of 8/day\".","requirements":"The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. For example, 1000mg in 24 hours.","min":0,"max":"1","base":{"path":"Dosage.maxDosePerPeriod","min":0,"max":"1"},"type":[{"code":"Ratio"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"RXO-23, RXE-19"},{"identity":"rim","map":".maxDoseQuantity"}]},{"id":"MedicationRequest.dosageInstruction.maxDosePerAdministration","path":"MedicationRequest.dosageInstruction.maxDosePerAdministration","short":"Upper limit on medication per administration","definition":"Upper limit on medication per administration.","comment":"This is intended for use as an adjunct to the dosage when there is an upper cap. For example, a body surface area related dose with a maximum amount, such as 1.5 mg/m2 (maximum 2 mg) IV over 5 – 10 minutes would have doseQuantity of 1.5 mg/m2 and maxDosePerAdministration of 2 mg.","requirements":"The maximum total quantity of a therapeutic substance that may be administered to a subject per administration.","min":0,"max":"1","base":{"path":"Dosage.maxDosePerAdministration","min":0,"max":"1"},"type":[{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":"not supported"}]},{"id":"MedicationRequest.dosageInstruction.maxDosePerLifetime","path":"MedicationRequest.dosageInstruction.maxDosePerLifetime","short":"Upper limit on medication per lifetime of the patient","definition":"Upper limit on medication per lifetime of the patient.","requirements":"The maximum total quantity of a therapeutic substance that may be administered per lifetime of the subject.","min":0,"max":"1","base":{"path":"Dosage.maxDosePerLifetime","min":0,"max":"1"},"type":[{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":"not supported"}]},{"id":"MedicationRequest.dispenseRequest","path":"MedicationRequest.dispenseRequest","short":"Medication supply authorization","definition":"Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.","min":0,"max":"1","base":{"path":"MedicationRequest.dispenseRequest","min":0,"max":"1"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"script10.6","map":"Message/Body/NewRx/MedicationPrescribed/ExpirationDate"},{"identity":"rim","map":"component.supplyEvent"}]},{"id":"MedicationRequest.dispenseRequest.id","path":"MedicationRequest.dispenseRequest.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"MedicationRequest.dispenseRequest.extension","path":"MedicationRequest.dispenseRequest.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"MedicationRequest.dispenseRequest.modifierExtension","path":"MedicationRequest.dispenseRequest.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"MedicationRequest.dispenseRequest.initialFill","path":"MedicationRequest.dispenseRequest.initialFill","short":"First fill details","definition":"Indicates the quantity or duration for the first dispense of the medication.","comment":"If populating this element, either the quantity or the duration must be included.","min":0,"max":"1","base":{"path":"MedicationRequest.dispenseRequest.initialFill","min":0,"max":"1"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"SubstanceAdministration -> ActRelationship[sequenceNumber = '1'] -> Supply"}]},{"id":"MedicationRequest.dispenseRequest.initialFill.id","path":"MedicationRequest.dispenseRequest.initialFill.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"MedicationRequest.dispenseRequest.initialFill.extension","path":"MedicationRequest.dispenseRequest.initialFill.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"MedicationRequest.dispenseRequest.initialFill.modifierExtension","path":"MedicationRequest.dispenseRequest.initialFill.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"MedicationRequest.dispenseRequest.initialFill.quantity","path":"MedicationRequest.dispenseRequest.initialFill.quantity","short":"First fill quantity","definition":"The amount or quantity to provide as part of the first dispense.","min":0,"max":"1","base":{"path":"MedicationRequest.dispenseRequest.initialFill.quantity","min":0,"max":"1"},"type":[{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Supply.quantity[moodCode=RQO]"}]},{"id":"MedicationRequest.dispenseRequest.initialFill.duration","path":"MedicationRequest.dispenseRequest.initialFill.duration","short":"First fill duration","definition":"The length of time that the first dispense is expected to last.","min":0,"max":"1","base":{"path":"MedicationRequest.dispenseRequest.initialFill.duration","min":0,"max":"1"},"type":[{"code":"Duration"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Supply.effectivetime[moodCode=RQO]"}]},{"id":"MedicationRequest.dispenseRequest.dispenseInterval","path":"MedicationRequest.dispenseRequest.dispenseInterval","short":"Minimum period of time between dispenses","definition":"The minimum period of time that must occur between dispenses of the medication.","min":0,"max":"1","base":{"path":"MedicationRequest.dispenseRequest.dispenseInterval","min":0,"max":"1"},"type":[{"code":"Duration"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Supply.effectivetime[moodCode=RQO]"}]},{"id":"MedicationRequest.dispenseRequest.validityPeriod","path":"MedicationRequest.dispenseRequest.validityPeriod","short":"Time period supply is authorized for","definition":"This indicates the validity period of a prescription (stale dating the Prescription).","comment":"It reflects the prescribers' perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations.","requirements":"Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription.","min":0,"max":"1","base":{"path":"MedicationRequest.dispenseRequest.validityPeriod","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"script10.6","map":"Message/Body/NewRx/MedicationPrescribed/Refills"},{"identity":"rim","map":"effectiveTime"}]},{"id":"MedicationRequest.dispenseRequest.numberOfRepeatsAllowed","path":"MedicationRequest.dispenseRequest.numberOfRepeatsAllowed","short":"Number of refills authorized","definition":"An integer indicating the number of times, in addition to the original dispense, (aka refills or repeats) that the patient can receive the prescribed medication. Usage Notes: This integer does not include the original order dispense. This means that if an order indicates dispense 30 tablets plus \"3 repeats\", then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets. A prescriber may explicitly say that zero refills are permitted after the initial dispense.","comment":"If displaying \"number of authorized fills\", add 1 to this number.","min":0,"max":"1","base":{"path":"MedicationRequest.dispenseRequest.numberOfRepeatsAllowed","min":0,"max":"1"},"type":[{"code":"unsignedInt"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"script10.6","map":"Message/Body/NewRx/MedicationPrescribed/Quantity"},{"identity":"v2","map":"RXE-12-Number of Refills"},{"identity":"rim","map":"repeatNumber"}]},{"id":"MedicationRequest.dispenseRequest.quantity","path":"MedicationRequest.dispenseRequest.quantity","short":"Amount of medication to supply per dispense","definition":"The amount that is to be dispensed for one fill.","min":0,"max":"1","base":{"path":"MedicationRequest.dispenseRequest.quantity","min":0,"max":"1"},"type":[{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"script10.6","map":"Message/Body/NewRx/MedicationPrescribed/DaysSupply"},{"identity":"v2","map":"RXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system"},{"identity":"rim","map":"quantity"}]},{"id":"MedicationRequest.dispenseRequest.expectedSupplyDuration","path":"MedicationRequest.dispenseRequest.expectedSupplyDuration","short":"Number of days supply per dispense","definition":"Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last.","comment":"In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage). When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors.","min":0,"max":"1","base":{"path":"MedicationRequest.dispenseRequest.expectedSupplyDuration","min":0,"max":"1"},"type":[{"code":"Duration"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"script10.6","map":"Message/Body/NewRx/MedicationPrescribed/Substitutions"},{"identity":"rim","map":"expectedUseTime"}]},{"id":"MedicationRequest.dispenseRequest.performer","path":"MedicationRequest.dispenseRequest.performer","short":"Intended dispenser","definition":"Indicates the intended dispensing Organization specified by the prescriber.","min":0,"max":"1","base":{"path":"MedicationRequest.dispenseRequest.performer","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"w5","map":"FiveWs.who"},{"identity":"rim","map":".outboundRelationship[typeCode=COMP].target[classCode=SPLY, moodCode=RQO] .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]"}]},{"id":"MedicationRequest.substitution","path":"MedicationRequest.substitution","short":"Any restrictions on medication substitution","definition":"Indicates whether or not substitution can or should be part of the dispense. In some cases, substitution must happen, in other cases substitution must not happen. This block explains the prescriber's intent. If nothing is specified substitution may be done.","min":0,"max":"1","base":{"path":"MedicationRequest.substitution","min":0,"max":"1"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"script10.6","map":"specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions"},{"identity":"rim","map":"subjectOf.substitutionPersmission"}]},{"id":"MedicationRequest.substitution.id","path":"MedicationRequest.substitution.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"MedicationRequest.substitution.extension","path":"MedicationRequest.substitution.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"MedicationRequest.substitution.modifierExtension","path":"MedicationRequest.substitution.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"MedicationRequest.substitution.allowed[x]","path":"MedicationRequest.substitution.allowed[x]","short":"Whether substitution is allowed or not","definition":"True if the prescriber allows a different drug to be dispensed from what was prescribed.","comment":"This element is labeled as a modifier because whether substitution is allow or not, it cannot be ignored.","min":1,"max":"1","base":{"path":"MedicationRequest.substitution.allowed[x]","min":1,"max":"1"},"type":[{"code":"boolean"},{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"MedicationRequestSubstitution"}],"strength":"example","description":"Identifies the type of substitution allowed.","valueSet":"http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode"},"mapping":[{"identity":"script10.6","map":"specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions"},{"identity":"v2","map":"RXO-9-Allow Substitutions / RXE-9-Substitution Status"},{"identity":"rim","map":"code"}]},{"id":"MedicationRequest.substitution.reason","path":"MedicationRequest.substitution.reason","short":"Why should (not) substitution be made","definition":"Indicates the reason for the substitution, or why substitution must or must not be performed.","min":0,"max":"1","base":{"path":"MedicationRequest.substitution.reason","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"MedicationIntendedSubstitutionReason"}],"strength":"example","description":"A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.","valueSet":"http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason"},"mapping":[{"identity":"script10.6","map":"not mapped"},{"identity":"v2","map":"RXE-9 Substition status"},{"identity":"rim","map":"reasonCode"}]},{"id":"MedicationRequest.priorPrescription","path":"MedicationRequest.priorPrescription","short":"An order/prescription that is being replaced","definition":"A link to a resource representing an earlier order related order or prescription.","min":0,"max":"1","base":{"path":"MedicationRequest.priorPrescription","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/MedicationRequest"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.replaces"},{"identity":"script10.6","map":"not mapped"},{"identity":"rim","map":".outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO]"}]},{"id":"MedicationRequest.detectedIssue","path":"MedicationRequest.detectedIssue","short":"Clinical Issue with action","definition":"Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, duplicate therapy, dosage alert etc.","comment":"This element can include a detected issue that has been identified either by a decision support system or by a clinician and may include information on the steps that were taken to address the issue.","alias":["Contraindication","Drug Utilization Review (DUR)","Alert"],"min":0,"max":"*","base":{"path":"MedicationRequest.detectedIssue","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/DetectedIssue"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".inboundRelationship[typeCode=SUBJ]/source[classCode=ALRT,moodCode=EVN].value"}]},{"id":"MedicationRequest.eventHistory","path":"MedicationRequest.eventHistory","short":"A list of events of interest in the lifecycle","definition":"Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.","comment":"This might not include provenances for all versions of the request – only those deemed “relevant” or important. This SHALL NOT include the provenance associated with this current version of the resource. (If that provenance is deemed to be a “relevant” change, it will need to be added as part of a later update. Until then, it can be queried directly as the provenance that points to this version using _revinclude All Provenances should have some historical version of this Request as their subject.).","min":0,"max":"*","base":{"path":"MedicationRequest.eventHistory","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Provenance"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Request.relevantHistory"},{"identity":"rim","map":".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]"}]}]},"differential":{"element":[{"id":"MedicationRequest","path":"MedicationRequest","definition":"The US Core Medication Request (Order) Profile is based upon the core FHIR MedicationRequest Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements.","mustSupport":false,"mapping":[{"identity":"argonaut-dq-dstu2","map":"MedicationOrder"}]},{"id":"MedicationRequest.status","path":"MedicationRequest.status","min":1,"max":"1","type":[{"code":"code"}],"mustSupport":true,"binding":{"strength":"required","description":"A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.","valueSet":"http://hl7.org/fhir/ValueSet/medicationrequest-status"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"MedicationOrder.status"}]},{"id":"MedicationRequest.intent","path":"MedicationRequest.intent","min":1,"max":"1","mustSupport":true,"binding":{"strength":"required","description":"The kind of medication order.","valueSet":"http://hl7.org/fhir/ValueSet/medicationrequest-intent"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"MedicationOrder.status"}]},{"id":"MedicationRequest.reported[x]","path":"MedicationRequest.reported[x]","min":0,"max":"1","type":[{"code":"boolean"},{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient","http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner","http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"MedicationOrder.status"}]},{"id":"MedicationRequest.medication[x]","path":"MedicationRequest.medication[x]","min":1,"max":"1","type":[{"code":"CodeableConcept"},{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication"]}],"mustSupport":true,"binding":{"strength":"extensible","description":"Prescribable medications","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"MedicationOrder.medication[x]"}]},{"id":"MedicationRequest.subject","path":"MedicationRequest.subject","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"MedicationOrder.patient"}]},{"id":"MedicationRequest.encounter","path":"MedicationRequest.encounter","min":0,"max":"1","mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"MedicationOrder.patient"}]},{"id":"MedicationRequest.authoredOn","path":"MedicationRequest.authoredOn","min":1,"max":"1","mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"MedicationOrder.dateWritten"}]},{"id":"MedicationRequest.requester","path":"MedicationRequest.requester","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner","http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization","http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"MedicationOrder.prescriber"}]},{"id":"MedicationRequest.dosageInstruction","path":"MedicationRequest.dosageInstruction","mustSupport":true},{"id":"MedicationRequest.dosageInstruction.text","path":"MedicationRequest.dosageInstruction.text","mustSupport":true}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-observation-lab.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-observation-lab.json deleted file mode 100644 index a5f4bc9fb32..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-observation-lab.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-observation-lab","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Observation I0..*ObservationMeasurements and simple assertions
us-core-2: If there is no component or hasMember element then either a value[x] or a data absent reason must be present
\".\"\".\"\".\" status S1..1coderegistered | preliminary | final | amended +
Binding: ObservationStatus (required)
\".\"\".\"\".\" category S1..*(Slice Definition)Classification of type of observation
Slice: Unordered, Open by pattern:$this
\".\"\".\"\".\"\".\" category:Laboratory S1..1CodeableConceptClassification of type of observation
Required Pattern: At least the following
\".\"\".\"\".\"\".\"\".\" coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
\".\"\".\"\".\"\".\"\".\"\".\" system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/observation-category
\".\"\".\"\".\"\".\"\".\"\".\" code1..1codeSymbol in syntax defined by the system
Fixed Value: laboratory
\".\"\".\"\".\" code S1..1CodeableConceptLaboratory Test Name
Binding: LOINCCodes (extensible)
\".\"\".\"\".\" subject S1..1Reference(US Core Patient Profile)Who and/or what the observation is about
\".\"\".\"\".\" effective[x] SI0..1Clinically relevant time/time-period for observation
us-core-1: Datetime must be at least to day.
\".\"\".\"\".\"\".\" effectiveDateTimedateTime
\".\"\".\"\".\"\".\" effectivePeriodPeriod
\".\"\".\"\".\" value[x] SI0..1Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, PeriodResult Value
us-core-4: SHOULD use Snomed CT for coded Results
us-core-3: SHALL use UCUM for coded quantity units.
\".\"\".\"\".\" dataAbsentReason SI0..1CodeableConceptWhy the result is missing
Binding: DataAbsentReason (extensible)

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab","version":"3.1.1","name":"USCoreLaboratoryResultObservationProfile","title":"US Core Laboratory Result Observation Profile","status":"active","experimental":false,"date":"2020-06-27","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines constraints and extensions on the Observation resource for the minimal set of data to query and retrieve laboratory test results","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"argonaut-dq-dstu2","uri":"http://unknown.org/Argonaut-DQ-DSTU2","name":"Argonaut-DQ-DSTU2"},{"identity":"workflow","uri":"http://hl7.org/fhir/workflow","name":"Workflow Pattern"},{"identity":"sct-concept","uri":"http://snomed.info/conceptdomain","name":"SNOMED CT Concept Domain Binding"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"sct-attr","uri":"http://snomed.org/attributebinding","name":"SNOMED CT Attribute Binding"}],"kind":"resource","abstract":false,"type":"Observation","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Observation","derivation":"constraint","snapshot":{"element":[{"id":"Observation","path":"Observation","short":"Measurements and simple assertions","definition":"This profile is created to meet the 2015 Edition Common Clinical Data Set 'Laboratory test(s) and Laboratory value(s)/result(s)' requirements.","comment":"Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.","alias":["Vital Signs","Measurement","Results","Tests"],"min":0,"max":"*","base":{"path":"Observation","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"obs-6","severity":"error","human":"dataAbsentReason SHALL only be present if Observation.value[x] is not present","expression":"dataAbsentReason.empty() or value.empty()","xpath":"not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))","source":"http://hl7.org/fhir/StructureDefinition/Observation"},{"key":"obs-7","severity":"error","human":"If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present","expression":"value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()","xpath":"not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))","source":"http://hl7.org/fhir/StructureDefinition/Observation"},{"key":"us-core-2","severity":"error","human":"If there is no component or hasMember element then either a value[x] or a data absent reason must be present","expression":"(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())","xpath":"exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"workflow","map":"Event"},{"identity":"sct-concept","map":"< 363787002 |Observable entity|"},{"identity":"v2","map":"OBX"},{"identity":"rim","map":"Observation[classCode=OBS, moodCode=EVN]"},{"identity":"argonaut-dq-dstu2","map":"Observation"}]},{"id":"Observation.id","path":"Observation.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"Observation.meta","path":"Observation.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"Observation.implicitRules","path":"Observation.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"Observation.language","path":"Observation.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"Observation.text","path":"Observation.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"Observation.contained","path":"Observation.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.extension","path":"Observation.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.modifierExtension","path":"Observation.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.identifier","path":"Observation.identifier","short":"Business Identifier for observation","definition":"A unique identifier assigned to this observation.","requirements":"Allows observations to be distinguished and referenced.","min":0,"max":"*","base":{"path":"Observation.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.identifier"},{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."},{"identity":"rim","map":"id"}]},{"id":"Observation.basedOn","path":"Observation.basedOn","short":"Fulfills plan, proposal or order","definition":"A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.","requirements":"Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.","alias":["Fulfills"],"min":0,"max":"*","base":{"path":"Observation.basedOn","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/CarePlan","http://hl7.org/fhir/StructureDefinition/DeviceRequest","http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation","http://hl7.org/fhir/StructureDefinition/MedicationRequest","http://hl7.org/fhir/StructureDefinition/NutritionOrder","http://hl7.org/fhir/StructureDefinition/ServiceRequest"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.basedOn"},{"identity":"v2","map":"ORC"},{"identity":"rim","map":".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"}]},{"id":"Observation.partOf","path":"Observation.partOf","short":"Part of referenced event","definition":"A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.","comment":"To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below for guidance on referencing another Observation.","alias":["Container"],"min":0,"max":"*","base":{"path":"Observation.partOf","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/MedicationAdministration","http://hl7.org/fhir/StructureDefinition/MedicationDispense","http://hl7.org/fhir/StructureDefinition/MedicationStatement","http://hl7.org/fhir/StructureDefinition/Procedure","http://hl7.org/fhir/StructureDefinition/Immunization","http://hl7.org/fhir/StructureDefinition/ImagingStudy"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.partOf"},{"identity":"v2","map":"Varies by domain"},{"identity":"rim","map":".outboundRelationship[typeCode=FLFS].target"}]},{"id":"Observation.status","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint","valueString":"default: final"}],"path":"Observation.status","short":"registered | preliminary | final | amended +","definition":"The status of the result value.","comment":"This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.","requirements":"Need to track the status of individual results. Some results are finalized before the whole report is finalized.","min":1,"max":"1","base":{"path":"Observation.status","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/observation-status"},"mapping":[{"identity":"workflow","map":"Event.status"},{"identity":"w5","map":"FiveWs.status"},{"identity":"sct-concept","map":"< 445584004 |Report by finality status|"},{"identity":"v2","map":"OBX-11"},{"identity":"rim","map":"status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\""},{"identity":"argonaut-dq-dstu2","map":"Observation.status"}]},{"id":"Observation.category","path":"Observation.category","slicing":{"discriminator":[{"type":"pattern","path":"$this"}],"rules":"open"},"short":"Classification of type of observation","definition":"A code that classifies the general type of observation being made.","comment":"In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.","requirements":"Used for filtering what observations are retrieved and displayed.","min":1,"max":"*","base":{"path":"Observation.category","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationCategory"}],"strength":"preferred","description":"Codes for high level observation categories.","valueSet":"http://hl7.org/fhir/ValueSet/observation-category"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"rim","map":".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code"},{"identity":"argonaut-dq-dstu2","map":"Observation.category"}]},{"id":"Observation.category:Laboratory","path":"Observation.category","sliceName":"Laboratory","short":"Classification of type of observation","definition":"A code that classifies the general type of observation being made.","comment":"In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.","requirements":"Used for filtering what observations are retrieved and displayed.","min":1,"max":"1","base":{"path":"Observation.category","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"patternCodeableConcept":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory"}]},"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationCategory"}],"strength":"preferred","description":"Codes for high level observation categories.","valueSet":"http://hl7.org/fhir/ValueSet/observation-category"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"rim","map":".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code"},{"identity":"argonaut-dq-dstu2","map":"Observation.category"}]},{"id":"Observation.code","path":"Observation.code","short":"Laboratory Test Name","definition":"The test that was performed. A LOINC **SHALL** be used if the concept is present in LOINC.","comment":"The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists. When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display.","requirements":"Knowing what kind of observation is being made is essential to understanding the observation.","alias":["Name","Test Name","Observation Identifer"],"min":1,"max":"1","base":{"path":"Observation.code","min":1,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","description":"LOINC codes","valueSet":"http://hl7.org/fhir/ValueSet/observation-codes"},"mapping":[{"identity":"workflow","map":"Event.code"},{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"sct-concept","map":"< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|"},{"identity":"v2","map":"OBX-3"},{"identity":"rim","map":"code"},{"identity":"sct-attr","map":"116680003 |Is a|"},{"identity":"argonaut-dq-dstu2","map":"Observation.code"}]},{"id":"Observation.subject","path":"Observation.subject","short":"Who and/or what the observation is about","definition":"The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.","comment":"One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.","requirements":"Observations have no value if you don't know who or what they're about.","min":1,"max":"1","base":{"path":"Observation.subject","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.subject"},{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"PID-3"},{"identity":"rim","map":"participation[typeCode=RTGT]"},{"identity":"w5","map":"FiveWs.subject"},{"identity":"argonaut-dq-dstu2","map":"Observation.subject"}]},{"id":"Observation.focus","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"trial-use"}],"path":"Observation.focus","short":"What the observation is about, when it is not about the subject of record","definition":"The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.","comment":"Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/R4/extension-observation-focuscode.html).","min":0,"max":"*","base":{"path":"Observation.focus","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Resource"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"OBX-3"},{"identity":"rim","map":"participation[typeCode=SBJ]"},{"identity":"w5","map":"FiveWs.subject"}]},{"id":"Observation.encounter","path":"Observation.encounter","short":"Healthcare event during which this observation is made","definition":"The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.","comment":"This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).","requirements":"For some observations it may be important to know the link between an observation and a particular encounter.","alias":["Context"],"min":0,"max":"1","base":{"path":"Observation.encounter","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Encounter"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.context"},{"identity":"w5","map":"FiveWs.context"},{"identity":"v2","map":"PV1"},{"identity":"rim","map":"inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"}]},{"id":"Observation.effective[x]","path":"Observation.effective[x]","short":"Clinically relevant time/time-period for observation","definition":"For lab tests this is the specimen collection date. For Ask at Order Entry Questions (AOE)'s this is the date the question was asked.","comment":"At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/R4/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.","requirements":"Knowing when an observation was deemed true is important to its relevance as well as determining trends.","alias":["Occurrence"],"min":0,"max":"1","base":{"path":"Observation.effective[x]","min":0,"max":"1"},"type":[{"code":"dateTime"},{"code":"Period"}],"condition":["us-core-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"us-core-1","severity":"error","human":"Datetime must be at least to day.","expression":"($this as dateTime).toString().length() >= 8","xpath":"f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.occurrence[x]"},{"identity":"w5","map":"FiveWs.done[x]"},{"identity":"v2","map":"OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)"},{"identity":"rim","map":"effectiveTime"},{"identity":"argonaut-dq-dstu2","map":"Observation.effective[x]"}]},{"id":"Observation.issued","path":"Observation.issued","short":"Date/Time this version was made available","definition":"The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.","comment":"For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/R4/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.","min":0,"max":"1","base":{"path":"Observation.issued","min":0,"max":"1"},"type":[{"code":"instant"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.recorded"},{"identity":"v2","map":"OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)"},{"identity":"rim","map":"participation[typeCode=AUT].time"}]},{"id":"Observation.performer","path":"Observation.performer","short":"Who is responsible for the observation","definition":"Who was responsible for asserting the observed value as \"true\".","requirements":"May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.","min":0,"max":"*","base":{"path":"Observation.performer","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.performer.actor"},{"identity":"w5","map":"FiveWs.actor"},{"identity":"v2","map":"OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'"},{"identity":"rim","map":"participation[typeCode=PRF]"}]},{"id":"Observation.value[x]","path":"Observation.value[x]","short":"Result Value","definition":"The Laboratory result value. If a coded value, the valueCodeableConcept.code **SHOULD** be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults). If a numeric value, valueQuantity.code **SHALL** be selected from [UCUM](http://unitsofmeasure.org). A FHIR [UCUM Codes value set](http://hl7.org/fhir/STU3/valueset-ucum-units.html) that defines all UCUM codes is in the FHIR specification.","comment":"An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.","requirements":"An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.","min":0,"max":"1","base":{"path":"Observation.value[x]","min":0,"max":"1"},"type":[{"code":"Quantity"},{"code":"CodeableConcept"},{"code":"string"},{"code":"boolean"},{"code":"integer"},{"code":"Range"},{"code":"Ratio"},{"code":"SampledData"},{"code":"time"},{"code":"dateTime"},{"code":"Period"}],"condition":["obs-7","us-core-2","us-core-3","us-core-4"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true}],"key":"us-core-4","severity":"warning","human":"SHOULD use Snomed CT for coded Results","expression":"valueCodeableConcept.coding.system.empty() or valueCodeableConcept.coding.system = 'http://snomed.info/sct'","xpath":"not(exists(f:valueCodeableConcept/f:coding/f:system) ) or f:valueCodeableConcept/f:coding/f:system[@value='http://snomed.info/sct']"},{"key":"us-core-3","severity":"error","human":"SHALL use UCUM for coded quantity units.","expression":"valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'","xpath":"not(exists(f:valueQuantity/f:system) ) or f:valueQuantity/f:system[@value='http://unitsofmeasure.org']"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"sct-concept","map":"< 441742003 |Evaluation finding|"},{"identity":"v2","map":"OBX.2, OBX.5, OBX.6"},{"identity":"rim","map":"value"},{"identity":"sct-attr","map":"363714003 |Interprets|"},{"identity":"argonaut-dq-dstu2","map":"Observation.value[x]"}]},{"id":"Observation.dataAbsentReason","path":"Observation.dataAbsentReason","short":"Why the result is missing","definition":"Provides a reason why the expected value in the element Observation.value[x] is missing.","comment":"Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.","requirements":"For many results it is necessary to handle exceptional values in measurements.","min":0,"max":"1","base":{"path":"Observation.dataAbsentReason","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["obs-6","us-core-2"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/data-absent-reason"},"mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"value.nullFlavor"},{"identity":"argonaut-dq-dstu2","map":"Observation.dataAbsentReason"}]},{"id":"Observation.interpretation","path":"Observation.interpretation","short":"High, low, normal, etc.","definition":"A categorical assessment of an observation value. For example, high, low, normal.","comment":"Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.","requirements":"For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.","alias":["Abnormal Flag"],"min":0,"max":"*","base":{"path":"Observation.interpretation","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationInterpretation"}],"strength":"extensible","description":"Codes identifying interpretations of observations.","valueSet":"http://hl7.org/fhir/ValueSet/observation-interpretation"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values|"},{"identity":"v2","map":"OBX-8"},{"identity":"rim","map":"interpretationCode"},{"identity":"sct-attr","map":"363713009 |Has interpretation|"}]},{"id":"Observation.note","path":"Observation.note","short":"Comments about the observation","definition":"Comments about the observation or the results.","comment":"May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.","requirements":"Need to be able to provide free text additional information.","min":0,"max":"*","base":{"path":"Observation.note","min":0,"max":"*"},"type":[{"code":"Annotation"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)"},{"identity":"rim","map":"subjectOf.observationEvent[code=\"annotation\"].value"}]},{"id":"Observation.bodySite","path":"Observation.bodySite","short":"Observed body part","definition":"Indicates the site on the subject's body where the observation was made (i.e. the target site).","comment":"Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/R4/extension-bodysite.html).","min":0,"max":"1","base":{"path":"Observation.bodySite","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"BodySite"}],"strength":"example","description":"Codes describing anatomical locations. May include laterality.","valueSet":"http://hl7.org/fhir/ValueSet/body-site"},"mapping":[{"identity":"sct-concept","map":"< 123037004 |Body structure|"},{"identity":"v2","map":"OBX-20"},{"identity":"rim","map":"targetSiteCode"},{"identity":"sct-attr","map":"718497002 |Inherent location|"}]},{"id":"Observation.method","path":"Observation.method","short":"How it was done","definition":"Indicates the mechanism used to perform the observation.","comment":"Only used if not implicit in code for Observation.code.","requirements":"In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.","min":0,"max":"1","base":{"path":"Observation.method","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationMethod"}],"strength":"example","description":"Methods for simple observations.","valueSet":"http://hl7.org/fhir/ValueSet/observation-methods"},"mapping":[{"identity":"v2","map":"OBX-17"},{"identity":"rim","map":"methodCode"}]},{"id":"Observation.specimen","path":"Observation.specimen","short":"Specimen used for this observation","definition":"The specimen that was used when this observation was made.","comment":"Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).","min":0,"max":"1","base":{"path":"Observation.specimen","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Specimen"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"sct-concept","map":"< 123038009 |Specimen|"},{"identity":"v2","map":"SPM segment"},{"identity":"rim","map":"participation[typeCode=SPC].specimen"},{"identity":"sct-attr","map":"704319004 |Inherent in|"}]},{"id":"Observation.device","path":"Observation.device","short":"(Measurement) Device","definition":"The device used to generate the observation data.","comment":"Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.","min":0,"max":"1","base":{"path":"Observation.device","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/DeviceMetric"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"sct-concept","map":"< 49062001 |Device|"},{"identity":"v2","map":"OBX-17 / PRT -10"},{"identity":"rim","map":"participation[typeCode=DEV]"},{"identity":"sct-attr","map":"424226004 |Using device|"}]},{"id":"Observation.referenceRange","path":"Observation.referenceRange","short":"Provides guide for interpretation","definition":"Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.","comment":"Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.","requirements":"Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.","min":0,"max":"*","base":{"path":"Observation.referenceRange","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"obs-3","severity":"error","human":"Must have at least a low or a high or text","expression":"low.exists() or high.exists() or text.exists()","xpath":"(exists(f:low) or exists(f:high)or exists(f:text))"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX.7"},{"identity":"rim","map":"outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"}]},{"id":"Observation.referenceRange.id","path":"Observation.referenceRange.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.referenceRange.extension","path":"Observation.referenceRange.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.referenceRange.modifierExtension","path":"Observation.referenceRange.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.referenceRange.low","path":"Observation.referenceRange.low","short":"Low Range, if relevant","definition":"The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).","min":0,"max":"1","base":{"path":"Observation.referenceRange.low","min":0,"max":"1"},"type":[{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"condition":["obs-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-7"},{"identity":"rim","map":"value:IVL_PQ.low"}]},{"id":"Observation.referenceRange.high","path":"Observation.referenceRange.high","short":"High Range, if relevant","definition":"The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).","min":0,"max":"1","base":{"path":"Observation.referenceRange.high","min":0,"max":"1"},"type":[{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"condition":["obs-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-7"},{"identity":"rim","map":"value:IVL_PQ.high"}]},{"id":"Observation.referenceRange.type","path":"Observation.referenceRange.type","short":"Reference range qualifier","definition":"Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.","comment":"This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.","requirements":"Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.","min":0,"max":"1","base":{"path":"Observation.referenceRange.type","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationRangeMeaning"}],"strength":"preferred","description":"Code for the meaning of a reference range.","valueSet":"http://hl7.org/fhir/ValueSet/referencerange-meaning"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|"},{"identity":"v2","map":"OBX-10"},{"identity":"rim","map":"interpretationCode"}]},{"id":"Observation.referenceRange.appliesTo","path":"Observation.referenceRange.appliesTo","short":"Reference range population","definition":"Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.","comment":"This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.","requirements":"Need to be able to identify the target population for proper interpretation.","min":0,"max":"*","base":{"path":"Observation.referenceRange.appliesTo","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationRangeType"}],"strength":"example","description":"Codes identifying the population the reference range applies to.","valueSet":"http://hl7.org/fhir/ValueSet/referencerange-appliesto"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|"},{"identity":"v2","map":"OBX-10"},{"identity":"rim","map":"interpretationCode"}]},{"id":"Observation.referenceRange.age","path":"Observation.referenceRange.age","short":"Applicable age range, if relevant","definition":"The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.","requirements":"Some analytes vary greatly over age.","min":0,"max":"1","base":{"path":"Observation.referenceRange.age","min":0,"max":"1"},"type":[{"code":"Range"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value"}]},{"id":"Observation.referenceRange.text","path":"Observation.referenceRange.text","short":"Text based reference range in an observation","definition":"Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".","min":0,"max":"1","base":{"path":"Observation.referenceRange.text","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-7"},{"identity":"rim","map":"value:ST"}]},{"id":"Observation.hasMember","path":"Observation.hasMember","short":"Related resource that belongs to the Observation group","definition":"This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.","comment":"When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html) into a final score and represent the score as an Observation.","min":0,"max":"*","base":{"path":"Observation.hasMember","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","http://hl7.org/fhir/StructureDefinition/MolecularSequence"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"Relationships established by OBX-4 usage"},{"identity":"rim","map":"outBoundRelationship"}]},{"id":"Observation.derivedFrom","path":"Observation.derivedFrom","short":"Related measurements the observation is made from","definition":"The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.","comment":"All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below.","min":0,"max":"*","base":{"path":"Observation.derivedFrom","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/ImagingStudy","http://hl7.org/fhir/StructureDefinition/Media","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/MolecularSequence"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"Relationships established by OBX-4 usage"},{"identity":"rim","map":".targetObservation"}]},{"id":"Observation.component","path":"Observation.component","short":"Component results","definition":"Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.","comment":"For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/R4/observation.html#notes) below.","requirements":"Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.","min":0,"max":"*","base":{"path":"Observation.component","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"containment by OBX-4?"},{"identity":"rim","map":"outBoundRelationship[typeCode=COMP]"}]},{"id":"Observation.component.id","path":"Observation.component.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.component.extension","path":"Observation.component.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.component.modifierExtension","path":"Observation.component.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.component.code","path":"Observation.component.code","short":"Type of component observation (code / type)","definition":"Describes what was observed. Sometimes this is called the observation \"code\".","comment":"*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.","requirements":"Knowing what kind of observation is being made is essential to understanding the observation.","min":1,"max":"1","base":{"path":"Observation.component.code","min":1,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationCode"}],"strength":"example","description":"Codes identifying names of simple observations.","valueSet":"http://hl7.org/fhir/ValueSet/observation-codes"},"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"sct-concept","map":"< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|"},{"identity":"v2","map":"OBX-3"},{"identity":"rim","map":"code"}]},{"id":"Observation.component.value[x]","path":"Observation.component.value[x]","short":"Actual component result","definition":"The information determined as a result of making the observation, if the information has a simple value.","comment":"Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.","requirements":"An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.","min":0,"max":"1","base":{"path":"Observation.component.value[x]","min":0,"max":"1"},"type":[{"code":"Quantity"},{"code":"CodeableConcept"},{"code":"string"},{"code":"boolean"},{"code":"integer"},{"code":"Range"},{"code":"Ratio"},{"code":"SampledData"},{"code":"time"},{"code":"dateTime"},{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"sct-concept","map":"363714003 |Interprets| < 441742003 |Evaluation finding|"},{"identity":"v2","map":"OBX.2, OBX.5, OBX.6"},{"identity":"rim","map":"value"},{"identity":"sct-attr","map":"363714003 |Interprets|"}]},{"id":"Observation.component.dataAbsentReason","path":"Observation.component.dataAbsentReason","short":"Why the component result is missing","definition":"Provides a reason why the expected value in the element Observation.component.value[x] is missing.","comment":"\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.","requirements":"For many results it is necessary to handle exceptional values in measurements.","min":0,"max":"1","base":{"path":"Observation.component.dataAbsentReason","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["obs-6"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationValueAbsentReason"}],"strength":"extensible","description":"Codes specifying why the result (`Observation.value[x]`) is missing.","valueSet":"http://hl7.org/fhir/ValueSet/data-absent-reason"},"mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"value.nullFlavor"}]},{"id":"Observation.component.interpretation","path":"Observation.component.interpretation","short":"High, low, normal, etc.","definition":"A categorical assessment of an observation value. For example, high, low, normal.","comment":"Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.","requirements":"For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.","alias":["Abnormal Flag"],"min":0,"max":"*","base":{"path":"Observation.component.interpretation","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationInterpretation"}],"strength":"extensible","description":"Codes identifying interpretations of observations.","valueSet":"http://hl7.org/fhir/ValueSet/observation-interpretation"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values|"},{"identity":"v2","map":"OBX-8"},{"identity":"rim","map":"interpretationCode"},{"identity":"sct-attr","map":"363713009 |Has interpretation|"}]},{"id":"Observation.component.referenceRange","path":"Observation.component.referenceRange","short":"Provides guide for interpretation of component result","definition":"Guidance on how to interpret the value by comparison to a normal or recommended range.","comment":"Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.","requirements":"Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.","min":0,"max":"*","base":{"path":"Observation.component.referenceRange","min":0,"max":"*"},"contentReference":"#Observation.referenceRange","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX.7"},{"identity":"rim","map":"outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"}]}]},"differential":{"element":[{"id":"Observation","path":"Observation","definition":"This profile is created to meet the 2015 Edition Common Clinical Data Set 'Laboratory test(s) and Laboratory value(s)/result(s)' requirements.","constraint":[{"key":"us-core-2","severity":"error","human":"If there is no component or hasMember element then either a value[x] or a data absent reason must be present","expression":"(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())","xpath":"exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)"}],"mustSupport":false,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Observation"}]},{"id":"Observation.status","path":"Observation.status","min":1,"max":"1","type":[{"code":"code"}],"mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/observation-status"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Observation.status"}]},{"id":"Observation.category","path":"Observation.category","slicing":{"discriminator":[{"type":"pattern","path":"$this"}],"rules":"open"},"min":1,"max":"*","type":[{"code":"CodeableConcept"}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Observation.category"}]},{"id":"Observation.category:Laboratory","path":"Observation.category","sliceName":"Laboratory","min":1,"max":"1","type":[{"code":"CodeableConcept"}],"patternCodeableConcept":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory"}]},"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Observation.category"}]},{"id":"Observation.code","path":"Observation.code","short":"Laboratory Test Name","definition":"The test that was performed. A LOINC **SHALL** be used if the concept is present in LOINC.","comment":"The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists. When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display.","alias":["Test Name","Observation Identifer"],"min":1,"max":"1","type":[{"code":"CodeableConcept"}],"mustSupport":true,"binding":{"strength":"extensible","description":"LOINC codes","valueSet":"http://hl7.org/fhir/ValueSet/observation-codes"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Observation.code"}]},{"id":"Observation.subject","path":"Observation.subject","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Observation.subject"}]},{"id":"Observation.effective[x]","path":"Observation.effective[x]","definition":"For lab tests this is the specimen collection date. For Ask at Order Entry Questions (AOE)'s this is the date the question was asked.","min":0,"max":"1","type":[{"code":"dateTime"},{"code":"Period"}],"condition":["us-core-1"],"constraint":[{"key":"us-core-1","severity":"error","human":"Datetime must be at least to day.","expression":"($this as dateTime).toString().length() >= 8","xpath":"f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)"}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Observation.effective[x]"}]},{"id":"Observation.value[x]","path":"Observation.value[x]","short":"Result Value","definition":"The Laboratory result value. If a coded value, the valueCodeableConcept.code **SHOULD** be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults). If a numeric value, valueQuantity.code **SHALL** be selected from [UCUM](http://unitsofmeasure.org). A FHIR [UCUM Codes value set](http://hl7.org/fhir/STU3/valueset-ucum-units.html) that defines all UCUM codes is in the FHIR specification.","min":0,"max":"1","condition":["us-core-2","us-core-3","us-core-4"],"constraint":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true}],"key":"us-core-4","severity":"warning","human":"SHOULD use Snomed CT for coded Results","expression":"valueCodeableConcept.coding.system.empty() or valueCodeableConcept.coding.system = 'http://snomed.info/sct'","xpath":"not(exists(f:valueCodeableConcept/f:coding/f:system) ) or f:valueCodeableConcept/f:coding/f:system[@value='http://snomed.info/sct']"},{"key":"us-core-3","severity":"error","human":"SHALL use UCUM for coded quantity units.","expression":"valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'","xpath":"not(exists(f:valueQuantity/f:system) ) or f:valueQuantity/f:system[@value='http://unitsofmeasure.org']"}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Observation.value[x]"}]},{"id":"Observation.dataAbsentReason","path":"Observation.dataAbsentReason","min":0,"max":"1","type":[{"code":"CodeableConcept"}],"condition":["us-core-2"],"mustSupport":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/data-absent-reason"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Observation.dataAbsentReason"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-organization.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-organization.json deleted file mode 100644 index b665de2b1c8..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-organization.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-organization","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Organization 0..*OrganizationA grouping of people or organizations with a common purpose
\".\"\".\"\".\" identifier S0..*(Slice Definition)Identifies this organization across multiple systems
Slice: Unordered, Open by pattern:$this
\".\"\".\"\".\"\".\" identifier:All Slices Content/Rules for all slices
\".\"\".\"\".\"\".\"\".\" system S0..1uriThe namespace for the identifier value
\".\"\".\"\".\"\".\"\".\" value S0..1stringThe value that is unique
\".\"\".\"\".\"\".\" identifier:NPI S0..1IdentifierNational Provider Identifier (NPI)
Required Pattern: At least the following
\".\"\".\"\".\"\".\"\".\" system1..1uriThe namespace for the identifier value
Fixed Value: http://hl7.org/fhir/sid/us-npi
\".\"\".\"\".\"\".\" identifier:CLIA 0..1IdentifierClinical Laboratory Improvement Amendments (CLIA) Number for laboratories
Required Pattern: At least the following
\".\"\".\"\".\"\".\"\".\" system1..1uriThe namespace for the identifier value
Fixed Value: urn:oid:2.16.840.1.113883.4.7
\".\"\".\"\".\" active S1..1booleanWhether the organization's record is still in active use
\".\"\".\"\".\" name S1..1stringName used for the organization
\".\"\".\"\".\" telecom S0..*ContactPointA contact detail for the organization
\".\"\".\"\".\" address S0..*AddressAn address for the organization
\".\"\".\"\".\"\".\" line S0..4stringStreet name, number, direction & P.O. Box etc.
\".\"\".\"\".\"\".\" city S0..1stringName of city, town etc.
\".\"\".\"\".\"\".\" state S0..1stringSub-unit of country (abbreviations ok)
Binding: USPS Two Letter Alphabetic Codes (extensible)
\".\"\".\"\".\"\".\" postalCode S0..1stringUS Zip Codes
\".\"\".\"\".\"\".\" country S0..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization","version":"3.1.1","name":"USCoreOrganizationProfile","title":"US Core Organization Profile","status":"active","experimental":false,"date":"2020-06-29","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines basic constraints and extensions on the Organization resource for use with other US Core resources","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"servd","uri":"http://www.omg.org/spec/ServD/1.0/","name":"ServD"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"}],"kind":"resource","abstract":false,"type":"Organization","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Organization","derivation":"constraint","snapshot":{"element":[{"id":"Organization","path":"Organization","short":"A grouping of people or organizations with a common purpose","definition":"A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, payer/insurer, etc.","min":0,"max":"*","base":{"path":"Organization","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"org-1","severity":"error","human":"The organization SHALL at least have a name or an identifier, and possibly more than one","expression":"(identifier.count() + name.count()) > 0","xpath":"count(f:identifier | f:name) > 0","source":"http://hl7.org/fhir/StructureDefinition/Organization"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"v2","map":"(also see master files messages)"},{"identity":"rim","map":"Organization(classCode=ORG, determinerCode=INST)"},{"identity":"servd","map":"Organization"}]},{"id":"Organization.id","path":"Organization.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"Organization.meta","path":"Organization.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"Organization.implicitRules","path":"Organization.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"Organization.language","path":"Organization.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"Organization.text","path":"Organization.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"Organization.contained","path":"Organization.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Organization.extension","path":"Organization.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Organization.modifierExtension","path":"Organization.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Organization.identifier","path":"Organization.identifier","slicing":{"discriminator":[{"type":"pattern","path":"$this"}],"rules":"open"},"short":"Identifies this organization across multiple systems","definition":"Identifier for the organization that is used to identify the organization across multiple disparate systems.","comment":"NPI preferred.","requirements":"Organizations are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the organization.","min":0,"max":"*","base":{"path":"Organization.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"condition":["org-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"XON.10 / XON.3"},{"identity":"rim","map":".scopes[Role](classCode=IDENT)"},{"identity":"servd","map":"./Identifiers"},{"identity":"servd","map":"n/a"}]},{"id":"Organization.identifier.id","path":"Organization.identifier.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Organization.identifier.extension","path":"Organization.identifier.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Organization.identifier.use","path":"Organization.identifier.use","short":"usual | official | temp | secondary | old (If known)","definition":"The purpose of this identifier.","comment":"Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.","requirements":"Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.","min":0,"max":"1","base":{"path":"Identifier.use","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"IdentifierUse"}],"strength":"required","description":"Identifies the purpose for this identifier, if known .","valueSet":"http://hl7.org/fhir/ValueSet/identifier-use|4.0.1"},"mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"Role.code or implied by context"}]},{"id":"Organization.identifier.type","path":"Organization.identifier.type","short":"Description of identifier","definition":"A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.","comment":"This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.","requirements":"Allows users to make use of identifiers when the identifier system is not known.","min":0,"max":"1","base":{"path":"Identifier.type","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"IdentifierType"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"extensible","description":"A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.","valueSet":"http://hl7.org/fhir/ValueSet/identifier-type"},"mapping":[{"identity":"v2","map":"CX.5"},{"identity":"rim","map":"Role.code or implied by context"}]},{"id":"Organization.identifier.system","path":"Organization.identifier.system","short":"The namespace for the identifier value","definition":"Establishes the namespace for the value - that is, a URL that describes a set values that are unique.","comment":"Identifier.system is always case sensitive.","requirements":"There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.","min":0,"max":"1","base":{"path":"Identifier.system","min":0,"max":"1"},"type":[{"code":"uri"}],"example":[{"label":"General","valueUri":"http://www.acme.com/identifiers/patient"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"CX.4 / EI-2-4"},{"identity":"rim","map":"II.root or Role.id.root"},{"identity":"servd","map":"./IdentifierType"}]},{"id":"Organization.identifier.value","path":"Organization.identifier.value","short":"The value that is unique","definition":"The portion of the identifier typically relevant to the user and which is unique within the context of the system.","comment":"If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.","min":0,"max":"1","base":{"path":"Identifier.value","min":0,"max":"1"},"type":[{"code":"string"}],"example":[{"label":"General","valueString":"123456"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"CX.1 / EI.1"},{"identity":"rim","map":"II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"},{"identity":"servd","map":"./Value"}]},{"id":"Organization.identifier.period","path":"Organization.identifier.period","short":"Time period when id is/was valid for use","definition":"Time period during which identifier is/was valid for use.","min":0,"max":"1","base":{"path":"Identifier.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"CX.7 + CX.8"},{"identity":"rim","map":"Role.effectiveTime or implied by context"},{"identity":"servd","map":"./StartDate and ./EndDate"}]},{"id":"Organization.identifier.assigner","path":"Organization.identifier.assigner","short":"Organization that issued id (may be just text)","definition":"Organization that issued/manages the identifier.","comment":"The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.","min":0,"max":"1","base":{"path":"Identifier.assigner","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"CX.4 / (CX.4,CX.9,CX.10)"},{"identity":"rim","map":"II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper"},{"identity":"servd","map":"./IdentifierIssuingAuthority"}]},{"id":"Organization.identifier:NPI","path":"Organization.identifier","sliceName":"NPI","short":"National Provider Identifier (NPI)","definition":"Identifier for the organization that is used to identify the organization across multiple disparate systems.","requirements":"Organizations are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the organization.","min":0,"max":"1","base":{"path":"Organization.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"patternIdentifier":{"system":"http://hl7.org/fhir/sid/us-npi"},"condition":["org-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"XON.10 / XON.3"},{"identity":"rim","map":".scopes[Role](classCode=IDENT)"},{"identity":"servd","map":"./Identifiers"},{"identity":"servd","map":"n/a"}]},{"id":"Organization.identifier:CLIA","path":"Organization.identifier","sliceName":"CLIA","short":"Clinical Laboratory Improvement Amendments (CLIA) Number for laboratories","definition":"Identifier for the organization that is used to identify the organization across multiple disparate systems.","requirements":"Organizations are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the organization.","min":0,"max":"1","base":{"path":"Organization.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"patternIdentifier":{"system":"urn:oid:2.16.840.1.113883.4.7"},"condition":["org-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":false,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"XON.10 / XON.3"},{"identity":"rim","map":".scopes[Role](classCode=IDENT)"},{"identity":"servd","map":"./Identifiers"},{"identity":"servd","map":"n/a"}]},{"id":"Organization.active","path":"Organization.active","short":"Whether the organization's record is still in active use","definition":"Whether the organization's record is still in active use.","comment":"This active flag is not intended to be used to mark an organization as temporarily closed or under construction. Instead the Location(s) within the Organization should have the suspended status. If further details of the reason for the suspension are required, then an extension on this element should be used.\n\nThis element is labeled as a modifier because it may be used to mark that the resource was created in error.","requirements":"Need a flag to indicate a record is no longer to be used and should generally be hidden for the user in the UI.","min":1,"max":"1","base":{"path":"Organization.active","min":0,"max":"1"},"type":[{"code":"boolean"}],"meaningWhenMissing":"This resource is generally assumed to be active if no value is provided for the active element","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid","isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.status"},{"identity":"v2","map":"No equivalent in HL7 v2"},{"identity":"rim","map":".status"},{"identity":"servd","map":"./Status (however this concept in ServD more covers why the organization is active or not, could be delisted, deregistered, not operational yet) this could alternatively be derived from ./StartDate and ./EndDate and given a context date."}]},{"id":"Organization.type","path":"Organization.type","short":"Kind of organization","definition":"The kind(s) of organization that this is.","comment":"Organizations can be corporations, wards, sections, clinical teams, government departments, etc. Note that code is generally a classifier of the type of organization; in many applications, codes are used to identity a particular organization (say, ward) as opposed to another of the same type - these are identifiers, not codes\n\nWhen considering if multiple types are appropriate, you should evaluate if child organizations would be a more appropriate use of the concept, as different types likely are in different sub-areas of the organization. This is most likely to be used where type values have orthogonal values, such as a religious, academic and medical center.\n\nWe expect that some jurisdictions will profile this optionality to be a single cardinality.","requirements":"Need to be able to track the kind of organization that this is - different organization types have different uses.","min":0,"max":"*","base":{"path":"Organization.type","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"OrganizationType"}],"strength":"example","description":"Used to categorize the organization.","valueSet":"http://hl7.org/fhir/ValueSet/organization-type"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"v2","map":"No equivalent in v2"},{"identity":"rim","map":".code"},{"identity":"servd","map":"n/a"}]},{"id":"Organization.name","path":"Organization.name","short":"Name used for the organization","definition":"A name associated with the organization.","comment":"If the name of an organization changes, consider putting the old name in the alias column so that it can still be located through searches.","requirements":"Need to use the name as the label of the organization.","min":1,"max":"1","base":{"path":"Organization.name","min":0,"max":"1"},"type":[{"code":"string"}],"condition":["org-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XON.1"},{"identity":"rim","map":".name"},{"identity":"servd","map":".PreferredName/Name"},{"identity":"servd","map":"./PrimaryAddress and ./OtherAddresses"}]},{"id":"Organization.alias","path":"Organization.alias","short":"A list of alternate names that the organization is known as, or was known as in the past","definition":"A list of alternate names that the organization is known as, or was known as in the past.","comment":"There are no dates associated with the alias/historic names, as this is not intended to track when names were used, but to assist in searching so that older names can still result in identifying the organization.","requirements":"Over time locations and organizations go through many changes and can be known by different names.\n\nFor searching knowing previous names that the organization was known by can be very useful.","min":0,"max":"*","base":{"path":"Organization.alias","min":0,"max":"*"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".name"}]},{"id":"Organization.telecom","path":"Organization.telecom","short":"A contact detail for the organization","definition":"A contact detail for the organization.","comment":"The use code 'home' is not to be used. Note that these contacts are not the contact details of people who are employed by or represent the organization, but official contacts for the organization itself.","requirements":"Human contact for the organization.","min":0,"max":"*","base":{"path":"Organization.telecom","min":0,"max":"*"},"type":[{"code":"ContactPoint"}],"condition":["org-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"org-3","severity":"error","human":"The telecom of an organization can never be of use 'home'","expression":"where(use = 'home').empty()","xpath":"count(f:use[@value='home']) = 0","source":"http://hl7.org/fhir/StructureDefinition/Organization"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"ORC-22?"},{"identity":"rim","map":".telecom"},{"identity":"servd","map":"./ContactPoints"}]},{"id":"Organization.address","path":"Organization.address","short":"An address for the organization","definition":"An address for the organization.","comment":"Organization may have multiple addresses with different uses or applicable periods. The use code 'home' is not to be used.","requirements":"May need to keep track of the organization's addresses for contacting, billing or reporting requirements.","min":0,"max":"*","base":{"path":"Organization.address","min":0,"max":"*"},"type":[{"code":"Address"}],"condition":["org-2"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"org-2","severity":"error","human":"An address of an organization can never be of use 'home'","expression":"where(use = 'home').empty()","xpath":"count(f:use[@value='home']) = 0","source":"http://hl7.org/fhir/StructureDefinition/Organization"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"ORC-23?"},{"identity":"rim","map":".address"},{"identity":"servd","map":"./PrimaryAddress and ./OtherAddresses"},{"identity":"servd","map":"n/a"}]},{"id":"Organization.address.id","path":"Organization.address.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Organization.address.extension","path":"Organization.address.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Organization.address.use","path":"Organization.address.use","short":"home | work | temp | old | billing - purpose of this address","definition":"The purpose of this address.","comment":"Applications can assume that an address is current unless it explicitly says that it is temporary or old.","requirements":"Allows an appropriate address to be chosen from a list of many.","min":0,"max":"1","base":{"path":"Address.use","min":0,"max":"1"},"type":[{"code":"code"}],"example":[{"label":"General","valueCode":"home"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"AddressUse"}],"strength":"required","description":"The use of an address.","valueSet":"http://hl7.org/fhir/ValueSet/address-use|4.0.1"},"mapping":[{"identity":"v2","map":"XAD.7"},{"identity":"rim","map":"unique(./use)"},{"identity":"servd","map":"./AddressPurpose"}]},{"id":"Organization.address.type","path":"Organization.address.type","short":"postal | physical | both","definition":"Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.","comment":"The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R4/location.html#) resource).","min":0,"max":"1","base":{"path":"Address.type","min":0,"max":"1"},"type":[{"code":"code"}],"example":[{"label":"General","valueCode":"both"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"AddressType"}],"strength":"required","description":"The type of an address (physical / postal).","valueSet":"http://hl7.org/fhir/ValueSet/address-type|4.0.1"},"mapping":[{"identity":"v2","map":"XAD.18"},{"identity":"rim","map":"unique(./use)"},{"identity":"vcard","map":"address type parameter"}]},{"id":"Organization.address.text","path":"Organization.address.text","short":"Text representation of the address","definition":"Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.","comment":"Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.","requirements":"A renderable, unencoded form.","min":0,"max":"1","base":{"path":"Address.text","min":0,"max":"1"},"type":[{"code":"string"}],"example":[{"label":"General","valueString":"137 Nowhere Street, Erewhon 9132"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6"},{"identity":"rim","map":"./formatted"},{"identity":"vcard","map":"address label parameter"}]},{"id":"Organization.address.line","path":"Organization.address.line","short":"Street name, number, direction & P.O. Box etc.","definition":"This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.","min":0,"max":"4","base":{"path":"Address.line","min":0,"max":"*"},"type":[{"code":"string"}],"orderMeaning":"The order in which lines should appear in an address label","example":[{"label":"General","valueString":"137 Nowhere Street"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)"},{"identity":"rim","map":"AD.part[parttype = AL]"},{"identity":"vcard","map":"street"},{"identity":"servd","map":"./StreetAddress (newline delimitted)"}]},{"id":"Organization.address.city","path":"Organization.address.city","short":"Name of city, town etc.","definition":"The name of the city, town, suburb, village or other community or delivery center.","alias":["Municpality"],"min":0,"max":"1","base":{"path":"Address.city","min":0,"max":"1"},"type":[{"code":"string"}],"example":[{"label":"General","valueString":"Erewhon"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.3"},{"identity":"rim","map":"AD.part[parttype = CTY]"},{"identity":"vcard","map":"locality"},{"identity":"servd","map":"./Jurisdiction"}]},{"id":"Organization.address.district","path":"Organization.address.district","short":"District name (aka county)","definition":"The name of the administrative area (county).","comment":"District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.","alias":["County"],"min":0,"max":"1","base":{"path":"Address.district","min":0,"max":"1"},"type":[{"code":"string"}],"example":[{"label":"General","valueString":"Madison"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.9"},{"identity":"rim","map":"AD.part[parttype = CNT | CPA]"}]},{"id":"Organization.address.state","path":"Organization.address.state","short":"Sub-unit of country (abbreviations ok)","definition":"Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).","alias":["Province","Territory"],"min":0,"max":"1","base":{"path":"Address.state","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","description":"Two letter USPS alphabetic codes.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state"},"mapping":[{"identity":"v2","map":"XAD.4"},{"identity":"rim","map":"AD.part[parttype = STA]"},{"identity":"vcard","map":"region"},{"identity":"servd","map":"./Region"},{"identity":"servd","map":"./Sites"}]},{"id":"Organization.address.postalCode","path":"Organization.address.postalCode","short":"US Zip Codes","definition":"A postal code designating a region defined by the postal service.","alias":["Zip"],"min":0,"max":"1","base":{"path":"Address.postalCode","min":0,"max":"1"},"type":[{"code":"string"}],"example":[{"label":"General","valueString":"9132"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.5"},{"identity":"rim","map":"AD.part[parttype = ZIP]"},{"identity":"vcard","map":"code"},{"identity":"servd","map":"./PostalIdentificationCode"}]},{"id":"Organization.address.country","path":"Organization.address.country","short":"Country (e.g. can be ISO 3166 2 or 3 letter code)","definition":"Country - a nation as commonly understood or generally accepted.","comment":"ISO 3166 3 letter codes can be used in place of a human readable country name.","min":0,"max":"1","base":{"path":"Address.country","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.6"},{"identity":"rim","map":"AD.part[parttype = CNT]"},{"identity":"vcard","map":"country"},{"identity":"servd","map":"./Country"}]},{"id":"Organization.address.period","path":"Organization.address.period","short":"Time period when address was/is in use","definition":"Time period when address was/is in use.","requirements":"Allows addresses to be placed in historical context.","min":0,"max":"1","base":{"path":"Address.period","min":0,"max":"1"},"type":[{"code":"Period"}],"example":[{"label":"General","valuePeriod":{"start":"2010-03-23","end":"2010-07-01"}}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.12 / XAD.13 + XAD.14"},{"identity":"rim","map":"./usablePeriod[type=\"IVL\"]"},{"identity":"servd","map":"./StartDate and ./EndDate"}]},{"id":"Organization.partOf","path":"Organization.partOf","short":"The organization of which this organization forms a part","definition":"The organization of which this organization forms a part.","requirements":"Need to be able to track the hierarchy of organizations within an organization.","min":0,"max":"1","base":{"path":"Organization.partOf","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy","valueBoolean":true}],"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"No equivalent in HL7 v2"},{"identity":"rim","map":".playedBy[classCode=Part].scoper"},{"identity":"servd","map":"n/a"}]},{"id":"Organization.contact","path":"Organization.contact","short":"Contact for the organization for a certain purpose","definition":"Contact for the organization for a certain purpose.","comment":"Where multiple contacts for the same purpose are provided there is a standard extension that can be used to determine which one is the preferred contact to use.","requirements":"Need to keep track of assigned contact points within bigger organization.","min":0,"max":"*","base":{"path":"Organization.contact","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".contactParty"}]},{"id":"Organization.contact.id","path":"Organization.contact.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Organization.contact.extension","path":"Organization.contact.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Organization.contact.modifierExtension","path":"Organization.contact.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Organization.contact.purpose","path":"Organization.contact.purpose","short":"The type of contact","definition":"Indicates a purpose for which the contact can be reached.","requirements":"Need to distinguish between multiple contact persons.","min":0,"max":"1","base":{"path":"Organization.contact.purpose","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ContactPartyType"}],"strength":"extensible","description":"The purpose for which you would contact a contact party.","valueSet":"http://hl7.org/fhir/ValueSet/contactentity-type"},"mapping":[{"identity":"rim","map":"./type"}]},{"id":"Organization.contact.name","path":"Organization.contact.name","short":"A name associated with the contact","definition":"A name associated with the contact.","requirements":"Need to be able to track the person by name.","min":0,"max":"1","base":{"path":"Organization.contact.name","min":0,"max":"1"},"type":[{"code":"HumanName"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"PID-5, PID-9"},{"identity":"rim","map":"./name"}]},{"id":"Organization.contact.telecom","path":"Organization.contact.telecom","short":"Contact details (telephone, email, etc.) for a contact","definition":"A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.","requirements":"People have (primary) ways to contact them in some way such as phone, email.","min":0,"max":"*","base":{"path":"Organization.contact.telecom","min":0,"max":"*"},"type":[{"code":"ContactPoint"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"PID-13, PID-14"},{"identity":"rim","map":"./telecom"}]},{"id":"Organization.contact.address","path":"Organization.contact.address","short":"Visiting or postal addresses for the contact","definition":"Visiting or postal addresses for the contact.","requirements":"May need to keep track of a contact party's address for contacting, billing or reporting requirements.","min":0,"max":"1","base":{"path":"Organization.contact.address","min":0,"max":"1"},"type":[{"code":"Address"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"PID-11"},{"identity":"rim","map":"./addr"}]},{"id":"Organization.endpoint","path":"Organization.endpoint","short":"Technical endpoints providing access to services operated for the organization","definition":"Technical endpoints providing access to services operated for the organization.","requirements":"Organizations have multiple systems that provide various services and need to be able to define the technical connection details for how to connect to them, and for what purpose.","min":0,"max":"*","base":{"path":"Organization.endpoint","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Endpoint"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]}]},"differential":{"element":[{"id":"Organization","path":"Organization","mustSupport":false,"mapping":[{"identity":"servd","map":"Organization"}]},{"id":"Organization.identifier","path":"Organization.identifier","slicing":{"discriminator":[{"type":"pattern","path":"$this"}],"rules":"open"},"comment":"NPI preferred.","min":0,"max":"*","type":[{"code":"Identifier"}],"mustSupport":true,"mapping":[{"identity":"servd","map":"n/a"}]},{"id":"Organization.identifier.system","path":"Organization.identifier.system","min":0,"max":"1","type":[{"code":"uri"}],"mustSupport":true},{"id":"Organization.identifier.value","path":"Organization.identifier.value","min":0,"max":"1","type":[{"code":"string"}],"mustSupport":true},{"id":"Organization.identifier:NPI","path":"Organization.identifier","sliceName":"NPI","short":"National Provider Identifier (NPI)","min":0,"max":"1","type":[{"code":"Identifier"}],"patternIdentifier":{"system":"http://hl7.org/fhir/sid/us-npi"},"mustSupport":true,"mapping":[{"identity":"servd","map":"n/a"}]},{"id":"Organization.identifier:CLIA","path":"Organization.identifier","sliceName":"CLIA","short":"Clinical Laboratory Improvement Amendments (CLIA) Number for laboratories","min":0,"max":"1","type":[{"code":"Identifier"}],"patternIdentifier":{"system":"urn:oid:2.16.840.1.113883.4.7"},"mustSupport":false,"mapping":[{"identity":"servd","map":"n/a"}]},{"id":"Organization.active","path":"Organization.active","min":1,"max":"1","type":[{"code":"boolean"}],"mustSupport":true},{"id":"Organization.name","path":"Organization.name","min":1,"max":"1","type":[{"code":"string"}],"mustSupport":true,"mapping":[{"identity":"servd","map":"./PrimaryAddress and ./OtherAddresses"}]},{"id":"Organization.telecom","path":"Organization.telecom","min":0,"max":"*","type":[{"code":"ContactPoint"}],"mustSupport":true},{"id":"Organization.address","path":"Organization.address","min":0,"max":"*","type":[{"code":"Address"}],"mustSupport":true,"mapping":[{"identity":"servd","map":"n/a"}]},{"id":"Organization.address.line","path":"Organization.address.line","min":0,"max":"4","type":[{"code":"string"}],"mustSupport":true},{"id":"Organization.address.city","path":"Organization.address.city","min":0,"max":"1","type":[{"code":"string"}],"mustSupport":true},{"id":"Organization.address.state","path":"Organization.address.state","min":0,"max":"1","type":[{"code":"string"}],"mustSupport":true,"binding":{"strength":"extensible","description":"Two letter USPS alphabetic codes.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state"},"mapping":[{"identity":"servd","map":"./Sites"}]},{"id":"Organization.address.postalCode","path":"Organization.address.postalCode","short":"US Zip Codes","min":0,"max":"1","type":[{"code":"string"}],"mustSupport":true},{"id":"Organization.address.country","path":"Organization.address.country","min":0,"max":"1","type":[{"code":"string"}],"mustSupport":true}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-patient.json deleted file mode 100644 index 30f6aa9820b..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-patient.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-patient","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Patient 0..*PatientInformation about an individual or animal receiving health care services
\".\"\".\"\".\" us-core-race S0..1(Complex)US Core Race Extension
URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-race
\".\"\".\"\".\" us-core-ethnicity S0..1(Complex)US Core ethnicity Extension
URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity
\".\"\".\"\".\" us-core-birthsex S0..1codeExtension
URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex
Binding: Birth Sex (required)
\".\"\".\"\".\" identifier S1..*IdentifierAn identifier for this patient
\".\"\".\"\".\"\".\" system S1..1uriThe namespace for the identifier value
\".\"\".\"\".\"\".\" value S1..1stringThe value that is unique within the system.
\".\"\".\"\".\" name SI1..*HumanNameA name associated with the patient
us-core-8: Either Patient.name.given and/or Patient.name.family SHALL be present or a Data Absent Reason Extension SHALL be present.
\".\"\".\"\".\"\".\" family SI0..1stringFamily name (often called 'Surname')
\".\"\".\"\".\"\".\" given SI0..*stringGiven names (not always 'first'). Includes middle names
\".\"\".\"\".\" telecom S0..*ContactPointA contact detail for the individual
\".\"\".\"\".\"\".\" system S1..1codephone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required)
\".\"\".\"\".\"\".\" value S1..1stringThe actual contact point details
\".\"\".\"\".\"\".\" use S0..1codehome | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required)
\".\"\".\"\".\" gender S1..1codemale | female | other | unknown
Binding: AdministrativeGender (required)
\".\"\".\"\".\" birthDate S0..1dateThe date of birth for the individual
\".\"\".\"\".\" address S0..*AddressAn address for the individual
\".\"\".\"\".\"\".\" line S0..*stringStreet name, number, direction & P.O. Box etc.
\".\"\".\"\".\"\".\" city S0..1stringName of city, town etc.
\".\"\".\"\".\"\".\" state S0..1stringSub-unit of country (abbreviations ok)
Binding: USPS Two Letter Alphabetic Codes (extensible)
\".\"\".\"\".\"\".\" postalCode S0..1stringUS Zip Codes
\".\"\".\"\".\"\".\" period S0..1PeriodTime period when address was/is in use
\".\"\".\"\".\" communication S0..*BackboneElementA language which may be used to communicate with the patient about his or her health
\".\"\".\"\".\"\".\" language S1..1CodeableConceptThe language which can be used to communicate with the patient about his or her health
Binding: Language codes with language and optionally a region modifier (extensible)

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient","version":"3.1.1","name":"USCorePatientProfile","title":"US Core Patient Profile","status":"active","experimental":false,"date":"2020-06-27","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines constraints and extensions on the patient resource for the minimal set of data to query and retrieve patient demographic information.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"cda","uri":"http://hl7.org/v3/cda","name":"CDA (R2)"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"},{"identity":"loinc","uri":"http://loinc.org","name":"LOINC code for the element"}],"kind":"resource","abstract":false,"type":"Patient","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Patient","derivation":"constraint","snapshot":{"element":[{"id":"Patient","path":"Patient","short":"Information about an individual or animal receiving health care services","definition":"The US Core Patient Profile is based upon the core FHIR Patient Resource and designed to meet the applicable patient demographic data elements from the 2015 Edition Common Clinical Data Set.","alias":["SubjectOfCare Client Resident"],"min":0,"max":"*","base":{"path":"Patient","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"rim","map":"Patient[classCode=PAT]"},{"identity":"cda","map":"ClinicalDocument.recordTarget.patientRole"},{"identity":"argonaut-dq-dstu2","map":"Patient"}]},{"id":"Patient.id","path":"Patient.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"Patient.meta","path":"Patient.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"Patient.implicitRules","path":"Patient.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"Patient.language","path":"Patient.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"Patient.text","path":"Patient.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"Patient.contained","path":"Patient.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Patient.extension","path":"Patient.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"ordered":false,"rules":"open"},"short":"Extension","definition":"An Extension","min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false},{"id":"Patient.extension:race","path":"Patient.extension","sliceName":"race","short":"US Core Race Extension","definition":"Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.","min":0,"max":"1","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"]}],"condition":["ele-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"mustSupport":true,"isModifier":false,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Patient.extension"}]},{"id":"Patient.extension:ethnicity","path":"Patient.extension","sliceName":"ethnicity","short":"US Core ethnicity Extension","definition":"Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.","min":0,"max":"1","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"]}],"condition":["ele-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"mustSupport":true,"isModifier":false,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Patient.extension"}]},{"id":"Patient.extension:birthsex","path":"Patient.extension","sliceName":"birthsex","short":"Extension","definition":"A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc).","comment":"The codes required are intended to present birth sex (i.e., the sex recorded on the patient’s birth certificate) and not gender identity or reassigned sex.","min":0,"max":"1","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"]}],"condition":["ele-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"mustSupport":true,"isModifier":false,"mapping":[{"identity":"rim","map":"player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"},{"identity":"iso11179","map":".patient.administrativeGenderCode"},{"identity":"argonaut-dq-dstu2","map":"Patient.extension"}]},{"id":"Patient.modifierExtension","path":"Patient.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Patient.identifier","path":"Patient.identifier","short":"An identifier for this patient","definition":"An identifier for this patient.","requirements":"Patients are almost always assigned specific numerical identifiers.","min":1,"max":"*","base":{"path":"Patient.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"PID-3"},{"identity":"rim","map":"id"},{"identity":"cda","map":".id"},{"identity":"argonaut-dq-dstu2","map":"Patient.identifier"}]},{"id":"Patient.identifier.id","path":"Patient.identifier.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Patient.identifier.extension","path":"Patient.identifier.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Patient.identifier.use","path":"Patient.identifier.use","short":"usual | official | temp | secondary | old (If known)","definition":"The purpose of this identifier.","comment":"Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.","requirements":"Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.","min":0,"max":"1","base":{"path":"Identifier.use","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"IdentifierUse"}],"strength":"required","description":"Identifies the purpose for this identifier, if known .","valueSet":"http://hl7.org/fhir/ValueSet/identifier-use|4.0.1"},"mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"Role.code or implied by context"}]},{"id":"Patient.identifier.type","path":"Patient.identifier.type","short":"Description of identifier","definition":"A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.","comment":"This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.","requirements":"Allows users to make use of identifiers when the identifier system is not known.","min":0,"max":"1","base":{"path":"Identifier.type","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"IdentifierType"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"extensible","description":"A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.","valueSet":"http://hl7.org/fhir/ValueSet/identifier-type"},"mapping":[{"identity":"v2","map":"CX.5"},{"identity":"rim","map":"Role.code or implied by context"}]},{"id":"Patient.identifier.system","path":"Patient.identifier.system","short":"The namespace for the identifier value","definition":"Establishes the namespace for the value - that is, a URL that describes a set values that are unique.","comment":"Identifier.system is always case sensitive.","requirements":"There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.","min":1,"max":"1","base":{"path":"Identifier.system","min":0,"max":"1"},"type":[{"code":"uri"}],"example":[{"label":"General","valueUri":"http://www.acme.com/identifiers/patient"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"CX.4 / EI-2-4"},{"identity":"rim","map":"II.root or Role.id.root"},{"identity":"servd","map":"./IdentifierType"},{"identity":"argonaut-dq-dstu2","map":"Patient.identifier.system"}]},{"id":"Patient.identifier.value","path":"Patient.identifier.value","short":"The value that is unique within the system.","definition":"The portion of the identifier typically relevant to the user and which is unique within the context of the system.","comment":"If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.","min":1,"max":"1","base":{"path":"Identifier.value","min":0,"max":"1"},"type":[{"code":"string"}],"example":[{"label":"General","valueString":"123456"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"CX.1 / EI.1"},{"identity":"rim","map":"II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"},{"identity":"servd","map":"./Value"},{"identity":"argonaut-dq-dstu2","map":"Patient.identifier.value"}]},{"id":"Patient.identifier.period","path":"Patient.identifier.period","short":"Time period when id is/was valid for use","definition":"Time period during which identifier is/was valid for use.","min":0,"max":"1","base":{"path":"Identifier.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"CX.7 + CX.8"},{"identity":"rim","map":"Role.effectiveTime or implied by context"},{"identity":"servd","map":"./StartDate and ./EndDate"}]},{"id":"Patient.identifier.assigner","path":"Patient.identifier.assigner","short":"Organization that issued id (may be just text)","definition":"Organization that issued/manages the identifier.","comment":"The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.","min":0,"max":"1","base":{"path":"Identifier.assigner","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"CX.4 / (CX.4,CX.9,CX.10)"},{"identity":"rim","map":"II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper"},{"identity":"servd","map":"./IdentifierIssuingAuthority"}]},{"id":"Patient.active","path":"Patient.active","short":"Whether this patient's record is in active use","definition":"Whether this patient record is in active use. \nMany systems use this property to mark as non-current patients, such as those that have not been seen for a period of time based on an organization's business rules.\n\nIt is often used to filter patient lists to exclude inactive patients\n\nDeceased patients may also be marked as inactive for the same reasons, but may be active for some time after death.","comment":"If a record is inactive, and linked to an active record, then future patient/record updates should occur on the other patient.","requirements":"Need to be able to mark a patient record as not to be used because it was created in error.","min":0,"max":"1","base":{"path":"Patient.active","min":0,"max":"1"},"type":[{"code":"boolean"}],"meaningWhenMissing":"This resource is generally assumed to be active if no value is provided for the active element","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid","isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.status"},{"identity":"rim","map":"statusCode"},{"identity":"cda","map":"n/a"}]},{"id":"Patient.name","path":"Patient.name","short":"A name associated with the patient","definition":"A name associated with the individual.","comment":"A patient may have multiple names with different uses or applicable periods. For animals, the name is a \"HumanName\" in the sense that is assigned and used by humans and has the same patterns.","requirements":"Need to be able to track the patient by multiple names. Examples are your official name and a partner name.","min":1,"max":"*","base":{"path":"Patient.name","min":0,"max":"*"},"type":[{"code":"HumanName"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"us-core-8","severity":"error","human":"Either Patient.name.given and/or Patient.name.family SHALL be present or a Data Absent Reason Extension SHALL be present.","expression":"(family.exists() or given.exists()) xor extension.where(url='http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()","xpath":"(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason' and not(/f:family or /f:given)) or (not(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason') and (/f:family or /f:given))"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"PID-5, PID-9"},{"identity":"rim","map":"name"},{"identity":"cda","map":".patient.name"},{"identity":"argonaut-dq-dstu2","map":"Patient.name"}]},{"id":"Patient.name.id","path":"Patient.name.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Patient.name.extension","path":"Patient.name.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Patient.name.use","path":"Patient.name.use","short":"usual | official | temp | nickname | anonymous | old | maiden","definition":"Identifies the purpose for this name.","comment":"Applications can assume that a name is current unless it explicitly says that it is temporary or old.","requirements":"Allows the appropriate name for a particular context of use to be selected from among a set of names.","min":0,"max":"1","base":{"path":"HumanName.use","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"NameUse"}],"strength":"required","description":"The use of a human name.","valueSet":"http://hl7.org/fhir/ValueSet/name-use|4.0.1"},"mapping":[{"identity":"v2","map":"XPN.7, but often indicated by which field contains the name"},{"identity":"rim","map":"unique(./use)"},{"identity":"servd","map":"./NamePurpose"}]},{"id":"Patient.name.text","path":"Patient.name.text","short":"Text representation of the full name","definition":"Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.","comment":"Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.","requirements":"A renderable, unencoded form.","min":0,"max":"1","base":{"path":"HumanName.text","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"implied by XPN.11"},{"identity":"rim","map":"./formatted"}]},{"id":"Patient.name.family","path":"Patient.name.family","short":"Family name (often called 'Surname')","definition":"The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.","comment":"Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).","alias":["surname"],"min":0,"max":"1","base":{"path":"HumanName.family","min":0,"max":"1"},"type":[{"code":"string"}],"condition":["us-core-8"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XPN.1/FN.1"},{"identity":"rim","map":"./part[partType = FAM]"},{"identity":"servd","map":"./FamilyName"},{"identity":"argonaut-dq-dstu2","map":"Patient.name.family"}]},{"id":"Patient.name.given","path":"Patient.name.given","short":"Given names (not always 'first'). Includes middle names","definition":"Given name.","comment":"If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations. This element is not called \"first name\" since given names do not always come first.","alias":["first name","middle name"],"min":0,"max":"*","base":{"path":"HumanName.given","min":0,"max":"*"},"type":[{"code":"string"}],"orderMeaning":"Given Names appear in the correct order for presenting the name","condition":["us-core-8"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XPN.2 + XPN.3"},{"identity":"rim","map":"./part[partType = GIV]"},{"identity":"servd","map":"./GivenNames"},{"identity":"argonaut-dq-dstu2","map":"Patient.name.given"}]},{"id":"Patient.name.prefix","path":"Patient.name.prefix","short":"Parts that come before the name","definition":"Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.","min":0,"max":"*","base":{"path":"HumanName.prefix","min":0,"max":"*"},"type":[{"code":"string"}],"orderMeaning":"Prefixes appear in the correct order for presenting the name","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XPN.5"},{"identity":"rim","map":"./part[partType = PFX]"},{"identity":"servd","map":"./TitleCode"}]},{"id":"Patient.name.suffix","path":"Patient.name.suffix","short":"Parts that come after the name","definition":"Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.","min":0,"max":"*","base":{"path":"HumanName.suffix","min":0,"max":"*"},"type":[{"code":"string"}],"orderMeaning":"Suffixes appear in the correct order for presenting the name","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XPN/4"},{"identity":"rim","map":"./part[partType = SFX]"}]},{"id":"Patient.name.period","path":"Patient.name.period","short":"Time period when name was/is in use","definition":"Indicates the period of time when this name was valid for the named person.","requirements":"Allows names to be placed in historical context.","min":0,"max":"1","base":{"path":"HumanName.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XPN.13 + XPN.14"},{"identity":"rim","map":"./usablePeriod[type=\"IVL\"]"},{"identity":"servd","map":"./StartDate and ./EndDate"}]},{"id":"Patient.telecom","path":"Patient.telecom","short":"A contact detail for the individual","definition":"A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.","comment":"A Patient may have multiple ways to be contacted with different uses or applicable periods. May need to have options for contacting the person urgently and also to help with identification. The address might not go directly to the individual, but may reach another party that is able to proxy for the patient (i.e. home phone, or pet owner's phone).","requirements":"People have (primary) ways to contact them in some way such as phone, email.","min":0,"max":"*","base":{"path":"Patient.telecom","min":0,"max":"*"},"type":[{"code":"ContactPoint"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"PID-13, PID-14, PID-40"},{"identity":"rim","map":"telecom"},{"identity":"cda","map":".telecom"},{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.telecom.id","path":"Patient.telecom.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Patient.telecom.extension","path":"Patient.telecom.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Patient.telecom.system","path":"Patient.telecom.system","short":"phone | fax | email | pager | url | sms | other","definition":"Telecommunications form for contact point - what communications system is required to make use of the contact.","min":1,"max":"1","base":{"path":"ContactPoint.system","min":0,"max":"1"},"type":[{"code":"code"}],"condition":["cpt-2"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"required","description":"Telecommunications form for contact point.","valueSet":"http://hl7.org/fhir/ValueSet/contact-point-system"},"mapping":[{"identity":"v2","map":"XTN.3"},{"identity":"rim","map":"./scheme"},{"identity":"servd","map":"./ContactPointType"},{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.telecom.value","path":"Patient.telecom.value","short":"The actual contact point details","definition":"The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).","comment":"Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.","requirements":"Need to support legacy numbers that are not in a tightly controlled format.","min":1,"max":"1","base":{"path":"ContactPoint.value","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XTN.1 (or XTN.12)"},{"identity":"rim","map":"./url"},{"identity":"servd","map":"./Value"},{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.telecom.use","path":"Patient.telecom.use","short":"home | work | temp | old | mobile - purpose of this contact point","definition":"Identifies the purpose for the contact point.","comment":"Applications can assume that a contact is current unless it explicitly says that it is temporary or old.","requirements":"Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.","min":0,"max":"1","base":{"path":"ContactPoint.use","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/contact-point-use"},"mapping":[{"identity":"v2","map":"XTN.2 - but often indicated by field"},{"identity":"rim","map":"unique(./use)"},{"identity":"servd","map":"./ContactPointPurpose"},{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.telecom.rank","path":"Patient.telecom.rank","short":"Specify preferred order of use (1 = highest)","definition":"Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.","comment":"Note that rank does not necessarily follow the order in which the contacts are represented in the instance.","min":0,"max":"1","base":{"path":"ContactPoint.rank","min":0,"max":"1"},"type":[{"code":"positiveInt"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"n/a"},{"identity":"rim","map":"n/a"}]},{"id":"Patient.telecom.period","path":"Patient.telecom.period","short":"Time period when the contact point was/is in use","definition":"Time period when the contact point was/is in use.","min":0,"max":"1","base":{"path":"ContactPoint.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"./usablePeriod[type=\"IVL\"]"},{"identity":"servd","map":"./StartDate and ./EndDate"}]},{"id":"Patient.gender","path":"Patient.gender","short":"male | female | other | unknown","definition":"Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.","comment":"The gender might not match the biological sex as determined by genetics or the individual's preferred identification. Note that for both humans and particularly animals, there are other legitimate possibilities than male and female, though the vast majority of systems and contexts only support male and female. Systems providing decision support or enforcing business rules should ideally do this on the basis of Observations dealing with the specific sex or gender aspect of interest (anatomical, chromosomal, social, etc.) However, because these observations are infrequently recorded, defaulting to the administrative gender is common practice. Where such defaulting occurs, rule enforcement should allow for the variation between administrative and biological, chromosomal and other gender aspects. For example, an alert about a hysterectomy on a male should be handled as a warning or overridable error, not a \"hard\" error. See the Patient Gender and Sex section for additional information about communicating patient gender and sex.","requirements":"Needed for identification of the individual, in combination with (at least) name and birth date.","min":1,"max":"1","base":{"path":"Patient.gender","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/administrative-gender"},"mapping":[{"identity":"v2","map":"PID-8"},{"identity":"rim","map":"player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"},{"identity":"cda","map":".patient.administrativeGenderCode"},{"identity":"argonaut-dq-dstu2","map":"Patient.gender"}]},{"id":"Patient.birthDate","path":"Patient.birthDate","short":"The date of birth for the individual","definition":"The date of birth for the individual.","comment":"At least an estimated year should be provided as a guess if the real DOB is unknown There is a standard extension \"patient-birthTime\" available that should be used where Time is required (such as in maternity/infant care systems).","requirements":"Age of the individual drives many clinical processes.","min":0,"max":"1","base":{"path":"Patient.birthDate","min":0,"max":"1"},"type":[{"code":"date"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"PID-7"},{"identity":"rim","map":"player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime"},{"identity":"cda","map":".patient.birthTime"},{"identity":"loinc","map":"21112-8"},{"identity":"argonaut-dq-dstu2","map":"Patient.birthDate"}]},{"id":"Patient.deceased[x]","path":"Patient.deceased[x]","short":"Indicates if the individual is deceased or not","definition":"Indicates if the individual is deceased or not.","comment":"If there's no value in the instance, it means there is no statement on whether or not the individual is deceased. Most systems will interpret the absence of a value as a sign of the person being alive.","requirements":"The fact that a patient is deceased influences the clinical process. Also, in human communication and relation management it is necessary to know whether the person is alive.","min":0,"max":"1","base":{"path":"Patient.deceased[x]","min":0,"max":"1"},"type":[{"code":"boolean"},{"code":"dateTime"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different.","isSummary":true,"mapping":[{"identity":"v2","map":"PID-30 (bool) and PID-29 (datetime)"},{"identity":"rim","map":"player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime"},{"identity":"cda","map":"n/a"}]},{"id":"Patient.address","path":"Patient.address","short":"An address for the individual","definition":"An address for the individual.","comment":"Patient may have multiple addresses with different uses or applicable periods.","requirements":"May need to keep track of patient addresses for contacting, billing or reporting requirements and also to help with identification.","min":0,"max":"*","base":{"path":"Patient.address","min":0,"max":"*"},"type":[{"code":"Address"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"PID-11"},{"identity":"rim","map":"addr"},{"identity":"cda","map":".addr"},{"identity":"argonaut-dq-dstu2","map":"Patient.birthDate"}]},{"id":"Patient.address.id","path":"Patient.address.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Patient.address.extension","path":"Patient.address.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Patient.address.use","path":"Patient.address.use","short":"home | work | temp | old | billing - purpose of this address","definition":"The purpose of this address.","comment":"Applications can assume that an address is current unless it explicitly says that it is temporary or old.","requirements":"Allows an appropriate address to be chosen from a list of many.","min":0,"max":"1","base":{"path":"Address.use","min":0,"max":"1"},"type":[{"code":"code"}],"example":[{"label":"General","valueCode":"home"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"AddressUse"}],"strength":"required","description":"The use of an address.","valueSet":"http://hl7.org/fhir/ValueSet/address-use|4.0.1"},"mapping":[{"identity":"v2","map":"XAD.7"},{"identity":"rim","map":"unique(./use)"},{"identity":"servd","map":"./AddressPurpose"}]},{"id":"Patient.address.type","path":"Patient.address.type","short":"postal | physical | both","definition":"Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.","comment":"The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R4/location.html#) resource).","min":0,"max":"1","base":{"path":"Address.type","min":0,"max":"1"},"type":[{"code":"code"}],"example":[{"label":"General","valueCode":"both"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"AddressType"}],"strength":"required","description":"The type of an address (physical / postal).","valueSet":"http://hl7.org/fhir/ValueSet/address-type|4.0.1"},"mapping":[{"identity":"v2","map":"XAD.18"},{"identity":"rim","map":"unique(./use)"},{"identity":"vcard","map":"address type parameter"}]},{"id":"Patient.address.text","path":"Patient.address.text","short":"Text representation of the address","definition":"Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.","comment":"Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.","requirements":"A renderable, unencoded form.","min":0,"max":"1","base":{"path":"Address.text","min":0,"max":"1"},"type":[{"code":"string"}],"example":[{"label":"General","valueString":"137 Nowhere Street, Erewhon 9132"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6"},{"identity":"rim","map":"./formatted"},{"identity":"vcard","map":"address label parameter"}]},{"id":"Patient.address.line","path":"Patient.address.line","short":"Street name, number, direction & P.O. Box etc.","definition":"This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.","min":0,"max":"*","base":{"path":"Address.line","min":0,"max":"*"},"type":[{"code":"string"}],"orderMeaning":"The order in which lines should appear in an address label","example":[{"label":"General","valueString":"137 Nowhere Street"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)"},{"identity":"rim","map":"AD.part[parttype = AL]"},{"identity":"vcard","map":"street"},{"identity":"servd","map":"./StreetAddress (newline delimitted)"},{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.address.city","path":"Patient.address.city","short":"Name of city, town etc.","definition":"The name of the city, town, suburb, village or other community or delivery center.","alias":["Municpality"],"min":0,"max":"1","base":{"path":"Address.city","min":0,"max":"1"},"type":[{"code":"string"}],"example":[{"label":"General","valueString":"Erewhon"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.3"},{"identity":"rim","map":"AD.part[parttype = CTY]"},{"identity":"vcard","map":"locality"},{"identity":"servd","map":"./Jurisdiction"},{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.address.district","path":"Patient.address.district","short":"District name (aka county)","definition":"The name of the administrative area (county).","comment":"District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.","alias":["County"],"min":0,"max":"1","base":{"path":"Address.district","min":0,"max":"1"},"type":[{"code":"string"}],"example":[{"label":"General","valueString":"Madison"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.9"},{"identity":"rim","map":"AD.part[parttype = CNT | CPA]"}]},{"id":"Patient.address.state","path":"Patient.address.state","short":"Sub-unit of country (abbreviations ok)","definition":"Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).","alias":["Province","Territory"],"min":0,"max":"1","base":{"path":"Address.state","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","description":"Two Letter USPS alphabetic codes.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state"},"mapping":[{"identity":"v2","map":"XAD.4"},{"identity":"rim","map":"AD.part[parttype = STA]"},{"identity":"vcard","map":"region"},{"identity":"servd","map":"./Region"},{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.address.postalCode","path":"Patient.address.postalCode","short":"US Zip Codes","definition":"A postal code designating a region defined by the postal service.","alias":["Zip","Zip Code"],"min":0,"max":"1","base":{"path":"Address.postalCode","min":0,"max":"1"},"type":[{"code":"string"}],"example":[{"label":"General","valueString":"9132"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.5"},{"identity":"rim","map":"AD.part[parttype = ZIP]"},{"identity":"vcard","map":"code"},{"identity":"servd","map":"./PostalIdentificationCode"},{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.address.country","path":"Patient.address.country","short":"Country (e.g. can be ISO 3166 2 or 3 letter code)","definition":"Country - a nation as commonly understood or generally accepted.","comment":"ISO 3166 3 letter codes can be used in place of a human readable country name.","min":0,"max":"1","base":{"path":"Address.country","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.6"},{"identity":"rim","map":"AD.part[parttype = CNT]"},{"identity":"vcard","map":"country"},{"identity":"servd","map":"./Country"}]},{"id":"Patient.address.period","path":"Patient.address.period","short":"Time period when address was/is in use","definition":"Time period when address was/is in use.","requirements":"Allows addresses to be placed in historical context.","min":0,"max":"1","base":{"path":"Address.period","min":0,"max":"1"},"type":[{"code":"Period"}],"example":[{"label":"General","valuePeriod":{"start":"2010-03-23","end":"2010-07-01"}}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XAD.12 / XAD.13 + XAD.14"},{"identity":"rim","map":"./usablePeriod[type=\"IVL\"]"},{"identity":"servd","map":"./StartDate and ./EndDate"},{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.maritalStatus","path":"Patient.maritalStatus","short":"Marital (civil) status of a patient","definition":"This field contains a patient's most recent marital (civil) status.","requirements":"Most, if not all systems capture it.","min":0,"max":"1","base":{"path":"Patient.maritalStatus","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"MaritalStatus"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"extensible","description":"The domestic partnership status of a person.","valueSet":"http://hl7.org/fhir/ValueSet/marital-status"},"mapping":[{"identity":"v2","map":"PID-16"},{"identity":"rim","map":"player[classCode=PSN]/maritalStatusCode"},{"identity":"cda","map":".patient.maritalStatusCode"}]},{"id":"Patient.multipleBirth[x]","path":"Patient.multipleBirth[x]","short":"Whether patient is part of a multiple birth","definition":"Indicates whether the patient is part of a multiple (boolean) or indicates the actual birth order (integer).","comment":"Where the valueInteger is provided, the number is the birth number in the sequence. E.g. The middle birth in triplets would be valueInteger=2 and the third born would have valueInteger=3 If a boolean value was provided for this triplets example, then all 3 patient records would have valueBoolean=true (the ordering is not indicated).","requirements":"For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs.","min":0,"max":"1","base":{"path":"Patient.multipleBirth[x]","min":0,"max":"1"},"type":[{"code":"boolean"},{"code":"integer"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"PID-24 (bool), PID-25 (integer)"},{"identity":"rim","map":"player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber"},{"identity":"cda","map":"n/a"}]},{"id":"Patient.photo","path":"Patient.photo","short":"Image of the patient","definition":"Image of the patient.","comment":"Guidelines:\n* Use id photos, not clinical photos.\n* Limit dimensions to thumbnail.\n* Keep byte count low to ease resource updates.","requirements":"Many EHR systems have the capability to capture an image of the patient. Fits with newer social media usage too.","min":0,"max":"*","base":{"path":"Patient.photo","min":0,"max":"*"},"type":[{"code":"Attachment"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-5 - needs a profile"},{"identity":"rim","map":"player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc"},{"identity":"cda","map":"n/a"}]},{"id":"Patient.contact","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name","valueString":"Contact"}],"path":"Patient.contact","short":"A contact party (e.g. guardian, partner, friend) for the patient","definition":"A contact party (e.g. guardian, partner, friend) for the patient.","comment":"Contact covers all kinds of contact parties: family members, business contacts, guardians, caregivers. Not applicable to register pedigree and family ties beyond use of having contact.","requirements":"Need to track people you can contact about the patient.","min":0,"max":"*","base":{"path":"Patient.contact","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"pat-1","severity":"error","human":"SHALL at least contain a contact's details or a reference to an organization","expression":"name.exists() or telecom.exists() or address.exists() or organization.exists()","xpath":"exists(f:name) or exists(f:telecom) or exists(f:address) or exists(f:organization)"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]"},{"identity":"cda","map":"n/a"}]},{"id":"Patient.contact.id","path":"Patient.contact.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Patient.contact.extension","path":"Patient.contact.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Patient.contact.modifierExtension","path":"Patient.contact.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Patient.contact.relationship","path":"Patient.contact.relationship","short":"The kind of relationship","definition":"The nature of the relationship between the patient and the contact person.","requirements":"Used to determine which contact person is the most relevant to approach, depending on circumstances.","min":0,"max":"*","base":{"path":"Patient.contact.relationship","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ContactRelationship"}],"strength":"extensible","description":"The nature of the relationship between a patient and a contact person for that patient.","valueSet":"http://hl7.org/fhir/ValueSet/patient-contactrelationship"},"mapping":[{"identity":"v2","map":"NK1-7, NK1-3"},{"identity":"rim","map":"code"},{"identity":"cda","map":"n/a"}]},{"id":"Patient.contact.name","path":"Patient.contact.name","short":"A name associated with the contact person","definition":"A name associated with the contact person.","requirements":"Contact persons need to be identified by name, but it is uncommon to need details about multiple other names for that contact person.","min":0,"max":"1","base":{"path":"Patient.contact.name","min":0,"max":"1"},"type":[{"code":"HumanName"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"NK1-2"},{"identity":"rim","map":"name"},{"identity":"cda","map":"n/a"}]},{"id":"Patient.contact.telecom","path":"Patient.contact.telecom","short":"A contact detail for the person","definition":"A contact detail for the person, e.g. a telephone number or an email address.","comment":"Contact may have multiple ways to be contacted with different uses or applicable periods. May need to have options for contacting the person urgently, and also to help with identification.","requirements":"People have (primary) ways to contact them in some way such as phone, email.","min":0,"max":"*","base":{"path":"Patient.contact.telecom","min":0,"max":"*"},"type":[{"code":"ContactPoint"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"NK1-5, NK1-6, NK1-40"},{"identity":"rim","map":"telecom"},{"identity":"cda","map":"n/a"}]},{"id":"Patient.contact.address","path":"Patient.contact.address","short":"Address for the contact person","definition":"Address for the contact person.","requirements":"Need to keep track where the contact person can be contacted per postal mail or visited.","min":0,"max":"1","base":{"path":"Patient.contact.address","min":0,"max":"1"},"type":[{"code":"Address"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"NK1-4"},{"identity":"rim","map":"addr"},{"identity":"cda","map":"n/a"}]},{"id":"Patient.contact.gender","path":"Patient.contact.gender","short":"male | female | other | unknown","definition":"Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.","requirements":"Needed to address the person correctly.","min":0,"max":"1","base":{"path":"Patient.contact.gender","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"AdministrativeGender"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"required","description":"The gender of a person used for administrative purposes.","valueSet":"http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1"},"mapping":[{"identity":"v2","map":"NK1-15"},{"identity":"rim","map":"player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"},{"identity":"cda","map":"n/a"}]},{"id":"Patient.contact.organization","path":"Patient.contact.organization","short":"Organization that is associated with the contact","definition":"Organization on behalf of which the contact is acting or for which the contact is working.","requirements":"For guardians or business related contacts, the organization is relevant.","min":0,"max":"1","base":{"path":"Patient.contact.organization","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization"]}],"condition":["pat-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"NK1-13, NK1-30, NK1-31, NK1-32, NK1-41"},{"identity":"rim","map":"scoper"},{"identity":"cda","map":"n/a"}]},{"id":"Patient.contact.period","path":"Patient.contact.period","short":"The period during which this contact person or organization is valid to be contacted relating to this patient","definition":"The period during which this contact person or organization is valid to be contacted relating to this patient.","min":0,"max":"1","base":{"path":"Patient.contact.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"effectiveTime"},{"identity":"cda","map":"n/a"}]},{"id":"Patient.communication","path":"Patient.communication","short":"A language which may be used to communicate with the patient about his or her health","definition":"A language which may be used to communicate with the patient about his or her health.","comment":"If no language is specified, this *implies* that the default local language is spoken. If you need to convey proficiency for multiple modes, then you need multiple Patient.Communication associations. For animals, language is not a relevant field, and should be absent from the instance. If the Patient does not speak the default local language, then the Interpreter Required Standard can be used to explicitly declare that an interpreter is required.","requirements":"If a patient does not speak the local language, interpreters may be required, so languages spoken and proficiency are important things to keep track of both for patient and other persons of interest.","min":0,"max":"*","base":{"path":"Patient.communication","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"LanguageCommunication"},{"identity":"cda","map":"patient.languageCommunication"},{"identity":"argonaut-dq-dstu2","map":"Patient.communication"}]},{"id":"Patient.communication.id","path":"Patient.communication.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Patient.communication.extension","path":"Patient.communication.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Patient.communication.modifierExtension","path":"Patient.communication.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Patient.communication.language","path":"Patient.communication.language","short":"The language which can be used to communicate with the patient about his or her health","definition":"The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. \"en\" for English, or \"en-US\" for American English versus \"en-EN\" for England English.","comment":"The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.","requirements":"Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect.","min":1,"max":"1","base":{"path":"Patient.communication.language","min":1,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/us/core/ValueSet/simple-language"},"mapping":[{"identity":"v2","map":"PID-15, LAN-2"},{"identity":"rim","map":"player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code"},{"identity":"cda","map":".languageCode"},{"identity":"argonaut-dq-dstu2","map":"Patient.communication.language"}]},{"id":"Patient.communication.preferred","path":"Patient.communication.preferred","short":"Language preference indicator","definition":"Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).","comment":"This language is specifically identified for communicating healthcare information.","requirements":"People that master multiple languages up to certain level may prefer one or more, i.e. feel more confident in communicating in a particular language making other languages sort of a fall back method.","min":0,"max":"1","base":{"path":"Patient.communication.preferred","min":0,"max":"1"},"type":[{"code":"boolean"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"PID-15"},{"identity":"rim","map":"preferenceInd"},{"identity":"cda","map":".preferenceInd"}]},{"id":"Patient.generalPractitioner","path":"Patient.generalPractitioner","short":"Patient's nominated primary care provider","definition":"Patient's nominated care provider.","comment":"This may be the primary care provider (in a GP context), or it may be a patient nominated care manager in a community/disability setting, or even organization that will provide people to perform the care provider roles. It is not to be used to record Care Teams, these should be in a CareTeam resource that may be linked to the CarePlan or EpisodeOfCare resources.\nMultiple GPs may be recorded against the patient for various reasons, such as a student that has his home GP listed along with the GP at university during the school semesters, or a \"fly-in/fly-out\" worker that has the onsite GP also included with his home GP to remain aware of medical issues.\n\nJurisdictions may decide that they can profile this down to 1 if desired, or 1 per type.","alias":["careProvider"],"min":0,"max":"*","base":{"path":"Patient.generalPractitioner","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"PD1-4"},{"identity":"rim","map":"subjectOf.CareEvent.performer.AssignedEntity"},{"identity":"cda","map":"n/a"}]},{"id":"Patient.managingOrganization","path":"Patient.managingOrganization","short":"Organization that is the custodian of the patient record","definition":"Organization that is the custodian of the patient record.","comment":"There is only one managing organization for a specific patient record. Other organizations will have their own Patient record, and may use the Link property to join the records together (or a Person resource which can include confidence ratings for the association).","requirements":"Need to know who recognizes this patient record, manages and updates it.","min":0,"max":"1","base":{"path":"Patient.managingOrganization","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":"scoper"},{"identity":"cda","map":".providerOrganization"}]},{"id":"Patient.link","path":"Patient.link","short":"Link to another patient resource that concerns the same actual person","definition":"Link to another patient resource that concerns the same actual patient.","comment":"There is no assumption that linked patient records have mutual links.","requirements":"There are multiple use cases: \n\n* Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and \n* Distribution of patient information across multiple servers.","min":0,"max":"*","base":{"path":"Patient.link","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because it might not be the main Patient resource, and the referenced patient should be used instead of this Patient record. This is when the link.type value is 'replaced-by'","isSummary":true,"mapping":[{"identity":"rim","map":"outboundLink"},{"identity":"cda","map":"n/a"}]},{"id":"Patient.link.id","path":"Patient.link.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Patient.link.extension","path":"Patient.link.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Patient.link.modifierExtension","path":"Patient.link.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Patient.link.other","path":"Patient.link.other","short":"The other patient or related person resource that the link refers to","definition":"The other patient resource that the link refers to.","comment":"Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual.","min":1,"max":"1","base":{"path":"Patient.link.other","min":1,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy","valueBoolean":false}],"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"PID-3, MRG-1"},{"identity":"rim","map":"id"},{"identity":"cda","map":"n/a"}]},{"id":"Patient.link.type","path":"Patient.link.type","short":"replaced-by | replaces | refer | seealso","definition":"The type of link between this patient resource and another patient resource.","min":1,"max":"1","base":{"path":"Patient.link.type","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"LinkType"}],"strength":"required","description":"The type of link between this patient resource and another patient resource.","valueSet":"http://hl7.org/fhir/ValueSet/link-type|4.0.1"},"mapping":[{"identity":"rim","map":"typeCode"},{"identity":"cda","map":"n/a"}]}]},"differential":{"element":[{"id":"Patient","path":"Patient","definition":"The US Core Patient Profile is based upon the core FHIR Patient Resource and designed to meet the applicable patient demographic data elements from the 2015 Edition Common Clinical Data Set.","mustSupport":false,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Patient"}]},{"id":"Patient.extension:race","path":"Patient.extension","sliceName":"race","min":0,"max":"1","type":[{"code":"Extension","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"]}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Patient.extension"}]},{"id":"Patient.extension:ethnicity","path":"Patient.extension","sliceName":"ethnicity","min":0,"max":"1","type":[{"code":"Extension","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"]}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Patient.extension"}]},{"id":"Patient.extension:birthsex","path":"Patient.extension","sliceName":"birthsex","min":0,"max":"1","type":[{"code":"Extension","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"]}],"mustSupport":true,"binding":{"strength":"required","description":"Code for sex assigned at birth","valueSet":"http://hl7.org/fhir/us/core/ValueSet/birthsex"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Patient.extension"}]},{"id":"Patient.identifier","path":"Patient.identifier","min":1,"max":"*","type":[{"code":"Identifier"}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Patient.identifier"}]},{"id":"Patient.identifier.system","path":"Patient.identifier.system","min":1,"max":"1","type":[{"code":"uri"}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Patient.identifier.system"}]},{"id":"Patient.identifier.value","path":"Patient.identifier.value","short":"The value that is unique within the system.","min":1,"max":"1","type":[{"code":"string"}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Patient.identifier.value"}]},{"id":"Patient.name","path":"Patient.name","min":1,"max":"*","type":[{"code":"HumanName"}],"constraint":[{"key":"us-core-8","severity":"error","human":"Either Patient.name.given and/or Patient.name.family SHALL be present or a Data Absent Reason Extension SHALL be present.","expression":"(family.exists() or given.exists()) xor extension.where(url='http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()","xpath":"(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason' and not(/f:family or /f:given)) or (not(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason') and (/f:family or /f:given))"}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Patient.name"}]},{"id":"Patient.name.family","path":"Patient.name.family","min":0,"max":"1","type":[{"code":"string"}],"condition":["us-core-8"],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Patient.name.family"}]},{"id":"Patient.name.given","path":"Patient.name.given","min":0,"max":"*","type":[{"code":"string"}],"condition":["us-core-8"],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Patient.name.given"}]},{"id":"Patient.telecom","path":"Patient.telecom","min":0,"max":"*","mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.telecom.system","path":"Patient.telecom.system","min":1,"max":"1","mustSupport":true,"binding":{"strength":"required","description":"Telecommunications form for contact point.","valueSet":"http://hl7.org/fhir/ValueSet/contact-point-system"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.telecom.value","path":"Patient.telecom.value","min":1,"max":"1","mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.telecom.use","path":"Patient.telecom.use","min":0,"max":"1","mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/contact-point-use"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.gender","path":"Patient.gender","min":1,"max":"1","type":[{"code":"code"}],"mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/administrative-gender"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Patient.gender"}]},{"id":"Patient.birthDate","path":"Patient.birthDate","min":0,"max":"1","type":[{"code":"date"}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Patient.birthDate"}]},{"id":"Patient.address","path":"Patient.address","min":0,"max":"*","mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Patient.birthDate"}]},{"id":"Patient.address.line","path":"Patient.address.line","min":0,"max":"*","mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.address.city","path":"Patient.address.city","min":0,"max":"1","mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.address.state","path":"Patient.address.state","min":0,"max":"1","mustSupport":true,"binding":{"strength":"extensible","description":"Two Letter USPS alphabetic codes.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.address.postalCode","path":"Patient.address.postalCode","short":"US Zip Codes","alias":["Zip Code"],"min":0,"max":"1","mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.address.period","path":"Patient.address.period","min":0,"max":"1","mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"NA"}]},{"id":"Patient.communication","path":"Patient.communication","min":0,"max":"*","mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Patient.communication"}]},{"id":"Patient.communication.language","path":"Patient.communication.language","min":1,"max":"1","type":[{"code":"CodeableConcept"}],"mustSupport":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/us/core/ValueSet/simple-language"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Patient.communication.language"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-practitioner.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-practitioner.json deleted file mode 100644 index 8634fd773ed..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-practitioner.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-practitioner","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Practitioner 0..*PractitionerA person with a formal responsibility in the provisioning of healthcare or related services
\".\"\".\"\".\" identifier S1..*(Slice Definition)An identifier for the person as this agent
Slice: Unordered, Open by pattern:$this
\".\"\".\"\".\"\".\" identifier:All Slices Content/Rules for all slices
\".\"\".\"\".\"\".\"\".\" system S1..1uriThe namespace for the identifier value
\".\"\".\"\".\"\".\"\".\" value S1..1stringThe value that is unique
\".\"\".\"\".\"\".\" identifier:NPI S0..1IdentifierAn identifier for the person as this agent
Required Pattern: At least the following
\".\"\".\"\".\"\".\"\".\" system1..1uriThe namespace for the identifier value
Fixed Value: http://hl7.org/fhir/sid/us-npi
\".\"\".\"\".\" name S1..*HumanNameThe name(s) associated with the practitioner
\".\"\".\"\".\"\".\" family S1..1stringFamily name (often called 'Surname')

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner","version":"3.1.1","name":"USCorePractitionerProfile","title":"US Core Practitioner Profile","status":"active","experimental":false,"date":"2019-09-02","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"The practitioner(s) referenced in US Core profiles.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"servd","uri":"http://www.omg.org/spec/ServD/1.0/","name":"ServD"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"}],"kind":"resource","abstract":false,"type":"Practitioner","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Practitioner","derivation":"constraint","snapshot":{"element":[{"id":"Practitioner","path":"Practitioner","short":"A person with a formal responsibility in the provisioning of healthcare or related services","definition":"This is basic constraint on provider for use in US Core resources.","alias":["Provider"],"min":0,"max":"*","base":{"path":"Practitioner","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"v2","map":"PRD (as one example)"},{"identity":"rim","map":"Role"},{"identity":"servd","map":"Provider"}]},{"id":"Practitioner.id","path":"Practitioner.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"Practitioner.meta","path":"Practitioner.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"Practitioner.implicitRules","path":"Practitioner.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"Practitioner.language","path":"Practitioner.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"Practitioner.text","path":"Practitioner.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"Practitioner.contained","path":"Practitioner.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Practitioner.extension","path":"Practitioner.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Practitioner.modifierExtension","path":"Practitioner.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Practitioner.identifier","path":"Practitioner.identifier","slicing":{"discriminator":[{"type":"pattern","path":"$this"}],"rules":"open"},"short":"An identifier for the person as this agent","definition":"An identifier that applies to this person in this role.","comment":"NPI must be supported as the identifier system in the US, Tax id is allowed, Local id is allowed in addition to an another identifier supplied by a jurisdictional authority such as a practitioner's *Drug Enforcement Administration (DEA)* number.","requirements":"Often, specific identities are assigned for the agent.","min":1,"max":"*","base":{"path":"Practitioner.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"PRD-7 (or XCN.1)"},{"identity":"rim","map":"./id"},{"identity":"servd","map":"./Identifiers"}]},{"id":"Practitioner.identifier.id","path":"Practitioner.identifier.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Practitioner.identifier.extension","path":"Practitioner.identifier.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Practitioner.identifier.use","path":"Practitioner.identifier.use","short":"usual | official | temp | secondary | old (If known)","definition":"The purpose of this identifier.","comment":"Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.","requirements":"Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.","min":0,"max":"1","base":{"path":"Identifier.use","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"IdentifierUse"}],"strength":"required","description":"Identifies the purpose for this identifier, if known .","valueSet":"http://hl7.org/fhir/ValueSet/identifier-use|4.0.1"},"mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"Role.code or implied by context"}]},{"id":"Practitioner.identifier.type","path":"Practitioner.identifier.type","short":"Description of identifier","definition":"A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.","comment":"This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.","requirements":"Allows users to make use of identifiers when the identifier system is not known.","min":0,"max":"1","base":{"path":"Identifier.type","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"IdentifierType"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"extensible","description":"A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.","valueSet":"http://hl7.org/fhir/ValueSet/identifier-type"},"mapping":[{"identity":"v2","map":"CX.5"},{"identity":"rim","map":"Role.code or implied by context"}]},{"id":"Practitioner.identifier.system","path":"Practitioner.identifier.system","short":"The namespace for the identifier value","definition":"Establishes the namespace for the value - that is, a URL that describes a set values that are unique.","comment":"Identifier.system is always case sensitive.","requirements":"There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.","min":1,"max":"1","base":{"path":"Identifier.system","min":0,"max":"1"},"type":[{"code":"uri"}],"example":[{"label":"General","valueUri":"http://www.acme.com/identifiers/patient"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"CX.4 / EI-2-4"},{"identity":"rim","map":"II.root or Role.id.root"},{"identity":"servd","map":"./IdentifierType"}]},{"id":"Practitioner.identifier.value","path":"Practitioner.identifier.value","short":"The value that is unique","definition":"The portion of the identifier typically relevant to the user and which is unique within the context of the system.","comment":"If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.","min":1,"max":"1","base":{"path":"Identifier.value","min":0,"max":"1"},"type":[{"code":"string"}],"example":[{"label":"General","valueString":"123456"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"CX.1 / EI.1"},{"identity":"rim","map":"II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"},{"identity":"servd","map":"./Value"}]},{"id":"Practitioner.identifier.period","path":"Practitioner.identifier.period","short":"Time period when id is/was valid for use","definition":"Time period during which identifier is/was valid for use.","min":0,"max":"1","base":{"path":"Identifier.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"CX.7 + CX.8"},{"identity":"rim","map":"Role.effectiveTime or implied by context"},{"identity":"servd","map":"./StartDate and ./EndDate"}]},{"id":"Practitioner.identifier.assigner","path":"Practitioner.identifier.assigner","short":"Organization that issued id (may be just text)","definition":"Organization that issued/manages the identifier.","comment":"The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.","min":0,"max":"1","base":{"path":"Identifier.assigner","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"CX.4 / (CX.4,CX.9,CX.10)"},{"identity":"rim","map":"II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper"},{"identity":"servd","map":"./IdentifierIssuingAuthority"}]},{"id":"Practitioner.identifier:NPI","path":"Practitioner.identifier","sliceName":"NPI","short":"An identifier for the person as this agent","definition":"An identifier that applies to this person in this role.","requirements":"Often, specific identities are assigned for the agent.","min":0,"max":"1","base":{"path":"Practitioner.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"patternIdentifier":{"system":"http://hl7.org/fhir/sid/us-npi"},"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"PRD-7 (or XCN.1)"},{"identity":"rim","map":"./id"},{"identity":"servd","map":"./Identifiers"}]},{"id":"Practitioner.active","path":"Practitioner.active","short":"Whether this practitioner's record is in active use","definition":"Whether this practitioner's record is in active use.","comment":"If the practitioner is not in use by one organization, then it should mark the period on the PractitonerRole with an end date (even if they are active) as they may be active in another role.","requirements":"Need to be able to mark a practitioner record as not to be used because it was created in error.","min":0,"max":"1","base":{"path":"Practitioner.active","min":0,"max":"1"},"type":[{"code":"boolean"}],"meaningWhenMissing":"This resource is generally assumed to be active if no value is provided for the active element","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.status"},{"identity":"rim","map":"./statusCode"}]},{"id":"Practitioner.name","path":"Practitioner.name","short":"The name(s) associated with the practitioner","definition":"The name(s) associated with the practitioner.","comment":"The selection of the use property should ensure that there is a single usual name specified, and others use the nickname (alias), old, or other values as appropriate. \r\rIn general, select the value to be used in the ResourceReference.display based on this:\r\r1. There is more than 1 name\r2. Use = usual\r3. Period is current to the date of the usage\r4. Use = official\r5. Other order as decided by internal business rules.","requirements":"The name(s) that a Practitioner is known by. Where there are multiple, the name that the practitioner is usually known as should be used in the display.","min":1,"max":"*","base":{"path":"Practitioner.name","min":0,"max":"*"},"type":[{"code":"HumanName"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XCN Components"},{"identity":"rim","map":"./name"},{"identity":"servd","map":"./PreferredName (GivenNames, FamilyName, TitleCode)"}]},{"id":"Practitioner.name.id","path":"Practitioner.name.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Practitioner.name.extension","path":"Practitioner.name.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Practitioner.name.use","path":"Practitioner.name.use","short":"usual | official | temp | nickname | anonymous | old | maiden","definition":"Identifies the purpose for this name.","comment":"Applications can assume that a name is current unless it explicitly says that it is temporary or old.","requirements":"Allows the appropriate name for a particular context of use to be selected from among a set of names.","min":0,"max":"1","base":{"path":"HumanName.use","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"NameUse"}],"strength":"required","description":"The use of a human name.","valueSet":"http://hl7.org/fhir/ValueSet/name-use|4.0.1"},"mapping":[{"identity":"v2","map":"XPN.7, but often indicated by which field contains the name"},{"identity":"rim","map":"unique(./use)"},{"identity":"servd","map":"./NamePurpose"}]},{"id":"Practitioner.name.text","path":"Practitioner.name.text","short":"Text representation of the full name","definition":"Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.","comment":"Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.","requirements":"A renderable, unencoded form.","min":0,"max":"1","base":{"path":"HumanName.text","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"implied by XPN.11"},{"identity":"rim","map":"./formatted"}]},{"id":"Practitioner.name.family","path":"Practitioner.name.family","short":"Family name (often called 'Surname')","definition":"The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.","comment":"Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).","alias":["surname"],"min":1,"max":"1","base":{"path":"HumanName.family","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XPN.1/FN.1"},{"identity":"rim","map":"./part[partType = FAM]"},{"identity":"servd","map":"./FamilyName"}]},{"id":"Practitioner.name.given","path":"Practitioner.name.given","short":"Given names (not always 'first'). Includes middle names","definition":"Given name.","comment":"If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations. This element is not called \"first name\" since given names do not always come first.","alias":["first name","middle name"],"min":0,"max":"*","base":{"path":"HumanName.given","min":0,"max":"*"},"type":[{"code":"string"}],"orderMeaning":"Given Names appear in the correct order for presenting the name","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XPN.2 + XPN.3"},{"identity":"rim","map":"./part[partType = GIV]"},{"identity":"servd","map":"./GivenNames"}]},{"id":"Practitioner.name.prefix","path":"Practitioner.name.prefix","short":"Parts that come before the name","definition":"Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.","min":0,"max":"*","base":{"path":"HumanName.prefix","min":0,"max":"*"},"type":[{"code":"string"}],"orderMeaning":"Prefixes appear in the correct order for presenting the name","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XPN.5"},{"identity":"rim","map":"./part[partType = PFX]"},{"identity":"servd","map":"./TitleCode"}]},{"id":"Practitioner.name.suffix","path":"Practitioner.name.suffix","short":"Parts that come after the name","definition":"Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.","min":0,"max":"*","base":{"path":"HumanName.suffix","min":0,"max":"*"},"type":[{"code":"string"}],"orderMeaning":"Suffixes appear in the correct order for presenting the name","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XPN/4"},{"identity":"rim","map":"./part[partType = SFX]"}]},{"id":"Practitioner.name.period","path":"Practitioner.name.period","short":"Time period when name was/is in use","definition":"Indicates the period of time when this name was valid for the named person.","requirements":"Allows names to be placed in historical context.","min":0,"max":"1","base":{"path":"HumanName.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XPN.13 + XPN.14"},{"identity":"rim","map":"./usablePeriod[type=\"IVL\"]"},{"identity":"servd","map":"./StartDate and ./EndDate"}]},{"id":"Practitioner.telecom","path":"Practitioner.telecom","short":"A contact detail for the practitioner (that apply to all roles)","definition":"A contact detail for the practitioner, e.g. a telephone number or an email address.","comment":"Person may have multiple ways to be contacted with different uses or applicable periods. May need to have options for contacting the person urgently and to help with identification. These typically will have home numbers, or mobile numbers that are not role specific.","requirements":"Need to know how to reach a practitioner independent to any roles the practitioner may have.","min":0,"max":"*","base":{"path":"Practitioner.telecom","min":0,"max":"*"},"type":[{"code":"ContactPoint"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"PRT-15, STF-10, ROL-12"},{"identity":"rim","map":"./telecom"},{"identity":"servd","map":"./ContactPoints"}]},{"id":"Practitioner.address","path":"Practitioner.address","short":"Address(es) of the practitioner that are not role specific (typically home address)","definition":"Address(es) of the practitioner that are not role specific (typically home address). \rWork addresses are not typically entered in this property as they are usually role dependent.","comment":"The PractitionerRole does not have an address value on it, as it is expected that the location property be used for this purpose (which has an address).","requirements":"The home/mailing address of the practitioner is often required for employee administration purposes, and also for some rostering services where the start point (practitioners home) can be used in calculations.","min":0,"max":"*","base":{"path":"Practitioner.address","min":0,"max":"*"},"type":[{"code":"Address"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"ORC-24, STF-11, ROL-11, PRT-14"},{"identity":"rim","map":"./addr"},{"identity":"servd","map":"./Addresses"}]},{"id":"Practitioner.gender","path":"Practitioner.gender","short":"male | female | other | unknown","definition":"Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.","requirements":"Needed to address the person correctly.","min":0,"max":"1","base":{"path":"Practitioner.gender","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"AdministrativeGender"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"required","description":"The gender of a person used for administrative purposes.","valueSet":"http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1"},"mapping":[{"identity":"v2","map":"STF-5"},{"identity":"rim","map":"./administrativeGender"},{"identity":"servd","map":"./GenderCode"}]},{"id":"Practitioner.birthDate","path":"Practitioner.birthDate","short":"The date on which the practitioner was born","definition":"The date of birth for the practitioner.","requirements":"Needed for identification.","min":0,"max":"1","base":{"path":"Practitioner.birthDate","min":0,"max":"1"},"type":[{"code":"date"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"STF-6"},{"identity":"rim","map":"./birthTime"},{"identity":"servd","map":"(not represented in ServD)"}]},{"id":"Practitioner.photo","path":"Practitioner.photo","short":"Image of the person","definition":"Image of the person.","requirements":"Many EHR systems have the capability to capture an image of patients and personnel. Fits with newer social media usage too.","min":0,"max":"*","base":{"path":"Practitioner.photo","min":0,"max":"*"},"type":[{"code":"Attachment"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"./subjectOf/ObservationEvent[code=\"photo\"]/value"},{"identity":"servd","map":"./ImageURI (only supports the URI reference)"}]},{"id":"Practitioner.qualification","path":"Practitioner.qualification","short":"Certification, licenses, or training pertaining to the provision of care","definition":"The official certifications, training, and licenses that authorize or otherwise pertain to the provision of care by the practitioner. For example, a medical license issued by a medical board authorizing the practitioner to practice medicine within a certian locality.","min":0,"max":"*","base":{"path":"Practitioner.qualification","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"CER?"},{"identity":"rim","map":".playingEntity.playingRole[classCode=QUAL].code"},{"identity":"servd","map":"./Qualifications"}]},{"id":"Practitioner.qualification.id","path":"Practitioner.qualification.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Practitioner.qualification.extension","path":"Practitioner.qualification.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Practitioner.qualification.modifierExtension","path":"Practitioner.qualification.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Practitioner.qualification.identifier","path":"Practitioner.qualification.identifier","short":"An identifier for this qualification for the practitioner","definition":"An identifier that applies to this person's qualification in this role.","requirements":"Often, specific identities are assigned for the qualification.","min":0,"max":"*","base":{"path":"Practitioner.qualification.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".playingEntity.playingRole[classCode=QUAL].id"}]},{"id":"Practitioner.qualification.code","path":"Practitioner.qualification.code","short":"Coded representation of the qualification","definition":"Coded representation of the qualification.","min":1,"max":"1","base":{"path":"Practitioner.qualification.code","min":1,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Qualification"}],"strength":"example","description":"Specific qualification the practitioner has to provide a service.","valueSet":"http://terminology.hl7.org/ValueSet/v2-2.7-0360"},"mapping":[{"identity":"rim","map":".playingEntity.playingRole[classCode=QUAL].code"},{"identity":"servd","map":"./Qualifications.Value"}]},{"id":"Practitioner.qualification.period","path":"Practitioner.qualification.period","short":"Period during which the qualification is valid","definition":"Period during which the qualification is valid.","requirements":"Qualifications are often for a limited period of time, and can be revoked.","min":0,"max":"1","base":{"path":"Practitioner.qualification.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".playingEntity.playingRole[classCode=QUAL].effectiveTime"},{"identity":"servd","map":"./Qualifications.StartDate and ./Qualifications.EndDate"}]},{"id":"Practitioner.qualification.issuer","path":"Practitioner.qualification.issuer","short":"Organization that regulates and issues the qualification","definition":"Organization that regulates and issues the qualification.","min":0,"max":"1","base":{"path":"Practitioner.qualification.issuer","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".playingEntity.playingRole[classCode=QUAL].scoper"}]},{"id":"Practitioner.communication","path":"Practitioner.communication","short":"A language the practitioner can use in patient communication","definition":"A language the practitioner can use in patient communication.","comment":"The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.","requirements":"Knowing which language a practitioner speaks can help in facilitating communication with patients.","min":0,"max":"*","base":{"path":"Practitioner.communication","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"},"mapping":[{"identity":"v2","map":"PID-15, NK1-20, LAN-2"},{"identity":"rim","map":"./languageCommunication"},{"identity":"servd","map":"./Languages.LanguageSpokenCode"}]}]},"differential":{"element":[{"id":"Practitioner","path":"Practitioner","definition":"This is basic constraint on provider for use in US Core resources.","alias":["Provider"],"mustSupport":false},{"id":"Practitioner.identifier","path":"Practitioner.identifier","slicing":{"discriminator":[{"type":"pattern","path":"$this"}],"rules":"open"},"comment":"NPI must be supported as the identifier system in the US, Tax id is allowed, Local id is allowed in addition to an another identifier supplied by a jurisdictional authority such as a practitioner's *Drug Enforcement Administration (DEA)* number.","min":1,"max":"*","type":[{"code":"Identifier"}],"mustSupport":true},{"id":"Practitioner.identifier.system","path":"Practitioner.identifier.system","min":1,"max":"1","type":[{"code":"uri"}],"mustSupport":true},{"id":"Practitioner.identifier.value","path":"Practitioner.identifier.value","min":1,"max":"1","type":[{"code":"string"}],"mustSupport":true},{"id":"Practitioner.identifier:NPI","path":"Practitioner.identifier","sliceName":"NPI","min":0,"max":"1","type":[{"code":"Identifier"}],"patternIdentifier":{"system":"http://hl7.org/fhir/sid/us-npi"},"mustSupport":true},{"id":"Practitioner.name","path":"Practitioner.name","min":1,"max":"*","type":[{"code":"HumanName"}],"mustSupport":true},{"id":"Practitioner.name.family","path":"Practitioner.name.family","min":1,"max":"1","type":[{"code":"string"}],"mustSupport":true}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-practitionerrole.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-practitionerrole.json deleted file mode 100644 index 910b2de6f2a..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-practitionerrole.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-practitionerrole","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" PractitionerRole I0..*PractitionerRoleRoles/organizations the practitioner is associated with
pd-1: SHALL have contact information or a reference to an Endpoint
\".\"\".\"\".\" practitioner S1..1Reference(US Core Practitioner Profile)Practitioner that is able to provide the defined services for the organization
\".\"\".\"\".\" organization S1..1Reference(US Core Organization Profile)Organization where the roles are available
\".\"\".\"\".\" code S0..*CodeableConceptRoles which this practitioner may perform
Binding: US Core Provider Role (NUCC) (extensible)
\".\"\".\"\".\" specialty S0..*CodeableConceptSpecific specialty of the practitioner
Binding: US Core Provider Speciality (NUCC) (extensible)
\".\"\".\"\".\" location S0..*Reference(Location)The location(s) at which this practitioner provides care
\".\"\".\"\".\" telecom SI0..*ContactPointContact details that are specific to the role/location/service
\".\"\".\"\".\"\".\" system S1..1codephone | fax | email | pager | url | sms | other
\".\"\".\"\".\"\".\" value S1..1stringThe actual contact point details
\".\"\".\"\".\" endpoint SI0..*Reference(Endpoint)Technical endpoints providing access to services operated for the practitioner with this role

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole","version":"3.1.1","name":"USCorePractitionerRoleProfile","title":"US Core PractitionerRole Profile","status":"active","experimental":false,"date":"2019-08-11","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"The practitioner roles referenced in the US Core profiles.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"servd","uri":"http://www.omg.org/spec/ServD/1.0/","name":"ServD"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"}],"kind":"resource","abstract":false,"type":"PractitionerRole","baseDefinition":"http://hl7.org/fhir/StructureDefinition/PractitionerRole","derivation":"constraint","snapshot":{"element":[{"id":"PractitionerRole","path":"PractitionerRole","short":"Roles/organizations the practitioner is associated with","definition":"This is basic constraint on PractitionerRole for use in US Core resources.","min":0,"max":"*","base":{"path":"PractitionerRole","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"pd-1","severity":"error","human":"SHALL have contact information or a reference to an Endpoint","expression":"telecom or endpoint","xpath":"exists(f:telecom) or exists(f:endpoint)"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"v2","map":"PRD (as one example)"},{"identity":"rim","map":"Role"},{"identity":"servd","map":"ServiceSiteProvider"}]},{"id":"PractitionerRole.id","path":"PractitionerRole.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"PractitionerRole.meta","path":"PractitionerRole.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"PractitionerRole.implicitRules","path":"PractitionerRole.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"PractitionerRole.language","path":"PractitionerRole.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"PractitionerRole.text","path":"PractitionerRole.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"PractitionerRole.contained","path":"PractitionerRole.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"PractitionerRole.extension","path":"PractitionerRole.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"PractitionerRole.modifierExtension","path":"PractitionerRole.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"PractitionerRole.identifier","path":"PractitionerRole.identifier","short":"Business Identifiers that are specific to a role/location","definition":"Business Identifiers that are specific to a role/location.","requirements":"Often, specific identities are assigned for the agent.","min":0,"max":"*","base":{"path":"PractitionerRole.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"PRD-7 (or XCN.1)"},{"identity":"rim","map":".id"},{"identity":"servd","map":"./Identifiers"}]},{"id":"PractitionerRole.active","path":"PractitionerRole.active","short":"Whether this practitioner role record is in active use","definition":"Whether this practitioner role record is in active use.","comment":"If this value is false, you may refer to the period to see when the role was in active use. If there is no period specified, no inference can be made about when it was active.","requirements":"Need to be able to mark a practitioner role record as not to be used because it was created in error, or otherwise no longer in active use.","min":0,"max":"1","base":{"path":"PractitionerRole.active","min":0,"max":"1"},"type":[{"code":"boolean"}],"meaningWhenMissing":"This resource is generally assumed to be active if no value is provided for the active element","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.status"},{"identity":"v2","map":"STF-7"},{"identity":"rim","map":".statusCode"}]},{"id":"PractitionerRole.period","path":"PractitionerRole.period","short":"The period during which the practitioner is authorized to perform in these role(s)","definition":"The period during which the person is authorized to act as a practitioner in these role(s) for the organization.","requirements":"Even after the agencies is revoked, the fact that it existed must still be recorded.","min":0,"max":"1","base":{"path":"PractitionerRole.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.done[x]"},{"identity":"v2","map":"PRD-8/9 / PRA-5.4"},{"identity":"rim","map":".performance[@typeCode <= 'PPRF'].ActDefinitionOrEvent.effectiveTime"},{"identity":"servd","map":"(ServD maps Practitioners and Organizations via another entity, so this concept is not available)"}]},{"id":"PractitionerRole.practitioner","path":"PractitionerRole.practitioner","short":"Practitioner that is able to provide the defined services for the organization","definition":"Practitioner that is able to provide the defined services for the organization.","min":1,"max":"1","base":{"path":"PractitionerRole.practitioner","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":".player"}]},{"id":"PractitionerRole.organization","path":"PractitionerRole.organization","short":"Organization where the roles are available","definition":"The organization where the Practitioner performs the roles associated.","min":1,"max":"1","base":{"path":"PractitionerRole.organization","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":".scoper"}]},{"id":"PractitionerRole.code","path":"PractitionerRole.code","short":"Roles which this practitioner may perform","definition":"Roles which this practitioner is authorized to perform for the organization.","comment":"A person may have more than one role.","requirements":"Need to know what authority the practitioner has - what can they do?","min":0,"max":"*","base":{"path":"PractitionerRole.code","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","description":"Provider role codes consisting of NUCC Health Care Provider Taxonomy Code Set for providers.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role"},"mapping":[{"identity":"v2","map":"PRD-1 / STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17"},{"identity":"rim","map":".code"},{"identity":"servd","map":"(ServD maps Practitioners and Organizations via another entity, so this concept is not available)"}]},{"id":"PractitionerRole.specialty","path":"PractitionerRole.specialty","short":"Specific specialty of the practitioner","definition":"Specific specialty of the practitioner.","min":0,"max":"*","base":{"path":"PractitionerRole.specialty","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","description":"Provider specialty codes consist of NUCC Health Care Provider Taxonomy Code Set for providers.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty"},"mapping":[{"identity":"v2","map":"PRA-5"},{"identity":"rim","map":".player.HealthCareProvider[@classCode = 'PROV'].code"},{"identity":"servd","map":"./Specialty"}]},{"id":"PractitionerRole.location","path":"PractitionerRole.location","short":"The location(s) at which this practitioner provides care","definition":"The location(s) at which this practitioner provides care.","min":0,"max":"*","base":{"path":"PractitionerRole.location","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Location"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.where[x]"},{"identity":"rim","map":".performance.ActDefinitionOrEvent.ServiceDeliveryLocation[@classCode = 'SDLOC']"},{"identity":"servd","map":"(ServD maps Practitioners and Organizations via another entity, so this concept is not available)
However these are accessed via the Site.ServiceSite.ServiceSiteProvider record. (The Site has the location)"}]},{"id":"PractitionerRole.healthcareService","path":"PractitionerRole.healthcareService","short":"The list of healthcare services that this worker provides for this role's Organization/Location(s)","definition":"The list of healthcare services that this worker provides for this role's Organization/Location(s).","min":0,"max":"*","base":{"path":"PractitionerRole.healthcareService","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/HealthcareService"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"EDU-2 / AFF-3"},{"identity":"rim","map":".player.QualifiedEntity[@classCode = 'QUAL'].code"}]},{"id":"PractitionerRole.telecom","path":"PractitionerRole.telecom","short":"Contact details that are specific to the role/location/service","definition":"Contact details that are specific to the role/location/service.","requirements":"Often practitioners have a dedicated line for each location (or service) that they work at, and need to be able to define separate contact details for each of these.","min":0,"max":"*","base":{"path":"PractitionerRole.telecom","min":0,"max":"*"},"type":[{"code":"ContactPoint"}],"condition":["pd-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":".telecom"}]},{"id":"PractitionerRole.telecom.id","path":"PractitionerRole.telecom.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"PractitionerRole.telecom.extension","path":"PractitionerRole.telecom.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"PractitionerRole.telecom.system","path":"PractitionerRole.telecom.system","short":"phone | fax | email | pager | url | sms | other","definition":"Telecommunications form for contact point - what communications system is required to make use of the contact.","min":1,"max":"1","base":{"path":"ContactPoint.system","min":0,"max":"1"},"type":[{"code":"code"}],"condition":["cpt-2"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ContactPointSystem"}],"strength":"required","description":"Telecommunications form for contact point.","valueSet":"http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1"},"mapping":[{"identity":"v2","map":"XTN.3"},{"identity":"rim","map":"./scheme"},{"identity":"servd","map":"./ContactPointType"}]},{"id":"PractitionerRole.telecom.value","path":"PractitionerRole.telecom.value","short":"The actual contact point details","definition":"The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).","comment":"Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.","requirements":"Need to support legacy numbers that are not in a tightly controlled format.","min":1,"max":"1","base":{"path":"ContactPoint.value","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"XTN.1 (or XTN.12)"},{"identity":"rim","map":"./url"},{"identity":"servd","map":"./Value"}]},{"id":"PractitionerRole.telecom.use","path":"PractitionerRole.telecom.use","short":"home | work | temp | old | mobile - purpose of this contact point","definition":"Identifies the purpose for the contact point.","comment":"Applications can assume that a contact is current unless it explicitly says that it is temporary or old.","requirements":"Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.","min":0,"max":"1","base":{"path":"ContactPoint.use","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one","isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ContactPointUse"}],"strength":"required","description":"Use of contact point.","valueSet":"http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1"},"mapping":[{"identity":"v2","map":"XTN.2 - but often indicated by field"},{"identity":"rim","map":"unique(./use)"},{"identity":"servd","map":"./ContactPointPurpose"}]},{"id":"PractitionerRole.telecom.rank","path":"PractitionerRole.telecom.rank","short":"Specify preferred order of use (1 = highest)","definition":"Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.","comment":"Note that rank does not necessarily follow the order in which the contacts are represented in the instance.","min":0,"max":"1","base":{"path":"ContactPoint.rank","min":0,"max":"1"},"type":[{"code":"positiveInt"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"n/a"},{"identity":"rim","map":"n/a"}]},{"id":"PractitionerRole.telecom.period","path":"PractitionerRole.telecom.period","short":"Time period when the contact point was/is in use","definition":"Time period when the contact point was/is in use.","min":0,"max":"1","base":{"path":"ContactPoint.period","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"./usablePeriod[type=\"IVL\"]"},{"identity":"servd","map":"./StartDate and ./EndDate"}]},{"id":"PractitionerRole.availableTime","path":"PractitionerRole.availableTime","short":"Times the Service Site is available","definition":"A collection of times the practitioner is available or performing this role at the location and/or healthcareservice.","comment":"More detailed availability information may be provided in associated Schedule/Slot resources.","min":0,"max":"*","base":{"path":"PractitionerRole.availableTime","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".effectiveTime"}]},{"id":"PractitionerRole.availableTime.id","path":"PractitionerRole.availableTime.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"PractitionerRole.availableTime.extension","path":"PractitionerRole.availableTime.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"PractitionerRole.availableTime.modifierExtension","path":"PractitionerRole.availableTime.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"PractitionerRole.availableTime.daysOfWeek","path":"PractitionerRole.availableTime.daysOfWeek","short":"mon | tue | wed | thu | fri | sat | sun","definition":"Indicates which days of the week are available between the start and end Times.","min":0,"max":"*","base":{"path":"PractitionerRole.availableTime.daysOfWeek","min":0,"max":"*"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"DaysOfWeek"}],"strength":"required","description":"The days of the week.","valueSet":"http://hl7.org/fhir/ValueSet/days-of-week|4.0.1"},"mapping":[{"identity":"rim","map":".effectiveTime"}]},{"id":"PractitionerRole.availableTime.allDay","path":"PractitionerRole.availableTime.allDay","short":"Always available? e.g. 24 hour service","definition":"Is this always available? (hence times are irrelevant) e.g. 24 hour service.","min":0,"max":"1","base":{"path":"PractitionerRole.availableTime.allDay","min":0,"max":"1"},"type":[{"code":"boolean"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".effectiveTime"}]},{"id":"PractitionerRole.availableTime.availableStartTime","path":"PractitionerRole.availableTime.availableStartTime","short":"Opening time of day (ignored if allDay = true)","definition":"The opening time of day. Note: If the AllDay flag is set, then this time is ignored.","comment":"The timezone is expected to be for where this HealthcareService is provided at.","min":0,"max":"1","base":{"path":"PractitionerRole.availableTime.availableStartTime","min":0,"max":"1"},"type":[{"code":"time"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".effectiveTime"}]},{"id":"PractitionerRole.availableTime.availableEndTime","path":"PractitionerRole.availableTime.availableEndTime","short":"Closing time of day (ignored if allDay = true)","definition":"The closing time of day. Note: If the AllDay flag is set, then this time is ignored.","comment":"The timezone is expected to be for where this HealthcareService is provided at.","min":0,"max":"1","base":{"path":"PractitionerRole.availableTime.availableEndTime","min":0,"max":"1"},"type":[{"code":"time"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".effectiveTime"}]},{"id":"PractitionerRole.notAvailable","path":"PractitionerRole.notAvailable","short":"Not available during this time due to provided reason","definition":"The practitioner is not available or performing this role during this period of time due to the provided reason.","min":0,"max":"*","base":{"path":"PractitionerRole.notAvailable","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".effectiveTime"}]},{"id":"PractitionerRole.notAvailable.id","path":"PractitionerRole.notAvailable.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"PractitionerRole.notAvailable.extension","path":"PractitionerRole.notAvailable.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"PractitionerRole.notAvailable.modifierExtension","path":"PractitionerRole.notAvailable.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"PractitionerRole.notAvailable.description","path":"PractitionerRole.notAvailable.description","short":"Reason presented to the user explaining why time not available","definition":"The reason that can be presented to the user as to why this time is not available.","min":1,"max":"1","base":{"path":"PractitionerRole.notAvailable.description","min":1,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"PractitionerRole.notAvailable.during","path":"PractitionerRole.notAvailable.during","short":"Service not available from this date","definition":"Service is not available (seasonally or for a public holiday) from this date.","min":0,"max":"1","base":{"path":"PractitionerRole.notAvailable.during","min":0,"max":"1"},"type":[{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".effectiveTime"}]},{"id":"PractitionerRole.availabilityExceptions","path":"PractitionerRole.availabilityExceptions","short":"Description of availability exceptions","definition":"A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times.","min":0,"max":"1","base":{"path":"PractitionerRole.availabilityExceptions","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".effectiveTime"}]},{"id":"PractitionerRole.endpoint","path":"PractitionerRole.endpoint","short":"Technical endpoints providing access to services operated for the practitioner with this role","definition":"Technical endpoints providing access to services operated for the practitioner with this role.","requirements":"Organizations have multiple systems that provide various services and ,ay also be different for practitioners too.\r\rSo the endpoint satisfies the need to be able to define the technical connection details for how to connect to them, and for what purpose.","min":0,"max":"*","base":{"path":"PractitionerRole.endpoint","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Endpoint"]}],"condition":["pd-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]}]},"differential":{"element":[{"id":"PractitionerRole","path":"PractitionerRole","definition":"This is basic constraint on PractitionerRole for use in US Core resources.","constraint":[{"key":"pd-1","severity":"error","human":"SHALL have contact information or a reference to an Endpoint","expression":"telecom or endpoint","xpath":"exists(f:telecom) or exists(f:endpoint)"}],"mustSupport":false},{"id":"PractitionerRole.practitioner","path":"PractitionerRole.practitioner","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"]}],"mustSupport":true},{"id":"PractitionerRole.organization","path":"PractitionerRole.organization","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]}],"mustSupport":true},{"id":"PractitionerRole.code","path":"PractitionerRole.code","min":0,"max":"*","type":[{"code":"CodeableConcept"}],"mustSupport":true,"binding":{"strength":"extensible","description":"Provider role codes consisting of NUCC Health Care Provider Taxonomy Code Set for providers.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role"}},{"id":"PractitionerRole.specialty","path":"PractitionerRole.specialty","min":0,"max":"*","type":[{"code":"CodeableConcept"}],"mustSupport":true,"binding":{"strength":"extensible","description":"Provider specialty codes consist of NUCC Health Care Provider Taxonomy Code Set for providers.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty"}},{"id":"PractitionerRole.location","path":"PractitionerRole.location","min":0,"max":"*","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Location"]}],"mustSupport":true},{"id":"PractitionerRole.telecom","path":"PractitionerRole.telecom","min":0,"max":"*","type":[{"code":"ContactPoint"}],"condition":["pd-1"],"mustSupport":true},{"id":"PractitionerRole.telecom.system","path":"PractitionerRole.telecom.system","min":1,"max":"1","type":[{"code":"code"}],"mustSupport":true},{"id":"PractitionerRole.telecom.value","path":"PractitionerRole.telecom.value","min":1,"max":"1","type":[{"code":"string"}],"mustSupport":true},{"id":"PractitionerRole.endpoint","path":"PractitionerRole.endpoint","min":0,"max":"*","condition":["pd-1"],"mustSupport":true}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-procedure.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-procedure.json deleted file mode 100644 index 1098036116f..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-procedure.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-procedure","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Procedure 0..*ProcedureAn action that is being or was performed on a patient
\".\"\".\"\".\" status S1..1codepreparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required)
\".\"\".\"\".\" code S1..1CodeableConceptProcedure codes from SNOMED CT, CPT, HCPCS II, ICD-10PC, or CDT
Binding: US Core Procedure Codes (extensible)
\".\"\".\"\".\" subject S1..1Reference(US Core Patient Profile)Who the procedure was performed on
\".\"\".\"\".\" performed[x] S1..1When the procedure was performed
\".\"\".\"\".\"\".\" performedDateTimedateTime
\".\"\".\"\".\"\".\" performedPeriodPeriod

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure","version":"3.1.1","name":"USCoreProcedureProfile","title":"US Core Procedure Profile","status":"active","experimental":false,"date":"2020-06-29","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines constraints and extensions on the Procedure resource for the minimal set of data to query and retrieve patient's procedure information.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"argonaut-dq-dstu2","uri":"http://unknown.org/Argonaut-DQ-DSTU2","name":"Argonaut-DQ-DSTU2"},{"identity":"workflow","uri":"http://hl7.org/fhir/workflow","name":"Workflow Pattern"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"}],"kind":"resource","abstract":false,"type":"Procedure","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Procedure","derivation":"constraint","snapshot":{"element":[{"id":"Procedure","path":"Procedure","short":"An action that is being or was performed on a patient","definition":"The US Core Condition Profile is based upon the core FHIR Procedure Resource and created to meet the 2015 Edition Common Clinical Data Set 'Procedures' requirements.","min":0,"max":"*","base":{"path":"Procedure","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"workflow","map":"Event"},{"identity":"rim","map":"Procedure[moodCode=EVN]"},{"identity":"argonaut-dq-dstu2","map":"Procedure"}]},{"id":"Procedure.id","path":"Procedure.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"Procedure.meta","path":"Procedure.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"Procedure.implicitRules","path":"Procedure.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"Procedure.language","path":"Procedure.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"Procedure.text","path":"Procedure.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"Procedure.contained","path":"Procedure.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Procedure.extension","path":"Procedure.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Procedure.modifierExtension","path":"Procedure.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Procedure.identifier","path":"Procedure.identifier","short":"External Identifiers for this procedure","definition":"Business identifiers assigned to this procedure by the performer or other systems which remain constant as the resource is updated and is propagated from server to server.","comment":"This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and Person resource instances might share the same social insurance number.","requirements":"Allows identification of the procedure as it is known by various participating systems and in a way that remains consistent across servers.","min":0,"max":"*","base":{"path":"Procedure.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.identifier"},{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"Some combination of ORC-2 / ORC-3 / OBR-2 / OBR-3 / IPC-1 / IPC-2 / IPC-3 / IPC-4"},{"identity":"rim","map":".id"}]},{"id":"Procedure.instantiatesCanonical","path":"Procedure.instantiatesCanonical","short":"Instantiates FHIR protocol or definition","definition":"The URL pointing to a FHIR-defined protocol, guideline, order set or other definition that is adhered to in whole or in part by this Procedure.","min":0,"max":"*","base":{"path":"Procedure.instantiatesCanonical","min":0,"max":"*"},"type":[{"code":"canonical","targetProfile":["http://hl7.org/fhir/StructureDefinition/PlanDefinition","http://hl7.org/fhir/StructureDefinition/ActivityDefinition","http://hl7.org/fhir/StructureDefinition/Measure","http://hl7.org/fhir/StructureDefinition/OperationDefinition","http://hl7.org/fhir/StructureDefinition/Questionnaire"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.instantiatesCanonical"},{"identity":"rim","map":".outboundRelationship[typeCode=DEFN].target"}]},{"id":"Procedure.instantiatesUri","path":"Procedure.instantiatesUri","short":"Instantiates external protocol or definition","definition":"The URL pointing to an externally maintained protocol, guideline, order set or other definition that is adhered to in whole or in part by this Procedure.","comment":"This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.","min":0,"max":"*","base":{"path":"Procedure.instantiatesUri","min":0,"max":"*"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.instantiatesUri"},{"identity":"rim","map":".outboundRelationship[typeCode=DEFN].target"}]},{"id":"Procedure.basedOn","path":"Procedure.basedOn","short":"A request for this procedure","definition":"A reference to a resource that contains details of the request for this procedure.","alias":["fulfills"],"min":0,"max":"*","base":{"path":"Procedure.basedOn","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/CarePlan","http://hl7.org/fhir/StructureDefinition/ServiceRequest"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.basedOn"},{"identity":"rim","map":".outboundRelationship[typeCode=FLFS].target[classCode=(various e.g. PROC, OBS, PCPR, ACT, moodCode=RQO].code"}]},{"id":"Procedure.partOf","path":"Procedure.partOf","short":"Part of referenced event","definition":"A larger event of which this particular procedure is a component or step.","comment":"The MedicationAdministration resource has a partOf reference to Procedure, but this is not a circular reference. For example, the anesthesia MedicationAdministration is part of the surgical Procedure (MedicationAdministration.partOf = Procedure). For example, the procedure to insert the IV port for an IV medication administration is part of the medication administration (Procedure.partOf = MedicationAdministration).","alias":["container"],"min":0,"max":"*","base":{"path":"Procedure.partOf","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Procedure","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/MedicationAdministration"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.partOf"},{"identity":"rim","map":".inboundRelationship[typeCode=COMP].source[classCode=SBADM or PROC or OBS, moodCode=EVN]"}]},{"id":"Procedure.status","path":"Procedure.status","short":"preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown","definition":"A code specifying the state of the procedure. Generally, this will be the in-progress or completed state.","comment":"The \"unknown\" code is not to be used to convey other statuses. The \"unknown\" code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the procedure.\n\nThis element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.","min":1,"max":"1","base":{"path":"Procedure.status","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/event-status"},"mapping":[{"identity":"workflow","map":"Event.status"},{"identity":"w5","map":"FiveWs.status"},{"identity":"rim","map":"statusCode"},{"identity":"argonaut-dq-dstu2","map":"Procedure.status"}]},{"id":"Procedure.statusReason","path":"Procedure.statusReason","short":"Reason for current status","definition":"Captures the reason for the current state of the procedure.","comment":"This is generally only used for \"exception\" statuses such as \"not-done\", \"suspended\" or \"aborted\". The reason for performing the event at all is captured in reasonCode, not here.","alias":["Suspended Reason","Cancelled Reason"],"min":0,"max":"1","base":{"path":"Procedure.statusReason","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ProcedureNegationReason"}],"strength":"example","description":"A code that identifies the reason a procedure was not performed.","valueSet":"http://hl7.org/fhir/ValueSet/procedure-not-performed-reason"},"mapping":[{"identity":"workflow","map":"Event.statusReason"},{"identity":"rim","map":".reason.Observation.value"}]},{"id":"Procedure.category","path":"Procedure.category","short":"Classification of the procedure","definition":"A code that classifies the procedure for searching, sorting and display purposes (e.g. \"Surgical Procedure\").","min":0,"max":"1","base":{"path":"Procedure.category","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ProcedureCategory"}],"strength":"example","description":"A code that classifies a procedure for searching, sorting and display purposes.","valueSet":"http://hl7.org/fhir/ValueSet/procedure-category"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"rim","map":".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code"}]},{"id":"Procedure.code","path":"Procedure.code","short":"Procedure codes from SNOMED CT, CPT, HCPCS II, ICD-10PC, or CDT","definition":"The specific procedure that is performed. Use text if the exact nature of the procedure cannot be coded (e.g. \"Laparoscopic Appendectomy\").","requirements":"0..1 to account for primarily narrative only resources.","alias":["type"],"min":1,"max":"1","base":{"path":"Procedure.code","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","description":"Codes describing the type of Procedure","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code"},"mapping":[{"identity":"workflow","map":"Event.code"},{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"v2","map":"OBR-44/OBR-45"},{"identity":"rim","map":".code"},{"identity":"argonaut-dq-dstu2","map":"Procedure.code"}]},{"id":"Procedure.subject","path":"Procedure.subject","short":"Who the procedure was performed on","definition":"The person, animal or group on which the procedure was performed.","alias":["patient"],"min":1,"max":"1","base":{"path":"Procedure.subject","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.subject"},{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"PID-3"},{"identity":"rim","map":".participation[typeCode=SBJ].role"},{"identity":"w5","map":"FiveWs.subject"},{"identity":"argonaut-dq-dstu2","map":"Procedure.subject"}]},{"id":"Procedure.encounter","path":"Procedure.encounter","short":"Encounter created as part of","definition":"The Encounter during which this Procedure was created or performed or to which the creation of this record is tightly associated.","comment":"This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.","min":0,"max":"1","base":{"path":"Procedure.encounter","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Encounter"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.context"},{"identity":"w5","map":"FiveWs.context"},{"identity":"v2","map":"PV1-19"},{"identity":"rim","map":".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"}]},{"id":"Procedure.performed[x]","path":"Procedure.performed[x]","short":"When the procedure was performed","definition":"Estimated or actual date, date-time, period, or age when the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.","comment":"Age is generally used when the patient reports an age at which the procedure was performed. Range is generally used when the patient reports an age range when the procedure was performed, such as sometime between 20-25 years old. dateTime supports a range of precision due to some procedures being reported as past procedures that might not have millisecond precision while other procedures performed and documented during the encounter might have more precise UTC timestamps with timezone.","min":1,"max":"1","base":{"path":"Procedure.performed[x]","min":0,"max":"1"},"type":[{"code":"dateTime"},{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.occurrence[x]"},{"identity":"w5","map":"FiveWs.done[x]"},{"identity":"v2","map":"OBR-7"},{"identity":"rim","map":".effectiveTime"},{"identity":"argonaut-dq-dstu2","map":"Procedure.performed[x]"}]},{"id":"Procedure.recorder","path":"Procedure.recorder","short":"Who recorded the procedure","definition":"Individual who recorded the record and takes responsibility for its content.","min":0,"max":"1","base":{"path":"Procedure.recorder","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.author"},{"identity":"rim","map":".participation[typeCode=AUT].role"}]},{"id":"Procedure.asserter","path":"Procedure.asserter","short":"Person who asserts this procedure","definition":"Individual who is making the procedure statement.","min":0,"max":"1","base":{"path":"Procedure.asserter","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.source"},{"identity":"rim","map":".participation[typeCode=INF].role"}]},{"id":"Procedure.performer","path":"Procedure.performer","short":"The people who performed the procedure","definition":"Limited to \"real\" people rather than equipment.","min":0,"max":"*","base":{"path":"Procedure.performer","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.performer"},{"identity":"rim","map":".participation[typeCode=PRF]"}]},{"id":"Procedure.performer.id","path":"Procedure.performer.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Procedure.performer.extension","path":"Procedure.performer.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Procedure.performer.modifierExtension","path":"Procedure.performer.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Procedure.performer.function","path":"Procedure.performer.function","short":"Type of performance","definition":"Distinguishes the type of involvement of the performer in the procedure. For example, surgeon, anaesthetist, endoscopist.","requirements":"Allows disambiguation of the types of involvement of different performers.","min":0,"max":"1","base":{"path":"Procedure.performer.function","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ProcedurePerformerRole"}],"strength":"example","description":"A code that identifies the role of a performer of the procedure.","valueSet":"http://hl7.org/fhir/ValueSet/performer-role"},"mapping":[{"identity":"workflow","map":"Event.performer.function"},{"identity":"v2","map":"Some combination of STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17 / OBX-25"},{"identity":"rim","map":".functionCode"}]},{"id":"Procedure.performer.actor","path":"Procedure.performer.actor","short":"The reference to the practitioner","definition":"The practitioner who was involved in the procedure.","requirements":"A reference to Device supports use cases, such as pacemakers.","min":1,"max":"1","base":{"path":"Procedure.performer.actor","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson","http://hl7.org/fhir/StructureDefinition/Device"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.performer.actor"},{"identity":"w5","map":"FiveWs.actor"},{"identity":"v2","map":"ORC-19/PRT-5"},{"identity":"rim","map":".role"}]},{"id":"Procedure.performer.onBehalfOf","path":"Procedure.performer.onBehalfOf","short":"Organization the device or practitioner was acting for","definition":"The organization the device or practitioner was acting on behalf of.","requirements":"Practitioners and Devices can be associated with multiple organizations. This element indicates which organization they were acting on behalf of when performing the action.","min":0,"max":"1","base":{"path":"Procedure.performer.onBehalfOf","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".scoper"}]},{"id":"Procedure.location","path":"Procedure.location","short":"Where the procedure happened","definition":"The location where the procedure actually happened. E.g. a newborn at home, a tracheostomy at a restaurant.","requirements":"Ties a procedure to where the records are likely kept.","min":0,"max":"1","base":{"path":"Procedure.location","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Location"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.where[x]"},{"identity":"rim","map":".participation[typeCode=LOC].role[classCode=SDLOC]"}]},{"id":"Procedure.reasonCode","path":"Procedure.reasonCode","short":"Coded reason procedure performed","definition":"The coded reason why the procedure was performed. This may be a coded entity of some type, or may simply be present as text.","comment":"Use Procedure.reasonCode when a code sufficiently describes the reason. Use Procedure.reasonReference when referencing a resource, which allows more information to be conveyed, such as onset date. Procedure.reasonCode and Procedure.reasonReference are not meant to be duplicative. For a single reason, either Procedure.reasonCode or Procedure.reasonReference can be used. Procedure.reasonCode may be a summary code, or Procedure.reasonReference may be used to reference a very precise definition of the reason using Condition | Observation | Procedure | DiagnosticReport | DocumentReference. Both Procedure.reasonCode and Procedure.reasonReference can be used if they are describing different reasons for the procedure.","min":0,"max":"*","base":{"path":"Procedure.reasonCode","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ProcedureReason"}],"strength":"example","description":"A code that identifies the reason a procedure is required.","valueSet":"http://hl7.org/fhir/ValueSet/procedure-reason"},"mapping":[{"identity":"workflow","map":"Event.reasonCode"},{"identity":"w5","map":"FiveWs.why[x]"},{"identity":"rim","map":".reasonCode"}]},{"id":"Procedure.reasonReference","path":"Procedure.reasonReference","short":"The justification that the procedure was performed","definition":"The justification of why the procedure was performed.","comment":"It is possible for a procedure to be a reason (such as C-Section) for another procedure (such as an epidural). Other examples include endoscopy for dilatation and biopsy (a combination of diagnostic and therapeutic use). \nUse Procedure.reasonCode when a code sufficiently describes the reason. Use Procedure.reasonReference when referencing a resource, which allows more information to be conveyed, such as onset date. Procedure.reasonCode and Procedure.reasonReference are not meant to be duplicative. For a single reason, either Procedure.reasonCode or Procedure.reasonReference can be used. Procedure.reasonCode may be a summary code, or Procedure.reasonReference may be used to reference a very precise definition of the reason using Condition | Observation | Procedure | DiagnosticReport | DocumentReference. Both Procedure.reasonCode and Procedure.reasonReference can be used if they are describing different reasons for the procedure.","min":0,"max":"*","base":{"path":"Procedure.reasonReference","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/Procedure","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.reasonReference"},{"identity":"w5","map":"FiveWs.why[x]"},{"identity":"rim","map":".reasonCode"}]},{"id":"Procedure.bodySite","path":"Procedure.bodySite","short":"Target body sites","definition":"Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion.","comment":"If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [procedure-targetbodystructure](http://hl7.org/fhir/R4/extension-procedure-targetbodystructure.html).","min":0,"max":"*","base":{"path":"Procedure.bodySite","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"BodySite"}],"strength":"example","description":"Codes describing anatomical locations. May include laterality.","valueSet":"http://hl7.org/fhir/ValueSet/body-site"},"mapping":[{"identity":"v2","map":"OBX-20"},{"identity":"rim","map":".targetSiteCode"}]},{"id":"Procedure.outcome","path":"Procedure.outcome","short":"The result of procedure","definition":"The outcome of the procedure - did it resolve the reasons for the procedure being performed?","comment":"If outcome contains narrative text only, it can be captured using the CodeableConcept.text.","min":0,"max":"1","base":{"path":"Procedure.outcome","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ProcedureOutcome"}],"strength":"example","description":"An outcome of a procedure - whether it was resolved or otherwise.","valueSet":"http://hl7.org/fhir/ValueSet/procedure-outcome"},"mapping":[{"identity":"rim","map":".outboundRelationship[typeCode=OUT].target.text"}]},{"id":"Procedure.report","path":"Procedure.report","short":"Any report resulting from the procedure","definition":"This could be a histology result, pathology report, surgical report, etc.","comment":"There could potentially be multiple reports - e.g. if this was a procedure which took multiple biopsies resulting in a number of anatomical pathology reports.","min":0,"max":"*","base":{"path":"Procedure.report","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Composition"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN]"}]},{"id":"Procedure.complication","path":"Procedure.complication","short":"Complication following the procedure","definition":"Any complications that occurred during the procedure, or in the immediate post-performance period. These are generally tracked separately from the notes, which will typically describe the procedure itself rather than any 'post procedure' issues.","comment":"If complications are only expressed by the narrative text, they can be captured using the CodeableConcept.text.","min":0,"max":"*","base":{"path":"Procedure.complication","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ProcedureComplication"}],"strength":"example","description":"Codes describing complications that resulted from a procedure.","valueSet":"http://hl7.org/fhir/ValueSet/condition-code"},"mapping":[{"identity":"rim","map":".outboundRelationship[typeCode=OUTC].target[classCode=OBS, code=\"complication\", moodCode=EVN].value"}]},{"id":"Procedure.complicationDetail","path":"Procedure.complicationDetail","short":"A condition that is a result of the procedure","definition":"Any complications that occurred during the procedure, or in the immediate post-performance period.","requirements":"This is used to document a condition that is a result of the procedure, not the condition that was the reason for the procedure.","min":0,"max":"*","base":{"path":"Procedure.complicationDetail","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Condition"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".outboundRelationship[typeCode=OUTC].target[classCode=OBS, code=\"complication\", moodCode=EVN].value"}]},{"id":"Procedure.followUp","path":"Procedure.followUp","short":"Instructions for follow up","definition":"If the procedure required specific follow up - e.g. removal of sutures. The follow up may be represented as a simple note or could potentially be more complex, in which case the CarePlan resource can be used.","min":0,"max":"*","base":{"path":"Procedure.followUp","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ProcedureFollowUp"}],"strength":"example","description":"Specific follow up required for a procedure e.g. removal of sutures.","valueSet":"http://hl7.org/fhir/ValueSet/procedure-followup"},"mapping":[{"identity":"rim","map":".outboundRelationship[typeCode=COMP].target[classCode=ACT, moodCode=INT].code"}]},{"id":"Procedure.note","path":"Procedure.note","short":"Additional information about the procedure","definition":"Any other notes and comments about the procedure.","min":0,"max":"*","base":{"path":"Procedure.note","min":0,"max":"*"},"type":[{"code":"Annotation"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.note"},{"identity":"v2","map":"NTE"},{"identity":"rim","map":".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"}]},{"id":"Procedure.focalDevice","path":"Procedure.focalDevice","short":"Manipulated, implanted, or removed device","definition":"A device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure.","min":0,"max":"*","base":{"path":"Procedure.focalDevice","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".participation[typeCode=DEV].role[classCode=MANU]"}]},{"id":"Procedure.focalDevice.id","path":"Procedure.focalDevice.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Procedure.focalDevice.extension","path":"Procedure.focalDevice.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Procedure.focalDevice.modifierExtension","path":"Procedure.focalDevice.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Procedure.focalDevice.action","path":"Procedure.focalDevice.action","short":"Kind of change to device","definition":"The kind of change that happened to the device during the procedure.","min":0,"max":"1","base":{"path":"Procedure.focalDevice.action","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"DeviceActionKind"}],"strength":"preferred","description":"A kind of change that happened to the device during the procedure.","valueSet":"http://hl7.org/fhir/ValueSet/device-action"},"mapping":[{"identity":"rim","map":".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"procedure device action\"].value=:procedure device action codes"}]},{"id":"Procedure.focalDevice.manipulated","path":"Procedure.focalDevice.manipulated","short":"Device that was changed","definition":"The device that was manipulated (changed) during the procedure.","min":1,"max":"1","base":{"path":"Procedure.focalDevice.manipulated","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Device"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".participation[typeCode=DEV].role[classCode=SDLOC]"}]},{"id":"Procedure.usedReference","path":"Procedure.usedReference","short":"Items used during procedure","definition":"Identifies medications, devices and any other substance used as part of the procedure.","comment":"For devices actually implanted or removed, use Procedure.device.","requirements":"Used for tracking contamination, etc.","min":0,"max":"*","base":{"path":"Procedure.usedReference","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Medication","http://hl7.org/fhir/StructureDefinition/Substance"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":".participation[typeCode=DEV].role[classCode=MANU] or\n.participation[typeCode=CSM].role[classCode=ADMM] (for Medication or Substance)"}]},{"id":"Procedure.usedCode","path":"Procedure.usedCode","short":"Coded items used during the procedure","definition":"Identifies coded items that were used as part of the procedure.","comment":"For devices actually implanted or removed, use Procedure.device.","min":0,"max":"*","base":{"path":"Procedure.usedCode","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ProcedureUsed"}],"strength":"example","description":"Codes describing items used during a procedure.","valueSet":"http://hl7.org/fhir/ValueSet/device-kind"},"mapping":[{"identity":"rim","map":"participation[typeCode=Dev].role[classCode=MANU]"}]}]},"differential":{"element":[{"id":"Procedure","path":"Procedure","definition":"The US Core Condition Profile is based upon the core FHIR Procedure Resource and created to meet the 2015 Edition Common Clinical Data Set 'Procedures' requirements.","mustSupport":false,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Procedure"}]},{"id":"Procedure.status","path":"Procedure.status","min":1,"max":"1","type":[{"code":"code"}],"mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/event-status"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Procedure.status"}]},{"id":"Procedure.code","path":"Procedure.code","short":"Procedure codes from SNOMED CT, CPT, HCPCS II, ICD-10PC, or CDT","min":1,"max":"1","type":[{"code":"CodeableConcept"}],"mustSupport":true,"binding":{"strength":"extensible","description":"Codes describing the type of Procedure","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Procedure.code"}]},{"id":"Procedure.subject","path":"Procedure.subject","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Procedure.subject"}]},{"id":"Procedure.performed[x]","path":"Procedure.performed[x]","min":1,"max":"1","type":[{"code":"dateTime"},{"code":"Period"}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Procedure.performed[x]"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-provenance.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-provenance.json deleted file mode 100644 index bfd36b9b41e..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-provenance.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-provenance","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Provenance 0..*ProvenanceUS Core Provenance
\".\"\".\"\".\" target S1..*Reference(Resource)The Resource this Provenance record supports
\".\"\".\"\".\" recorded S1..1instantTimestamp when the activity was recorded / updated
\".\"\".\"\".\" agent S1..*(Slice Definition)Actor involved
Slice: Unordered, Open by pattern:type
\".\"\".\"\".\"\".\" agent:All Slices Content/Rules for all slices
\".\"\".\"\".\"\".\"\".\" type S0..1CodeableConceptHow the agent participated
Binding: US Core Provenance Participant Type Codes (extensible)
\".\"\".\"\".\"\".\"\".\" who S1..1Reference(US Core Practitioner Profile | US Core Patient Profile | US Core Organization Profile)Who participated
\".\"\".\"\".\"\".\"\".\" onBehalfOf SI0..1Reference(US Core Organization Profile)Who the agent is representing
provenance-1: onBehalfOf SHALL be present when Provenance.agent.who is a Practitioner or Device
\".\"\".\"\".\"\".\" agent:ProvenanceAuthor S0..*BackboneElementActor involved
\".\"\".\"\".\"\".\"\".\" type S1..1CodeableConceptHow the agent participated
Required Pattern: At least the following
\".\"\".\"\".\"\".\"\".\"\".\" coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
\".\"\".\"\".\"\".\"\".\"\".\"\".\" system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/provenance-participant-type
\".\"\".\"\".\"\".\"\".\"\".\"\".\" code1..1codeSymbol in syntax defined by the system
Fixed Value: author
\".\"\".\"\".\"\".\" agent:ProvenanceTransmitter S0..1BackboneElementActor involved
\".\"\".\"\".\"\".\"\".\" type S1..1CodeableConceptHow the agent participated
Required Pattern: At least the following
\".\"\".\"\".\"\".\"\".\"\".\" coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
\".\"\".\"\".\"\".\"\".\"\".\"\".\" system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type
\".\"\".\"\".\"\".\"\".\"\".\"\".\" code1..1codeSymbol in syntax defined by the system
Fixed Value: transmitter

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance","version":"3.1.1","name":"USCoreProvenance","title":"US Core Provenance Profile","status":"active","date":"2019-08-05","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Draft set of requirements to satisfy Basic Provenance Requirements.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"workflow","uri":"http://hl7.org/fhir/workflow","name":"Workflow Pattern"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w3c.prov","uri":"http://www.w3.org/ns/prov","name":"W3C PROV"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"fhirauditevent","uri":"http://hl7.org/fhir/auditevent","name":"FHIR AuditEvent Mapping"}],"kind":"resource","abstract":false,"type":"Provenance","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Provenance","derivation":"constraint","snapshot":{"element":[{"id":"Provenance","path":"Provenance","short":"US Core Provenance","definition":"The US Core Provenance Profile is based upon the Argonaut Data Query requirements.","comment":"Some parties may be duplicated between the target resource and its provenance. For instance, the prescriber is usually (but not always) the author of the prescription resource. This resource is defined with close consideration for W3C Provenance.","alias":["History","Event","Activity","Basic Provenance"],"min":0,"max":"*","base":{"path":"Provenance","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"workflow","map":"Event"},{"identity":"rim","map":"ControlAct[isNormalAct() and subsumes(CACT, classCode) and moodCode=EVN]"},{"identity":"w3c.prov","map":"Activity"}]},{"id":"Provenance.id","path":"Provenance.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"Provenance.meta","path":"Provenance.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"Provenance.implicitRules","path":"Provenance.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"Provenance.language","path":"Provenance.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"Provenance.text","path":"Provenance.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"Provenance.contained","path":"Provenance.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Provenance.extension","path":"Provenance.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Provenance.modifierExtension","path":"Provenance.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Provenance.target","path":"Provenance.target","short":"The Resource this Provenance record supports","definition":"The Reference(s) that were generated or updated by the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity.","comment":"Target references are usually version specific, but might not be, if a version has not been assigned or if the provenance information is part of the set of resources being maintained (i.e. a document). When using the RESTful API, the identity of the resource might not be known (especially not the version specific one); the client may either submit the resource first, and then the provenance, or it may submit both using a single transaction. See the notes on transaction for further discussion.","min":1,"max":"*","base":{"path":"Provenance.target","min":1,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Resource"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"rim","map":"./outboundRelationship[isNormalActRelationship() and typeCode=SUBJ]/target OR ./participation[isNormalParticipation() and typeCode=SBJ]/role OR ./participation[isNormalParticipation() and typeCode=SBJ]/role[isNormalRole()]/player"},{"identity":"fhirauditevent","map":"AuditEvent.entity.reference"},{"identity":"w3c.prov","map":"Entity Created/Updated"}]},{"id":"Provenance.occurred[x]","path":"Provenance.occurred[x]","short":"When the activity occurred","definition":"The period during which the activity occurred.","comment":"The period can be a little arbitrary; where possible, the time should correspond to human assessment of the activity time.","min":0,"max":"1","base":{"path":"Provenance.occurred[x]","min":0,"max":"1"},"type":[{"code":"Period"},{"code":"dateTime"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.occurred[x]"},{"identity":"w5","map":"FiveWs.done[x]"},{"identity":"rim","map":"./effectiveTime[type=IVL_TS]"},{"identity":"w3c.prov","map":"Activity.startTime & Activity.endTime"}]},{"id":"Provenance.recorded","path":"Provenance.recorded","short":"Timestamp when the activity was recorded / updated","definition":"The instant of time at which the activity was recorded.","comment":"This can be a little different from the time stamp on the resource if there is a delay between recording the event and updating the provenance and target resource.","min":1,"max":"1","base":{"path":"Provenance.recorded","min":1,"max":"1"},"type":[{"code":"instant"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.recorded"},{"identity":"rim","map":"unique(./participation[isNormalParticipation() and typeCode=AUT]/time[type=TS])"},{"identity":"fhirauditevent","map":"AuditEvent.recorded"},{"identity":"w3c.prov","map":"Activity.when"}]},{"id":"Provenance.policy","path":"Provenance.policy","short":"Policy or plan the activity was defined by","definition":"Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc.","comment":"For example: Where an OAuth token authorizes, the unique identifier from the OAuth token is placed into the policy element Where a policy engine (e.g. XACML) holds policy logic, the unique policy identifier is placed into the policy element.","min":0,"max":"*","base":{"path":"Provenance.policy","min":0,"max":"*"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"./inboundRelationship[isNormalActRelationship() and typeCode=\"SUBJ\"]/source[isNormalAct and subsumes(POLICY, classCode) and moodCode=EVN]/text[typeCode='ED'/tel"},{"identity":"fhirauditevent","map":"AuditEvent.agent.policy"}]},{"id":"Provenance.location","path":"Provenance.location","short":"Where the activity occurred, if relevant","definition":"Where the activity occurred, if relevant.","min":0,"max":"1","base":{"path":"Provenance.location","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Location"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.location"},{"identity":"w5","map":"FiveWs.where[x]"},{"identity":"rim","map":"unique(./participation[isNormalParticipation() and typeCode=LOC]/role[isNormalRole() and subsumes(SDLOC, classCode)]/player[isNormalEntity and classCode=\"LOC\" and determinerCode=\"INST\"]"},{"identity":"fhirauditevent","map":"AuditEvent.agent.location"},{"identity":"w3c.prov","map":"Activity.location"}]},{"id":"Provenance.reason","path":"Provenance.reason","short":"Reason the activity is occurring","definition":"The reason that the activity was taking place.","min":0,"max":"*","base":{"path":"Provenance.reason","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ProvenanceReason"}],"strength":"extensible","description":"The reason the activity took place.","valueSet":"http://terminology.hl7.org/ValueSet/v3-PurposeOfUse"},"mapping":[{"identity":"workflow","map":"Event.reasonCode"},{"identity":"w5","map":"FiveWs.why[x]"},{"identity":"rim","map":"unique(./reasonCode)"},{"identity":"fhirauditevent","map":"AuditEvent.purposeOfEvent"},{"identity":"w3c.prov","map":"Activity.Activity"}]},{"id":"Provenance.activity","path":"Provenance.activity","short":"Activity that occurred","definition":"An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities.","min":0,"max":"1","base":{"path":"Provenance.activity","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ProvenanceActivity"}],"strength":"extensible","description":"The activity that took place.","valueSet":"http://hl7.org/fhir/ValueSet/provenance-activity-type"},"mapping":[{"identity":"workflow","map":"Event.code"},{"identity":"w5","map":"FiveWs.why[x]"},{"identity":"rim","map":"Act.code"},{"identity":"w3c.prov","map":"Activity.Activity"}]},{"id":"Provenance.agent","path":"Provenance.agent","slicing":{"discriminator":[{"type":"pattern","path":"type"}],"rules":"open"},"short":"Actor involved","definition":"An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.","comment":"Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.","requirements":"An agent can be a person, an organization, software, device, or other entities that may be ascribed responsibility.","min":1,"max":"*","base":{"path":"Provenance.agent","min":1,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.performer"},{"identity":"w5","map":"FiveWs.who"},{"identity":"rim","map":"./participation[isNormalParticipation()] OR ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']"},{"identity":"fhirauditevent","map":"AuditEvent.agent"},{"identity":"w3c.prov","map":"Agent"}]},{"id":"Provenance.agent.id","path":"Provenance.agent.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Provenance.agent.extension","path":"Provenance.agent.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Provenance.agent.modifierExtension","path":"Provenance.agent.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Provenance.agent.type","path":"Provenance.agent.type","short":"How the agent participated","definition":"The participation the agent had with respect to the activity.","comment":"For example: author, performer, enterer, attester, etc.","min":0,"max":"1","base":{"path":"Provenance.agent.type","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type"},"mapping":[{"identity":"workflow","map":"Event.performer.function"},{"identity":"rim","map":".role"},{"identity":"fhirauditevent","map":"AuditEvent.agent.type"},{"identity":"w3c.prov","map":"Agent.Attribution"}]},{"id":"Provenance.agent.role","path":"Provenance.agent.role","short":"What the agents role was","definition":"The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity.","comment":"For example: doctor, nurse, clerk, etc.","min":0,"max":"*","base":{"path":"Provenance.agent.role","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ProvenanceAgentRole"}],"strength":"example","description":"The role that a provenance agent played with respect to the activity.","valueSet":"http://hl7.org/fhir/ValueSet/security-role-type"},"mapping":[{"identity":"rim","map":".typecode"},{"identity":"fhirauditevent","map":"AuditEvent.agent.role"}]},{"id":"Provenance.agent.who","path":"Provenance.agent.who","short":"Who participated","definition":"The individual, device or organization that participated in the event.","comment":"whoIdentity should be used when the agent is not a Resource type.","min":1,"max":"1","base":{"path":"Provenance.agent.who","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner","http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient","http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.performer.actor"},{"identity":"w5","map":"FiveWs.actor"},{"identity":"rim","map":".id"}]},{"id":"Provenance.agent.onBehalfOf","path":"Provenance.agent.onBehalfOf","short":"Who the agent is representing","definition":"The individual, device, or organization for whom the change was made.","comment":"onBehalfOfIdentity should be used when the agent is not a Resource type.","min":0,"max":"1","base":{"path":"Provenance.agent.onBehalfOf","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"provenance-1","severity":"error","human":"onBehalfOf SHALL be present when Provenance.agent.who is a Practitioner or Device","expression":"(($this.agent.who.resolve() is Practitioner) or ($this.agent.who.resolve() is Device)) implies exists()"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]"}]},{"id":"Provenance.agent:ProvenanceAuthor","path":"Provenance.agent","sliceName":"ProvenanceAuthor","short":"Actor involved","definition":"An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.","comment":"Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.","requirements":"An agent can be a person, an organization, software, device, or other entities that may be ascribed responsibility.","min":0,"max":"*","base":{"path":"Provenance.agent","min":1,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.performer"},{"identity":"w5","map":"FiveWs.who"},{"identity":"rim","map":"./participation[isNormalParticipation()] OR ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']"},{"identity":"fhirauditevent","map":"AuditEvent.agent"},{"identity":"w3c.prov","map":"Agent"}]},{"id":"Provenance.agent:ProvenanceAuthor.id","path":"Provenance.agent.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Provenance.agent:ProvenanceAuthor.extension","path":"Provenance.agent.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Provenance.agent:ProvenanceAuthor.modifierExtension","path":"Provenance.agent.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Provenance.agent:ProvenanceAuthor.type","path":"Provenance.agent.type","short":"How the agent participated","definition":"The participation the agent had with respect to the activity.","comment":"For example: author, performer, enterer, attester, etc.","min":1,"max":"1","base":{"path":"Provenance.agent.type","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"patternCodeableConcept":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type","code":"author"}]},"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ProvenanceAgentType"}],"strength":"extensible","description":"The type of participation that a provenance agent played with respect to the activity.","valueSet":"http://hl7.org/fhir/ValueSet/provenance-agent-type"},"mapping":[{"identity":"workflow","map":"Event.performer.function"},{"identity":"rim","map":".role"},{"identity":"fhirauditevent","map":"AuditEvent.agent.type"},{"identity":"w3c.prov","map":"Agent.Attribution"}]},{"id":"Provenance.agent:ProvenanceAuthor.role","path":"Provenance.agent.role","short":"What the agents role was","definition":"The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity.","comment":"For example: doctor, nurse, clerk, etc.","min":0,"max":"*","base":{"path":"Provenance.agent.role","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ProvenanceAgentRole"}],"strength":"example","description":"The role that a provenance agent played with respect to the activity.","valueSet":"http://hl7.org/fhir/ValueSet/security-role-type"},"mapping":[{"identity":"rim","map":".typecode"},{"identity":"fhirauditevent","map":"AuditEvent.agent.role"}]},{"id":"Provenance.agent:ProvenanceAuthor.who","path":"Provenance.agent.who","short":"Who participated","definition":"The individual, device or organization that participated in the event.","comment":"whoIdentity should be used when the agent is not a Resource type.","min":1,"max":"1","base":{"path":"Provenance.agent.who","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.performer.actor"},{"identity":"w5","map":"FiveWs.actor"},{"identity":"rim","map":".id"}]},{"id":"Provenance.agent:ProvenanceAuthor.onBehalfOf","path":"Provenance.agent.onBehalfOf","short":"Who the agent is representing","definition":"The individual, device, or organization for whom the change was made.","comment":"onBehalfOfIdentity should be used when the agent is not a Resource type.","min":0,"max":"1","base":{"path":"Provenance.agent.onBehalfOf","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]"}]},{"id":"Provenance.agent:ProvenanceTransmitter","path":"Provenance.agent","sliceName":"ProvenanceTransmitter","short":"Actor involved","definition":"The entity that provided the copy to your system.","comment":"Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.","requirements":"An agent can be a person, an organization, software, device, or other entities that may be ascribed responsibility.","min":0,"max":"1","base":{"path":"Provenance.agent","min":1,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"workflow","map":"Event.performer"},{"identity":"w5","map":"FiveWs.who"},{"identity":"rim","map":"./participation[isNormalParticipation()] OR ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']"},{"identity":"fhirauditevent","map":"AuditEvent.agent"},{"identity":"w3c.prov","map":"Agent"}]},{"id":"Provenance.agent:ProvenanceTransmitter.id","path":"Provenance.agent.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Provenance.agent:ProvenanceTransmitter.extension","path":"Provenance.agent.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Provenance.agent:ProvenanceTransmitter.modifierExtension","path":"Provenance.agent.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Provenance.agent:ProvenanceTransmitter.type","path":"Provenance.agent.type","short":"How the agent participated","definition":"The participation the agent had with respect to the activity.","comment":"For example: author, performer, enterer, attester, etc.","min":1,"max":"1","base":{"path":"Provenance.agent.type","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"patternCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type","code":"transmitter"}]},"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ProvenanceAgentType"}],"strength":"extensible","description":"The type of participation that a provenance agent played with respect to the activity.","valueSet":"http://hl7.org/fhir/ValueSet/provenance-agent-type"},"mapping":[{"identity":"workflow","map":"Event.performer.function"},{"identity":"rim","map":".role"},{"identity":"fhirauditevent","map":"AuditEvent.agent.type"},{"identity":"w3c.prov","map":"Agent.Attribution"}]},{"id":"Provenance.agent:ProvenanceTransmitter.role","path":"Provenance.agent.role","short":"What the agents role was","definition":"The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity.","comment":"For example: doctor, nurse, clerk, etc.","min":0,"max":"*","base":{"path":"Provenance.agent.role","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ProvenanceAgentRole"}],"strength":"example","description":"The role that a provenance agent played with respect to the activity.","valueSet":"http://hl7.org/fhir/ValueSet/security-role-type"},"mapping":[{"identity":"rim","map":".typecode"},{"identity":"fhirauditevent","map":"AuditEvent.agent.role"}]},{"id":"Provenance.agent:ProvenanceTransmitter.who","path":"Provenance.agent.who","short":"Who participated","definition":"The individual, device or organization that participated in the event.","comment":"whoIdentity should be used when the agent is not a Resource type.","min":1,"max":"1","base":{"path":"Provenance.agent.who","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.performer.actor"},{"identity":"w5","map":"FiveWs.actor"},{"identity":"rim","map":".id"}]},{"id":"Provenance.agent:ProvenanceTransmitter.onBehalfOf","path":"Provenance.agent.onBehalfOf","short":"Who the agent is representing","definition":"The individual, device, or organization for whom the change was made.","comment":"onBehalfOfIdentity should be used when the agent is not a Resource type.","min":0,"max":"1","base":{"path":"Provenance.agent.onBehalfOf","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]"}]},{"id":"Provenance.entity","path":"Provenance.entity","short":"An entity used in this activity","definition":"An entity used in this activity.","min":0,"max":"*","base":{"path":"Provenance.entity","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"./subjectOf"},{"identity":"fhirauditevent","map":"AuditEvent.entity"},{"identity":"w3c.prov","map":"Entity"}]},{"id":"Provenance.entity.id","path":"Provenance.entity.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Provenance.entity.extension","path":"Provenance.entity.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Provenance.entity.modifierExtension","path":"Provenance.entity.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Provenance.entity.role","path":"Provenance.entity.role","short":"derivation | revision | quotation | source | removal","definition":"How the entity was used during the activity.","min":1,"max":"1","base":{"path":"Provenance.entity.role","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ProvenanceEntityRole"}],"strength":"required","description":"How an entity was used in an activity.","valueSet":"http://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1"},"mapping":[{"identity":"rim","map":"./typeCode"},{"identity":"fhirauditevent","map":"AuditEvent.entity.lifecycle"},{"identity":"w3c.prov","map":"Entity.role"}]},{"id":"Provenance.entity.what","path":"Provenance.entity.what","short":"Identity of entity","definition":"Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.","comment":"whatIdentity should be used for entities that are not a Resource type.","min":1,"max":"1","base":{"path":"Provenance.entity.what","min":1,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Resource"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"rim","map":"./text/reference"},{"identity":"fhirauditevent","map":"AuditEvent.entity.reference"},{"identity":"w3c.prov","map":"Entity.Identity"}]},{"id":"Provenance.entity.agent","path":"Provenance.entity.agent","short":"Entity is attributed to this agent","definition":"The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity.","comment":"A usecase where one Provenance.entity.agent is used where the Entity that was used in the creation/updating of the Target, is not in the context of the same custodianship as the Target, and thus the meaning of Provenance.entity.agent is to say that the entity referenced is managed elsewhere and that this Agent provided access to it. This would be similar to where the Entity being referenced is managed outside FHIR, such as through HL7 v2, v3, or XDS. This might be where the Entity being referenced is managed in another FHIR resource server. Thus it explains the Provenance of that Entity's use in the context of this Provenance activity.","min":0,"max":"*","base":{"path":"Provenance.entity.agent","min":0,"max":"*"},"contentReference":"#Provenance.agent:ProvenanceTransmitter","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"./author/role"}]},{"id":"Provenance.signature","path":"Provenance.signature","short":"Signature on target","definition":"A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated.","min":0,"max":"*","base":{"path":"Provenance.signature","min":0,"max":"*"},"type":[{"code":"Signature"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"./signatureText"}]}]},"differential":{"element":[{"id":"Provenance","path":"Provenance","short":"US Core Provenance","definition":"The US Core Provenance Profile is based upon the Argonaut Data Query requirements.","alias":["Basic Provenance"],"mustSupport":false,"isModifier":false},{"id":"Provenance.target","path":"Provenance.target","short":"The Resource this Provenance record supports","min":1,"max":"*","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Resource"]}],"mustSupport":true,"isModifier":false},{"id":"Provenance.recorded","path":"Provenance.recorded","short":"Timestamp when the activity was recorded / updated","definition":"The instant of time at which the activity was recorded.","min":1,"max":"1","type":[{"code":"instant"}],"mustSupport":true,"isModifier":false},{"id":"Provenance.agent","path":"Provenance.agent","slicing":{"discriminator":[{"type":"pattern","path":"type"}],"rules":"open"},"min":1,"max":"*","mustSupport":true,"isModifier":false},{"id":"Provenance.agent.type","path":"Provenance.agent.type","min":0,"max":"1","type":[{"code":"CodeableConcept"}],"mustSupport":true,"isModifier":false,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type"}},{"id":"Provenance.agent.who","path":"Provenance.agent.who","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner","http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient","http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]}],"mustSupport":true,"isModifier":false},{"id":"Provenance.agent.onBehalfOf","path":"Provenance.agent.onBehalfOf","min":0,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]}],"constraint":[{"key":"provenance-1","severity":"error","human":"onBehalfOf SHALL be present when Provenance.agent.who is a Practitioner or Device","expression":"(($this.agent.who.resolve() is Practitioner) or ($this.agent.who.resolve() is Device)) implies exists()"}],"mustSupport":true,"isModifier":false},{"id":"Provenance.agent:ProvenanceAuthor","path":"Provenance.agent","sliceName":"ProvenanceAuthor","min":0,"max":"*","mustSupport":true,"isModifier":false},{"id":"Provenance.agent:ProvenanceAuthor.type","path":"Provenance.agent.type","min":1,"max":"1","type":[{"code":"CodeableConcept"}],"patternCodeableConcept":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type","code":"author"}]},"mustSupport":true,"isModifier":false},{"id":"Provenance.agent:ProvenanceTransmitter","path":"Provenance.agent","sliceName":"ProvenanceTransmitter","definition":"The entity that provided the copy to your system.","min":0,"max":"1","mustSupport":true,"isModifier":false},{"id":"Provenance.agent:ProvenanceTransmitter.type","path":"Provenance.agent.type","min":1,"max":"1","type":[{"code":"CodeableConcept"}],"patternCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type","code":"transmitter"}]},"mustSupport":true,"isModifier":false}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-pulse-oximetry.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-pulse-oximetry.json deleted file mode 100644 index 31539a25dca..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-pulse-oximetry.json +++ /dev/null @@ -1,6531 +0,0 @@ -{ - "resourceType": "StructureDefinition", - "id": "us-core-pulse-oximetry", - "text": { - "status": "extensions", - "div": "
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Observation 0..*observation-oxygensatFHIR Oxygen Saturation Profile
\".\"\".\"\".\" code S1..1CodeableConceptOxygen Saturation by Pulse Oximetry
\".\"\".\"\".\"\".\" coding S0..*(Slice Definition)Code defined by a terminology system
Slice: Unordered, Open by value:code, value:system
\".\"\".\"\".\"\".\"\".\" coding:PulseOx S1..1CodingCode defined by a terminology system
\".\"\".\"\".\"\".\"\".\"\".\" system S1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
\".\"\".\"\".\"\".\"\".\"\".\" code S1..1codeSymbol in syntax defined by the system
Fixed Value: 59408-5
\".\"\".\"\".\" component S0..*(Slice Definition)Used when reporting systolic and diastolic blood pressure.
Slice: Unordered, Open by pattern:code
\".\"\".\"\".\"\".\" component:FlowRate S0..1BackboneElementInhaled oxygen flow rate
\".\"\".\"\".\"\".\"\".\" code S1..1CodeableConceptType of component observation (code / type)
Required Pattern: At least the following
\".\"\".\"\".\"\".\"\".\"\".\" coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
\".\"\".\"\".\"\".\"\".\"\".\"\".\" system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
\".\"\".\"\".\"\".\"\".\"\".\"\".\" code1..1codeSymbol in syntax defined by the system
Fixed Value: 3151-8
\".\"\".\"\".\"\".\"\".\" valueQuantity S0..1QuantityVital Sign Value recorded with UCUM
\".\"\".\"\".\"\".\"\".\"\".\" value S1..1decimalNumerical value (with implicit precision)
\".\"\".\"\".\"\".\"\".\"\".\" unit S1..1stringUnit representation
\".\"\".\"\".\"\".\"\".\"\".\" system S1..1uriSystem that defines coded unit form
Fixed Value: http://unitsofmeasure.org
\".\"\".\"\".\"\".\"\".\"\".\" code S1..1codeCoded form of the unit
Fixed Value: L/min
\".\"\".\"\".\"\".\" component:Concentration S0..1BackboneElementInhaled oxygen concentration
\".\"\".\"\".\"\".\"\".\" code S1..1CodeableConceptType of component observation (code / type)
Required Pattern: At least the following
\".\"\".\"\".\"\".\"\".\"\".\" coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
\".\"\".\"\".\"\".\"\".\"\".\"\".\" system1..1uriIdentity of the terminology system
Fixed Value: http://loinc.org
\".\"\".\"\".\"\".\"\".\"\".\"\".\" code1..1codeSymbol in syntax defined by the system
Fixed Value: 3150-0
\".\"\".\"\".\"\".\"\".\" valueQuantity S0..1QuantityVital Sign Value recorded with UCUM
\".\"\".\"\".\"\".\"\".\"\".\" value S1..1decimalNumerical value (with implicit precision)
\".\"\".\"\".\"\".\"\".\"\".\" unit S1..1stringUnit representation
\".\"\".\"\".\"\".\"\".\"\".\" system S1..1uriSystem that defines coded unit form
Fixed Value: http://unitsofmeasure.org
\".\"\".\"\".\"\".\"\".\"\".\" code S1..1codeCoded form of the unit
Fixed Value: %

\"doco\" Documentation for this format
" - }, - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry", - "version": "3.1.1", - "name": "USCorePulseOximetryProfile", - "title": "US Core Pulse Oximetry Profile", - "status": "active", - "experimental": false, - "date": "2020-06-29", - "publisher": "HL7 US Realm Steering Committee", - "contact": [ - { - "telecom": [ - { - "system": "url", - "value": "http://www.healthit.gov" - } - ] - } - ], - "description": "Defines constraints and extensions on the Observation resource for use in querying and retrieving inspired O2 by pulse oximetry observations.", - "jurisdiction": [ - { - "coding": [ - { - "system": "urn:iso:std:iso:3166", - "code": "US", - "display": "United States of America" - } - ] - } - ], - "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "workflow", - "uri": "http://hl7.org/fhir/workflow", - "name": "Workflow Pattern" - }, - { - "identity": "sct-concept", - "uri": "http://snomed.info/conceptdomain", - "name": "SNOMED CT Concept Domain Binding" - }, - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - }, - { - "identity": "sct-attr", - "uri": "http://snomed.org/attributebinding", - "name": "SNOMED CT Attribute Binding" - } - ], - "kind": "resource", - "abstract": false, - "type": "Observation", - "baseDefinition": "http://hl7.org/fhir/StructureDefinition/oxygensat", - "derivation": "constraint", - "snapshot": { - "element": [ - { - "id": "Observation", - "path": "Observation", - "short": "FHIR Oxygen Saturation Profile", - "definition": "This profile defines how to represent pulse oximetry and inspired oxygen concentration based on the FHIR Core Vitals Profile.\nINSPIRED OXYGEN CONCENTRATION observations in FHIR using a standard LOINC code and UCUM units of measure.", - "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.", - "alias": [ - "Vital Signs", - "Measurement", - "Results", - "Tests" - ], - "min": 0, - "max": "*", - "base": { - "path": "Observation", - "min": 0, - "max": "*" - }, - "constraint": [ - { - "key": "dom-2", - "severity": "error", - "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", - "expression": "contained.contained.empty()", - "xpath": "not(parent::f:contained and f:contained)", - "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" - }, - { - "key": "dom-3", - "severity": "error", - "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", - "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", - "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", - "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" - }, - { - "key": "dom-4", - "severity": "error", - "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", - "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", - "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", - "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" - }, - { - "key": "dom-5", - "severity": "error", - "human": "If a resource is contained in another resource, it SHALL NOT have a security label", - "expression": "contained.meta.security.empty()", - "xpath": "not(exists(f:contained/*/f:meta/f:security))", - "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", - "valueBoolean": true - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", - "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." - } - ], - "key": "dom-6", - "severity": "warning", - "human": "A resource should have narrative for robust management", - "expression": "text.`div`.exists()", - "xpath": "exists(f:text/h:div)", - "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" - }, - { - "key": "obs-6", - "severity": "error", - "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", - "expression": "dataAbsentReason.empty() or value.empty()", - "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", - "source": "http://hl7.org/fhir/StructureDefinition/Observation" - }, - { - "key": "obs-7", - "severity": "error", - "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", - "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", - "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", - "source": "http://hl7.org/fhir/StructureDefinition/Observation" - }, - { - "key": "vs-2", - "severity": "error", - "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", - "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", - "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", - "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" - } - ], - "mustSupport": false, - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "Entity. Role, or Act" - }, - { - "identity": "workflow", - "map": "Event" - }, - { - "identity": "sct-concept", - "map": "< 363787002 |Observable entity|" - }, - { - "identity": "v2", - "map": "OBX" - }, - { - "identity": "rim", - "map": "Observation[classCode=OBS, moodCode=EVN]" - } - ] - }, - { - "id": "Observation.id", - "path": "Observation.id", - "short": "Logical id of this artifact", - "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", - "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", - "min": 0, - "max": "1", - "base": { - "path": "Resource.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ], - "code": "http://hl7.org/fhirpath/System.String" - } - ], - "isModifier": false, - "isSummary": true - }, - { - "id": "Observation.meta", - "path": "Observation.meta", - "short": "Metadata about the resource", - "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", - "min": 0, - "max": "1", - "base": { - "path": "Resource.meta", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Meta" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true - }, - { - "id": "Observation.implicitRules", - "path": "Observation.implicitRules", - "short": "A set of rules under which this content was created", - "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", - "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", - "min": 0, - "max": "1", - "base": { - "path": "Resource.implicitRules", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "uri" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": true, - "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", - "isSummary": true - }, - { - "id": "Observation.language", - "path": "Observation.language", - "short": "Language of the resource content", - "definition": "The base language in which the resource is written.", - "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", - "min": 0, - "max": "1", - "base": { - "path": "Resource.language", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "code" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", - "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "Language" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", - "valueBoolean": true - } - ], - "strength": "preferred", - "description": "A human language.", - "valueSet": "http://hl7.org/fhir/ValueSet/languages" - } - }, - { - "id": "Observation.text", - "path": "Observation.text", - "short": "Text summary of the resource, for human interpretation", - "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", - "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", - "alias": [ - "narrative", - "html", - "xhtml", - "display" - ], - "min": 0, - "max": "1", - "base": { - "path": "DomainResource.text", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Narrative" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "Act.text?" - } - ] - }, - { - "id": "Observation.contained", - "path": "Observation.contained", - "short": "Contained, inline Resources", - "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", - "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", - "alias": [ - "inline resources", - "anonymous resources", - "contained resources" - ], - "min": 0, - "max": "*", - "base": { - "path": "DomainResource.contained", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Resource" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "N/A" - } - ] - }, - { - "id": "Observation.extension", - "path": "Observation.extension", - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "DomainResource.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "N/A" - } - ] - }, - { - "id": "Observation.modifierExtension", - "path": "Observation.modifierExtension", - "short": "Extensions that cannot be ignored", - "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "DomainResource.modifierExtension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": true, - "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "N/A" - } - ] - }, - { - "id": "Observation.identifier", - "path": "Observation.identifier", - "short": "Business Identifier for observation", - "definition": "A unique identifier assigned to this observation.", - "requirements": "Allows observations to be distinguished and referenced.", - "min": 0, - "max": "*", - "base": { - "path": "Observation.identifier", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Identifier" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "workflow", - "map": "Event.identifier" - }, - { - "identity": "w5", - "map": "FiveWs.identifier" - }, - { - "identity": "v2", - "map": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." - }, - { - "identity": "rim", - "map": "id" - } - ] - }, - { - "id": "Observation.basedOn", - "path": "Observation.basedOn", - "short": "Fulfills plan, proposal or order", - "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", - "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", - "alias": [ - "Fulfills" - ], - "min": 0, - "max": "*", - "base": { - "path": "Observation.basedOn", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/CarePlan", - "http://hl7.org/fhir/StructureDefinition/DeviceRequest", - "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", - "http://hl7.org/fhir/StructureDefinition/MedicationRequest", - "http://hl7.org/fhir/StructureDefinition/NutritionOrder", - "http://hl7.org/fhir/StructureDefinition/ServiceRequest" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "workflow", - "map": "Event.basedOn" - }, - { - "identity": "v2", - "map": "ORC" - }, - { - "identity": "rim", - "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" - } - ] - }, - { - "id": "Observation.partOf", - "path": "Observation.partOf", - "short": "Part of referenced event", - "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", - "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", - "alias": [ - "Container" - ], - "min": 0, - "max": "*", - "base": { - "path": "Observation.partOf", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", - "http://hl7.org/fhir/StructureDefinition/MedicationDispense", - "http://hl7.org/fhir/StructureDefinition/MedicationStatement", - "http://hl7.org/fhir/StructureDefinition/Procedure", - "http://hl7.org/fhir/StructureDefinition/Immunization", - "http://hl7.org/fhir/StructureDefinition/ImagingStudy" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "workflow", - "map": "Event.partOf" - }, - { - "identity": "v2", - "map": "Varies by domain" - }, - { - "identity": "rim", - "map": ".outboundRelationship[typeCode=FLFS].target" - } - ] - }, - { - "id": "Observation.status", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", - "valueString": "default: final" - } - ], - "path": "Observation.status", - "short": "registered | preliminary | final | amended +", - "definition": "The status of the result value.", - "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", - "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", - "min": 1, - "max": "1", - "base": { - "path": "Observation.status", - "min": 1, - "max": "1" - }, - "type": [ - { - "code": "code" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": true, - "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "Status" - } - ], - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" - }, - "mapping": [ - { - "identity": "workflow", - "map": "Event.status" - }, - { - "identity": "w5", - "map": "FiveWs.status" - }, - { - "identity": "sct-concept", - "map": "< 445584004 |Report by finality status|" - }, - { - "identity": "v2", - "map": "OBX-11" - }, - { - "identity": "rim", - "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" - } - ] - }, - { - "id": "Observation.category", - "path": "Observation.category", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "coding.code" - }, - { - "type": "value", - "path": "coding.system" - } - ], - "ordered": false, - "rules": "open" - }, - "short": "Classification of type of observation", - "definition": "A code that classifies the general type of observation being made.", - "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", - "requirements": "Used for filtering what observations are retrieved and displayed.", - "min": 1, - "max": "*", - "base": { - "path": "Observation.category", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ObservationCategory" - } - ], - "strength": "preferred", - "description": "Codes for high level observation categories.", - "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" - }, - "mapping": [ - { - "identity": "w5", - "map": "FiveWs.class" - }, - { - "identity": "rim", - "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" - } - ] - }, - { - "id": "Observation.category:VSCat", - "path": "Observation.category", - "sliceName": "VSCat", - "short": "Classification of type of observation", - "definition": "A code that classifies the general type of observation being made.", - "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", - "requirements": "Used for filtering what observations are retrieved and displayed.", - "min": 1, - "max": "1", - "base": { - "path": "Observation.category", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ObservationCategory" - } - ], - "strength": "preferred", - "description": "Codes for high level observation categories.", - "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" - }, - "mapping": [ - { - "identity": "w5", - "map": "FiveWs.class" - }, - { - "identity": "rim", - "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" - } - ] - }, - { - "id": "Observation.category:VSCat.id", - "path": "Observation.category.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ], - "code": "http://hl7.org/fhirpath/System.String" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.category:VSCat.extension", - "path": "Observation.category.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.category:VSCat.coding", - "path": "Observation.category.coding", - "short": "Code defined by a terminology system", - "definition": "A reference to a code defined by a terminology system.", - "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", - "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", - "min": 1, - "max": "*", - "base": { - "path": "CodeableConcept.coding", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Coding" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.1-8, C*E.10-22" - }, - { - "identity": "rim", - "map": "union(., ./translation)" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" - } - ] - }, - { - "id": "Observation.category:VSCat.coding.id", - "path": "Observation.category.coding.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ], - "code": "http://hl7.org/fhirpath/System.String" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.category:VSCat.coding.extension", - "path": "Observation.category.coding.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.category:VSCat.coding.system", - "path": "Observation.category.coding.system", - "short": "Identity of the terminology system", - "definition": "The identification of the code system that defines the meaning of the symbol in the code.", - "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", - "requirements": "Need to be unambiguous about the source of the definition of the symbol.", - "min": 1, - "max": "1", - "base": { - "path": "Coding.system", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "uri" - } - ], - "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.3" - }, - { - "identity": "rim", - "map": "./codeSystem" - }, - { - "identity": "orim", - "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" - } - ] - }, - { - "id": "Observation.category:VSCat.coding.version", - "path": "Observation.category.coding.version", - "short": "Version of the system - if relevant", - "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", - "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", - "min": 0, - "max": "1", - "base": { - "path": "Coding.version", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.7" - }, - { - "identity": "rim", - "map": "./codeSystemVersion" - }, - { - "identity": "orim", - "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" - } - ] - }, - { - "id": "Observation.category:VSCat.coding.code", - "path": "Observation.category.coding.code", - "short": "Symbol in syntax defined by the system", - "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", - "requirements": "Need to refer to a particular code in the system.", - "min": 1, - "max": "1", - "base": { - "path": "Coding.code", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "code" - } - ], - "fixedCode": "vital-signs", - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.1" - }, - { - "identity": "rim", - "map": "./code" - }, - { - "identity": "orim", - "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" - } - ] - }, - { - "id": "Observation.category:VSCat.coding.display", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", - "valueBoolean": true - } - ], - "path": "Observation.category.coding.display", - "short": "Representation defined by the system", - "definition": "A representation of the meaning of the code in the system, following the rules of the system.", - "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", - "min": 0, - "max": "1", - "base": { - "path": "Coding.display", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.2 - but note this is not well followed" - }, - { - "identity": "rim", - "map": "CV.displayName" - }, - { - "identity": "orim", - "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" - } - ] - }, - { - "id": "Observation.category:VSCat.coding.userSelected", - "path": "Observation.category.coding.userSelected", - "short": "If this coding was chosen directly by the user", - "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", - "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", - "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", - "min": 0, - "max": "1", - "base": { - "path": "Coding.userSelected", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "boolean" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "Sometimes implied by being first" - }, - { - "identity": "rim", - "map": "CD.codingRationale" - }, - { - "identity": "orim", - "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" - } - ] - }, - { - "id": "Observation.category:VSCat.text", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", - "valueBoolean": true - } - ], - "path": "Observation.category.text", - "short": "Plain text representation of the concept", - "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", - "comment": "Very often the text is the same as a displayName of one of the codings.", - "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", - "min": 0, - "max": "1", - "base": { - "path": "CodeableConcept.text", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.9. But note many systems use C*E.2 for this" - }, - { - "identity": "rim", - "map": "./originalText[mediaType/code=\"text/plain\"]/data" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" - } - ] - }, - { - "id": "Observation.code", - "path": "Observation.code", - "short": "Oxygen Saturation by Pulse Oximetry", - "definition": "Oxygen Saturation.", - "comment": "The code (59408-5 Oxygen saturation in Arterial blood by Pulse oximetry) is included as an additional observation code to FHIR Core vital Oxygen Saturation code (2708-6 Oxygen saturation in Arterial blood -).", - "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", - "alias": [ - "Name", - "Test" - ], - "min": 1, - "max": "1", - "base": { - "path": "Observation.code", - "min": 1, - "max": "1" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "VitalSigns" - } - ], - "strength": "extensible", - "description": "This identifies the vital sign result type.", - "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" - }, - "mapping": [ - { - "identity": "workflow", - "map": "Event.code" - }, - { - "identity": "w5", - "map": "FiveWs.what[x]" - }, - { - "identity": "sct-concept", - "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" - }, - { - "identity": "v2", - "map": "OBX-3" - }, - { - "identity": "rim", - "map": "code" - }, - { - "identity": "sct-attr", - "map": "116680003 |Is a|" - } - ] - }, - { - "id": "Observation.code.id", - "path": "Observation.code.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ], - "code": "http://hl7.org/fhirpath/System.String" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.code.extension", - "path": "Observation.code.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.code.coding", - "path": "Observation.code.coding", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "code" - }, - { - "type": "value", - "path": "system" - } - ], - "ordered": false, - "rules": "open" - }, - "short": "Code defined by a terminology system", - "definition": "A reference to a code defined by a terminology system.", - "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", - "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", - "min": 0, - "max": "*", - "base": { - "path": "CodeableConcept.coding", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Coding" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.1-8, C*E.10-22" - }, - { - "identity": "rim", - "map": "union(., ./translation)" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" - } - ] - }, - { - "id": "Observation.code.coding:OxygenSatCode", - "path": "Observation.code.coding", - "sliceName": "OxygenSatCode", - "short": "Code defined by a terminology system", - "definition": "A reference to a code defined by a terminology system.", - "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", - "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", - "min": 1, - "max": "1", - "base": { - "path": "CodeableConcept.coding", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Coding" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.1-8, C*E.10-22" - }, - { - "identity": "rim", - "map": "union(., ./translation)" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" - } - ] - }, - { - "id": "Observation.code.coding:OxygenSatCode.id", - "path": "Observation.code.coding.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ], - "code": "http://hl7.org/fhirpath/System.String" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.code.coding:OxygenSatCode.extension", - "path": "Observation.code.coding.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.code.coding:OxygenSatCode.system", - "path": "Observation.code.coding.system", - "short": "Identity of the terminology system", - "definition": "The identification of the code system that defines the meaning of the symbol in the code.", - "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", - "requirements": "Need to be unambiguous about the source of the definition of the symbol.", - "min": 1, - "max": "1", - "base": { - "path": "Coding.system", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "uri" - } - ], - "fixedUri": "http://loinc.org", - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.3" - }, - { - "identity": "rim", - "map": "./codeSystem" - }, - { - "identity": "orim", - "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" - } - ] - }, - { - "id": "Observation.code.coding:OxygenSatCode.version", - "path": "Observation.code.coding.version", - "short": "Version of the system - if relevant", - "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", - "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", - "min": 0, - "max": "1", - "base": { - "path": "Coding.version", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.7" - }, - { - "identity": "rim", - "map": "./codeSystemVersion" - }, - { - "identity": "orim", - "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" - } - ] - }, - { - "id": "Observation.code.coding:OxygenSatCode.code", - "path": "Observation.code.coding.code", - "short": "Symbol in syntax defined by the system", - "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", - "requirements": "Need to refer to a particular code in the system.", - "min": 1, - "max": "1", - "base": { - "path": "Coding.code", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "code" - } - ], - "fixedCode": "2708-6", - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.1" - }, - { - "identity": "rim", - "map": "./code" - }, - { - "identity": "orim", - "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" - } - ] - }, - { - "id": "Observation.code.coding:OxygenSatCode.display", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", - "valueBoolean": true - } - ], - "path": "Observation.code.coding.display", - "short": "Representation defined by the system", - "definition": "A representation of the meaning of the code in the system, following the rules of the system.", - "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", - "min": 0, - "max": "1", - "base": { - "path": "Coding.display", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.2 - but note this is not well followed" - }, - { - "identity": "rim", - "map": "CV.displayName" - }, - { - "identity": "orim", - "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" - } - ] - }, - { - "id": "Observation.code.coding:OxygenSatCode.userSelected", - "path": "Observation.code.coding.userSelected", - "short": "If this coding was chosen directly by the user", - "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", - "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", - "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", - "min": 0, - "max": "1", - "base": { - "path": "Coding.userSelected", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "boolean" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "Sometimes implied by being first" - }, - { - "identity": "rim", - "map": "CD.codingRationale" - }, - { - "identity": "orim", - "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" - } - ] - }, - { - "id": "Observation.code.coding:PulseOx", - "path": "Observation.code.coding", - "sliceName": "PulseOx", - "short": "Code defined by a terminology system", - "definition": "A reference to a code defined by a terminology system.", - "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", - "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", - "min": 1, - "max": "1", - "base": { - "path": "CodeableConcept.coding", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Coding" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.1-8, C*E.10-22" - }, - { - "identity": "rim", - "map": "union(., ./translation)" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" - } - ] - }, - { - "id": "Observation.code.coding:PulseOx.id", - "path": "Observation.code.coding.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ], - "code": "http://hl7.org/fhirpath/System.String" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.code.coding:PulseOx.extension", - "path": "Observation.code.coding.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.code.coding:PulseOx.system", - "path": "Observation.code.coding.system", - "short": "Identity of the terminology system", - "definition": "The identification of the code system that defines the meaning of the symbol in the code.", - "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", - "requirements": "Need to be unambiguous about the source of the definition of the symbol.", - "min": 1, - "max": "1", - "base": { - "path": "Coding.system", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "uri" - } - ], - "fixedUri": "http://loinc.org", - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.3" - }, - { - "identity": "rim", - "map": "./codeSystem" - }, - { - "identity": "orim", - "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" - } - ] - }, - { - "id": "Observation.code.coding:PulseOx.version", - "path": "Observation.code.coding.version", - "short": "Version of the system - if relevant", - "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", - "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", - "min": 0, - "max": "1", - "base": { - "path": "Coding.version", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.7" - }, - { - "identity": "rim", - "map": "./codeSystemVersion" - }, - { - "identity": "orim", - "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" - } - ] - }, - { - "id": "Observation.code.coding:PulseOx.code", - "path": "Observation.code.coding.code", - "short": "Symbol in syntax defined by the system", - "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", - "requirements": "Need to refer to a particular code in the system.", - "min": 1, - "max": "1", - "base": { - "path": "Coding.code", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "code" - } - ], - "fixedCode": "59408-5", - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.1" - }, - { - "identity": "rim", - "map": "./code" - }, - { - "identity": "orim", - "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" - } - ] - }, - { - "id": "Observation.code.coding:PulseOx.display", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", - "valueBoolean": true - } - ], - "path": "Observation.code.coding.display", - "short": "Representation defined by the system", - "definition": "A representation of the meaning of the code in the system, following the rules of the system.", - "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", - "min": 0, - "max": "1", - "base": { - "path": "Coding.display", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.2 - but note this is not well followed" - }, - { - "identity": "rim", - "map": "CV.displayName" - }, - { - "identity": "orim", - "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" - } - ] - }, - { - "id": "Observation.code.coding:PulseOx.userSelected", - "path": "Observation.code.coding.userSelected", - "short": "If this coding was chosen directly by the user", - "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", - "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", - "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", - "min": 0, - "max": "1", - "base": { - "path": "Coding.userSelected", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "boolean" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "Sometimes implied by being first" - }, - { - "identity": "rim", - "map": "CD.codingRationale" - }, - { - "identity": "orim", - "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" - } - ] - }, - { - "id": "Observation.code.text", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", - "valueBoolean": true - } - ], - "path": "Observation.code.text", - "short": "Plain text representation of the concept", - "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", - "comment": "Very often the text is the same as a displayName of one of the codings.", - "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", - "min": 0, - "max": "1", - "base": { - "path": "CodeableConcept.text", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "C*E.9. But note many systems use C*E.2 for this" - }, - { - "identity": "rim", - "map": "./originalText[mediaType/code=\"text/plain\"]/data" - }, - { - "identity": "orim", - "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" - } - ] - }, - { - "id": "Observation.subject", - "path": "Observation.subject", - "short": "Who and/or what the observation is about", - "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", - "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", - "requirements": "Observations have no value if you don't know who or what they're about.", - "min": 1, - "max": "1", - "base": { - "path": "Observation.subject", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Patient" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "workflow", - "map": "Event.subject" - }, - { - "identity": "w5", - "map": "FiveWs.subject[x]" - }, - { - "identity": "v2", - "map": "PID-3" - }, - { - "identity": "rim", - "map": "participation[typeCode=RTGT]" - }, - { - "identity": "w5", - "map": "FiveWs.subject" - } - ] - }, - { - "id": "Observation.focus", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", - "valueCode": "trial-use" - } - ], - "path": "Observation.focus", - "short": "What the observation is about, when it is not about the subject of record", - "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", - "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", - "min": 0, - "max": "*", - "base": { - "path": "Observation.focus", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Resource" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "w5", - "map": "FiveWs.subject[x]" - }, - { - "identity": "v2", - "map": "OBX-3" - }, - { - "identity": "rim", - "map": "participation[typeCode=SBJ]" - }, - { - "identity": "w5", - "map": "FiveWs.subject" - } - ] - }, - { - "id": "Observation.encounter", - "path": "Observation.encounter", - "short": "Healthcare event during which this observation is made", - "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", - "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", - "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", - "alias": [ - "Context" - ], - "min": 0, - "max": "1", - "base": { - "path": "Observation.encounter", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Encounter" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "workflow", - "map": "Event.context" - }, - { - "identity": "w5", - "map": "FiveWs.context" - }, - { - "identity": "v2", - "map": "PV1" - }, - { - "identity": "rim", - "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" - } - ] - }, - { - "id": "Observation.effective[x]", - "path": "Observation.effective[x]", - "short": "Often just a dateTime for Vital Signs", - "definition": "Often just a dateTime for Vital Signs.", - "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", - "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", - "alias": [ - "Occurrence" - ], - "min": 1, - "max": "1", - "base": { - "path": "Observation.effective[x]", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "dateTime" - }, - { - "code": "Period" - } - ], - "condition": [ - "vs-1" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "vs-1", - "severity": "error", - "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", - "expression": "($this as dateTime).toString().length() >= 8", - "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "workflow", - "map": "Event.occurrence[x]" - }, - { - "identity": "w5", - "map": "FiveWs.done[x]" - }, - { - "identity": "v2", - "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" - }, - { - "identity": "rim", - "map": "effectiveTime" - } - ] - }, - { - "id": "Observation.issued", - "path": "Observation.issued", - "short": "Date/Time this version was made available", - "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", - "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", - "min": 0, - "max": "1", - "base": { - "path": "Observation.issued", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "instant" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "w5", - "map": "FiveWs.recorded" - }, - { - "identity": "v2", - "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" - }, - { - "identity": "rim", - "map": "participation[typeCode=AUT].time" - } - ] - }, - { - "id": "Observation.performer", - "path": "Observation.performer", - "short": "Who is responsible for the observation", - "definition": "Who was responsible for asserting the observed value as \"true\".", - "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", - "min": 0, - "max": "*", - "base": { - "path": "Observation.performer", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Practitioner", - "http://hl7.org/fhir/StructureDefinition/PractitionerRole", - "http://hl7.org/fhir/StructureDefinition/Organization", - "http://hl7.org/fhir/StructureDefinition/CareTeam", - "http://hl7.org/fhir/StructureDefinition/Patient", - "http://hl7.org/fhir/StructureDefinition/RelatedPerson" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "workflow", - "map": "Event.performer.actor" - }, - { - "identity": "w5", - "map": "FiveWs.actor" - }, - { - "identity": "v2", - "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" - }, - { - "identity": "rim", - "map": "participation[typeCode=PRF]" - } - ] - }, - { - "id": "Observation.value[x]", - "path": "Observation.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "closed" - }, - "short": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", - "definition": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", - "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", - "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", - "min": 0, - "max": "1", - "base": { - "path": "Observation.value[x]", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Quantity" - } - ], - "condition": [ - "obs-7", - "vs-2" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "sct-concept", - "map": "< 441742003 |Evaluation finding|" - }, - { - "identity": "v2", - "map": "OBX.2, OBX.5, OBX.6" - }, - { - "identity": "rim", - "map": "value" - }, - { - "identity": "sct-attr", - "map": "363714003 |Interprets|" - } - ] - }, - { - "id": "Observation.value[x]:valueQuantity", - "path": "Observation.value[x]", - "sliceName": "valueQuantity", - "short": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", - "definition": "Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept.", - "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", - "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", - "min": 0, - "max": "1", - "base": { - "path": "Observation.value[x]", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Quantity" - } - ], - "condition": [ - "obs-7", - "vs-2" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "sct-concept", - "map": "< 441742003 |Evaluation finding|" - }, - { - "identity": "v2", - "map": "OBX.2, OBX.5, OBX.6" - }, - { - "identity": "rim", - "map": "value" - }, - { - "identity": "sct-attr", - "map": "363714003 |Interprets|" - } - ] - }, - { - "id": "Observation.value[x]:valueQuantity.id", - "path": "Observation.value[x].id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ], - "code": "http://hl7.org/fhirpath/System.String" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.value[x]:valueQuantity.extension", - "path": "Observation.value[x].extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.value[x]:valueQuantity.value", - "path": "Observation.value[x].value", - "short": "Numerical value (with implicit precision)", - "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", - "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", - "requirements": "Precision is handled implicitly in almost all cases of measurement.", - "min": 1, - "max": "1", - "base": { - "path": "Quantity.value", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "decimal" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "SN.2 / CQ - N/A" - }, - { - "identity": "rim", - "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" - } - ] - }, - { - "id": "Observation.value[x]:valueQuantity.comparator", - "path": "Observation.value[x].comparator", - "short": "< | <= | >= | > - how to understand the value", - "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", - "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", - "min": 0, - "max": "1", - "base": { - "path": "Quantity.comparator", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "code" - } - ], - "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": true, - "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "QuantityComparator" - } - ], - "strength": "required", - "description": "How the Quantity should be understood and represented.", - "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" - }, - "mapping": [ - { - "identity": "v2", - "map": "SN.1 / CQ.1" - }, - { - "identity": "rim", - "map": "IVL properties" - } - ] - }, - { - "id": "Observation.value[x]:valueQuantity.unit", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", - "valueBoolean": true - } - ], - "path": "Observation.value[x].unit", - "short": "Unit representation", - "definition": "A human-readable form of the unit.", - "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", - "min": 1, - "max": "1", - "base": { - "path": "Quantity.unit", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "(see OBX.6 etc.) / CQ.2" - }, - { - "identity": "rim", - "map": "PQ.unit" - } - ] - }, - { - "id": "Observation.value[x]:valueQuantity.system", - "path": "Observation.value[x].system", - "short": "System that defines coded unit form", - "definition": "The identification of the system that provides the coded form of the unit.", - "requirements": "Need to know the system that defines the coded form of the unit.", - "min": 1, - "max": "1", - "base": { - "path": "Quantity.system", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "uri" - } - ], - "fixedUri": "http://unitsofmeasure.org", - "condition": [ - "qty-3" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "(see OBX.6 etc.) / CQ.2" - }, - { - "identity": "rim", - "map": "CO.codeSystem, PQ.translation.codeSystem" - } - ] - }, - { - "id": "Observation.value[x]:valueQuantity.code", - "path": "Observation.value[x].code", - "short": "Coded responses from the common UCUM units for vital signs value set.", - "definition": "Coded responses from the common UCUM units for vital signs value set.", - "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", - "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", - "min": 1, - "max": "1", - "base": { - "path": "Quantity.code", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "code" - } - ], - "fixedCode": "%", - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "(see OBX.6 etc.) / CQ.2" - }, - { - "identity": "rim", - "map": "PQ.code, MO.currency, PQ.translation.code" - } - ] - }, - { - "id": "Observation.dataAbsentReason", - "path": "Observation.dataAbsentReason", - "short": "Why the result is missing", - "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", - "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", - "requirements": "For many results it is necessary to handle exceptional values in measurements.", - "min": 0, - "max": "1", - "base": { - "path": "Observation.dataAbsentReason", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "condition": [ - "obs-6", - "vs-2" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ObservationValueAbsentReason" - } - ], - "strength": "extensible", - "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", - "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" - }, - "mapping": [ - { - "identity": "v2", - "map": "N/A" - }, - { - "identity": "rim", - "map": "value.nullFlavor" - } - ] - }, - { - "id": "Observation.interpretation", - "path": "Observation.interpretation", - "short": "High, low, normal, etc.", - "definition": "A categorical assessment of an observation value. For example, high, low, normal.", - "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", - "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", - "alias": [ - "Abnormal Flag" - ], - "min": 0, - "max": "*", - "base": { - "path": "Observation.interpretation", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ObservationInterpretation" - } - ], - "strength": "extensible", - "description": "Codes identifying interpretations of observations.", - "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" - }, - "mapping": [ - { - "identity": "sct-concept", - "map": "< 260245000 |Findings values|" - }, - { - "identity": "v2", - "map": "OBX-8" - }, - { - "identity": "rim", - "map": "interpretationCode" - }, - { - "identity": "sct-attr", - "map": "363713009 |Has interpretation|" - } - ] - }, - { - "id": "Observation.note", - "path": "Observation.note", - "short": "Comments about the observation", - "definition": "Comments about the observation or the results.", - "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", - "requirements": "Need to be able to provide free text additional information.", - "min": 0, - "max": "*", - "base": { - "path": "Observation.note", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Annotation" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "v2", - "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" - }, - { - "identity": "rim", - "map": "subjectOf.observationEvent[code=\"annotation\"].value" - } - ] - }, - { - "id": "Observation.bodySite", - "path": "Observation.bodySite", - "short": "Observed body part", - "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", - "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", - "min": 0, - "max": "1", - "base": { - "path": "Observation.bodySite", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "BodySite" - } - ], - "strength": "example", - "description": "Codes describing anatomical locations. May include laterality.", - "valueSet": "http://hl7.org/fhir/ValueSet/body-site" - }, - "mapping": [ - { - "identity": "sct-concept", - "map": "< 123037004 |Body structure|" - }, - { - "identity": "v2", - "map": "OBX-20" - }, - { - "identity": "rim", - "map": "targetSiteCode" - }, - { - "identity": "sct-attr", - "map": "718497002 |Inherent location|" - } - ] - }, - { - "id": "Observation.method", - "path": "Observation.method", - "short": "How it was done", - "definition": "Indicates the mechanism used to perform the observation.", - "comment": "Only used if not implicit in code for Observation.code.", - "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", - "min": 0, - "max": "1", - "base": { - "path": "Observation.method", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ObservationMethod" - } - ], - "strength": "example", - "description": "Methods for simple observations.", - "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" - }, - "mapping": [ - { - "identity": "v2", - "map": "OBX-17" - }, - { - "identity": "rim", - "map": "methodCode" - } - ] - }, - { - "id": "Observation.specimen", - "path": "Observation.specimen", - "short": "Specimen used for this observation", - "definition": "The specimen that was used when this observation was made.", - "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", - "min": 0, - "max": "1", - "base": { - "path": "Observation.specimen", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Specimen" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "sct-concept", - "map": "< 123038009 |Specimen|" - }, - { - "identity": "v2", - "map": "SPM segment" - }, - { - "identity": "rim", - "map": "participation[typeCode=SPC].specimen" - }, - { - "identity": "sct-attr", - "map": "704319004 |Inherent in|" - } - ] - }, - { - "id": "Observation.device", - "path": "Observation.device", - "short": "(Measurement) Device", - "definition": "The device used to generate the observation data.", - "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", - "min": 0, - "max": "1", - "base": { - "path": "Observation.device", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/Device", - "http://hl7.org/fhir/StructureDefinition/DeviceMetric" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "sct-concept", - "map": "< 49062001 |Device|" - }, - { - "identity": "v2", - "map": "OBX-17 / PRT -10" - }, - { - "identity": "rim", - "map": "participation[typeCode=DEV]" - }, - { - "identity": "sct-attr", - "map": "424226004 |Using device|" - } - ] - }, - { - "id": "Observation.referenceRange", - "path": "Observation.referenceRange", - "short": "Provides guide for interpretation", - "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", - "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", - "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", - "min": 0, - "max": "*", - "base": { - "path": "Observation.referenceRange", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "BackboneElement" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "obs-3", - "severity": "error", - "human": "Must have at least a low or a high or text", - "expression": "low.exists() or high.exists() or text.exists()", - "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "v2", - "map": "OBX.7" - }, - { - "identity": "rim", - "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" - } - ] - }, - { - "id": "Observation.referenceRange.id", - "path": "Observation.referenceRange.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ], - "code": "http://hl7.org/fhirpath/System.String" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.referenceRange.extension", - "path": "Observation.referenceRange.extension", - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.referenceRange.modifierExtension", - "path": "Observation.referenceRange.modifierExtension", - "short": "Extensions that cannot be ignored even if unrecognized", - "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", - "alias": [ - "extensions", - "user content", - "modifiers" - ], - "min": 0, - "max": "*", - "base": { - "path": "BackboneElement.modifierExtension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": true, - "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", - "isSummary": true, - "mapping": [ - { - "identity": "rim", - "map": "N/A" - } - ] - }, - { - "id": "Observation.referenceRange.low", - "path": "Observation.referenceRange.low", - "short": "Low Range, if relevant", - "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", - "min": 0, - "max": "1", - "base": { - "path": "Observation.referenceRange.low", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Quantity", - "profile": [ - "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" - ] - } - ], - "condition": [ - "obs-3" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "v2", - "map": "OBX-7" - }, - { - "identity": "rim", - "map": "value:IVL_PQ.low" - } - ] - }, - { - "id": "Observation.referenceRange.high", - "path": "Observation.referenceRange.high", - "short": "High Range, if relevant", - "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", - "min": 0, - "max": "1", - "base": { - "path": "Observation.referenceRange.high", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Quantity", - "profile": [ - "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" - ] - } - ], - "condition": [ - "obs-3" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "v2", - "map": "OBX-7" - }, - { - "identity": "rim", - "map": "value:IVL_PQ.high" - } - ] - }, - { - "id": "Observation.referenceRange.type", - "path": "Observation.referenceRange.type", - "short": "Reference range qualifier", - "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", - "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", - "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", - "min": 0, - "max": "1", - "base": { - "path": "Observation.referenceRange.type", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ObservationRangeMeaning" - } - ], - "strength": "preferred", - "description": "Code for the meaning of a reference range.", - "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" - }, - "mapping": [ - { - "identity": "sct-concept", - "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" - }, - { - "identity": "v2", - "map": "OBX-10" - }, - { - "identity": "rim", - "map": "interpretationCode" - } - ] - }, - { - "id": "Observation.referenceRange.appliesTo", - "path": "Observation.referenceRange.appliesTo", - "short": "Reference range population", - "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", - "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", - "requirements": "Need to be able to identify the target population for proper interpretation.", - "min": 0, - "max": "*", - "base": { - "path": "Observation.referenceRange.appliesTo", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ObservationRangeType" - } - ], - "strength": "example", - "description": "Codes identifying the population the reference range applies to.", - "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" - }, - "mapping": [ - { - "identity": "sct-concept", - "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" - }, - { - "identity": "v2", - "map": "OBX-10" - }, - { - "identity": "rim", - "map": "interpretationCode" - } - ] - }, - { - "id": "Observation.referenceRange.age", - "path": "Observation.referenceRange.age", - "short": "Applicable age range, if relevant", - "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", - "requirements": "Some analytes vary greatly over age.", - "min": 0, - "max": "1", - "base": { - "path": "Observation.referenceRange.age", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Range" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" - } - ] - }, - { - "id": "Observation.referenceRange.text", - "path": "Observation.referenceRange.text", - "short": "Text based reference range in an observation", - "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", - "min": 0, - "max": "1", - "base": { - "path": "Observation.referenceRange.text", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "v2", - "map": "OBX-7" - }, - { - "identity": "rim", - "map": "value:ST" - } - ] - }, - { - "id": "Observation.hasMember", - "path": "Observation.hasMember", - "short": "Used when reporting vital signs panel components", - "definition": "Used when reporting vital signs panel components.", - "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", - "min": 0, - "max": "*", - "base": { - "path": "Observation.hasMember", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", - "http://hl7.org/fhir/StructureDefinition/MolecularSequence", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "Relationships established by OBX-4 usage" - }, - { - "identity": "rim", - "map": "outBoundRelationship" - } - ] - }, - { - "id": "Observation.derivedFrom", - "path": "Observation.derivedFrom", - "short": "Related measurements the observation is made from", - "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", - "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", - "min": 0, - "max": "*", - "base": { - "path": "Observation.derivedFrom", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/StructureDefinition/DocumentReference", - "http://hl7.org/fhir/StructureDefinition/ImagingStudy", - "http://hl7.org/fhir/StructureDefinition/Media", - "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", - "http://hl7.org/fhir/StructureDefinition/MolecularSequence", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "Relationships established by OBX-4 usage" - }, - { - "identity": "rim", - "map": ".targetObservation" - } - ] - }, - { - "id": "Observation.component", - "path": "Observation.component", - "slicing": { - "discriminator": [ - { - "type": "pattern", - "path": "code" - } - ], - "rules": "open" - }, - "short": "Used when reporting systolic and diastolic blood pressure.", - "definition": "Used when reporting systolic and diastolic blood pressure.", - "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", - "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", - "min": 0, - "max": "*", - "base": { - "path": "Observation.component", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "BackboneElement" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "vs-3", - "severity": "error", - "human": "If there is no a value a data absent reason must be present", - "expression": "value.exists() or dataAbsentReason.exists()", - "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", - "source": "http://hl7.org/fhir/StructureDefinition/oxygensat" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "containment by OBX-4?" - }, - { - "identity": "rim", - "map": "outBoundRelationship[typeCode=COMP]" - } - ] - }, - { - "id": "Observation.component.id", - "path": "Observation.component.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ], - "code": "http://hl7.org/fhirpath/System.String" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.component.extension", - "path": "Observation.component.extension", - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.component.modifierExtension", - "path": "Observation.component.modifierExtension", - "short": "Extensions that cannot be ignored even if unrecognized", - "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", - "alias": [ - "extensions", - "user content", - "modifiers" - ], - "min": 0, - "max": "*", - "base": { - "path": "BackboneElement.modifierExtension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": true, - "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", - "isSummary": true, - "mapping": [ - { - "identity": "rim", - "map": "N/A" - } - ] - }, - { - "id": "Observation.component.code", - "path": "Observation.component.code", - "short": "Type of component observation (code / type)", - "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", - "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", - "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", - "min": 1, - "max": "1", - "base": { - "path": "Observation.component.code", - "min": 1, - "max": "1" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "VitalSigns" - } - ], - "strength": "extensible", - "description": "This identifies the vital sign result type.", - "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" - }, - "mapping": [ - { - "identity": "w5", - "map": "FiveWs.what[x]" - }, - { - "identity": "sct-concept", - "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" - }, - { - "identity": "v2", - "map": "OBX-3" - }, - { - "identity": "rim", - "map": "code" - } - ] - }, - { - "id": "Observation.component.value[x]", - "path": "Observation.component.value[x]", - "short": "Vital Sign Value recorded with UCUM", - "definition": "Vital Sign Value recorded with UCUM.", - "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", - "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", - "min": 0, - "max": "1", - "base": { - "path": "Observation.component.value[x]", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Quantity" - }, - { - "code": "CodeableConcept" - }, - { - "code": "string" - }, - { - "code": "boolean" - }, - { - "code": "integer" - }, - { - "code": "Range" - }, - { - "code": "Ratio" - }, - { - "code": "SampledData" - }, - { - "code": "time" - }, - { - "code": "dateTime" - }, - { - "code": "Period" - } - ], - "condition": [ - "vs-3" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "VitalSignsUnits" - } - ], - "strength": "extensible", - "description": "Common UCUM units for recording Vital Signs.", - "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" - }, - "mapping": [ - { - "identity": "sct-concept", - "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" - }, - { - "identity": "v2", - "map": "OBX.2, OBX.5, OBX.6" - }, - { - "identity": "rim", - "map": "value" - }, - { - "identity": "sct-attr", - "map": "363714003 |Interprets|" - } - ] - }, - { - "id": "Observation.component.dataAbsentReason", - "path": "Observation.component.dataAbsentReason", - "short": "Why the component result is missing", - "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", - "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", - "requirements": "For many results it is necessary to handle exceptional values in measurements.", - "min": 0, - "max": "1", - "base": { - "path": "Observation.component.dataAbsentReason", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "condition": [ - "obs-6", - "vs-3" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ObservationValueAbsentReason" - } - ], - "strength": "extensible", - "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", - "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" - }, - "mapping": [ - { - "identity": "v2", - "map": "N/A" - }, - { - "identity": "rim", - "map": "value.nullFlavor" - } - ] - }, - { - "id": "Observation.component.interpretation", - "path": "Observation.component.interpretation", - "short": "High, low, normal, etc.", - "definition": "A categorical assessment of an observation value. For example, high, low, normal.", - "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", - "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", - "alias": [ - "Abnormal Flag" - ], - "min": 0, - "max": "*", - "base": { - "path": "Observation.component.interpretation", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ObservationInterpretation" - } - ], - "strength": "extensible", - "description": "Codes identifying interpretations of observations.", - "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" - }, - "mapping": [ - { - "identity": "sct-concept", - "map": "< 260245000 |Findings values|" - }, - { - "identity": "v2", - "map": "OBX-8" - }, - { - "identity": "rim", - "map": "interpretationCode" - }, - { - "identity": "sct-attr", - "map": "363713009 |Has interpretation|" - } - ] - }, - { - "id": "Observation.component.referenceRange", - "path": "Observation.component.referenceRange", - "short": "Provides guide for interpretation of component result", - "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", - "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", - "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", - "min": 0, - "max": "*", - "base": { - "path": "Observation.component.referenceRange", - "min": 0, - "max": "*" - }, - "contentReference": "#Observation.referenceRange", - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "v2", - "map": "OBX.7" - }, - { - "identity": "rim", - "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" - } - ] - }, - { - "id": "Observation.component:FlowRate", - "path": "Observation.component", - "sliceName": "FlowRate", - "short": "Inhaled oxygen flow rate", - "definition": "Used when reporting systolic and diastolic blood pressure.", - "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", - "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", - "min": 0, - "max": "1", - "base": { - "path": "Observation.component", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "BackboneElement" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "vs-3", - "severity": "error", - "human": "If there is no a value a data absent reason must be present", - "expression": "value.exists() or dataAbsentReason.exists()", - "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", - "source": "http://hl7.org/fhir/StructureDefinition/oxygensat" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "containment by OBX-4?" - }, - { - "identity": "rim", - "map": "outBoundRelationship[typeCode=COMP]" - } - ] - }, - { - "id": "Observation.component:FlowRate.id", - "path": "Observation.component.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ], - "code": "http://hl7.org/fhirpath/System.String" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.component:FlowRate.extension", - "path": "Observation.component.extension", - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.component:FlowRate.modifierExtension", - "path": "Observation.component.modifierExtension", - "short": "Extensions that cannot be ignored even if unrecognized", - "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", - "alias": [ - "extensions", - "user content", - "modifiers" - ], - "min": 0, - "max": "*", - "base": { - "path": "BackboneElement.modifierExtension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": true, - "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", - "isSummary": true, - "mapping": [ - { - "identity": "rim", - "map": "N/A" - } - ] - }, - { - "id": "Observation.component:FlowRate.code", - "path": "Observation.component.code", - "short": "Type of component observation (code / type)", - "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", - "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", - "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", - "min": 1, - "max": "1", - "base": { - "path": "Observation.component.code", - "min": 1, - "max": "1" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "patternCodeableConcept": { - "coding": [ - { - "system": "http://loinc.org", - "code": "3151-8" - } - ] - }, - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "VitalSigns" - } - ], - "strength": "extensible", - "description": "This identifies the vital sign result type.", - "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" - }, - "mapping": [ - { - "identity": "w5", - "map": "FiveWs.what[x]" - }, - { - "identity": "sct-concept", - "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" - }, - { - "identity": "v2", - "map": "OBX-3" - }, - { - "identity": "rim", - "map": "code" - } - ] - }, - { - "id": "Observation.component:FlowRate.value[x]", - "path": "Observation.component.value[x]", - "short": "Vital Sign Value recorded with UCUM", - "definition": "Vital Sign Value recorded with UCUM.", - "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", - "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", - "min": 0, - "max": "1", - "base": { - "path": "Observation.component.value[x]", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Quantity" - } - ], - "condition": [ - "vs-3" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "VitalSignsUnits" - } - ], - "strength": "extensible", - "description": "Common UCUM units for recording Vital Signs.", - "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" - }, - "mapping": [ - { - "identity": "sct-concept", - "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" - }, - { - "identity": "v2", - "map": "OBX.2, OBX.5, OBX.6" - }, - { - "identity": "rim", - "map": "value" - }, - { - "identity": "sct-attr", - "map": "363714003 |Interprets|" - } - ] - }, - { - "id": "Observation.component:FlowRate.value[x].id", - "path": "Observation.component.value[x].id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ], - "code": "http://hl7.org/fhirpath/System.String" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.component:FlowRate.value[x].extension", - "path": "Observation.component.value[x].extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.component:FlowRate.value[x].value", - "path": "Observation.component.value[x].value", - "short": "Numerical value (with implicit precision)", - "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", - "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", - "requirements": "Precision is handled implicitly in almost all cases of measurement.", - "min": 1, - "max": "1", - "base": { - "path": "Quantity.value", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "decimal" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "SN.2 / CQ - N/A" - }, - { - "identity": "rim", - "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" - } - ] - }, - { - "id": "Observation.component:FlowRate.value[x].comparator", - "path": "Observation.component.value[x].comparator", - "short": "< | <= | >= | > - how to understand the value", - "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", - "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", - "min": 0, - "max": "1", - "base": { - "path": "Quantity.comparator", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "code" - } - ], - "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": true, - "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "QuantityComparator" - } - ], - "strength": "required", - "description": "How the Quantity should be understood and represented.", - "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" - }, - "mapping": [ - { - "identity": "v2", - "map": "SN.1 / CQ.1" - }, - { - "identity": "rim", - "map": "IVL properties" - } - ] - }, - { - "id": "Observation.component:FlowRate.value[x].unit", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", - "valueBoolean": true - } - ], - "path": "Observation.component.value[x].unit", - "short": "Unit representation", - "definition": "A human-readable form of the unit.", - "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", - "min": 1, - "max": "1", - "base": { - "path": "Quantity.unit", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "(see OBX.6 etc.) / CQ.2" - }, - { - "identity": "rim", - "map": "PQ.unit" - } - ] - }, - { - "id": "Observation.component:FlowRate.value[x].system", - "path": "Observation.component.value[x].system", - "short": "System that defines coded unit form", - "definition": "The identification of the system that provides the coded form of the unit.", - "requirements": "Need to know the system that defines the coded form of the unit.", - "min": 1, - "max": "1", - "base": { - "path": "Quantity.system", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "uri" - } - ], - "fixedUri": "http://unitsofmeasure.org", - "condition": [ - "qty-3" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "(see OBX.6 etc.) / CQ.2" - }, - { - "identity": "rim", - "map": "CO.codeSystem, PQ.translation.codeSystem" - } - ] - }, - { - "id": "Observation.component:FlowRate.value[x].code", - "path": "Observation.component.value[x].code", - "short": "Coded form of the unit", - "definition": "A computer processable form of the unit in some unit representation system.", - "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", - "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", - "min": 1, - "max": "1", - "base": { - "path": "Quantity.code", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "code" - } - ], - "fixedCode": "L/min", - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "(see OBX.6 etc.) / CQ.2" - }, - { - "identity": "rim", - "map": "PQ.code, MO.currency, PQ.translation.code" - } - ] - }, - { - "id": "Observation.component:FlowRate.dataAbsentReason", - "path": "Observation.component.dataAbsentReason", - "short": "Why the component result is missing", - "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", - "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", - "requirements": "For many results it is necessary to handle exceptional values in measurements.", - "min": 0, - "max": "1", - "base": { - "path": "Observation.component.dataAbsentReason", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "condition": [ - "obs-6", - "vs-3" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ObservationValueAbsentReason" - } - ], - "strength": "extensible", - "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", - "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" - }, - "mapping": [ - { - "identity": "v2", - "map": "N/A" - }, - { - "identity": "rim", - "map": "value.nullFlavor" - } - ] - }, - { - "id": "Observation.component:FlowRate.interpretation", - "path": "Observation.component.interpretation", - "short": "High, low, normal, etc.", - "definition": "A categorical assessment of an observation value. For example, high, low, normal.", - "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", - "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", - "alias": [ - "Abnormal Flag" - ], - "min": 0, - "max": "*", - "base": { - "path": "Observation.component.interpretation", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ObservationInterpretation" - } - ], - "strength": "extensible", - "description": "Codes identifying interpretations of observations.", - "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" - }, - "mapping": [ - { - "identity": "sct-concept", - "map": "< 260245000 |Findings values|" - }, - { - "identity": "v2", - "map": "OBX-8" - }, - { - "identity": "rim", - "map": "interpretationCode" - }, - { - "identity": "sct-attr", - "map": "363713009 |Has interpretation|" - } - ] - }, - { - "id": "Observation.component:FlowRate.referenceRange", - "path": "Observation.component.referenceRange", - "short": "Provides guide for interpretation of component result", - "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", - "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", - "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", - "min": 0, - "max": "*", - "base": { - "path": "Observation.component.referenceRange", - "min": 0, - "max": "*" - }, - "contentReference": "#Observation.referenceRange", - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "v2", - "map": "OBX.7" - }, - { - "identity": "rim", - "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" - } - ] - }, - { - "id": "Observation.component:Concentration", - "path": "Observation.component", - "sliceName": "Concentration", - "short": "Inhaled oxygen concentration", - "definition": "Used when reporting systolic and diastolic blood pressure.", - "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", - "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", - "min": 0, - "max": "1", - "base": { - "path": "Observation.component", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "BackboneElement" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "vs-3", - "severity": "error", - "human": "If there is no a value a data absent reason must be present", - "expression": "value.exists() or dataAbsentReason.exists()", - "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", - "source": "http://hl7.org/fhir/StructureDefinition/oxygensat" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "containment by OBX-4?" - }, - { - "identity": "rim", - "map": "outBoundRelationship[typeCode=COMP]" - } - ] - }, - { - "id": "Observation.component:Concentration.id", - "path": "Observation.component.id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ], - "code": "http://hl7.org/fhirpath/System.String" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.component:Concentration.extension", - "path": "Observation.component.extension", - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.component:Concentration.modifierExtension", - "path": "Observation.component.modifierExtension", - "short": "Extensions that cannot be ignored even if unrecognized", - "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).", - "alias": [ - "extensions", - "user content", - "modifiers" - ], - "min": 0, - "max": "*", - "base": { - "path": "BackboneElement.modifierExtension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": true, - "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", - "isSummary": true, - "mapping": [ - { - "identity": "rim", - "map": "N/A" - } - ] - }, - { - "id": "Observation.component:Concentration.code", - "path": "Observation.component.code", - "short": "Type of component observation (code / type)", - "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", - "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", - "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", - "min": 1, - "max": "1", - "base": { - "path": "Observation.component.code", - "min": 1, - "max": "1" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "patternCodeableConcept": { - "coding": [ - { - "system": "http://loinc.org", - "code": "3150-0" - } - ] - }, - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "VitalSigns" - } - ], - "strength": "extensible", - "description": "This identifies the vital sign result type.", - "valueSet": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" - }, - "mapping": [ - { - "identity": "w5", - "map": "FiveWs.what[x]" - }, - { - "identity": "sct-concept", - "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" - }, - { - "identity": "v2", - "map": "OBX-3" - }, - { - "identity": "rim", - "map": "code" - } - ] - }, - { - "id": "Observation.component:Concentration.value[x]", - "path": "Observation.component.value[x]", - "short": "Vital Sign Value recorded with UCUM", - "definition": "Vital Sign Value recorded with UCUM.", - "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", - "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", - "min": 0, - "max": "1", - "base": { - "path": "Observation.component.value[x]", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "Quantity" - } - ], - "condition": [ - "vs-3" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "VitalSignsUnits" - } - ], - "strength": "required", - "description": "Common UCUM units for recording Vital Signs.", - "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" - }, - "mapping": [ - { - "identity": "sct-concept", - "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" - }, - { - "identity": "v2", - "map": "OBX.2, OBX.5, OBX.6" - }, - { - "identity": "rim", - "map": "value" - }, - { - "identity": "sct-attr", - "map": "363714003 |Interprets|" - } - ] - }, - { - "id": "Observation.component:Concentration.value[x].id", - "path": "Observation.component.value[x].id", - "representation": [ - "xmlAttr" - ], - "short": "Unique id for inter-element referencing", - "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - "min": 0, - "max": "1", - "base": { - "path": "Element.id", - "min": 0, - "max": "1" - }, - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", - "valueUrl": "string" - } - ], - "code": "http://hl7.org/fhirpath/System.String" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.component:Concentration.value[x].extension", - "path": "Observation.component.value[x].extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "description": "Extensions are always sliced by (at least) url", - "rules": "open" - }, - "short": "Additional content defined by implementations", - "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", - "alias": [ - "extensions", - "user content" - ], - "min": 0, - "max": "*", - "base": { - "path": "Element.extension", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "Extension" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - }, - { - "key": "ext-1", - "severity": "error", - "human": "Must have either extensions or value[x], not both", - "expression": "extension.exists() != value.exists()", - "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", - "source": "http://hl7.org/fhir/StructureDefinition/Extension" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "rim", - "map": "n/a" - } - ] - }, - { - "id": "Observation.component:Concentration.value[x].value", - "path": "Observation.component.value[x].value", - "short": "Numerical value (with implicit precision)", - "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", - "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", - "requirements": "Precision is handled implicitly in almost all cases of measurement.", - "min": 1, - "max": "1", - "base": { - "path": "Quantity.value", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "decimal" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "SN.2 / CQ - N/A" - }, - { - "identity": "rim", - "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" - } - ] - }, - { - "id": "Observation.component:Concentration.value[x].comparator", - "path": "Observation.component.value[x].comparator", - "short": "< | <= | >= | > - how to understand the value", - "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", - "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", - "min": 0, - "max": "1", - "base": { - "path": "Quantity.comparator", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "code" - } - ], - "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": true, - "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", - "isSummary": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "QuantityComparator" - } - ], - "strength": "required", - "description": "How the Quantity should be understood and represented.", - "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" - }, - "mapping": [ - { - "identity": "v2", - "map": "SN.1 / CQ.1" - }, - { - "identity": "rim", - "map": "IVL properties" - } - ] - }, - { - "id": "Observation.component:Concentration.value[x].unit", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", - "valueBoolean": true - } - ], - "path": "Observation.component.value[x].unit", - "short": "Unit representation", - "definition": "A human-readable form of the unit.", - "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", - "min": 1, - "max": "1", - "base": { - "path": "Quantity.unit", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "string" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "(see OBX.6 etc.) / CQ.2" - }, - { - "identity": "rim", - "map": "PQ.unit" - } - ] - }, - { - "id": "Observation.component:Concentration.value[x].system", - "path": "Observation.component.value[x].system", - "short": "System that defines coded unit form", - "definition": "The identification of the system that provides the coded form of the unit.", - "requirements": "Need to know the system that defines the coded form of the unit.", - "min": 1, - "max": "1", - "base": { - "path": "Quantity.system", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "uri" - } - ], - "fixedUri": "http://unitsofmeasure.org", - "condition": [ - "qty-3" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "(see OBX.6 etc.) / CQ.2" - }, - { - "identity": "rim", - "map": "CO.codeSystem, PQ.translation.codeSystem" - } - ] - }, - { - "id": "Observation.component:Concentration.value[x].code", - "path": "Observation.component.value[x].code", - "short": "Coded form of the unit", - "definition": "A computer processable form of the unit in some unit representation system.", - "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", - "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", - "min": 1, - "max": "1", - "base": { - "path": "Quantity.code", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "code" - } - ], - "fixedCode": "%", - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": true, - "mapping": [ - { - "identity": "v2", - "map": "(see OBX.6 etc.) / CQ.2" - }, - { - "identity": "rim", - "map": "PQ.code, MO.currency, PQ.translation.code" - } - ] - }, - { - "id": "Observation.component:Concentration.dataAbsentReason", - "path": "Observation.component.dataAbsentReason", - "short": "Why the component result is missing", - "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", - "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", - "requirements": "For many results it is necessary to handle exceptional values in measurements.", - "min": 0, - "max": "1", - "base": { - "path": "Observation.component.dataAbsentReason", - "min": 0, - "max": "1" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "condition": [ - "obs-6", - "vs-3" - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "mustSupport": true, - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ObservationValueAbsentReason" - } - ], - "strength": "extensible", - "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", - "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" - }, - "mapping": [ - { - "identity": "v2", - "map": "N/A" - }, - { - "identity": "rim", - "map": "value.nullFlavor" - } - ] - }, - { - "id": "Observation.component:Concentration.interpretation", - "path": "Observation.component.interpretation", - "short": "High, low, normal, etc.", - "definition": "A categorical assessment of an observation value. For example, high, low, normal.", - "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", - "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", - "alias": [ - "Abnormal Flag" - ], - "min": 0, - "max": "*", - "base": { - "path": "Observation.component.interpretation", - "min": 0, - "max": "*" - }, - "type": [ - { - "code": "CodeableConcept" - } - ], - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", - "valueString": "ObservationInterpretation" - } - ], - "strength": "extensible", - "description": "Codes identifying interpretations of observations.", - "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" - }, - "mapping": [ - { - "identity": "sct-concept", - "map": "< 260245000 |Findings values|" - }, - { - "identity": "v2", - "map": "OBX-8" - }, - { - "identity": "rim", - "map": "interpretationCode" - }, - { - "identity": "sct-attr", - "map": "363713009 |Has interpretation|" - } - ] - }, - { - "id": "Observation.component:Concentration.referenceRange", - "path": "Observation.component.referenceRange", - "short": "Provides guide for interpretation of component result", - "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", - "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", - "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", - "min": 0, - "max": "*", - "base": { - "path": "Observation.component.referenceRange", - "min": 0, - "max": "*" - }, - "contentReference": "#Observation.referenceRange", - "constraint": [ - { - "key": "ele-1", - "severity": "error", - "human": "All FHIR elements must have a @value or children", - "expression": "hasValue() or (children().count() > id.count())", - "xpath": "@value|f:*|h:div", - "source": "http://hl7.org/fhir/StructureDefinition/Element" - } - ], - "isModifier": false, - "isSummary": false, - "mapping": [ - { - "identity": "v2", - "map": "OBX.7" - }, - { - "identity": "rim", - "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" - } - ] - } - ] - }, - "differential": { - "element": [ - { - "id": "Observation", - "path": "Observation", - "definition": "This profile defines how to represent pulse oximetry and inspired oxygen concentration based on the FHIR Core Vitals Profile.\nINSPIRED OXYGEN CONCENTRATION observations in FHIR using a standard LOINC code and UCUM units of measure.", - "mustSupport": false - }, - { - "id": "Observation.code", - "path": "Observation.code", - "short": "Oxygen Saturation by Pulse Oximetry", - "comment": "The code (59408-5 Oxygen saturation in Arterial blood by Pulse oximetry) is included as an additional observation code to FHIR Core vital Oxygen Saturation code (2708-6 Oxygen saturation in Arterial blood -).", - "mustSupport": true - }, - { - "id": "Observation.code.coding", - "path": "Observation.code.coding", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "code" - }, - { - "type": "value", - "path": "system" - } - ], - "rules": "open" - }, - "mustSupport": true - }, - { - "id": "Observation.code.coding:PulseOx", - "path": "Observation.code.coding", - "sliceName": "PulseOx", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Observation.code.coding:PulseOx.system", - "path": "Observation.code.coding.system", - "min": 1, - "max": "1", - "type": [ - { - "code": "uri" - } - ], - "fixedUri": "http://loinc.org", - "mustSupport": true - }, - { - "id": "Observation.code.coding:PulseOx.code", - "path": "Observation.code.coding.code", - "min": 1, - "max": "1", - "type": [ - { - "code": "code" - } - ], - "fixedCode": "59408-5", - "mustSupport": true - }, - { - "id": "Observation.component", - "path": "Observation.component", - "slicing": { - "discriminator": [ - { - "type": "pattern", - "path": "code" - } - ], - "rules": "open" - }, - "mustSupport": true - }, - { - "id": "Observation.component:FlowRate", - "path": "Observation.component", - "sliceName": "FlowRate", - "short": "Inhaled oxygen flow rate", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Observation.component:FlowRate.code", - "path": "Observation.component.code", - "type": [ - { - "code": "CodeableConcept" - } - ], - "patternCodeableConcept": { - "coding": [ - { - "system": "http://loinc.org", - "code": "3151-8" - } - ] - }, - "mustSupport": true - }, - { - "id": "Observation.component:FlowRate.valueQuantity", - "path": "Observation.component.valueQuantity", - "mustSupport": true - }, - { - "id": "Observation.component:FlowRate.valueQuantity.value", - "path": "Observation.component.valueQuantity.value", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Observation.component:FlowRate.valueQuantity.unit", - "path": "Observation.component.valueQuantity.unit", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Observation.component:FlowRate.valueQuantity.system", - "path": "Observation.component.valueQuantity.system", - "min": 1, - "max": "1", - "type": [ - { - "code": "uri" - } - ], - "fixedUri": "http://unitsofmeasure.org", - "mustSupport": true - }, - { - "id": "Observation.component:FlowRate.valueQuantity.code", - "path": "Observation.component.valueQuantity.code", - "min": 1, - "max": "1", - "type": [ - { - "code": "code" - } - ], - "fixedCode": "L/min", - "mustSupport": true - }, - { - "id": "Observation.component:Concentration", - "path": "Observation.component", - "sliceName": "Concentration", - "short": "Inhaled oxygen concentration", - "min": 0, - "max": "1", - "mustSupport": true - }, - { - "id": "Observation.component:Concentration.code", - "path": "Observation.component.code", - "type": [ - { - "code": "CodeableConcept" - } - ], - "patternCodeableConcept": { - "coding": [ - { - "system": "http://loinc.org", - "code": "3150-0" - } - ] - }, - "mustSupport": true - }, - { - "id": "Observation.component:Concentration.valueQuantity", - "path": "Observation.component.valueQuantity", - "mustSupport": true - }, - { - "id": "Observation.component:Concentration.valueQuantity.value", - "path": "Observation.component.valueQuantity.value", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Observation.component:Concentration.valueQuantity.unit", - "path": "Observation.component.valueQuantity.unit", - "min": 1, - "max": "1", - "mustSupport": true - }, - { - "id": "Observation.component:Concentration.valueQuantity.system", - "path": "Observation.component.valueQuantity.system", - "min": 1, - "max": "1", - "type": [ - { - "code": "uri" - } - ], - "fixedUri": "http://unitsofmeasure.org", - "mustSupport": true - }, - { - "id": "Observation.component:Concentration.valueQuantity.code", - "path": "Observation.component.valueQuantity.code", - "min": 1, - "max": "1", - "type": [ - { - "code": "code" - } - ], - "fixedCode": "%", - "mustSupport": true - } - ] - } -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-race.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-race.json deleted file mode 100644 index fe9e6a2325a..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-race.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-race","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Extension 0..1ExtensionUS Core Race Extension
\".\"\".\"\".\" extension:ombCategory S0..5ExtensionAmerican Indian or Alaska Native|Asian|Black or African American|Native Hawaiian or Other Pacific Islander|White
\".\"\".\"\".\"\".\" url 1..1uri"ombCategory"
\".\"\".\"\".\"\".\" valueCoding 1..1CodingValue of extension
Binding: OMB Race Categories (required)
\".\"\".\"\".\" extension:detailed 0..*ExtensionExtended race codes
\".\"\".\"\".\"\".\" url 1..1uri"detailed"
\".\"\".\"\".\"\".\" valueCoding 1..1CodingValue of extension
Binding: Detailed Race (required)
\".\"\".\"\".\" extension:text S1..1ExtensionRace Text
\".\"\".\"\".\"\".\" url 1..1uri"text"
\".\"\".\"\".\"\".\" valueString 1..1stringValue of extension
\".\"\".\"\".\" url 1..1uri"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
\".\"\".\"\".\" value[x] 0..0

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race","version":"3.1.1","name":"USCoreRaceExtension","title":"US Core Race Extension","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"purpose":"Complies with 2015 Edition Common Clinical Data Set for patient race.","fhirVersion":"4.0.1","mapping":[{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"}],"kind":"complex-type","abstract":false,"context":[{"type":"element","expression":"Patient"}],"type":"Extension","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Extension","derivation":"constraint","snapshot":{"element":[{"id":"Extension","path":"Extension","short":"US Core Race Extension","definition":"Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.","min":0,"max":"1","base":{"path":"Extension","min":0,"max":"*"},"condition":["ele-1"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false},{"id":"Extension.id","path":"Extension.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension","path":"Extension.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:ombCategory","path":"Extension.extension","sliceName":"ombCategory","short":"American Indian or Alaska Native|Asian|Black or African American|Native Hawaiian or Other Pacific Islander|White","definition":"The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).","min":0,"max":"5","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"mustSupport":true,"isModifier":false,"isSummary":false,"mapping":[{"identity":"iso11179","map":"/ClinicalDocument/recordTarget/patientRole/patient/raceCode"}]},{"id":"Extension.extension:ombCategory.id","path":"Extension.extension.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:ombCategory.extension","path":"Extension.extension.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:ombCategory.extension.id","path":"Extension.extension.extension.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:ombCategory.extension.extension","path":"Extension.extension.extension.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:ombCategory.extension.url","path":"Extension.extension.extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","definition":"Source of the definition for the extension code - a logical name or a URL.","comment":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","min":1,"max":"1","base":{"path":"Extension.url","min":1,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"uri"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:ombCategory.extension.value[x]","path":"Extension.extension.extension.value[x]","short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":0,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"base64Binary"},{"code":"boolean"},{"code":"canonical"},{"code":"code"},{"code":"date"},{"code":"dateTime"},{"code":"decimal"},{"code":"id"},{"code":"instant"},{"code":"integer"},{"code":"markdown"},{"code":"oid"},{"code":"positiveInt"},{"code":"string"},{"code":"time"},{"code":"unsignedInt"},{"code":"uri"},{"code":"url"},{"code":"uuid"},{"code":"Address"},{"code":"Age"},{"code":"Annotation"},{"code":"Attachment"},{"code":"CodeableConcept"},{"code":"Coding"},{"code":"ContactPoint"},{"code":"Count"},{"code":"Distance"},{"code":"Duration"},{"code":"HumanName"},{"code":"Identifier"},{"code":"Money"},{"code":"Period"},{"code":"Quantity"},{"code":"Range"},{"code":"Ratio"},{"code":"Reference"},{"code":"SampledData"},{"code":"Signature"},{"code":"Timing"},{"code":"ContactDetail"},{"code":"Contributor"},{"code":"DataRequirement"},{"code":"Expression"},{"code":"ParameterDefinition"},{"code":"RelatedArtifact"},{"code":"TriggerDefinition"},{"code":"UsageContext"},{"code":"Dosage"},{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:ombCategory.url","path":"Extension.extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","definition":"Source of the definition for the extension code - a logical name or a URL.","comment":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","min":1,"max":"1","base":{"path":"Extension.url","min":1,"max":"1"},"type":[{"code":"uri"}],"fixedUri":"ombCategory","isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:ombCategory.value[x]","path":"Extension.extension.value[x]","slicing":{"discriminator":[{"type":"type","path":"$this"}],"ordered":false,"rules":"closed"},"short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":1,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"Coding"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:ombCategory.value[x]:valueCoding","path":"Extension.extension.value[x]","sliceName":"valueCoding","short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":1,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"Coding"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"strength":"required","description":"The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).","valueSet":"http://hl7.org/fhir/us/core/ValueSet/omb-race-category"},"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:detailed","path":"Extension.extension","sliceName":"detailed","short":"Extended race codes","definition":"The 900+ CDC race codes that are grouped under one of the 5 OMB race category codes:.","min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"iso11179","map":"/ClinicalDocument/recordTarget/patientRole/patient/sdtc:raceCode"}]},{"id":"Extension.extension:detailed.id","path":"Extension.extension.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:detailed.extension","path":"Extension.extension.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:detailed.extension.id","path":"Extension.extension.extension.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:detailed.extension.extension","path":"Extension.extension.extension.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:detailed.extension.url","path":"Extension.extension.extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","definition":"Source of the definition for the extension code - a logical name or a URL.","comment":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","min":1,"max":"1","base":{"path":"Extension.url","min":1,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"uri"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:detailed.extension.value[x]","path":"Extension.extension.extension.value[x]","short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":0,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"base64Binary"},{"code":"boolean"},{"code":"canonical"},{"code":"code"},{"code":"date"},{"code":"dateTime"},{"code":"decimal"},{"code":"id"},{"code":"instant"},{"code":"integer"},{"code":"markdown"},{"code":"oid"},{"code":"positiveInt"},{"code":"string"},{"code":"time"},{"code":"unsignedInt"},{"code":"uri"},{"code":"url"},{"code":"uuid"},{"code":"Address"},{"code":"Age"},{"code":"Annotation"},{"code":"Attachment"},{"code":"CodeableConcept"},{"code":"Coding"},{"code":"ContactPoint"},{"code":"Count"},{"code":"Distance"},{"code":"Duration"},{"code":"HumanName"},{"code":"Identifier"},{"code":"Money"},{"code":"Period"},{"code":"Quantity"},{"code":"Range"},{"code":"Ratio"},{"code":"Reference"},{"code":"SampledData"},{"code":"Signature"},{"code":"Timing"},{"code":"ContactDetail"},{"code":"Contributor"},{"code":"DataRequirement"},{"code":"Expression"},{"code":"ParameterDefinition"},{"code":"RelatedArtifact"},{"code":"TriggerDefinition"},{"code":"UsageContext"},{"code":"Dosage"},{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:detailed.url","path":"Extension.extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","definition":"Source of the definition for the extension code - a logical name or a URL.","comment":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","min":1,"max":"1","base":{"path":"Extension.url","min":1,"max":"1"},"type":[{"code":"uri"}],"fixedUri":"detailed","isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:detailed.value[x]","path":"Extension.extension.value[x]","slicing":{"discriminator":[{"type":"type","path":"$this"}],"ordered":false,"rules":"closed"},"short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":1,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"Coding"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:detailed.value[x]:valueCoding","path":"Extension.extension.value[x]","sliceName":"valueCoding","short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":1,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"Coding"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"strength":"required","description":"The [900+ CDC Race codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 5 OMB race category codes.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/detailed-race"},"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:text","path":"Extension.extension","sliceName":"text","short":"Race Text","definition":"Plain text representation of the race concept(s).","min":1,"max":"1","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"mustSupport":true,"isModifier":false,"isSummary":false},{"id":"Extension.extension:text.id","path":"Extension.extension.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:text.extension","path":"Extension.extension.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:text.extension.id","path":"Extension.extension.extension.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:text.extension.extension","path":"Extension.extension.extension.extension","slicing":{"discriminator":[{"type":"value","path":"url"}],"description":"Extensions are always sliced by (at least) url","rules":"open"},"short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Extension.extension:text.extension.url","path":"Extension.extension.extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","definition":"Source of the definition for the extension code - a logical name or a URL.","comment":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","min":1,"max":"1","base":{"path":"Extension.url","min":1,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"uri"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:text.extension.value[x]","path":"Extension.extension.extension.value[x]","short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":0,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"base64Binary"},{"code":"boolean"},{"code":"canonical"},{"code":"code"},{"code":"date"},{"code":"dateTime"},{"code":"decimal"},{"code":"id"},{"code":"instant"},{"code":"integer"},{"code":"markdown"},{"code":"oid"},{"code":"positiveInt"},{"code":"string"},{"code":"time"},{"code":"unsignedInt"},{"code":"uri"},{"code":"url"},{"code":"uuid"},{"code":"Address"},{"code":"Age"},{"code":"Annotation"},{"code":"Attachment"},{"code":"CodeableConcept"},{"code":"Coding"},{"code":"ContactPoint"},{"code":"Count"},{"code":"Distance"},{"code":"Duration"},{"code":"HumanName"},{"code":"Identifier"},{"code":"Money"},{"code":"Period"},{"code":"Quantity"},{"code":"Range"},{"code":"Ratio"},{"code":"Reference"},{"code":"SampledData"},{"code":"Signature"},{"code":"Timing"},{"code":"ContactDetail"},{"code":"Contributor"},{"code":"DataRequirement"},{"code":"Expression"},{"code":"ParameterDefinition"},{"code":"RelatedArtifact"},{"code":"TriggerDefinition"},{"code":"UsageContext"},{"code":"Dosage"},{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:text.url","path":"Extension.extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","definition":"Source of the definition for the extension code - a logical name or a URL.","comment":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","min":1,"max":"1","base":{"path":"Extension.url","min":1,"max":"1"},"type":[{"code":"uri"}],"fixedUri":"text","isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:text.value[x]","path":"Extension.extension.value[x]","slicing":{"discriminator":[{"type":"type","path":"$this"}],"ordered":false,"rules":"closed"},"short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":1,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.extension:text.value[x]:valueString","path":"Extension.extension.value[x]","sliceName":"valueString","short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":1,"max":"1","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.url","path":"Extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","definition":"Source of the definition for the extension code - a logical name or a URL.","comment":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.","min":1,"max":"1","base":{"path":"Extension.url","min":1,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"uri"}],"code":"http://hl7.org/fhirpath/System.String"}],"fixedUri":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race","isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Extension.value[x]","path":"Extension.value[x]","short":"Value of extension","definition":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).","min":0,"max":"0","base":{"path":"Extension.value[x]","min":0,"max":"1"},"type":[{"code":"base64Binary"},{"code":"boolean"},{"code":"canonical"},{"code":"code"},{"code":"date"},{"code":"dateTime"},{"code":"decimal"},{"code":"id"},{"code":"instant"},{"code":"integer"},{"code":"markdown"},{"code":"oid"},{"code":"positiveInt"},{"code":"string"},{"code":"time"},{"code":"unsignedInt"},{"code":"uri"},{"code":"url"},{"code":"uuid"},{"code":"Address"},{"code":"Age"},{"code":"Annotation"},{"code":"Attachment"},{"code":"CodeableConcept"},{"code":"Coding"},{"code":"ContactPoint"},{"code":"Count"},{"code":"Distance"},{"code":"Duration"},{"code":"HumanName"},{"code":"Identifier"},{"code":"Money"},{"code":"Period"},{"code":"Quantity"},{"code":"Range"},{"code":"Ratio"},{"code":"Reference"},{"code":"SampledData"},{"code":"Signature"},{"code":"Timing"},{"code":"ContactDetail"},{"code":"Contributor"},{"code":"DataRequirement"},{"code":"Expression"},{"code":"ParameterDefinition"},{"code":"RelatedArtifact"},{"code":"TriggerDefinition"},{"code":"UsageContext"},{"code":"Dosage"},{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]}]},"differential":{"element":[{"id":"Extension","path":"Extension","short":"US Core Race Extension","definition":"Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.","min":0,"max":"1"},{"id":"Extension.extension:ombCategory","path":"Extension.extension","sliceName":"ombCategory","short":"American Indian or Alaska Native|Asian|Black or African American|Native Hawaiian or Other Pacific Islander|White","definition":"The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).","min":0,"max":"5","type":[{"code":"Extension"}],"mustSupport":true,"mapping":[{"identity":"iso11179","map":"/ClinicalDocument/recordTarget/patientRole/patient/raceCode"}]},{"id":"Extension.extension:ombCategory.url","path":"Extension.extension.url","min":1,"max":"1","type":[{"code":"uri"}],"fixedUri":"ombCategory"},{"id":"Extension.extension:ombCategory.valueCoding","path":"Extension.extension.valueCoding","min":1,"max":"1","type":[{"code":"Coding"}],"binding":{"strength":"required","description":"The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).","valueSet":"http://hl7.org/fhir/us/core/ValueSet/omb-race-category"}},{"id":"Extension.extension:detailed","path":"Extension.extension","sliceName":"detailed","short":"Extended race codes","definition":"The 900+ CDC race codes that are grouped under one of the 5 OMB race category codes:.","min":0,"max":"*","type":[{"code":"Extension"}],"mapping":[{"identity":"iso11179","map":"/ClinicalDocument/recordTarget/patientRole/patient/sdtc:raceCode"}]},{"id":"Extension.extension:detailed.url","path":"Extension.extension.url","min":1,"max":"1","type":[{"code":"uri"}],"fixedUri":"detailed"},{"id":"Extension.extension:detailed.valueCoding","path":"Extension.extension.valueCoding","min":1,"max":"1","type":[{"code":"Coding"}],"binding":{"strength":"required","description":"The [900+ CDC Race codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 5 OMB race category codes.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/detailed-race"}},{"id":"Extension.extension:text","path":"Extension.extension","sliceName":"text","short":"Race Text","definition":"Plain text representation of the race concept(s).","min":1,"max":"1","type":[{"code":"Extension"}],"mustSupport":true},{"id":"Extension.extension:text.url","path":"Extension.extension.url","min":1,"max":"1","type":[{"code":"uri"}],"fixedUri":"text"},{"id":"Extension.extension:text.valueString","path":"Extension.extension.valueString","min":1,"max":"1","type":[{"code":"string"}]},{"id":"Extension.url","path":"Extension.url","min":1,"max":"1","fixedUri":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"},{"id":"Extension.value[x]","path":"Extension.value[x]","min":0,"max":"0"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-smokingstatus.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-smokingstatus.json deleted file mode 100644 index 0e5494b6d39..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/StructureDefinition-us-core-smokingstatus.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"StructureDefinition","id":"us-core-smokingstatus","text":{"status":"extensions","div":"
\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Observation 0..*ObservationMeasurements and simple assertions
\".\"\".\"\".\" status S1..1coderegistered | preliminary | final | amended +
Binding: US Core Status for Smoking Status Observation (required)
\".\"\".\"\".\" code S1..1CodeableConceptSmoking Status
Binding: US Core Smoking Status Observation Codes (extensible)
\".\"\".\"\".\" subject S1..1Reference(US Core Patient Profile)Who and/or what the observation is about
\".\"\".\"\".\" issued S1..1instantDate/Time this version was made available
\".\"\".\"\".\" valueCodeableConcept S1..1CodeableConceptCoded Responses from Smoking Status Value Set
Binding: US Core Smoking Status Preferred (preferred)
Max Binding: US Core Smoking Status Max-Binding

\"doco\" Documentation for this format
"},"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus","version":"3.1.1","name":"USCoreSmokingStatusProfile","title":"US Core Smoking Status Observation Profile","status":"active","experimental":false,"date":"2019-05-21T00:00:00+00:00","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.healthit.gov"}]}],"description":"Defines constraints and extensions on the Observation resource for the minimal set of data to query and retrieve patient's Smoking Status information.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"fhirVersion":"4.0.1","mapping":[{"identity":"workflow","uri":"http://hl7.org/fhir/workflow","name":"Workflow Pattern"},{"identity":"sct-concept","uri":"http://snomed.info/conceptdomain","name":"SNOMED CT Concept Domain Binding"},{"identity":"v2","uri":"http://hl7.org/v2","name":"HL7 v2 Mapping"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"sct-attr","uri":"http://snomed.org/attributebinding","name":"SNOMED CT Attribute Binding"}],"kind":"resource","abstract":false,"type":"Observation","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Observation","derivation":"constraint","snapshot":{"element":[{"id":"Observation","path":"Observation","short":"Measurements and simple assertions","definition":"The US Core Smoking Status Observation Profile is based upon the core FHIR Observation Resource and created to meet the USCDI Data Set 'Smoking status' requirements.","comment":"Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.","alias":["Vital Signs","Measurement","Results","Tests","Obs"],"min":0,"max":"*","base":{"path":"Observation","min":0,"max":"*"},"constraint":[{"key":"dom-2","severity":"error","human":"If the resource is contained in another resource, it SHALL NOT contain nested Resources","expression":"contained.contained.empty()","xpath":"not(parent::f:contained and f:contained)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-3","severity":"error","human":"If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource","expression":"contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()","xpath":"not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-4","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated","expression":"contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()","xpath":"not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"dom-5","severity":"error","human":"If a resource is contained in another resource, it SHALL NOT have a security label","expression":"contained.meta.security.empty()","xpath":"not(exists(f:contained/*/f:meta/f:security))","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","valueBoolean":true},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","valueMarkdown":"When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}],"key":"dom-6","severity":"warning","human":"A resource should have narrative for robust management","expression":"text.`div`.exists()","xpath":"exists(f:text/h:div)","source":"http://hl7.org/fhir/StructureDefinition/DomainResource"},{"key":"obs-6","severity":"error","human":"dataAbsentReason SHALL only be present if Observation.value[x] is not present","expression":"dataAbsentReason.empty() or value.empty()","xpath":"not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))","source":"http://hl7.org/fhir/StructureDefinition/Observation"},{"key":"obs-7","severity":"error","human":"If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present","expression":"value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()","xpath":"not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))","source":"http://hl7.org/fhir/StructureDefinition/Observation"}],"mustSupport":false,"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Entity. Role, or Act"},{"identity":"workflow","map":"Event"},{"identity":"sct-concept","map":"< 363787002 |Observable entity|"},{"identity":"v2","map":"OBX"},{"identity":"rim","map":"Observation[classCode=OBS, moodCode=EVN]"},{"identity":"argonaut-dq-dstu2","map":"Observation"}]},{"id":"Observation.id","path":"Observation.id","short":"Logical id of this artifact","definition":"The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.","comment":"The only time that a resource does not have an id is when it is being submitted to the server using a create operation.","min":0,"max":"1","base":{"path":"Resource.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":true},{"id":"Observation.meta","path":"Observation.meta","short":"Metadata about the resource","definition":"The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","min":0,"max":"1","base":{"path":"Resource.meta","min":0,"max":"1"},"type":[{"code":"Meta"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true},{"id":"Observation.implicitRules","path":"Observation.implicitRules","short":"A set of rules under which this content was created","definition":"A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.","comment":"Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.","min":0,"max":"1","base":{"path":"Resource.implicitRules","min":0,"max":"1"},"type":[{"code":"uri"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true},{"id":"Observation.language","path":"Observation.language","short":"Language of the resource content","definition":"The base language in which the resource is written.","comment":"Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).","min":0,"max":"1","base":{"path":"Resource.language","min":0,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/ValueSet/all-languages"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"Language"},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","valueBoolean":true}],"strength":"preferred","description":"A human language.","valueSet":"http://hl7.org/fhir/ValueSet/languages"}},{"id":"Observation.text","path":"Observation.text","short":"Text summary of the resource, for human interpretation","definition":"A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.","comment":"Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.","alias":["narrative","html","xhtml","display"],"min":0,"max":"1","base":{"path":"DomainResource.text","min":0,"max":"1"},"type":[{"code":"Narrative"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"Act.text?"}]},{"id":"Observation.contained","path":"Observation.contained","short":"Contained, inline Resources","definition":"These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.","comment":"This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.","alias":["inline resources","anonymous resources","contained resources"],"min":0,"max":"*","base":{"path":"DomainResource.contained","min":0,"max":"*"},"type":[{"code":"Resource"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.extension","path":"Observation.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.modifierExtension","path":"Observation.modifierExtension","short":"Extensions that cannot be ignored","definition":"May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"DomainResource.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them","isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.identifier","path":"Observation.identifier","short":"Business Identifier for observation","definition":"A unique identifier assigned to this observation.","requirements":"Allows observations to be distinguished and referenced.","min":0,"max":"*","base":{"path":"Observation.identifier","min":0,"max":"*"},"type":[{"code":"Identifier"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.identifier"},{"identity":"w5","map":"FiveWs.identifier"},{"identity":"v2","map":"OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4."},{"identity":"rim","map":"id"}]},{"id":"Observation.basedOn","path":"Observation.basedOn","short":"Fulfills plan, proposal or order","definition":"A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.","requirements":"Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.","alias":["Fulfills"],"min":0,"max":"*","base":{"path":"Observation.basedOn","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/CarePlan","http://hl7.org/fhir/StructureDefinition/DeviceRequest","http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation","http://hl7.org/fhir/StructureDefinition/MedicationRequest","http://hl7.org/fhir/StructureDefinition/NutritionOrder","http://hl7.org/fhir/StructureDefinition/ServiceRequest"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.basedOn"},{"identity":"v2","map":"ORC"},{"identity":"rim","map":".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"}]},{"id":"Observation.partOf","path":"Observation.partOf","short":"Part of referenced event","definition":"A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.","comment":"To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below for guidance on referencing another Observation.","alias":["Container"],"min":0,"max":"*","base":{"path":"Observation.partOf","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/MedicationAdministration","http://hl7.org/fhir/StructureDefinition/MedicationDispense","http://hl7.org/fhir/StructureDefinition/MedicationStatement","http://hl7.org/fhir/StructureDefinition/Procedure","http://hl7.org/fhir/StructureDefinition/Immunization","http://hl7.org/fhir/StructureDefinition/ImagingStudy"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.partOf"},{"identity":"v2","map":"Varies by domain"},{"identity":"rim","map":".outboundRelationship[typeCode=FLFS].target"}]},{"id":"Observation.status","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint","valueString":"default: final"}],"path":"Observation.status","short":"registered | preliminary | final | amended +","definition":"The status of the result value.","comment":"This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.","requirements":"Need to track the status of individual results. Some results are finalized before the whole report is finalized.","min":1,"max":"1","base":{"path":"Observation.status","min":1,"max":"1"},"type":[{"code":"code"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status"},"mapping":[{"identity":"workflow","map":"Event.status"},{"identity":"w5","map":"FiveWs.status"},{"identity":"sct-concept","map":"< 445584004 |Report by finality status|"},{"identity":"v2","map":"OBX-11"},{"identity":"rim","map":"status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\""},{"identity":"argonaut-dq-dstu2","map":"Observation.status"}]},{"id":"Observation.category","path":"Observation.category","short":"Classification of type of observation","definition":"A code that classifies the general type of observation being made.","comment":"In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.","requirements":"Used for filtering what observations are retrieved and displayed.","min":0,"max":"*","base":{"path":"Observation.category","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationCategory"}],"strength":"preferred","description":"Codes for high level observation categories.","valueSet":"http://hl7.org/fhir/ValueSet/observation-category"},"mapping":[{"identity":"w5","map":"FiveWs.class"},{"identity":"rim","map":".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code"}]},{"id":"Observation.code","path":"Observation.code","short":"Smoking Status","definition":"Describes what was observed. Sometimes this is called the observation \"name\".","comment":"*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.","requirements":"Knowing what kind of observation is being made is essential to understanding the observation.","alias":["Name"],"min":1,"max":"1","base":{"path":"Observation.code","min":1,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes"},"mapping":[{"identity":"workflow","map":"Event.code"},{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"sct-concept","map":"< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|"},{"identity":"v2","map":"OBX-3"},{"identity":"rim","map":"code"},{"identity":"sct-attr","map":"116680003 |Is a|"},{"identity":"argonaut-dq-dstu2","map":"Observation.code"}]},{"id":"Observation.subject","path":"Observation.subject","short":"Who and/or what the observation is about","definition":"The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.","comment":"One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.","requirements":"Observations have no value if you don't know who or what they're about.","min":1,"max":"1","base":{"path":"Observation.subject","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.subject"},{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"PID-3"},{"identity":"rim","map":"participation[typeCode=RTGT]"},{"identity":"w5","map":"FiveWs.subject"},{"identity":"argonaut-dq-dstu2","map":"Observation.subject"}]},{"id":"Observation.focus","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"trial-use"}],"path":"Observation.focus","short":"What the observation is about, when it is not about the subject of record","definition":"The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.","comment":"Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/R4/extension-observation-focuscode.html).","min":0,"max":"*","base":{"path":"Observation.focus","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Resource"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.subject[x]"},{"identity":"v2","map":"OBX-3"},{"identity":"rim","map":"participation[typeCode=SBJ]"},{"identity":"w5","map":"FiveWs.subject"}]},{"id":"Observation.encounter","path":"Observation.encounter","short":"Healthcare event during which this observation is made","definition":"The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.","comment":"This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).","requirements":"For some observations it may be important to know the link between an observation and a particular encounter.","alias":["Context"],"min":0,"max":"1","base":{"path":"Observation.encounter","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Encounter"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.context"},{"identity":"w5","map":"FiveWs.context"},{"identity":"v2","map":"PV1"},{"identity":"rim","map":"inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"}]},{"id":"Observation.effective[x]","path":"Observation.effective[x]","short":"Clinically relevant time/time-period for observation","definition":"The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.","comment":"At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/R4/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.","requirements":"Knowing when an observation was deemed true is important to its relevance as well as determining trends.","alias":["Occurrence"],"min":0,"max":"1","base":{"path":"Observation.effective[x]","min":0,"max":"1"},"type":[{"code":"dateTime"},{"code":"Period"},{"code":"Timing"},{"code":"instant"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.occurrence[x]"},{"identity":"w5","map":"FiveWs.done[x]"},{"identity":"v2","map":"OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)"},{"identity":"rim","map":"effectiveTime"}]},{"id":"Observation.issued","path":"Observation.issued","short":"Date/Time this version was made available","definition":"The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.","comment":"For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/R4/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.","min":1,"max":"1","base":{"path":"Observation.issued","min":0,"max":"1"},"type":[{"code":"instant"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"mapping":[{"identity":"w5","map":"FiveWs.recorded"},{"identity":"v2","map":"OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)"},{"identity":"rim","map":"participation[typeCode=AUT].time"},{"identity":"argonaut-dq-dstu2","map":"Observation.issued"}]},{"id":"Observation.performer","path":"Observation.performer","short":"Who is responsible for the observation","definition":"Who was responsible for asserting the observed value as \"true\".","requirements":"May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.","min":0,"max":"*","base":{"path":"Observation.performer","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"workflow","map":"Event.performer.actor"},{"identity":"w5","map":"FiveWs.actor"},{"identity":"v2","map":"OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'"},{"identity":"rim","map":"participation[typeCode=PRF]"}]},{"id":"Observation.value[x]","path":"Observation.value[x]","slicing":{"discriminator":[{"type":"type","path":"$this"}],"ordered":false,"rules":"closed"},"short":"Actual result","definition":"The information determined as a result of making the observation, if the information has a simple value.","comment":"An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.","requirements":"An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.","min":1,"max":"1","base":{"path":"Observation.value[x]","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["obs-7"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"sct-concept","map":"< 441742003 |Evaluation finding|"},{"identity":"v2","map":"OBX.2, OBX.5, OBX.6"},{"identity":"rim","map":"value"},{"identity":"sct-attr","map":"363714003 |Interprets|"}]},{"id":"Observation.value[x]:valueCodeableConcept","path":"Observation.value[x]","sliceName":"valueCodeableConcept","short":"Coded Responses from Smoking Status Value Set","definition":"The information determined as a result of making the observation, if the information has a simple value.","comment":"An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.","requirements":"An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.","min":1,"max":"1","base":{"path":"Observation.value[x]","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["obs-7"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"mustSupport":true,"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max"}],"strength":"preferred","description":"This value set enumerates codes SNOMED CT codes historically used for the current smoking status of a patient with a maximum required binding to Snomed CT codes.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus"},"mapping":[{"identity":"sct-concept","map":"< 441742003 |Evaluation finding|"},{"identity":"v2","map":"OBX.2, OBX.5, OBX.6"},{"identity":"rim","map":"value"},{"identity":"sct-attr","map":"363714003 |Interprets|"},{"identity":"argonaut-dq-dstu2","map":"Observation.valueCodeableConcept"}]},{"id":"Observation.dataAbsentReason","path":"Observation.dataAbsentReason","short":"Why the result is missing","definition":"Provides a reason why the expected value in the element Observation.value[x] is missing.","comment":"Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.","requirements":"For many results it is necessary to handle exceptional values in measurements.","min":0,"max":"1","base":{"path":"Observation.dataAbsentReason","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["obs-6"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationValueAbsentReason"}],"strength":"extensible","description":"Codes specifying why the result (`Observation.value[x]`) is missing.","valueSet":"http://hl7.org/fhir/ValueSet/data-absent-reason"},"mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"value.nullFlavor"}]},{"id":"Observation.interpretation","path":"Observation.interpretation","short":"High, low, normal, etc.","definition":"A categorical assessment of an observation value. For example, high, low, normal.","comment":"Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.","requirements":"For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.","alias":["Abnormal Flag"],"min":0,"max":"*","base":{"path":"Observation.interpretation","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationInterpretation"}],"strength":"extensible","description":"Codes identifying interpretations of observations.","valueSet":"http://hl7.org/fhir/ValueSet/observation-interpretation"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values|"},{"identity":"v2","map":"OBX-8"},{"identity":"rim","map":"interpretationCode"},{"identity":"sct-attr","map":"363713009 |Has interpretation|"}]},{"id":"Observation.note","path":"Observation.note","short":"Comments about the observation","definition":"Comments about the observation or the results.","comment":"May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.","requirements":"Need to be able to provide free text additional information.","min":0,"max":"*","base":{"path":"Observation.note","min":0,"max":"*"},"type":[{"code":"Annotation"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)"},{"identity":"rim","map":"subjectOf.observationEvent[code=\"annotation\"].value"}]},{"id":"Observation.bodySite","path":"Observation.bodySite","short":"Observed body part","definition":"Indicates the site on the subject's body where the observation was made (i.e. the target site).","comment":"Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/R4/extension-bodysite.html).","min":0,"max":"1","base":{"path":"Observation.bodySite","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"BodySite"}],"strength":"example","description":"Codes describing anatomical locations. May include laterality.","valueSet":"http://hl7.org/fhir/ValueSet/body-site"},"mapping":[{"identity":"sct-concept","map":"< 123037004 |Body structure|"},{"identity":"v2","map":"OBX-20"},{"identity":"rim","map":"targetSiteCode"},{"identity":"sct-attr","map":"718497002 |Inherent location|"}]},{"id":"Observation.method","path":"Observation.method","short":"How it was done","definition":"Indicates the mechanism used to perform the observation.","comment":"Only used if not implicit in code for Observation.code.","requirements":"In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.","min":0,"max":"1","base":{"path":"Observation.method","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationMethod"}],"strength":"example","description":"Methods for simple observations.","valueSet":"http://hl7.org/fhir/ValueSet/observation-methods"},"mapping":[{"identity":"v2","map":"OBX-17"},{"identity":"rim","map":"methodCode"}]},{"id":"Observation.specimen","path":"Observation.specimen","short":"Specimen used for this observation","definition":"The specimen that was used when this observation was made.","comment":"Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).","min":0,"max":"1","base":{"path":"Observation.specimen","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Specimen"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"sct-concept","map":"< 123038009 |Specimen|"},{"identity":"v2","map":"SPM segment"},{"identity":"rim","map":"participation[typeCode=SPC].specimen"},{"identity":"sct-attr","map":"704319004 |Inherent in|"}]},{"id":"Observation.device","path":"Observation.device","short":"(Measurement) Device","definition":"The device used to generate the observation data.","comment":"Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.","min":0,"max":"1","base":{"path":"Observation.device","min":0,"max":"1"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/DeviceMetric"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"sct-concept","map":"< 49062001 |Device|"},{"identity":"v2","map":"OBX-17 / PRT -10"},{"identity":"rim","map":"participation[typeCode=DEV]"},{"identity":"sct-attr","map":"424226004 |Using device|"}]},{"id":"Observation.referenceRange","path":"Observation.referenceRange","short":"Provides guide for interpretation","definition":"Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.","comment":"Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.","requirements":"Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.","min":0,"max":"*","base":{"path":"Observation.referenceRange","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"obs-3","severity":"error","human":"Must have at least a low or a high or text","expression":"low.exists() or high.exists() or text.exists()","xpath":"(exists(f:low) or exists(f:high)or exists(f:text))"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX.7"},{"identity":"rim","map":"outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"}]},{"id":"Observation.referenceRange.id","path":"Observation.referenceRange.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.referenceRange.extension","path":"Observation.referenceRange.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.referenceRange.modifierExtension","path":"Observation.referenceRange.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.referenceRange.low","path":"Observation.referenceRange.low","short":"Low Range, if relevant","definition":"The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).","min":0,"max":"1","base":{"path":"Observation.referenceRange.low","min":0,"max":"1"},"type":[{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"condition":["obs-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-7"},{"identity":"rim","map":"value:IVL_PQ.low"}]},{"id":"Observation.referenceRange.high","path":"Observation.referenceRange.high","short":"High Range, if relevant","definition":"The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).","min":0,"max":"1","base":{"path":"Observation.referenceRange.high","min":0,"max":"1"},"type":[{"code":"Quantity","profile":["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}],"condition":["obs-3"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-7"},{"identity":"rim","map":"value:IVL_PQ.high"}]},{"id":"Observation.referenceRange.type","path":"Observation.referenceRange.type","short":"Reference range qualifier","definition":"Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.","comment":"This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.","requirements":"Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.","min":0,"max":"1","base":{"path":"Observation.referenceRange.type","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationRangeMeaning"}],"strength":"preferred","description":"Code for the meaning of a reference range.","valueSet":"http://hl7.org/fhir/ValueSet/referencerange-meaning"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|"},{"identity":"v2","map":"OBX-10"},{"identity":"rim","map":"interpretationCode"}]},{"id":"Observation.referenceRange.appliesTo","path":"Observation.referenceRange.appliesTo","short":"Reference range population","definition":"Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.","comment":"This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.","requirements":"Need to be able to identify the target population for proper interpretation.","min":0,"max":"*","base":{"path":"Observation.referenceRange.appliesTo","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationRangeType"}],"strength":"example","description":"Codes identifying the population the reference range applies to.","valueSet":"http://hl7.org/fhir/ValueSet/referencerange-appliesto"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|"},{"identity":"v2","map":"OBX-10"},{"identity":"rim","map":"interpretationCode"}]},{"id":"Observation.referenceRange.age","path":"Observation.referenceRange.age","short":"Applicable age range, if relevant","definition":"The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.","requirements":"Some analytes vary greatly over age.","min":0,"max":"1","base":{"path":"Observation.referenceRange.age","min":0,"max":"1"},"type":[{"code":"Range"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value"}]},{"id":"Observation.referenceRange.text","path":"Observation.referenceRange.text","short":"Text based reference range in an observation","definition":"Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".","min":0,"max":"1","base":{"path":"Observation.referenceRange.text","min":0,"max":"1"},"type":[{"code":"string"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX-7"},{"identity":"rim","map":"value:ST"}]},{"id":"Observation.hasMember","path":"Observation.hasMember","short":"Related resource that belongs to the Observation group","definition":"This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.","comment":"When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html) into a final score and represent the score as an Observation.","min":0,"max":"*","base":{"path":"Observation.hasMember","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","http://hl7.org/fhir/StructureDefinition/MolecularSequence"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"Relationships established by OBX-4 usage"},{"identity":"rim","map":"outBoundRelationship"}]},{"id":"Observation.derivedFrom","path":"Observation.derivedFrom","short":"Related measurements the observation is made from","definition":"The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.","comment":"All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below.","min":0,"max":"*","base":{"path":"Observation.derivedFrom","min":0,"max":"*"},"type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/ImagingStudy","http://hl7.org/fhir/StructureDefinition/Media","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/MolecularSequence"]}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"Relationships established by OBX-4 usage"},{"identity":"rim","map":".targetObservation"}]},{"id":"Observation.component","path":"Observation.component","short":"Component results","definition":"Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.","comment":"For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/R4/observation.html#notes) below.","requirements":"Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.","min":0,"max":"*","base":{"path":"Observation.component","min":0,"max":"*"},"type":[{"code":"BackboneElement"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"v2","map":"containment by OBX-4?"},{"identity":"rim","map":"outBoundRelationship[typeCode=COMP]"}]},{"id":"Observation.component.id","path":"Observation.component.id","representation":["xmlAttr"],"short":"Unique id for inter-element referencing","definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","min":0,"max":"1","base":{"path":"Element.id","min":0,"max":"1"},"type":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","valueUrl":"string"}],"code":"http://hl7.org/fhirpath/System.String"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.component.extension","path":"Observation.component.extension","short":"Additional content defined by implementations","definition":"May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","alias":["extensions","user content"],"min":0,"max":"*","base":{"path":"Element.extension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}]},{"id":"Observation.component.modifierExtension","path":"Observation.component.modifierExtension","short":"Extensions that cannot be ignored even if unrecognized","definition":"May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).","comment":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.","requirements":"Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).","alias":["extensions","user content","modifiers"],"min":0,"max":"*","base":{"path":"BackboneElement.modifierExtension","min":0,"max":"*"},"type":[{"code":"Extension"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"},{"key":"ext-1","severity":"error","human":"Must have either extensions or value[x], not both","expression":"extension.exists() != value.exists()","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])","source":"http://hl7.org/fhir/StructureDefinition/Extension"}],"isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"mapping":[{"identity":"rim","map":"N/A"}]},{"id":"Observation.component.code","path":"Observation.component.code","short":"Type of component observation (code / type)","definition":"Describes what was observed. Sometimes this is called the observation \"code\".","comment":"*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.","requirements":"Knowing what kind of observation is being made is essential to understanding the observation.","min":1,"max":"1","base":{"path":"Observation.component.code","min":1,"max":"1"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationCode"}],"strength":"example","description":"Codes identifying names of simple observations.","valueSet":"http://hl7.org/fhir/ValueSet/observation-codes"},"mapping":[{"identity":"w5","map":"FiveWs.what[x]"},{"identity":"sct-concept","map":"< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|"},{"identity":"v2","map":"OBX-3"},{"identity":"rim","map":"code"}]},{"id":"Observation.component.value[x]","path":"Observation.component.value[x]","short":"Actual component result","definition":"The information determined as a result of making the observation, if the information has a simple value.","comment":"Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.","requirements":"An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.","min":0,"max":"1","base":{"path":"Observation.component.value[x]","min":0,"max":"1"},"type":[{"code":"Quantity"},{"code":"CodeableConcept"},{"code":"string"},{"code":"boolean"},{"code":"integer"},{"code":"Range"},{"code":"Ratio"},{"code":"SampledData"},{"code":"time"},{"code":"dateTime"},{"code":"Period"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":true,"mapping":[{"identity":"sct-concept","map":"363714003 |Interprets| < 441742003 |Evaluation finding|"},{"identity":"v2","map":"OBX.2, OBX.5, OBX.6"},{"identity":"rim","map":"value"},{"identity":"sct-attr","map":"363714003 |Interprets|"}]},{"id":"Observation.component.dataAbsentReason","path":"Observation.component.dataAbsentReason","short":"Why the component result is missing","definition":"Provides a reason why the expected value in the element Observation.component.value[x] is missing.","comment":"\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.","requirements":"For many results it is necessary to handle exceptional values in measurements.","min":0,"max":"1","base":{"path":"Observation.component.dataAbsentReason","min":0,"max":"1"},"type":[{"code":"CodeableConcept"}],"condition":["obs-6"],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationValueAbsentReason"}],"strength":"extensible","description":"Codes specifying why the result (`Observation.value[x]`) is missing.","valueSet":"http://hl7.org/fhir/ValueSet/data-absent-reason"},"mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"value.nullFlavor"}]},{"id":"Observation.component.interpretation","path":"Observation.component.interpretation","short":"High, low, normal, etc.","definition":"A categorical assessment of an observation value. For example, high, low, normal.","comment":"Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.","requirements":"For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.","alias":["Abnormal Flag"],"min":0,"max":"*","base":{"path":"Observation.component.interpretation","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ObservationInterpretation"}],"strength":"extensible","description":"Codes identifying interpretations of observations.","valueSet":"http://hl7.org/fhir/ValueSet/observation-interpretation"},"mapping":[{"identity":"sct-concept","map":"< 260245000 |Findings values|"},{"identity":"v2","map":"OBX-8"},{"identity":"rim","map":"interpretationCode"},{"identity":"sct-attr","map":"363713009 |Has interpretation|"}]},{"id":"Observation.component.referenceRange","path":"Observation.component.referenceRange","short":"Provides guide for interpretation of component result","definition":"Guidance on how to interpret the value by comparison to a normal or recommended range.","comment":"Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.","requirements":"Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.","min":0,"max":"*","base":{"path":"Observation.component.referenceRange","min":0,"max":"*"},"contentReference":"#Observation.referenceRange","constraint":[{"key":"ele-1","severity":"error","human":"All FHIR elements must have a @value or children","expression":"hasValue() or (children().count() > id.count())","xpath":"@value|f:*|h:div","source":"http://hl7.org/fhir/StructureDefinition/Element"}],"isModifier":false,"isSummary":false,"mapping":[{"identity":"v2","map":"OBX.7"},{"identity":"rim","map":"outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]"}]}]},"differential":{"element":[{"id":"Observation","path":"Observation","definition":"The US Core Smoking Status Observation Profile is based upon the core FHIR Observation Resource and created to meet the USCDI Data Set 'Smoking status' requirements.","alias":["Obs"],"mustSupport":false,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Observation"}]},{"id":"Observation.status","path":"Observation.status","min":1,"max":"1","mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Observation.status"}]},{"id":"Observation.code","path":"Observation.code","short":"Smoking Status","min":1,"max":"1","type":[{"code":"CodeableConcept"}],"mustSupport":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Observation.code"}]},{"id":"Observation.subject","path":"Observation.subject","min":1,"max":"1","type":[{"code":"Reference","targetProfile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]}],"mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Observation.subject"}]},{"id":"Observation.issued","path":"Observation.issued","min":1,"max":"1","mustSupport":true,"mapping":[{"identity":"argonaut-dq-dstu2","map":"Observation.issued"}]},{"id":"Observation.valueCodeableConcept","path":"Observation.valueCodeableConcept","short":"Coded Responses from Smoking Status Value Set","min":1,"max":"1","type":[{"code":"CodeableConcept"}],"mustSupport":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","valueCanonical":"http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max"}],"strength":"preferred","description":"This value set enumerates codes SNOMED CT codes historically used for the current smoking status of a patient with a maximum required binding to Snomed CT codes.","valueSet":"http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus"},"mapping":[{"identity":"argonaut-dq-dstu2","map":"Observation.valueCodeableConcept"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-birthsex.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-birthsex.json deleted file mode 100644 index 8e54ec99837..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-birthsex.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"birthsex","text":{"status":"generated","div":"

This value set includes codes based on the following rules:

"},"url":"http://hl7.org/fhir/us/core/ValueSet/birthsex","identifier":[{"system":"urn:ietf:rfc:3986","value":"urn:oid:2.16.840.1.113762.1.4.1021.24"}],"version":"3.1.1","name":"BirthSex","title":"Birth Sex","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"Codes for assigning sex at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc)","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"compose":{"include":[{"system":"http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender","concept":[{"code":"F","display":"Female"},{"code":"M","display":"Male"}]},{"system":"http://terminology.hl7.org/CodeSystem/v3-NullFlavor","concept":[{"code":"UNK","display":"Unknown"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-detailed-ethnicity.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-detailed-ethnicity.json deleted file mode 100644 index a8a12c829e2..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-detailed-ethnicity.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"detailed-ethnicity","text":{"status":"generated","div":"

This value set includes codes based on the following rules:

This value set excludes codes based on the following rules:

"},"url":"http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity","version":"3.1.1","name":"DetailedEthnicity","title":"Detailed ethnicity","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","description":"The 41 [CDC ethnicity codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 2 OMB ethnicity category codes.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"compose":{"include":[{"system":"urn:oid:2.16.840.1.113883.6.238","filter":[{"property":"concept","op":"is-a","value":"2133-7"}]}],"exclude":[{"system":"urn:oid:2.16.840.1.113883.6.238","concept":[{"code":"2135-2"},{"code":"2186-5"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-detailed-race.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-detailed-race.json deleted file mode 100644 index 07df71e64bf..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-detailed-race.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"detailed-race","text":{"status":"generated","div":"

This value set includes codes based on the following rules:

This value set excludes codes based on the following rules:

"},"url":"http://hl7.org/fhir/us/core/ValueSet/detailed-race","version":"3.1.1","name":"DetailedRace","title":"Detailed Race","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","description":"The 900+ [CDC Race codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 5 OMB race category codes.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"compose":{"include":[{"system":"urn:oid:2.16.840.1.113883.6.238","filter":[{"property":"concept","op":"is-a","value":"1000-9"}]}],"exclude":[{"system":"urn:oid:2.16.840.1.113883.6.238","concept":[{"code":"1002-5"},{"code":"2028-9"},{"code":"2054-5"},{"code":"2076-8"},{"code":"2106-3"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-omb-ethnicity-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-omb-ethnicity-category.json deleted file mode 100644 index c56cbd808a1..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-omb-ethnicity-category.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"omb-ethnicity-category","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category","version":"3.1.1","name":"OmbEthnicityCategories","title":"OMB Ethnicity Categories","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","description":"The codes for the ethnicity categories - 'Hispanic or Latino' and 'Non Hispanic or Latino' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"compose":{"include":[{"system":"urn:oid:2.16.840.1.113883.6.238","concept":[{"code":"2135-2","display":"Hispanic or Latino"},{"code":"2186-5","display":"Non Hispanic or Latino"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-omb-race-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-omb-race-category.json deleted file mode 100644 index 07954f07f9f..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-omb-race-category.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"omb-race-category","text":{"status":"generated","div":"

This value set includes codes based on the following rules:

"},"url":"http://hl7.org/fhir/us/core/ValueSet/omb-race-category","identifier":[{"system":"urn:ietf:rfc:3986","value":"urn:oid:2.16.840.1.113883.4.642.2.575"}],"version":"3.1.1","name":"OmbRaceCategories","title":"OMB Race Categories","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]},{"telecom":[{"system":"other","value":"http://wiki.siframework.org/Data+Access+Framework+Homepage"}]}],"description":"The codes for the concepts 'Unknown' and 'Asked but no answer' and the the codes for the five race categories - 'American Indian' or 'Alaska Native', 'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific Islander', and 'White' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf) .","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"compose":{"include":[{"system":"urn:oid:2.16.840.1.113883.6.238","concept":[{"code":"1002-5","display":"American Indian or Alaska Native"},{"code":"2028-9","display":"Asian"},{"code":"2054-5","display":"Black or African American"},{"code":"2076-8","display":"Native Hawaiian or Other Pacific Islander"},{"code":"2106-3","display":"White"}]},{"system":"http://terminology.hl7.org/CodeSystem/v3-NullFlavor","concept":[{"code":"UNK","display":"Unknown"},{"code":"ASKU","display":"Asked but no answer"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-simple-language.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-simple-language.json deleted file mode 100644 index 299df8a7e66..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-simple-language.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"simple-language","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/simple-language","version":"3.1.1","name":"LanguageCodesWithLanguageAndOptionallyARegionModifier","title":"Language codes with language and optionally a region modifier","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://hl7.org/fhir"}]}],"description":"This value set includes codes from [BCP-47](http://tools.ietf.org/html/bcp47). This value set matches the ONC 2015 Edition LanguageCommunication data element value set within C-CDA to use a 2 character language code if one exists, and a 3 character code if a 2 character code does not exist. It points back to [RFC 5646](https://tools.ietf.org/html/rfc5646), however only the language codes are required, all other elements are optional.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"compose":{"include":[{"system":"urn:ietf:bcp:47","filter":[{"property":"ext-lang","op":"exists","value":"false"},{"property":"script","op":"exists","value":"false"},{"property":"variant","op":"exists","value":"false"},{"property":"extension","op":"exists","value":"false"},{"property":"private-use","op":"exists","value":"false"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-allergy-substance.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-allergy-substance.json deleted file mode 100644 index c42560be876..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-allergy-substance.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-allergy-substance","text":{"status":"generated","div":"

This value set includes codes based on the following rules:

"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-allergy-substance","identifier":[{"system":"urn:ietf:rfc:3986","value":"urn:oid:2.16.840.1.113762.1.4.1186.8"}],"version":"3.1.1","name":"USCoreAllergySubstance","title":"US Core Common substances for allergy and intolerance documentation including refutations","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"description":"Documentation of substances suspected of (or not suspected of) causing an allergy or intolerance reaction in an individual. **Inclusion Criteria:** specific or general substances to which a patient may be exposed and which may be suspected of causing an adverse reaction; assertions refuting these suspicions. This includes:\n\n 1. Common dietary substances for allergy and intolerance documentation (SNOMEDCT)\n 2. Common drug classes for allergy and intolerance documentation (SNOMEDCT)\n 3. Common drug substances for allergy and intolerance documentation (RXNORM)\n 4. Common environmental substances for allergy and intolerance documentation (SNOMEDCT)\n 5. Common refutations and null values for substance causes for allergy and intolerance documentation (SNOMEDCT)\n\n **Exclusion Criteria:** actual conditions caused by exposure (reactions, allergies)\n","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"This value set includes content from:\n 1. SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n 2. RxNorm: Using RxNorm codes of type SAB=RXNORM as this specification describes [does not require](https://www.nlm.nih.gov/research/umls/rxnorm/docs/prescribe.html) a UMLS license. Access to the full set of RxNorm definitions, and/or additional use of other RxNorm structures and information requires a UMLS license. The use of RxNorm in this specification is pursuant to HL7's status as a licensee of the NLM UMLS. HL7's license does not convey the right to use RxNorm to any users of this specification; implementers must acquire a license to use RxNorm in their own right.\n","compose":{"include":[{"system":"http://www.nlm.nih.gov/research/umls/rxnorm","concept":[{"code":"1002293","display":"formoterol / Mometasone"},{"code":"1007388","display":"Lactase / rennet"},{"code":"1008298","display":"Acetaminophen / Caffeine / Chlorpheniramine / Hydrocodone / Phenylephrine"},{"code":"1008519","display":"guaiacolsulfonate / Hydrocodone"},{"code":"1009148","display":"Ampicillin / Sulbactam"},{"code":"10109","display":"Streptomycin"},{"code":"10154","display":"Succinylcholine"},{"code":"10156","display":"Sucralfate"},{"code":"10169","display":"Sulfacetamide"},{"code":"10171","display":"Sulfadiazine"},{"code":"10180","display":"Sulfamethoxazole"},{"code":"10207","display":"Sulfisoxazole"},{"code":"10223","display":"Sulfur"},{"code":"10237","display":"Sulindac"},{"code":"10324","display":"Tamoxifen"},{"code":"10355","display":"Temazepam"},{"code":"10368","display":"Terbutaline"},{"code":"1037042","display":"dabigatran etexilate"},{"code":"10379","display":"Testosterone"},{"code":"10395","display":"Tetracycline"},{"code":"103990","display":"Carbidopa / Levodopa"},{"code":"1040028","display":"lurasidone"},{"code":"10438","display":"Theophylline"},{"code":"10472","display":"Thimerosal"},{"code":"10493","display":"Thiopental"},{"code":"10502","display":"Thioridazine"},{"code":"10510","display":"Thiothixene"},{"code":"10582","display":"levothyroxine"},{"code":"10594","display":"Ticlopidine"},{"code":"10600","display":"Timolol"},{"code":"10627","display":"Tobramycin"},{"code":"10636","display":"Tolmetin"},{"code":"10689","display":"Tramadol"},{"code":"10737","display":"Trazodone"},{"code":"10759","display":"Triamcinolone"},{"code":"107602","display":"Epinephrine / Lidocaine"},{"code":"10763","display":"Triamterene"},{"code":"10767","display":"Triazolam"},{"code":"10800","display":"Trifluoperazine"},{"code":"108118","display":"Mometasone"},{"code":"10829","display":"Trimethoprim"},{"code":"10831","display":"Sulfamethoxazole / Trimethoprim"},{"code":"11124","display":"Vancomycin"},{"code":"1114195","display":"rivaroxaban"},{"code":"1116632","display":"Ticagrelor"},{"code":"11170","display":"Verapamil"},{"code":"11248","display":"Vitamin B 12"},{"code":"11253","display":"Vitamin D"},{"code":"11256","display":"Vitamin E"},{"code":"11289","display":"Warfarin"},{"code":"113588","display":"Erythromycin / Sulfisoxazole"},{"code":"11416","display":"Zinc"},{"code":"11423","display":"Zinc Oxide"},{"code":"114477","display":"Levetiracetam"},{"code":"114970","display":"zafirlukast"},{"code":"114979","display":"rabeprazole"},{"code":"1151","display":"Ascorbic Acid"},{"code":"115264","display":"Ibandronate"},{"code":"115552","display":"trovafloxacin"},{"code":"115698","display":"ziprasidone"},{"code":"1191","display":"Aspirin"},{"code":"119565","display":"tolterodine"},{"code":"1202","display":"Atenolol"},{"code":"121191","display":"rituximab"},{"code":"1223","display":"Atropine"},{"code":"1256","display":"Azathioprine"},{"code":"1272","display":"Aztreonam"},{"code":"1291","display":"Bacitracin"},{"code":"1292","display":"Baclofen"},{"code":"1310171","display":"Gadolinium"},{"code":"1311085","display":"xanthine"},{"code":"1311524","display":"Aspartame"},{"code":"1311629","display":"nickel"},{"code":"1314891","display":"Latex"},{"code":"1331","display":"Barium Sulfate"},{"code":"134615","display":"brimonidine"},{"code":"1347","display":"Beclomethasone"},{"code":"135447","display":"donepezil"},{"code":"135775","display":"zolmitriptan"},{"code":"1359","display":"Belladonna Alkaloids"},{"code":"1362879","display":"Sulfur Dioxide"},{"code":"1363043","display":"ethyl ether"},{"code":"136411","display":"sildenafil"},{"code":"1364430","display":"apixaban"},{"code":"138099","display":"gemifloxacin"},{"code":"139462","display":"moxifloxacin"},{"code":"1399","display":"Benzocaine"},{"code":"140587","display":"celecoxib"},{"code":"1406","display":"benzoin resin"},{"code":"141626","display":"colesevelam"},{"code":"1418","display":"Benzoyl Peroxide"},{"code":"1424","display":"Benztropine"},{"code":"1514","display":"Betamethasone"},{"code":"153970","display":"Hyoscyamine"},{"code":"1596450","display":"Gentamicin"},{"code":"15996","display":"Mirtazapine"},{"code":"161","display":"Acetaminophen"},{"code":"16681","display":"Acarbose"},{"code":"167","display":"Acetazolamide"},{"code":"17128","display":"lansoprazole"},{"code":"1727875","display":"Tetanus immune globulin"},{"code":"17300","display":"alfuzosin"},{"code":"17767","display":"Amlodipine"},{"code":"1827","display":"Buspirone"},{"code":"183379","display":"rivastigmine"},{"code":"1841","display":"Butorphanol"},{"code":"18631","display":"Azithromycin"},{"code":"187832","display":"pregabalin"},{"code":"1886","display":"Caffeine"},{"code":"18867","display":"benazepril"},{"code":"1895","display":"Calcium"},{"code":"1897","display":"Calcium Carbonate"},{"code":"18993","display":"benzonatate"},{"code":"190376","display":"linezolid"},{"code":"191831","display":"infliximab"},{"code":"19478","display":"bismuth subsalicylate"},{"code":"19552","display":"cefprozil"},{"code":"19711","display":"Amoxicillin / Clavulanate"},{"code":"19831","display":"Budesonide"},{"code":"1998","display":"Captopril"},{"code":"2002","display":"Carbamazepine"},{"code":"20352","display":"carvedilol"},{"code":"20481","display":"cefepime"},{"code":"20489","display":"cefpodoxime"},{"code":"20610","display":"Cetirizine"},{"code":"2101","display":"Carisoprodol"},{"code":"21107","display":"cilostazol"},{"code":"21183","display":"Citric Acid"},{"code":"21212","display":"Clarithromycin"},{"code":"214130","display":"Acetaminophen / butalbital / Caffeine"},{"code":"214153","display":"Acetaminophen / dichloralphenazone / isometheptene"},{"code":"214159","display":"Aspirin / butalbital / Caffeine"},{"code":"214160","display":"Aspirin / butalbital / Caffeine / Codeine"},{"code":"214181","display":"Acetaminophen / Diphenhydramine"},{"code":"214182","display":"Acetaminophen / Hydrocodone"},{"code":"214183","display":"Acetaminophen / Oxycodone"},{"code":"214199","display":"Albuterol / Ipratropium"},{"code":"214223","display":"Amlodipine / benazepril"},{"code":"214250","display":"Aspirin / Caffeine"},{"code":"214256","display":"Aspirin / Oxycodone"},{"code":"214257","display":"Aspirin / Pentazocine"},{"code":"214317","display":"Bisoprolol / Hydrochlorothiazide"},{"code":"214336","display":"Caffeine / Ergotamine"},{"code":"214354","display":"candesartan"},{"code":"214364","display":"carbinoxamine / Pseudoephedrine"},{"code":"214392","display":"Chlorpheniramine / Hydrocodone"},{"code":"214442","display":"Codeine / Guaifenesin"},{"code":"214445","display":"Codeine / Pseudoephedrine"},{"code":"214488","display":"Dextromethorphan / Guaifenesin"},{"code":"214502","display":"Diclofenac / Misoprostol"},{"code":"214555","display":"Etanercept"},{"code":"214558","display":"Ethinyl Estradiol / Levonorgestrel"},{"code":"214565","display":"fexofenadine / Pseudoephedrine"},{"code":"214599","display":"Guaifenesin / Pseudoephedrine"},{"code":"214614","display":"homatropine / Hydrocodone"},{"code":"214617","display":"Hydrochlorothiazide / irbesartan"},{"code":"214618","display":"Hydrochlorothiazide / Lisinopril"},{"code":"214619","display":"Hydrochlorothiazide / Losartan"},{"code":"214626","display":"Hydrochlorothiazide / valsartan"},{"code":"214627","display":"Hydrocodone / Ibuprofen"},{"code":"214631","display":"Hydrocodone / Pseudoephedrine"},{"code":"214682","display":"Loratadine / Pseudoephedrine"},{"code":"214721","display":"Naloxone / Pentazocine"},{"code":"214807","display":"Pseudoephedrine / Triprolidine"},{"code":"2176","display":"Cefaclor"},{"code":"217627","display":"Hydrocortisone / Neomycin / Polymyxin B"},{"code":"2177","display":"Cefadroxil"},{"code":"2180","display":"Cefazolin"},{"code":"2189","display":"Cefoxitin"},{"code":"2191","display":"Ceftazidime"},{"code":"2193","display":"Ceftriaxone"},{"code":"219314","display":"Polymyxin B / Trimethoprim"},{"code":"219315","display":"Iron polysaccharide"},{"code":"2194","display":"Cefuroxime"},{"code":"21949","display":"cyclobenzaprine"},{"code":"221147","display":"POLYETHYLENE GLYCOL 3350"},{"code":"22299","display":"Daptomycin"},{"code":"2231","display":"Cephalexin"},{"code":"226716","display":"Aspirin / Dipyridamole"},{"code":"228476","display":"gatifloxacin"},{"code":"228790","display":"Dutasteride"},{"code":"232158","display":"rofecoxib"},{"code":"233698","display":"dronedarone"},{"code":"2348","display":"Chloramphenicol"},{"code":"2356","display":"Chlordiazepoxide"},{"code":"2358","display":"Chlorhexidine"},{"code":"236778","display":"Trospium"},{"code":"237159","display":"Levalbuterol"},{"code":"2393","display":"Chloroquine"},{"code":"2400","display":"Chlorpheniramine"},{"code":"2403","display":"Chlorpromazine"},{"code":"2409","display":"Chlorthalidone"},{"code":"2410","display":"Chlorzoxazone"},{"code":"2418","display":"Cholecalciferol"},{"code":"2447","display":"Cholestyramine Resin"},{"code":"24605","display":"Etodolac"},{"code":"24947","display":"ferrous sulfate"},{"code":"25025","display":"Finasteride"},{"code":"25033","display":"Cefixime"},{"code":"25037","display":"cefdinir"},{"code":"25120","display":"flunisolide"},{"code":"25255","display":"formoterol"},{"code":"253157","display":"Bee pollen"},{"code":"2541","display":"Cimetidine"},{"code":"25480","display":"gabapentin"},{"code":"2551","display":"Ciprofloxacin"},{"code":"2556","display":"Citalopram"},{"code":"25789","display":"glimepiride"},{"code":"2582","display":"Clindamycin"},{"code":"258337","display":"Hydrochlorothiazide / Triamterene"},{"code":"2598","display":"Clonazepam"},{"code":"2599","display":"Clonidine"},{"code":"260101","display":"Oseltamivir"},{"code":"26225","display":"Ondansetron"},{"code":"2623","display":"Clotrimazole"},{"code":"2670","display":"Codeine"},{"code":"2683","display":"Colchicine"},{"code":"2685","display":"Colestipol"},{"code":"27169","display":"leflunomide"},{"code":"274783","display":"Insulin Glargine"},{"code":"274786","display":"telithromycin"},{"code":"27723","display":"iodinated glycerol"},{"code":"278567","display":"valdecoxib"},{"code":"28031","display":"Itraconazole"},{"code":"281","display":"Acyclovir"},{"code":"283742","display":"Esomeprazole"},{"code":"283809","display":"travoprost"},{"code":"28439","display":"lamotrigine"},{"code":"284635","display":"fluticasone / salmeterol"},{"code":"2878","display":"Cortisone"},{"code":"28889","display":"Loratadine"},{"code":"28981","display":"loracarbef"},{"code":"29046","display":"Lisinopril"},{"code":"29542","display":"Mercury, Ammoniated"},{"code":"29561","display":"meropenem"},{"code":"296","display":"Adenosine"},{"code":"3008","display":"Cyclosporine"},{"code":"301542","display":"rosuvastatin"},{"code":"306674","display":"vardenafil"},{"code":"3108","display":"Dapsone"},{"code":"3143","display":"prasterone"},{"code":"31448","display":"nabumetone"},{"code":"31555","display":"nebivolol"},{"code":"31565","display":"nefazodone"},{"code":"31738","display":"nickel sulfate"},{"code":"318340","display":"Aloe vera preparation"},{"code":"321064","display":"olmesartan"},{"code":"321988","display":"Escitalopram"},{"code":"322167","display":"Solifenacin"},{"code":"3247","display":"Desipramine"},{"code":"325642","display":"ertapenem"},{"code":"32592","display":"oxaliplatin"},{"code":"32613","display":"oxaprozin"},{"code":"32624","display":"oxcarbazepine"},{"code":"3264","display":"Dexamethasone"},{"code":"32675","display":"oxybutynin"},{"code":"327361","display":"adalimumab"},{"code":"3289","display":"Dextromethorphan"},{"code":"32937","display":"Paroxetine"},{"code":"32968","display":"clopidogrel"},{"code":"3322","display":"Diazepam"},{"code":"33408","display":"phenyltoloxamine"},{"code":"3355","display":"Diclofenac"},{"code":"3356","display":"Dicloxacillin"},{"code":"3361","display":"Dicyclomine"},{"code":"33738","display":"pioglitazone"},{"code":"3393","display":"Diflunisal"},{"code":"3407","display":"Digoxin"},{"code":"341248","display":"ezetimibe"},{"code":"3418","display":"Dihydroergotamine"},{"code":"3423","display":"Hydromorphone"},{"code":"3443","display":"Diltiazem"},{"code":"3444","display":"Dimenhydrinate"},{"code":"3498","display":"Diphenhydramine"},{"code":"35208","display":"quinapril"},{"code":"3521","display":"Dipyridamole"},{"code":"352362","display":"Acetaminophen / Tramadol"},{"code":"35296","display":"Ramipril"},{"code":"35382","display":"resorcinol"},{"code":"35636","display":"Risperidone"},{"code":"358263","display":"tadalafil"},{"code":"35827","display":"Ketorolac"},{"code":"35829","display":"ranolazine"},{"code":"36108","display":"Salsalate"},{"code":"36117","display":"salmeterol"},{"code":"3616","display":"Dobutamine"},{"code":"3638","display":"Doxepin"},{"code":"3640","display":"Doxycycline"},{"code":"36437","display":"Sertraline"},{"code":"3648","display":"Droperidol"},{"code":"36567","display":"Simvastatin"},{"code":"37418","display":"Sumatriptan"},{"code":"37617","display":"tazobactam"},{"code":"37798","display":"Terazosin"},{"code":"37801","display":"terbinafine"},{"code":"3827","display":"Enalapril"},{"code":"3829","display":"Enalaprilat"},{"code":"38400","display":"atomoxetine"},{"code":"38404","display":"topiramate"},{"code":"38413","display":"torsemide"},{"code":"38574","display":"trichloroacetaldehyde"},{"code":"38685","display":"trimethobenzamide"},{"code":"389132","display":"Budesonide / formoterol"},{"code":"3966","display":"Ephedrine"},{"code":"39786","display":"venlafaxine"},{"code":"3992","display":"Epinephrine"},{"code":"39993","display":"zolpidem"},{"code":"39998","display":"zonisamide"},{"code":"40048","display":"Carboplatin"},{"code":"400674","display":"dexbrompheniramine / Pseudoephedrine"},{"code":"4025","display":"Ergotamine"},{"code":"40254","display":"Valproate"},{"code":"4053","display":"Erythromycin"},{"code":"40575","display":"zileuton"},{"code":"40790","display":"pantoprazole"},{"code":"4083","display":"Estradiol"},{"code":"4099","display":"Estrogens, Conjugated (USP)"},{"code":"41126","display":"fluticasone"},{"code":"41127","display":"fluvastatin"},{"code":"4124","display":"Ethinyl Estradiol"},{"code":"41397","display":"Lactase"},{"code":"41493","display":"meloxicam"},{"code":"42330","display":"Terfenadine"},{"code":"42331","display":"Misoprostol"},{"code":"42347","display":"Bupropion"},{"code":"42351","display":"Lithium Carbonate"},{"code":"42372","display":"Mupirocin"},{"code":"42463","display":"Pravastatin"},{"code":"4278","display":"Famotidine"},{"code":"4316","display":"Felodipine"},{"code":"4337","display":"Fentanyl"},{"code":"435","display":"Albuterol"},{"code":"43611","display":"latanoprost"},{"code":"4419","display":"Fish Oils"},{"code":"4441","display":"Flecainide"},{"code":"4450","display":"Fluconazole"},{"code":"448","display":"Ethanol"},{"code":"4492","display":"Fluorouracil"},{"code":"4493","display":"Fluoxetine"},{"code":"4496","display":"Fluphenazine"},{"code":"4500","display":"Flurandrenolide"},{"code":"4530","display":"Formaldehyde"},{"code":"4603","display":"Furosemide"},{"code":"46041","display":"Alendronate"},{"code":"461016","display":"Eszopiclone"},{"code":"4637","display":"Galantamine"},{"code":"465397","display":"Ciprofloxacin / Dexamethasone"},{"code":"466522","display":"Diphenhydramine / Zinc Acetate"},{"code":"466541","display":"Neomycin / Polymyxin B"},{"code":"466549","display":"Aspirin / Caffeine / Orphenadrine"},{"code":"466553","display":"penicillin G benzathine / penicillin G procaine"},{"code":"466566","display":"Acetaminophen / Dextromethorphan / Diphenhydramine / Pseudoephedrine"},{"code":"466584","display":"Acetaminophen / Aspirin / Caffeine"},{"code":"4719","display":"Gemfibrozil"},{"code":"475968","display":"liraglutide"},{"code":"4815","display":"Glyburide"},{"code":"48203","display":"Clavulanate"},{"code":"4821","display":"Glipizide"},{"code":"48274","display":"Acetaminophen / Propoxyphene"},{"code":"484139","display":"Chlorhexidine / Isopropyl Alcohol"},{"code":"484211","display":"ezetimibe / Simvastatin"},{"code":"4850","display":"Glucose"},{"code":"4917","display":"Nitroglycerin"},{"code":"49276","display":"Doxazosin"},{"code":"50166","display":"Fosinopril"},{"code":"5021","display":"Griseofulvin"},{"code":"5032","display":"Guaifenesin"},{"code":"5093","display":"Haloperidol"},{"code":"51272","display":"quetiapine"},{"code":"519","display":"Allopurinol"},{"code":"52175","display":"Losartan"},{"code":"5224","display":"heparin"},{"code":"52582","display":"mesalamine"},{"code":"5470","display":"Hydralazine"},{"code":"5487","display":"Hydrochlorothiazide"},{"code":"5489","display":"Hydrocodone"},{"code":"5492","display":"Hydrocortisone"},{"code":"5499","display":"Hydrogen Peroxide"},{"code":"5521","display":"Hydroxychloroquine"},{"code":"5553","display":"Hydroxyzine"},{"code":"5640","display":"Ibuprofen"},{"code":"5691","display":"Imipramine"},{"code":"56946","display":"Paclitaxel"},{"code":"57258","display":"tizanidine"},{"code":"5764","display":"Indapamide"},{"code":"5781","display":"Indomethacin"},{"code":"588250","display":"milnacipran"},{"code":"59078","display":"metaxalone"},{"code":"591622","display":"varenicline"},{"code":"5933","display":"Iodine"},{"code":"593411","display":"sitagliptin"},{"code":"594040","display":"Atropine / Diphenoxylate"},{"code":"5956","display":"Iohexol"},{"code":"596","display":"Alprazolam"},{"code":"596723","display":"cerivastatin"},{"code":"597142","display":"brimonidine / Timolol"},{"code":"5992","display":"Iron-Dextran Complex"},{"code":"60207","display":"dorzolamide"},{"code":"6038","display":"isoniazid"},{"code":"60548","display":"exenatide"},{"code":"6057","display":"Isosorbide"},{"code":"6058","display":"Isosorbide Dinitrate"},{"code":"611854","display":"Chlordiazepoxide / clidinium"},{"code":"6130","display":"Ketamine"},{"code":"6135","display":"Ketoconazole"},{"code":"61381","display":"olanzapine"},{"code":"6142","display":"Ketoprofen"},{"code":"6185","display":"Labetalol"},{"code":"620","display":"Amantadine"},{"code":"6218","display":"Lactulose"},{"code":"6227","display":"Lanolin"},{"code":"6387","display":"Lidocaine"},{"code":"6398","display":"Lincomycin"},{"code":"6448","display":"Lithium"},{"code":"645555","display":"Bacitracin / Polymyxin B"},{"code":"6468","display":"Loperamide"},{"code":"6470","display":"Lorazepam"},{"code":"6472","display":"Lovastatin"},{"code":"6574","display":"Magnesium"},{"code":"6585","display":"Magnesium Sulfate"},{"code":"662263","display":"dorzolamide / Timolol"},{"code":"6676","display":"Meclizine"},{"code":"6691","display":"Medroxyprogesterone"},{"code":"67108","display":"Enoxaparin"},{"code":"6711","display":"Melatonin"},{"code":"6719","display":"Memantine"},{"code":"6750","display":"Menthol"},{"code":"6754","display":"Meperidine"},{"code":"6809","display":"Metformin"},{"code":"6813","display":"Methadone"},{"code":"6835","display":"Methimazole"},{"code":"6845","display":"Methocarbamol"},{"code":"6851","display":"Methotrexate"},{"code":"6876","display":"Methyldopa"},{"code":"689","display":"Aminophylline"},{"code":"689467","display":"Oxytetracycline / Polymyxin B"},{"code":"689518","display":"Aspirin / Caffeine / Propoxyphene"},{"code":"689556","display":"Acetaminophen / Aspirin / Phenylpropanolamine"},{"code":"689558","display":"Acetaminophen / Brompheniramine / Pseudoephedrine"},{"code":"689561","display":"Acetaminophen / butalbital / Caffeine / Codeine"},{"code":"689582","display":"Acetaminophen / Chlorpheniramine / Dextromethorphan / Pseudoephedrine"},{"code":"689606","display":"Atropine / Hyoscyamine / Phenobarbital / Scopolamine"},{"code":"689623","display":"Bacitracin / Hydrocortisone / Neomycin / Polymyxin B"},{"code":"690077","display":"Benzalkonium / Lidocaine"},{"code":"6901","display":"Methylphenidate"},{"code":"6902","display":"Methylprednisolone"},{"code":"690693","display":"Diphenhydramine / Phenylephrine"},{"code":"690808","display":"Brompheniramine / Dextromethorphan / Pseudoephedrine"},{"code":"69120","display":"tiotropium"},{"code":"6915","display":"Metoclopramide"},{"code":"6916","display":"Metolazone"},{"code":"6918","display":"Metoprolol"},{"code":"6922","display":"Metronidazole"},{"code":"692572","display":"Bacitracin / Neomycin / Polymyxin B"},{"code":"692794","display":"Gramicidin / Neomycin / Polymyxin B"},{"code":"6932","display":"Miconazole"},{"code":"6960","display":"Midazolam"},{"code":"69749","display":"valsartan"},{"code":"6980","display":"Minocycline"},{"code":"6984","display":"Minoxidil"},{"code":"703","display":"Amiodarone"},{"code":"704","display":"Amitriptyline"},{"code":"7052","display":"Morphine"},{"code":"705258","display":"Acetaminophen / Dextromethorphan / Doxylamine"},{"code":"7213","display":"Ipratropium"},{"code":"72143","display":"Raloxifene"},{"code":"72236","display":"fosphenytoin"},{"code":"723","display":"Amoxicillin"},{"code":"72302","display":"ropinirole"},{"code":"7233","display":"Nafcillin"},{"code":"7238","display":"Nalbuphine"},{"code":"7243","display":"Naltrexone"},{"code":"725","display":"Amphetamine"},{"code":"7258","display":"Naproxen"},{"code":"72625","display":"duloxetine"},{"code":"7299","display":"Neomycin"},{"code":"73056","display":"Risedronate"},{"code":"733","display":"Ampicillin"},{"code":"73494","display":"telmisartan"},{"code":"73645","display":"valacyclovir"},{"code":"7393","display":"Niacin"},{"code":"7407","display":"Nicotine"},{"code":"74169","display":"Piperacillin / tazobactam"},{"code":"7417","display":"Nifedipine"},{"code":"7454","display":"Nitrofurantoin"},{"code":"746741","display":"Pramipexole"},{"code":"7486","display":"Nitrous Oxide"},{"code":"7517","display":"Norfloxacin"},{"code":"7531","display":"Nortriptyline"},{"code":"7597","display":"Nystatin"},{"code":"7623","display":"Ofloxacin"},{"code":"7646","display":"Omeprazole"},{"code":"7676","display":"Opium"},{"code":"7715","display":"Orphenadrine"},{"code":"77492","display":"tamsulosin"},{"code":"7804","display":"Oxycodone"},{"code":"7821","display":"Oxytetracycline"},{"code":"787390","display":"tapentadol"},{"code":"7975","display":"Penicillamine"},{"code":"797541","display":"Isopropyl Alcohol"},{"code":"7980","display":"Penicillin G"},{"code":"7984","display":"Penicillin V"},{"code":"7994","display":"Pentamidine"},{"code":"8001","display":"Pentazocine"},{"code":"8120","display":"Phenazopyridine"},{"code":"8134","display":"Phenobarbital"},{"code":"815166","display":"Dextromethorphan / Doxylamine"},{"code":"8163","display":"Phenylephrine"},{"code":"816346","display":"dexlansoprazole"},{"code":"8175","display":"Phenylpropanolamine"},{"code":"817579","display":"Acetaminophen / Codeine"},{"code":"817958","display":"Aspirin / Calcium Carbonate"},{"code":"8183","display":"Phenytoin"},{"code":"82122","display":"Levofloxacin"},{"code":"822929","display":"Amphetamine aspartate / Amphetamine Sulfate / Dextroamphetamine saccharate / Dextroamphetamine Sulfate"},{"code":"83367","display":"atorvastatin"},{"code":"8356","display":"Piroxicam"},{"code":"83818","display":"irbesartan"},{"code":"84108","display":"rosiglitazone"},{"code":"8536","display":"Polymyxin B"},{"code":"857974","display":"saxagliptin"},{"code":"8588","display":"Potassium"},{"code":"8591","display":"Potassium Chloride"},{"code":"8610","display":"Povidone"},{"code":"8611","display":"Povidone-Iodine"},{"code":"861634","display":"pitavastatin"},{"code":"8629","display":"Prazosin"},{"code":"8638","display":"prednisolone"},{"code":"8640","display":"Prednisone"},{"code":"8687","display":"Primaquine"},{"code":"8691","display":"Primidone"},{"code":"8698","display":"Probenecid"},{"code":"8700","display":"Procainamide"},{"code":"8701","display":"Procaine"},{"code":"8703","display":"Fenofibrate"},{"code":"8704","display":"Prochlorperazine"},{"code":"8727","display":"Progesterone"},{"code":"8745","display":"Promethazine"},{"code":"8754","display":"Propafenone"},{"code":"87636","display":"fexofenadine"},{"code":"8782","display":"Propofol"},{"code":"8785","display":"Propoxyphene"},{"code":"8787","display":"Propranolol"},{"code":"8794","display":"Propylthiouracil"},{"code":"88014","display":"rizatriptan"},{"code":"88249","display":"montelukast"},{"code":"883815","display":"Dexamethasone / Tobramycin"},{"code":"8896","display":"Pseudoephedrine"},{"code":"89013","display":"aripiprazole"},{"code":"8928","display":"Psyllium"},{"code":"8948","display":"Purified Protein Derivative of Tuberculin"},{"code":"90176","display":"Iron"},{"code":"9068","display":"Quinidine"},{"code":"9071","display":"Quinine"},{"code":"91263","display":"Aloe Extract"},{"code":"9143","display":"Ranitidine"},{"code":"9384","display":"Rifampin"},{"code":"9524","display":"Sulfasalazine"},{"code":"9601","display":"Scopolamine"},{"code":"9778","display":"Silicones"},{"code":"9793","display":"silver sulfadiazine"},{"code":"9947","display":"Sotalol"},{"code":"9997","display":"Spironolactone"}]},{"system":"http://snomed.info/sct","concept":[{"code":"102259006","display":"Citrus fruit (substance)"},{"code":"102261002","display":"Strawberry (substance)"},{"code":"102262009","display":"Chocolate (substance)"},{"code":"102263004","display":"Eggs (edible) (substance)"},{"code":"102264005","display":"Cheese (substance)"},{"code":"111088007","display":"Latex (substance)"},{"code":"111151007","display":"Anabolic steroid (substance)"},{"code":"11526002","display":"Aspartame (substance)"},{"code":"116274004","display":"Artificial sweetener (substance)"},{"code":"116566001","display":"Steroid (substance)"},{"code":"13577000","display":"Nut (substance)"},{"code":"14443002","display":"Substance with aminoglycoside structure and antibacterial mechanism of action (substance)"},{"code":"226723006","display":"Buckwheat - cereal (substance)"},{"code":"226734009","display":"Wheatgerm (substance)"},{"code":"226760005","display":"Dairy foods (substance)"},{"code":"226915003","display":"Red meat (substance)"},{"code":"226916002","display":"Beef (substance)"},{"code":"226934003","display":"Pork (substance)"},{"code":"226955001","display":"Chicken - meat (substance)"},{"code":"226967004","display":"Turkey - meat (substance)"},{"code":"227144008","display":"Tuna fish (substance)"},{"code":"227151004","display":"Prawns (substance)"},{"code":"227208008","display":"Abalone canned in brine (substance)"},{"code":"227219006","display":"Aubergine (substance)"},{"code":"227313005","display":"Pulse vegetables (substance)"},{"code":"227388008","display":"Cinnamon (substance)"},{"code":"227400003","display":"Ginger (substance)"},{"code":"227421003","display":"Cranberries (substance)"},{"code":"227444000","display":"Raspberries (substance)"},{"code":"227493005","display":"Cashew nut (substance)"},{"code":"227512001","display":"Pistachio nut (substance)"},{"code":"227598003","display":"Honey (substance)"},{"code":"228102000","display":"Sodium nitrate (substance)"},{"code":"255632006","display":"Anticonvulsant (substance)"},{"code":"255637000","display":"Salicylate (substance)"},{"code":"255641001","display":"Caffeine (substance)"},{"code":"256259004","display":"Pollen (substance)"},{"code":"256277009","display":"Grass pollen (substance)"},{"code":"256306003","display":"Orange - fruit (substance)"},{"code":"256307007","display":"Banana (substance)"},{"code":"256313003","display":"Pineapple (substance)"},{"code":"256315005","display":"Grapefruit (substance)"},{"code":"256317002","display":"Grapes (substance)"},{"code":"256319004","display":"Carrot (substance)"},{"code":"256326004","display":"Celery (substance)"},{"code":"256329006","display":"Spinach (substance)"},{"code":"256350002","display":"Almond (substance)"},{"code":"256351003","display":"Brazil nut (substance)"},{"code":"256352005","display":"Walnut - nut (substance)"},{"code":"256353000","display":"Hazelnut (substance)"},{"code":"256354006","display":"Bean (substance)"},{"code":"256417003","display":"Horse dander (substance)"},{"code":"256440004","display":"Wasp venom (substance)"},{"code":"259858000","display":"Varicella-zoster virus antibody (substance)"},{"code":"260152009","display":"Cat dander (substance)"},{"code":"260154005","display":"Dog dander (substance)"},{"code":"260167008","display":"Sesame seed (substance)"},{"code":"260176001","display":"Kiwi fruit (substance)"},{"code":"260177005","display":"Melon (substance)"},{"code":"260179008","display":"Mango fruit (substance)"},{"code":"260184002","display":"Peas (substance)"},{"code":"260189007","display":"Pecan nut (substance)"},{"code":"260205009","display":"Sunflower seed (substance)"},{"code":"264287008","display":"Animal dander (substance)"},{"code":"264337003","display":"Seed (substance)"},{"code":"28230009","display":"Poultry (substance)"},{"code":"288328004","display":"Bee venom (substance)"},{"code":"28942008","display":"Coconut oil (substance)"},{"code":"29263009","display":"Coffee (substance)"},{"code":"304275008","display":"Corticosteroid and corticosteroid derivative (substance)"},{"code":"33008008","display":"Dust (substance)"},{"code":"350327004","display":"Diphtheria + tetanus vaccine (product)"},{"code":"35748005","display":"Wine (substance)"},{"code":"360201004","display":"Nitrofuran derivative (substance)"},{"code":"3692009","display":"Sodium sulfite (substance)"},{"code":"372480009","display":"Substance with macrolide structure and antibacterial mechanism of action (substance)"},{"code":"372664007","display":"Benzodiazepine (substance)"},{"code":"372665008","display":"Non-steroidal anti-inflammatory agent (substance)"},{"code":"372711004","display":"Sulfonylurea (substance)"},{"code":"372722000","display":"Substance with quinolone structure and antibacterial mechanism of action (substance)"},{"code":"372733002","display":"Substance with angiotensin-converting enzyme inhibitor mechanism of action (substance)"},{"code":"372747003","display":"Thiazide diuretic (substance)"},{"code":"372783007","display":"Antiparkinsonian agent (substance)"},{"code":"372798009","display":"Barbiturate (substance)"},{"code":"372806008","display":"Substance with histamine receptor antagonist mechanism of action (substance)"},{"code":"372889003","display":"First generation cephalosporin (substance)"},{"code":"372912004","display":"Substance with 3-hydroxy-3-methylglutaryl-coenzyme A reductase inhibitor mechanism of action (substance)"},{"code":"372913009","display":"Substance with angiotensin II receptor antagonist mechanism of action (substance)"},{"code":"373206009","display":"Substance with tetracycline structure and antibacterial mechanism of action (substance)"},{"code":"373253007","display":"Tricyclic antidepressant (substance)"},{"code":"373254001","display":"Substance with beta adrenergic receptor antagonist mechanism of action (substance)"},{"code":"373262009","display":"Substance with cephalosporin structure and antibacterial mechanism of action (substance)"},{"code":"373270004","display":"Substance with penicillin structure and antibacterial mechanism of action (substance)"},{"code":"373297006","display":"Substance with beta-lactam structure and antibacterial mechanism of action (substance)"},{"code":"373304005","display":"Substance with calcium channel blocker mechanism of action (substance)"},{"code":"373531009","display":"Gelatin (substance)"},{"code":"385420005","display":"Contrast media (substance)"},{"code":"386127005","display":"Formula milk (substance)"},{"code":"386962001","display":"Plasma protein fraction (substance)"},{"code":"387050005","display":"Substance with prostaglandin-endoperoxide synthase isoform 2 inhibitor mechanism of action (substance)"},{"code":"387406002","display":"Sulfonamide (substance)"},{"code":"391737006","display":"Almond oil (substance)"},{"code":"391739009","display":"Aloe (substance)"},{"code":"396345004","display":"Carbapenem (substance)"},{"code":"396420001","display":"Anthrax vaccine (substance)"},{"code":"396425006","display":"Influenza virus vaccine (substance)"},{"code":"396433007","display":"Pertussis vaccine (substance)"},{"code":"396439006","display":"Smallpox vaccine (substance)"},{"code":"396441007","display":"Typhoid vaccine (substance)"},{"code":"396442000","display":"Varicella virus vaccine (substance)"},{"code":"398730001","display":"Pneumococcal vaccine (substance)"},{"code":"400872007","display":"Hydrocolloid (substance)"},{"code":"404642006","display":"Substance with opioid receptor agonist mechanism of action (substance)"},{"code":"406748003","display":"Carbamate (substance)"},{"code":"409137002","display":"No known drug allergy (situation)"},{"code":"412061001","display":"Blueberries (substance)"},{"code":"412062008","display":"Cantaloupe (substance)"},{"code":"412066006","display":"Pepper (substance)"},{"code":"412068007","display":"Rye (substance)"},{"code":"412071004","display":"Wheat (substance)"},{"code":"412138001","display":"Horse serum protein (substance)"},{"code":"412357001","display":"Corn (substance)"},{"code":"412373007","display":"Diphtheria + pertussis + tetanus + Haemophilus influenzae type b vaccine (product)"},{"code":"412375000","display":"Tetanus vaccine (substance)"},{"code":"412533000","display":"Wheat bran (substance)"},{"code":"412534006","display":"Yeast (substance)"},{"code":"412583005","display":"Bee pollen (substance)"},{"code":"41598000","display":"Estrogen (substance)"},{"code":"417889008","display":"Arachis oil (substance)"},{"code":"418000008","display":"Methadone analog (substance)"},{"code":"418504009","display":"Oats (substance)"},{"code":"418920007","display":"Adhesive agent (substance)"},{"code":"419420009","display":"Watermelon (substance)"},{"code":"419933005","display":"Glucocorticoid (substance)"},{"code":"421245007","display":"Diphtheria + pertussis + tetanus vaccine (product)"},{"code":"424369009","display":"Product containing beta-galactosidase (medicinal product)"},{"code":"426722004","display":"Iodinated contrast media (substance)"},{"code":"428607008","display":"No known environmental allergy (situation)"},{"code":"429625007","display":"No known food allergy (situation)"},{"code":"43735007","display":"Sulfur (substance)"},{"code":"43921001","display":"Nickel compound (substance)"},{"code":"44027008","display":"Seafood (substance)"},{"code":"442381000124103","display":"Blue food coloring (substance)"},{"code":"442571000124108","display":"Tree nut (substance)"},{"code":"442771000124102","display":"Pepperoni (substance)"},{"code":"44588005","display":"Iodine (substance)"},{"code":"446273004","display":"Red food coloring (substance)"},{"code":"446274005","display":"Yellow food coloring (substance)"},{"code":"47703008","display":"Lactose (substance)"},{"code":"51386004","display":"Food preservative (substance)"},{"code":"51905005","display":"Mustard (substance)"},{"code":"53041004","display":"Alcohol (substance)"},{"code":"61789006","display":"Dye (substance)"},{"code":"63045006","display":"Berry (substance)"},{"code":"67324005","display":"Rice (substance)"},{"code":"67866001","display":"Insulin (substance)"},{"code":"70813002","display":"Milk (substance)"},{"code":"710179004","display":"Lupine seed (substance)"},{"code":"716184000","display":"No known latex allergy (situation)"},{"code":"716186003","display":"No known allergy (situation)"},{"code":"720687003","display":"Dust mite protein (substance)"},{"code":"72511004","display":"Fruit (substance)"},{"code":"726730005","display":"Yam (substance)"},{"code":"734881000","display":"Tomato (substance)"},{"code":"735006003","display":"Squid (substance)"},{"code":"735009005","display":"Salmon (substance)"},{"code":"735029006","display":"Shellfish (substance)"},{"code":"735030001","display":"Garlic (substance)"},{"code":"735043001","display":"Mackerel (substance)"},{"code":"735045008","display":"Mushroom (substance)"},{"code":"735047000","display":"Onion (substance)"},{"code":"735049002","display":"Peach (substance)"},{"code":"735050002","display":"Pear (substance)"},{"code":"735051003","display":"Plum (substance)"},{"code":"735053000","display":"Potato (substance)"},{"code":"735123009","display":"Broccoli (substance)"},{"code":"735124003","display":"Barley (substance)"},{"code":"735211005","display":"Coconut (substance)"},{"code":"735212003","display":"Papaya (substance)"},{"code":"735213008","display":"Cucumber (substance)"},{"code":"735214002","display":"Apricot (substance)"},{"code":"735215001","display":"Apple (substance)"},{"code":"735248001","display":"Cherry (substance)"},{"code":"735249009","display":"Avocado (substance)"},{"code":"735340006","display":"Lemon (substance)"},{"code":"735959004","display":"Marine mollusk (substance)"},{"code":"735971005","display":"Fish (substance)"},{"code":"735977009","display":"Marine crustacean (substance)"},{"code":"736027000","display":"Scallop (substance)"},{"code":"736030007","display":"Clam (substance)"},{"code":"736031006","display":"Oyster (substance)"},{"code":"736159005","display":"Crab (substance)"},{"code":"736162008","display":"Lobster (substance)"},{"code":"74801000","display":"Sugar (substance)"},{"code":"75665004","display":"Monosodium glutamate (substance)"},{"code":"762952008","display":"Peanut (substance)"},{"code":"7791007","display":"Soy protein (substance)"},{"code":"80259003","display":"Food flavoring agent (substance)"},{"code":"84489001","display":"Mold (organism)"},{"code":"89119000","display":"Nitrate salt (substance)"},{"code":"89707004","display":"Sesame oil (substance)"},{"code":"89811004","display":"Gluten (substance)"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-careteam-provider-roles.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-careteam-provider-roles.json deleted file mode 100644 index 0d259146483..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-careteam-provider-roles.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-careteam-provider-roles","text":{"status":"generated","div":"

This value set includes codes based on the following rules:

"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-provider-roles","version":"3.1.1","name":"USCoreCareTeamProviderRoles","title":"US Core CareTeam Provider Roles","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"Provider roles codes consist of NUCC Health Care Provider Taxonomy Code Set for providers and SNOMED-CT for - non clinical and organization roles including codes from the SCTID 223366009 Healthcare professional (occupation) heirarchy and the SCTID 224930009 Services (qualifier value) heirarchy.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"purpose":"Codes that may be used for implementation of the Argonaut Procedures IG and MU2015 certification.","copyright":"This value set includes content from:\n 1. SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n 2. NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.","compose":{"include":[{"system":"http://nucc.org/provider-taxonomy"},{"system":"http://snomed.info/sct","filter":[{"property":"concept","op":"is-a","value":"223366009"}]},{"system":"http://snomed.info/sct","filter":[{"property":"concept","op":"is-a","value":"224930009"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-clinical-note-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-clinical-note-type.json deleted file mode 100644 index 380db4a34a9..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-clinical-note-type.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-clinical-note-type","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type","version":"3.1.1","name":"USCoreClinicalNoteType","title":"US Core Clinical Note Type","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"The US Core Clinical Note Type Value Set is a 'starter set' of types supported for fetching and storing clinical notes.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"This material contains content from [LOINC](http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc","compose":{"include":[{"system":"http://loinc.org","concept":[{"code":"18842-5"},{"code":"11488-4"},{"code":"34117-2"},{"code":"11506-3"},{"code":"28570-0"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-condition-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-condition-category.json deleted file mode 100644 index 5b7fdba4109..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-condition-category.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-condition-category","text":{"status":"generated","div":"

This value set includes codes based on the following rules:

"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category","version":"3.1.1","name":"USCoreConditionCategoryCodes","title":"US Core Condition Category Codes","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","description":"The US Core Condition Category Codes support the separate concepts of problems and health concerns in Condition.category in order for API consumers to be able to separate health concerns and problems. However this is not mandatory for 2015 certification","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"purpose":"So API consumers can separate health concerns and problems.","compose":{"include":[{"system":"http://terminology.hl7.org/CodeSystem/condition-category"},{"system":"http://hl7.org/fhir/us/core/CodeSystem/condition-category","concept":[{"code":"health-concern","display":"Health Concern"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-condition-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-condition-code.json deleted file mode 100644 index 32591f0cb4f..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-condition-code.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-condition-code","text":{"status":"generated","div":"

This value set includes codes based on the following rules:

"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code","version":"3.1.1","name":"USCoreConditionCode","title":"US Core Condition Code","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"This describes the problem. Diagnosis/Problem List is broadly defined as a series of brief statements that catalog a patient's medical, nursing, dental, social, preventative and psychiatric events and issues that are relevant to that patient's healthcare (e.g., signs, symptoms, and defined conditions). ICD-10 is appropriate for Diagnosis information, and ICD-9 for historical information.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"This value set includes content from:\n 1. SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n 2. ICD-9 and ICD-10 are copyrighted by the World Health Organization (WHO) which owns and publishes the classification. See https://www.who.int/classifications/icd/en. WHO has authorized the development of an adaptation of ICD-9 and ICD-10 to ICD-9-CM to ICD-10-CM for use in the United States for U.S. government purposes.\n","compose":{"include":[{"system":"http://snomed.info/sct","concept":[{"code":"160245001"}]},{"system":"http://snomed.info/sct","filter":[{"property":"concept","op":"is-a","value":"404684003"}]},{"system":"http://snomed.info/sct","filter":[{"property":"concept","op":"is-a","value":"243796009"}]},{"system":"http://hl7.org/fhir/sid/icd-10-cm"},{"system":"http://hl7.org/fhir/sid/icd-9-cm"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-diagnosticreport-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-diagnosticreport-category.json deleted file mode 100644 index 681461edb46..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-diagnosticreport-category.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-diagnosticreport-category","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category","version":"3.1.1","name":"USCoreDiagnosticReportCategory","title":"US Core DiagnosticReport Category","status":"active","date":"2019-05-21","description":"The US Core Diagnostic Report Category Value Set is a 'starter set' of categories supported for fetching and Diagnostic Reports and notes.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"This material contains content from [LOINC](http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc","compose":{"include":[{"system":"http://loinc.org","concept":[{"code":"LP29684-5","display":"Radiology"},{"code":"LP29708-2","display":"Cardiology"},{"code":"LP7839-6","display":"Pathology"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-diagnosticreport-lab-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-diagnosticreport-lab-codes.json deleted file mode 100644 index 78ee93f0fd3..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-diagnosticreport-lab-codes.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-diagnosticreport-lab-codes","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes","version":"3.1.1","name":"USCoreDiagnosticReportLabCodes","title":"US Core Diagnostic Report Laboratory Codes","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"The Document Type value set includes all LOINC values whose CLASSTYPE is LABORATORY in the LOINC database","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"This material contains content from [LOINC](http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc","compose":{"include":[{"system":"http://loinc.org","filter":[{"property":"CLASSTYPE","op":"=","value":"1"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-diagnosticreport-report-and-note-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-diagnosticreport-report-and-note-codes.json deleted file mode 100644 index eba2933e447..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-diagnosticreport-report-and-note-codes.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-diagnosticreport-report-and-note-codes","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes","version":"3.1.1","name":"USCoreDiagnosticreportReportAndNoteCodes","title":"US Core Diagnosticreport Report And Note Codes","status":"active","experimental":false,"date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"This value set currently contains all of LOINC. The codes selected should represent discrete and narrative diagnostic observations and reports","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"This material contains content from [LOINC](http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc","compose":{"include":[{"system":"http://loinc.org"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-documentreference-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-documentreference-category.json deleted file mode 100644 index 2e90445fcaa..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-documentreference-category.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-documentreference-category","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category","version":"3.1.1","name":"USCoreDocumentReferenceCategory","title":"US Core DocumentReference Category","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"The US Core DocumentReferences Category Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"compose":{"include":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-documentreference-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-documentreference-type.json deleted file mode 100644 index f163a32e44a..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-documentreference-type.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-documentreference-type","text":{"status":"generated","div":"

This value set includes codes based on the following rules:

"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type","version":"3.1.1","name":"USCoreDocumentReferenceType","title":"US Core DocumentReference Type","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"The US Core DocumentReference Type Value Set includes all LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"This material contains content from [LOINC](http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc","compose":{"include":[{"system":"http://terminology.hl7.org/CodeSystem/v3-NullFlavor","concept":[{"code":"UNK","display":"unknown"}]},{"system":"http://loinc.org","filter":[{"property":"SCALE_TYP","op":"=","value":"DOC"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-encounter-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-encounter-type.json deleted file mode 100644 index a77cd942142..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-encounter-type.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-encounter-type","text":{"status":"generated","div":"

This value set includes codes based on the following rules:

"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type","identifier":[{"system":"urn:ietf:rfc:3986","value":"urn:oid:2.16.840.1.113883.3.88.12.80.32"}],"version":"3.1.1","name":"USCoreEncounterType","title":"US Core Encounter Type","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"The type of encounter: a specific code indicating type of service provided. This value set includes codes from SNOMED CT decending from the concept 308335008 (Patient encounter procedure (procedure)) and from the Current Procedure and Terminology(CPT) designated for Evaluation and Management (99200 – 99607) (subscription to AMA Required)","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"This value set includes content from:\n 1. SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n 2. CPT copyright 2014 American Medical Association. All rights reserved.","compose":{"include":[{"system":"http://snomed.info/sct","filter":[{"property":"concept","op":"is-a","value":"308335008"}]},{"system":"http://www.ama-assn.org/go/cpt"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-medication-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-medication-codes.json deleted file mode 100644 index c23345b8f38..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-medication-codes.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-medication-codes","text":{"status":"generated","div":"
\n\t\t\t

Medication Clinical Drug (RxNorm)

\n\t\t\t

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

\n\t\t\t

This value set includes codes from the following code systems:

\n\t\t\t\n\t\t
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes","identifier":[{"system":"urn:ietf:rfc:3986","value":"urn:oid:2.16.840.1.113762.1.4.1010.4"}],"version":"3.1.1","name":"USCoreMedicationCodes","title":"US Core Medication Codes (RxNorm)","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"All prescribable medication formulations represented using either a 'generic' or 'brand-specific' concept. This includes RxNorm codes whose Term Type is SCD (semantic clinical drug), SBD (semantic brand drug), GPCK (generic pack), BPCK (brand pack), SCDG (semantic clinical drug group), SBDG (semantic brand drug group), SCDF (semantic clinical drug form), or SBDF (semantic brand drug form)","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"Using RxNorm codes of type SAB=RXNORM as this specification describes [does not require](https://www.nlm.nih.gov/research/umls/rxnorm/docs/prescribe.html) a UMLS license. Access to the full set of RxNorm definitions, and/or additional use of other RxNorm structures and information requires a UMLS license. The use of RxNorm in this specification is pursuant to HL7's status as a licensee of the NLM UMLS. HL7's license does not convey the right to use RxNorm to any users of this specification; implementers must acquire a license to use RxNorm in their own right","compose":{"include":[{"system":"http://www.nlm.nih.gov/research/umls/rxnorm","filter":[{"property":"TTY","op":"in","value":"SCD,SBD,GPCK,BPCK,SCDG,SBDG,SCDF,SBDF"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-narrative-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-narrative-status.json deleted file mode 100644 index 45c31a88427..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-narrative-status.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-narrative-status","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status","version":"3.1.1","name":"NarrativeStatus","title":"US Core Narrative Status","status":"active","date":"2020-08-28T10:54:27+10:00","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"The US Core Narrative Status Value Set limits the text status for the resource narrative.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"HL7","compose":{"include":[{"system":"http://hl7.org/fhir/narrative-status","concept":[{"code":"additional","display":"additional"},{"code":"generated","display":"generated"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-ndc-vaccine-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-ndc-vaccine-codes.json deleted file mode 100644 index ba61c3c91a1..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-ndc-vaccine-codes.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-ndc-vaccine-codes","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-ndc-vaccine-codes","version":"3.1.1","name":"USCoreVaccineNationalDrugCode","title":"US Core Vaccine National Drug Codes (NDC)","status":"active","date":"2019-05-20T17:00:00-07:00","publisher":"HL7 US Realm Steering Committee","description":"This value set includes all the Vaccine National Drug Codes (NDC). This source of this data is provided by the [CDC](https://www2a.cdc.gov/vaccines/iis/iisstandards/ndc_crosswalk.asp)","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"purpose":"Codes that are used as translations for CVS code for implementation of the Argonaut Immunization IG and MU2015 certification.","compose":{"include":[{"system":"http://hl7.org/fhir/sid/ndc","concept":[{"code":"49281-0703-55","display":"FLUZONE INTRADERMAL"},{"code":"49281-0790-20","display":"Typhim Vi"},{"code":"33332-0316-01","display":"AFLURIA QUADRIVALENT"},{"code":"49281-0712-40","display":"FLUZONE INTRADERMAL QUADRIVALENT"},{"code":"66521-0112-02","display":"Fluvirin"},{"code":"58160-0816-05","display":"Hiberix"},{"code":"00006-4837-02","display":"PNEUMOVAX 23"},{"code":"58160-0808-15","display":"Influenza A (H5N1) Monovalent Vaccine, Adjuvanted"},{"code":"58160-0842-51","display":"BOOSTRIX"},{"code":"49281-0418-50","display":"FLUZONE QUADRIVALENT"},{"code":"00006-4943-00","display":"PNEUMOVAX 23"},{"code":"49281-0708-40","display":"FLUZONE INTRADERMAL QUADRIVALENT"},{"code":"54868-0734-00","display":"ENGERIX-B"},{"code":"58160-0819-12","display":"Shingrix"},{"code":"49281-0517-25","display":"FLUZONE QUADRIVALENT"},{"code":"00006-4133-41","display":"Tetanus and Diphtheria Toxoids Adsorbed"},{"code":"50090-3096-00","display":"RabAvert"},{"code":"33332-0118-10","display":"AFLURIA"},{"code":"19515-0909-52","display":"Flulaval Quadrivalent"},{"code":"49281-0650-10","display":"INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE"},{"code":"58160-0820-11","display":"ENGERIX-B"},{"code":"42515-0001-01","display":"IXIARO"},{"code":"49281-0625-15","display":"FLUZONE QUADRIVALENT"},{"code":"49281-0516-25","display":"FLUZONE QUADRIVALENT"},{"code":"66521-0114-02","display":"FLUVIRIN"},{"code":"19515-0896-11","display":"Flulaval Quadrivalent"},{"code":"33332-0117-10","display":"AFLURIA"},{"code":"33332-0416-10","display":"AFLURIA QUADRIVALENT"},{"code":"66521-0118-02","display":"Fluvirin"},{"code":"58160-0821-11","display":"ENGERIX-B"},{"code":"00005-1971-05","display":"PREVNAR 13"},{"code":"66019-0109-10","display":"FLUMIST"},{"code":"49281-0278-10","display":"DIPHTHERIA AND TETANUS TOXOIDS ADSORBED"},{"code":"49281-0011-10","display":"FLUZONE"},{"code":"54868-2219-00","display":"RECOMBIVAX HB"},{"code":"49281-0415-10","display":"FLUZONE QUADRIVALENT"},{"code":"33332-0016-01","display":"AFLURIA"},{"code":"49281-0705-55","display":"FLUZONE"},{"code":"49281-0621-15","display":"FLUZONE QUADRIVALENT"},{"code":"58160-0842-34","display":"BOOSTRIX"},{"code":"49281-0010-10","display":"FLUZONE"},{"code":"66521-0113-02","display":"FLUVIRIN"},{"code":"49281-0514-25","display":"FLUZONE QUADRIVALENT"},{"code":"58160-0842-52","display":"BOOSTRIX"},{"code":"19515-0901-52","display":"Flulaval Quadrivalent"},{"code":"62577-0613-01","display":"Flucelvax"},{"code":"66019-0303-10","display":"FluMist Quadrivalent"},{"code":"49281-0388-15","display":"FLUZONE"},{"code":"00006-4841-41","display":"VAQTA"},{"code":"58160-0900-52","display":"FLUARIX QUADRIVALENT"},{"code":"70461-0200-01","display":"FLUCELVAX QUADRIVALENT"},{"code":"49281-0915-05","display":"YF-VAX"},{"code":"49281-0650-50","display":"INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE"},{"code":"33332-0116-10","display":"AFLURIA"},{"code":"54868-3339-01","display":"PNEUMOVAX 23"},{"code":"49281-0418-10","display":"FLUZONE QUADRIVALENT"},{"code":"58160-0812-52","display":"KINRIX"},{"code":"49281-0286-05","display":"DAPTACEL"},{"code":"63851-0612-01","display":"Flucelvax"},{"code":"19515-0908-52","display":"Flulaval Quadrivalent"},{"code":"54868-0980-00","display":"M-M-R II"},{"code":"58160-0830-52","display":"CERVARIX"},{"code":"49281-0113-25","display":"FLUZONE"},{"code":"49281-0650-70","display":"INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE"},{"code":"66521-0115-10","display":"FLUVIRIN"},{"code":"49281-0417-50","display":"FLUZONE QUADRIVALENT"},{"code":"33332-0113-10","display":"AFLURIA"},{"code":"49281-0629-15","display":"FLUZONE QUADRIVALENT"},{"code":"58160-0823-11","display":"Shingrix"},{"code":"00006-4897-00","display":"PedvaxHIB"},{"code":"58160-0821-34","display":"ENGERIX-B"},{"code":"66521-0115-02","display":"FLUVIRIN"},{"code":"33332-0014-01","display":"AFLURIA"},{"code":"49281-0562-10","display":"QUADRACEL"},{"code":"42874-0014-10","display":"Flublok"},{"code":"42874-0013-10","display":"Flublok"},{"code":"33332-0115-10","display":"AFLURIA"},{"code":"00006-4963-00","display":"ZOSTAVAX"},{"code":"49281-0010-25","display":"FLUZONE"},{"code":"33332-0519-01","display":"Influenza A"},{"code":"58160-0898-52","display":"FLUARIX QUADRIVALENT"},{"code":"49281-0112-25","display":"FLUZONE"},{"code":"19515-0898-11","display":"Flulaval Quadrivalent"},{"code":"00006-4109-09","display":"GARDASIL"},{"code":"49281-0414-50","display":"FLUZONE QUADRIVALENT"},{"code":"00006-4095-09","display":"VAQTA"},{"code":"00006-4045-00","display":"GARDASIL"},{"code":"19515-0912-52","display":"Flulaval Quadrivalent"},{"code":"58160-0801-11","display":"Menhibrix"},{"code":"49281-0489-01","display":"MENOMUNE - A/C/Y/W-135 COMBINED"},{"code":"42874-0017-10","display":"Flublok"},{"code":"66521-0116-02","display":"Fluvirin"},{"code":"46028-0208-01","display":"Menveo"},{"code":"49281-0627-15","display":"FLUZONE QUADRIVALENT"},{"code":"00005-0100-02","display":"Trumenba"},{"code":"69401-0000-01","display":"Vivotif"},{"code":"21695-0413-01","display":"Tetanus and Diphtheria Toxoids Adsorbed"},{"code":"49281-0416-10","display":"FLUZONE QUADRIVALENT"},{"code":"49281-0650-25","display":"INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE"},{"code":"49281-0800-83","display":"TETANUS TOXOID ADSORBED"},{"code":"49281-0291-83","display":"DECAVAC"},{"code":"00006-4095-02","display":"VAQTA"},{"code":"58160-0854-52","display":"ROTARIX"},{"code":"19515-0889-07","display":"FLULAVAL"},{"code":"49281-0392-15","display":"FLUZONE"},{"code":"19515-0891-11","display":"Flulaval Quadrivalent"},{"code":"49281-0400-05","display":"Adacel"},{"code":"49281-0913-01","display":"STAMARIL"},{"code":"49281-0640-15","display":"INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE"},{"code":"49281-0513-25","display":"FLUZONE QUADRIVALENT"},{"code":"00006-4171-00","display":"ProQuad"},{"code":"00006-4096-09","display":"VAQTA"},{"code":"58160-0830-34","display":"CERVARIX"},{"code":"00006-4980-00","display":"RECOMBIVAX HB"},{"code":"17478-0131-01","display":"Tetanus and Diphtheria Toxoids Adsorbed"},{"code":"49281-0414-10","display":"FLUZONE QUADRIVALENT"},{"code":"43528-0002-05","display":"HEPLISAV-B"},{"code":"66521-0200-02","display":"Influenza A (H1N1) 2009 Monovalent Vaccine"},{"code":"49281-0011-50","display":"FLUZONE"},{"code":"70461-0120-10","display":"Fluvirin"},{"code":"66019-0304-10","display":"FluMist Quadrivalent"},{"code":"58160-0976-20","display":"Bexsero"},{"code":"00006-4826-00","display":"VARIVAX"},{"code":"66521-0116-10","display":"Fluvirin"},{"code":"00006-4963-41","display":"ZOSTAVAX"},{"code":"49281-0510-05","display":"PENTACEL"},{"code":"42874-0012-10","display":"Flublok"},{"code":"58160-0955-09","display":"Menveo"},{"code":"00005-0100-05","display":"Trumenba"},{"code":"49281-0707-55","display":"FLUZONE"},{"code":"14362-0111-04","display":"Tetanus and Diphtheria Toxoids Adsorbed"},{"code":"66521-0112-10","display":"Fluvirin"},{"code":"66521-0117-10","display":"Fluvirin"},{"code":"00006-4045-41","display":"GARDASIL"},{"code":"49281-0389-65","display":"FLUZONE HIGH DOSE"},{"code":"69401-0000-02","display":"Vivotif"},{"code":"49281-0915-01","display":"YF-VAX"},{"code":"00006-4093-02","display":"RECOMBIVAX HB"},{"code":"58160-0815-48","display":"TWINRIX"},{"code":"70460-0001-01","display":"Vaxchora"},{"code":"58160-0826-11","display":"HAVRIX"},{"code":"00006-4992-00","display":"RECOMBIVAX HB"},{"code":"49281-0111-25","display":"FLUZONE"},{"code":"00006-4093-09","display":"RECOMBIVAX HB"},{"code":"50090-3469-00","display":"HEPLISAV-B"},{"code":"49281-0403-65","display":"FLUZONE High-Dose"},{"code":"70461-0119-10","display":"Fluvirin"},{"code":"00006-4995-00","display":"RECOMBIVAX HB"},{"code":"58160-0815-34","display":"TWINRIX"},{"code":"49281-0393-65","display":"FLUZONE High-Dose"},{"code":"00005-1970-50","display":"Prevnar"},{"code":"33332-0017-01","display":"AFLURIA"},{"code":"63851-0501-01","display":"RabAvert"},{"code":"58160-0881-52","display":"FLUARIX"},{"code":"64678-0211-01","display":"BioThrax"},{"code":"49281-0394-15","display":"FLUZONE"},{"code":"00006-4827-00","display":"VARIVAX"},{"code":"58160-0806-05","display":"HIBERIX"},{"code":"49281-0518-25","display":"FLUZONE QUADRIVALENT"},{"code":"62195-0051-10","display":"Ixiaro"},{"code":"63361-0245-10","display":"VAXELIS"},{"code":"49281-0709-55","display":"FLUZONE Intradermal"},{"code":"66019-0300-10","display":"FluMist Quadrivalent"},{"code":"49281-0215-15","display":"TENIVAC"},{"code":"58160-0825-52","display":"HAVRIX"},{"code":"00005-0100-10","display":"Trumenba"},{"code":"66521-0117-02","display":"Fluvirin"},{"code":"49281-0650-90","display":"INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE"},{"code":"42874-0015-10","display":"Flublok"},{"code":"33332-0018-01","display":"AFLURIA"},{"code":"00006-4999-00","display":"ProQuad"},{"code":"00005-1971-04","display":"PREVNAR 13"},{"code":"19515-0850-52","display":"FLULAVAL"},{"code":"00005-1971-02","display":"PREVNAR 13"},{"code":"00006-4094-02","display":"RECOMBIVAX HB"},{"code":"00006-4096-02","display":"VAQTA"},{"code":"58160-0825-11","display":"HAVRIX"},{"code":"58160-0811-52","display":"PEDIARIX"},{"code":"42515-0002-01","display":"IXIARO"},{"code":"49281-0013-50","display":"FLUZONE"},{"code":"76420-0483-01","display":"Medical Provider Single Use EZ Flu Shot 2013-2014"},{"code":"66521-0118-10","display":"Fluvirin"},{"code":"49281-0399-65","display":"FLUZONE High-Dose"},{"code":"49281-0396-15","display":"FLUZONE"},{"code":"66019-0107-01","display":"FLUMIST"},{"code":"19515-0890-07","display":"FLULAVAL"},{"code":"76420-0482-01","display":"Medical Provider Single Use EZ Flu Shot 2013-2014"},{"code":"33332-0015-01","display":"AFLURIA"},{"code":"66019-0302-10","display":"FluMist Quadrivalent"},{"code":"49281-0012-10","display":"FLUZONE"},{"code":"49281-0710-40","display":"FLUZONE INTRADERMAL QUADRIVALENT"},{"code":"63851-0501-02","display":"RabAvert"},{"code":"58160-0879-52","display":"FLUARIX"},{"code":"49281-0397-65","display":"FLUZONE High-Dose"},{"code":"00006-4831-41","display":"VAQTA"},{"code":"58160-0815-46","display":"TWINRIX"},{"code":"33332-0110-10","display":"AFLURIA"},{"code":"54868-4320-00","display":"PNEUMOVAX 23"},{"code":"42874-0016-10","display":"Flublok"},{"code":"49281-0012-50","display":"FLUZONE"},{"code":"58160-0818-11","display":"Hiberix"},{"code":"49281-0386-15","display":"FLUZONE"},{"code":"46028-0114-01","display":"Bexsero"},{"code":"00006-4898-00","display":"COMVAX"},{"code":"58160-0826-52","display":"HAVRIX"},{"code":"49281-0545-05","display":"ActHIB"},{"code":"66019-0108-10","display":"FLUMIST"},{"code":"70461-0418-10","display":"FLUCELVAX QUADRIVALENT (MULTI-DOSE VIAL)"},{"code":"00006-4094-09","display":"RECOMBIVAX HB"},{"code":"49281-0298-10","display":"TRIPEDIA"},{"code":"33332-0629-10","display":"Influenza A"},{"code":"58160-0880-52","display":"FLUARIX"},{"code":"00006-4047-20","display":"RotaTeq"},{"code":"00006-4119-02","display":"GARDASIL 9"},{"code":"58160-0842-11","display":"BOOSTRIX"},{"code":"19515-0903-11","display":"Flulaval Quadrivalent"},{"code":"00006-4981-00","display":"RECOMBIVAX HB"},{"code":"58160-0905-52","display":"FLUARIX QUADRIVALENT"},{"code":"49281-0401-65","display":"FLUZONE High-Dose"},{"code":"33332-0114-10","display":"AFLURIA"},{"code":"49281-0860-10","display":"IPOL"},{"code":"70461-0318-03","display":"FLUCELVAX QUADRIVALENT (PREFILLED SYRINGE)"},{"code":"54868-2219-01","display":"RECOMBIVAX HB"},{"code":"49281-0718-10","display":"Flublok Quadrivalent"},{"code":"49281-0400-15","display":"Adacel"},{"code":"70461-0120-02","display":"Fluvirin"},{"code":"49281-0416-50","display":"FLUZONE QUADRIVALENT"},{"code":"49281-0413-50","display":"FLUZONE QUADRIVALENT"},{"code":"58160-0883-52","display":"FLUARIX"},{"code":"49281-0790-51","display":"Typhim Vi"},{"code":"49281-0286-10","display":"DAPTACEL"},{"code":"66019-0110-10","display":"FluMist"},{"code":"46028-0114-02","display":"Bexsero"},{"code":"58160-0821-52","display":"ENGERIX-B"},{"code":"49281-0013-10","display":"FLUZONE"},{"code":"19515-0894-52","display":"Flulaval Quadrivalent"},{"code":"66019-0305-10","display":"FluMist Quadrivalent"},{"code":"49281-0400-10","display":"Adacel"},{"code":"49281-0390-15","display":"FLUZONE"},{"code":"00052-0603-02","display":"BCG VACCINE"},{"code":"51285-0138-50","display":"Adenovirus Type 4 and Type 7 Vaccine, Live"},{"code":"33332-0417-10","display":"AFLURIA QUADRIVALENT"},{"code":"49281-0395-65","display":"FLUZONE High-Dose"},{"code":"66019-0301-10","display":"FluMist Quadrivalent"},{"code":"49281-0215-10","display":"TENIVAC"},{"code":"19515-0895-11","display":"Flulaval Quadrivalent"},{"code":"70461-0201-01","display":"FLUCELVAX QUADRIVALENT (PREFILLED SYRINGE)"},{"code":"58160-0907-52","display":"FLUARIX QUADRIVALENT"},{"code":"55045-3841-01","display":"HAVRIX"},{"code":"50090-2883-00","display":"INFANRIX"},{"code":"49281-0820-10","display":"TETANUS TOXOID ADSORBED"},{"code":"49281-0417-10","display":"FLUZONE QUADRIVALENT"},{"code":"33332-0010-01","display":"AFLURIA"},{"code":"33332-0013-01","display":"AFLURIA"},{"code":"66521-0200-10","display":"Influenza A (H1N1) 2009 Monovalent Vaccine"},{"code":"58160-0976-06","display":"Bexsero"},{"code":"58160-0809-05","display":"MENHIBRIX"},{"code":"00006-4739-00","display":"PNEUMOVAX 23"},{"code":"70461-0018-03","display":"FLUAD"},{"code":"49281-0413-10","display":"FLUZONE QUADRIVALENT"},{"code":"13533-0131-01","display":"Tetanus and Diphtheria Toxoids Adsorbed"},{"code":"58160-0812-11","display":"KINRIX"},{"code":"49281-0391-65","display":"FLUZONE High-Dose"},{"code":"19515-0845-11","display":"FLULAVAL"},{"code":"58160-0811-51","display":"PEDIARIX"},{"code":"58160-0815-52","display":"TWINRIX"},{"code":"70461-0119-02","display":"Fluvirin"},{"code":"58160-0810-52","display":"INFANRIX"},{"code":"62577-0614-01","display":"Flucelvax"},{"code":"42874-0117-10","display":"Flublok Quadrivalent"},{"code":"49281-0489-91","display":"MENOMUNE - A/C/Y/W-135 COMBINED"},{"code":"58160-0964-12","display":"RabAvert"},{"code":"49281-0014-50","display":"FLUZONE"},{"code":"00006-4109-02","display":"GARDASIL"},{"code":"70461-0002-01","display":"FLUAD"},{"code":"49281-0286-01","display":"DAPTACEL"},{"code":"58160-0810-11","display":"INFANRIX"},{"code":"19515-0900-11","display":"Flulaval Quadrivalent"},{"code":"00006-4837-03","display":"PNEUMOVAX 23"},{"code":"66521-0113-10","display":"FLUVIRIN"},{"code":"58160-0826-34","display":"HAVRIX"},{"code":"58160-0903-52","display":"FLUARIX QUADRIVALENT"},{"code":"00006-4841-00","display":"VAQTA"},{"code":"54868-6180-00","display":"FLUZONE"},{"code":"00006-4681-00","display":"M-M-R II"},{"code":"33332-0317-01","display":"AFLURIA QUADRIVALENT"},{"code":"70461-0001-01","display":"FLUAD"},{"code":"49281-0589-05","display":"Menactra"},{"code":"49281-0387-65","display":"FLUZONE"},{"code":"49281-0860-55","display":"IPOL"},{"code":"19515-0893-07","display":"FLULAVAL"},{"code":"33332-0519-25","display":"Influenza A"},{"code":"70461-0301-10","display":"FLUCELVAX QUADRIVALENT (MULTI-DOSE VIAL)"},{"code":"66019-0200-10","display":"Influenza A H1N1 Intranasal"},{"code":"43528-0003-05","display":"HEPLISAV-B"},{"code":"58160-0820-52","display":"ENGERIX-B"},{"code":"66521-0000-01","display":"FLUAD"},{"code":"49281-0250-51","display":"IMOVAX RABIES"},{"code":"49281-0291-10","display":"DECAVAC"},{"code":"33332-0418-10","display":"AFLURIA QUADRIVALENT"},{"code":"00006-4121-02","display":"GARDASIL 9"},{"code":"63851-0613-01","display":"FLUCELVAX"},{"code":"66521-0114-10","display":"FLUVIRIN"},{"code":"00006-4047-41","display":"RotaTeq"},{"code":"58160-0901-52","display":"FLUARIX QUADRIVALENT"},{"code":"33332-0318-01","display":"AFLURIA QUADRIVALENT"},{"code":"00006-4119-03","display":"GARDASIL 9"},{"code":"49281-0225-10","display":"DIPHTHERIA AND TETANUS TOXOIDS ADSORBED"},{"code":"58160-0815-11","display":"TWINRIX"},{"code":"54868-6177-00","display":"FLUZONE"},{"code":"49281-0010-50","display":"FLUZONE"},{"code":"49281-0400-20","display":"Adacel"},{"code":"49281-0545-03","display":"ActHIB"},{"code":"50090-1693-09","display":"IPOL"},{"code":"00006-4995-41","display":"RECOMBIVAX HB"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-observation-smoking-status-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-observation-smoking-status-status.json deleted file mode 100644 index 692f6faa8fe..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-observation-smoking-status-status.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-observation-smoking-status-status","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status","version":"3.1.1","name":"USCoreObservationSmokingStatusStatus","title":"US Core Status for Smoking Status Observation","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"Codes providing the status of an observation for smoking status. Constrained to `final`and `entered-in-error`.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"compose":{"include":[{"system":"http://hl7.org/fhir/observation-status","concept":[{"code":"final"},{"code":"entered-in-error"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-observation-smokingstatus-max.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-observation-smokingstatus-max.json deleted file mode 100644 index 220e62df33b..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-observation-smokingstatus-max.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-observation-smokingstatus-max","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max","version":"3.1.1","name":"USCoreSmokingStatusmaxValueSet","title":"US Core Smoking Status Max-Binding","status":"active","date":"2020-06-29","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"Representing a patient’s smoking behavior using concepts from SNOMED CT.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement","compose":{"include":[{"system":"http://snomed.info/sct"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-observation-smokingstatus.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-observation-smokingstatus.json deleted file mode 100644 index 0448faa43e4..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-observation-smokingstatus.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-observation-smokingstatus","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus","identifier":[{"system":"urn:ietf:rfc:3986","value":"urn:oid:2.16.840.1.113883.4.642.2.602"}],"version":"3.1.1","name":"UsCoreSmokingStatusPreferred","title":"US Core Smoking Status Preferred","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"This value set enumerates a preferred set of SNOMED CT codes historically used for the current smoking status of a patient.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement","compose":{"include":[{"system":"http://snomed.info/sct","concept":[{"code":"449868002","display":"Current every day smoker"},{"code":"428041000124106","display":"Current some day smoker"},{"code":"8517006","display":"Former smoker"},{"code":"266919005","display":"Never smoker"},{"code":"77176002","display":"Smoker, current status unknown"},{"code":"266927001","display":"Unknown if ever smoked"},{"code":"428071000124103","display":"Current Heavy tobacco smoker"},{"code":"428061000124105","display":"Current Light tobacco smoker"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-observation-value-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-observation-value-codes.json deleted file mode 100644 index 45e61bd67e6..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-observation-value-codes.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-observation-value-codes","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-observation-value-codes","version":"3.1.1","name":"USCoreObservationValueCodes","title":"US Core Observation Value Codes (SNOMED-CT)","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"},{"system":"email","value":"fhir@lists.hl7.org"}]}],"description":"[Snomed-CT](http://www.ihtsdo.org/) concept codes for coded results","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement","compose":{"include":[{"system":"http://snomed.info/sct"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-procedure-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-procedure-code.json deleted file mode 100644 index 15b3f0ea167..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-procedure-code.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-procedure-code","text":{"status":"generated","div":"

This value set includes codes based on the following rules:

"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code","version":"3.1.1","name":"USCoreProcedureCodes","title":"US Core Procedure Codes","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"Concepts from CPT, SNOMED CT, HCPCS Level II Alphanumeric Codes, ICD-10-PCS and CDT code systems that can be used to indicate the type of procedure performed.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"This value set includes content from:\n 1. CPT copyright 2014 American Medical Association. All rights reserved.\n 2. SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n 3. HCPCS Level II Alphanumeric Codes codes are maintained by the US Centers for Medicare and Medicaid Services (CMS) available for public use.\n 4. The International Classification of Diseases, Tenth Revision, Procedure Coding System (ICD-10-PCS) was developed for the Centers for Medicare and Medicaid Services (CMS) available for public use. CMS is the U.S. governmental agency responsible for overseeing all changes and modifications to the ICD-10-PCS.\n 5. The ADA is the exclusive copyright owner of CDT, the Code on Dental Procedures and Nomenclature (the Code), and the ADA Dental Claim Form. Except as permitted by law, all use, copying or distribution of CDT, or any portion thereof (including the Code on Dental Procedures and Nomenclature) in any product or services (including works prepared for clients by consultants and other professionals), whether in printed, electronic or other format, requires a valid commercial user license from the ADA. CDT® is a registered trademark of the American Dental Association. All Rights Reserved.","compose":{"include":[{"system":"http://www.ama-assn.org/go/cpt"},{"system":"http://snomed.info/sct","filter":[{"property":"concept","op":"is-a","value":"71388002"}]},{"system":"urn:oid:2.16.840.1.113883.6.285"},{"system":"http://www.cms.gov/Medicare/Coding/ICD10"},{"system":"urn:oid:2.16.840.1.113883.6.13"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-procedure-icd10pcs.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-procedure-icd10pcs.json deleted file mode 100644 index 590751da919..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-procedure-icd10pcs.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-procedure-icd10pcs","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-icd10pcs","version":"3.1.1","name":"USCoreIcd_10PcsProcedureCodes","title":"US Core ICD-10-PCS Procedure Codes","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"This value set defines the set of codes from ICD10-PCS","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"The International Classification of Diseases, Tenth Revision, Procedure Coding System (ICD-10-PCS) was developed for the Centers for Medicare and Medicaid Services (CMS). CMS is the U.S. governmental agency responsible for overseeing all changes and modifications to the ICD-10-PCS.","compose":{"include":[{"system":"http://www.cms.gov/Medicare/Coding/ICD10"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-provenance-participant-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-provenance-participant-type.json deleted file mode 100644 index fbdd288b42b..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-provenance-participant-type.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-provenance-participant-type","text":{"status":"generated","div":"

This value set includes codes based on the following rules:

"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type","version":"3.1.1","name":"USCoreProvenancePaticipantTypeCodes","title":"US Core Provenance Participant Type Codes","status":"active","date":"2019-08-28","publisher":"HL7 US Realm Steering Committee","description":"The type of participation a provenance agent played for a given target.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"purpose":"So API consumers can identify the provenance participant type.","compose":{"include":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type"},{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-provider-role.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-provider-role.json deleted file mode 100644 index 74d30bb6d01..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-provider-role.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-provider-role","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role","version":"3.1.1","name":"USCoreProviderRoleNucc","title":"US Core Provider Role (NUCC)","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set classification codes for providers. Only concepts with a classification and no specialization are included. ","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.","compose":{"include":[{"system":"http://nucc.org/provider-taxonomy","concept":[{"code":"101Y00000X","display":"Counselor"},{"code":"102L00000X","display":"Psychoanalyst"},{"code":"102X00000X","display":"Poetry Therapist"},{"code":"103G00000X","display":"Clinical Neuropsychologist"},{"code":"103K00000X","display":"Behavior Analyst"},{"code":"103T00000X","display":"Psychologist"},{"code":"104100000X","display":"Social Worker"},{"code":"106E00000X","display":"Assistant Behavior Analyst"},{"code":"106H00000X","display":"Marriage & Family Therapist"},{"code":"106S00000X","display":"Behavior Technician"},{"code":"111N00000X","display":"Chiropractor"},{"code":"122300000X","display":"Dentist"},{"code":"122400000X","display":"Denturist"},{"code":"124Q00000X","display":"Dental Hygienist"},{"code":"125J00000X","display":"Dental Therapist"},{"code":"125K00000X","display":"Advanced Practice Dental Therapist"},{"code":"125Q00000X","display":"Oral Medicinist"},{"code":"126800000X","display":"Dental Assistant"},{"code":"126900000X","display":"Dental Laboratory Technician"},{"code":"132700000X","display":"Dietary Manager"},{"code":"133N00000X","display":"Nutritionist"},{"code":"133V00000X","display":"Dietitian, Registered"},{"code":"136A00000X","display":"Dietetic Technician, Registered"},{"code":"146D00000X","display":"Personal Emergency Response Attendant"},{"code":"146L00000X","display":"Emergency Medical Technician, Paramedic"},{"code":"146M00000X","display":"Emergency Medical Technician, Intermediate"},{"code":"146N00000X","display":"Emergency Medical Technician, Basic"},{"code":"152W00000X","display":"Optometrist"},{"code":"156F00000X","display":"Technician/Technologist"},{"code":"163W00000X","display":"Registered Nurse"},{"code":"164W00000X","display":"Licensed Practical Nurse"},{"code":"164X00000X","display":"Licensed Vocational Nurse"},{"code":"167G00000X","display":"Licensed Psychiatric Technician"},{"code":"170100000X","display":"Medical Genetics, Ph.D. Medical Genetics"},{"code":"170300000X","display":"Genetic Counselor, MS"},{"code":"171000000X","display":"Military Health Care Provider"},{"code":"171100000X","display":"Acupuncturist"},{"code":"171M00000X","display":"Case Manager/Care Coordinator"},{"code":"171R00000X","display":"Interpreter"},{"code":"171W00000X","display":"Contractor"},{"code":"172A00000X","display":"Driver"},{"code":"172M00000X","display":"Mechanotherapist"},{"code":"172P00000X","display":"Naprapath"},{"code":"172V00000X","display":"Community Health Worker"},{"code":"173000000X","display":"Legal Medicine"},{"code":"173C00000X","display":"Reflexologist"},{"code":"173F00000X","display":"Sleep Specialist, PhD"},{"code":"174200000X","display":"Meals"},{"code":"174400000X","display":"Specialist"},{"code":"174H00000X","display":"Health Educator"},{"code":"174M00000X","display":"Veterinarian"},{"code":"174N00000X","display":"Lactation Consultant, Non-RN"},{"code":"174V00000X","display":"Clinical Ethicist"},{"code":"175F00000X","display":"Naturopath"},{"code":"175L00000X","display":"Homeopath"},{"code":"175M00000X","display":"Midwife, Lay"},{"code":"175T00000X","display":"Peer Specialist"},{"code":"176B00000X","display":"Midwife"},{"code":"176P00000X","display":"Funeral Director"},{"code":"177F00000X","display":"Lodging"},{"code":"183500000X","display":"Pharmacist"},{"code":"183700000X","display":"Pharmacy Technician"},{"code":"193200000X","display":"Multi-Specialty"},{"code":"193400000X","display":"Single Specialty"},{"code":"202C00000X","display":"Independent Medical Examiner"},{"code":"202K00000X","display":"Phlebology"},{"code":"204C00000X","display":"Neuromusculoskeletal Medicine, Sports Medicine"},{"code":"204D00000X","display":"Neuromusculoskeletal Medicine & OMM"},{"code":"204E00000X","display":"Oral & Maxillofacial Surgery"},{"code":"204F00000X","display":"Transplant Surgery"},{"code":"204R00000X","display":"Electrodiagnostic Medicine"},{"code":"207K00000X","display":"Allergy & Immunology"},{"code":"207L00000X","display":"Anesthesiology"},{"code":"207N00000X","display":"Dermatology"},{"code":"207P00000X","display":"Emergency Medicine"},{"code":"207Q00000X","display":"Family Medicine"},{"code":"207R00000X","display":"Internal Medicine"},{"code":"207T00000X","display":"Neurological Surgery"},{"code":"207U00000X","display":"Nuclear Medicine"},{"code":"207V00000X","display":"Obstetrics & Gynecology"},{"code":"207W00000X","display":"Ophthalmology"},{"code":"207X00000X","display":"Orthopaedic Surgery"},{"code":"207Y00000X","display":"Otolaryngology"},{"code":"208000000X","display":"Pediatrics"},{"code":"208100000X","display":"Physical Medicine & Rehabilitation"},{"code":"208200000X","display":"Plastic Surgery"},{"code":"208600000X","display":"Surgery"},{"code":"208800000X","display":"Urology"},{"code":"208C00000X","display":"Colon & Rectal Surgery"},{"code":"208D00000X","display":"General Practice"},{"code":"208G00000X","display":"Thoracic Surgery (Cardiothoracic Vascular Surgery)"},{"code":"208M00000X","display":"Hospitalist"},{"code":"208U00000X","display":"Clinical Pharmacology"},{"code":"209800000X","display":"Legal Medicine"},{"code":"211D00000X","display":"Assistant, Podiatric"},{"code":"213E00000X","display":"Podiatrist"},{"code":"221700000X","display":"Art Therapist"},{"code":"222Q00000X","display":"Developmental Therapist"},{"code":"222Z00000X","display":"Orthotist"},{"code":"224900000X","display":"Mastectomy Fitter"},{"code":"224L00000X","display":"Pedorthist"},{"code":"224P00000X","display":"Prosthetist"},{"code":"224Y00000X","display":"Clinical Exercise Physiologist"},{"code":"224Z00000X","display":"Occupational Therapy Assistant"},{"code":"225000000X","display":"Orthotic Fitter"},{"code":"225100000X","display":"Physical Therapist"},{"code":"225200000X","display":"Physical Therapy Assistant"},{"code":"225400000X","display":"Rehabilitation Practitioner"},{"code":"225500000X","display":"Specialist/Technologist"},{"code":"225600000X","display":"Dance Therapist"},{"code":"225700000X","display":"Massage Therapist"},{"code":"225800000X","display":"Recreation Therapist"},{"code":"225A00000X","display":"Music Therapist"},{"code":"225B00000X","display":"Pulmonary Function Technologist"},{"code":"225C00000X","display":"Rehabilitation Counselor"},{"code":"225X00000X","display":"Occupational Therapist"},{"code":"226000000X","display":"Recreational Therapist Assistant"},{"code":"226300000X","display":"Kinesiotherapist"},{"code":"227800000X","display":"Respiratory Therapist, Certified"},{"code":"227900000X","display":"Respiratory Therapist, Registered"},{"code":"229N00000X","display":"Anaplastologist"},{"code":"231H00000X","display":"Audiologist"},{"code":"235500000X","display":"Specialist/Technologist"},{"code":"235Z00000X","display":"Speech-Language Pathologist"},{"code":"237600000X","display":"Audiologist-Hearing Aid Fitter"},{"code":"237700000X","display":"Hearing Instrument Specialist"},{"code":"242T00000X","display":"Perfusionist"},{"code":"243U00000X","display":"Radiology Practitioner Assistant"},{"code":"246Q00000X","display":"Specialist/Technologist, Pathology"},{"code":"246R00000X","display":"Technician, Pathology"},{"code":"246W00000X","display":"Technician, Cardiology"},{"code":"246X00000X","display":"Specialist/Technologist Cardiovascular"},{"code":"246Y00000X","display":"Specialist/Technologist, Health Information"},{"code":"246Z00000X","display":"Specialist/Technologist, Other"},{"code":"247000000X","display":"Technician, Health Information"},{"code":"247100000X","display":"Radiologic Technologist"},{"code":"247200000X","display":"Technician, Other"},{"code":"251300000X","display":"Local Education Agency (LEA)"},{"code":"251B00000X","display":"Case Management"},{"code":"251C00000X","display":"Day Training, Developmentally Disabled Services"},{"code":"251E00000X","display":"Home Health"},{"code":"251F00000X","display":"Home Infusion"},{"code":"251G00000X","display":"Hospice Care, Community Based"},{"code":"251J00000X","display":"Nursing Care"},{"code":"251K00000X","display":"Public Health or Welfare"},{"code":"251S00000X","display":"Community/Behavioral Health"},{"code":"251T00000X","display":"Program of All-Inclusive Care for the Elderly (PACE) Provider Organization"},{"code":"251V00000X","display":"Voluntary or Charitable"},{"code":"251X00000X","display":"Supports Brokerage"},{"code":"252Y00000X","display":"Early Intervention Provider Agency"},{"code":"253J00000X","display":"Foster Care Agency"},{"code":"253Z00000X","display":"In Home Supportive Care"},{"code":"261Q00000X","display":"Clinic/Center"},{"code":"273100000X","display":"Epilepsy Unit"},{"code":"273R00000X","display":"Psychiatric Unit"},{"code":"273Y00000X","display":"Rehabilitation Unit"},{"code":"275N00000X","display":"Medicare Defined Swing Bed Unit"},{"code":"276400000X","display":"Rehabilitation, Substance Use Disorder Unit"},{"code":"281P00000X","display":"Chronic Disease Hospital"},{"code":"282E00000X","display":"Long Term Care Hospital"},{"code":"282J00000X","display":"Religious Nonmedical Health Care Institution"},{"code":"282N00000X","display":"General Acute Care Hospital"},{"code":"283Q00000X","display":"Psychiatric Hospital"},{"code":"283X00000X","display":"Rehabilitation Hospital"},{"code":"284300000X","display":"Special Hospital"},{"code":"286500000X","display":"Military Hospital"},{"code":"287300000X","display":"Christian Science Sanitorium"},{"code":"291900000X","display":"Military Clinical Medical Laboratory"},{"code":"291U00000X","display":"Clinical Medical Laboratory"},{"code":"292200000X","display":"Dental Laboratory"},{"code":"293D00000X","display":"Physiological Laboratory"},{"code":"302F00000X","display":"Exclusive Provider Organization"},{"code":"302R00000X","display":"Health Maintenance Organization"},{"code":"305R00000X","display":"Preferred Provider Organization"},{"code":"305S00000X","display":"Point of Service"},{"code":"310400000X","display":"Assisted Living Facility"},{"code":"310500000X","display":"Intermediate Care Facility, Mental Illness"},{"code":"311500000X","display":"Alzheimer Center (Dementia Center)"},{"code":"311Z00000X","display":"Custodial Care Facility"},{"code":"313M00000X","display":"Nursing Facility/Intermediate Care Facility"},{"code":"314000000X","display":"Skilled Nursing Facility"},{"code":"315D00000X","display":"Hospice, Inpatient"},{"code":"315P00000X","display":"Intermediate Care Facility, Mentally Retarded"},{"code":"317400000X","display":"Christian Science Facility"},{"code":"320600000X","display":"Residential Treatment Facility, Mental Retardation and/or Developmental Disabilities"},{"code":"320700000X","display":"Residential Treatment Facility, Physical Disabilities"},{"code":"320800000X","display":"Community Based Residential Treatment Facility, Mental Illness"},{"code":"320900000X","display":"Community Based Residential Treatment Facility, Mental Retardation and/or Developmental Disabilities"},{"code":"322D00000X","display":"Residential Treatment Facility, Emotionally Disturbed Children"},{"code":"323P00000X","display":"Psychiatric Residential Treatment Facility"},{"code":"324500000X","display":"Substance Abuse Rehabilitation Facility"},{"code":"331L00000X","display":"Blood Bank"},{"code":"332000000X","display":"Military/U.S. Coast Guard Pharmacy"},{"code":"332100000X","display":"Department of Veterans Affairs (VA) Pharmacy"},{"code":"332800000X","display":"Indian Health Service/Tribal/Urban Indian Health (I/T/U) Pharmacy"},{"code":"332900000X","display":"Non-Pharmacy Dispensing Site"},{"code":"332B00000X","display":"Durable Medical Equipment & Medical Supplies"},{"code":"332G00000X","display":"Eye Bank"},{"code":"332H00000X","display":"Eyewear Supplier"},{"code":"332S00000X","display":"Hearing Aid Equipment"},{"code":"332U00000X","display":"Home Delivered Meals"},{"code":"333300000X","display":"Emergency Response System Companies"},{"code":"333600000X","display":"Pharmacy"},{"code":"335E00000X","display":"Prosthetic/Orthotic Supplier"},{"code":"335G00000X","display":"Medical Foods Supplier"},{"code":"335U00000X","display":"Organ Procurement Organization"},{"code":"335V00000X","display":"Portable X-ray and/or Other Portable Diagnostic Imaging Supplier"},{"code":"341600000X","display":"Ambulance"},{"code":"341800000X","display":"Military/U.S. Coast Guard Transport"},{"code":"343800000X","display":"Secured Medical Transport (VAN)"},{"code":"343900000X","display":"Non-emergency Medical Transport (VAN)"},{"code":"344600000X","display":"Taxi"},{"code":"344800000X","display":"Air Carrier"},{"code":"347B00000X","display":"Bus"},{"code":"347C00000X","display":"Private Vehicle"},{"code":"347D00000X","display":"Train"},{"code":"347E00000X","display":"Transportation Broker"},{"code":"363A00000X","display":"Physician Assistant"},{"code":"363L00000X","display":"Nurse Practitioner"},{"code":"364S00000X","display":"Clinical Nurse Specialist"},{"code":"367500000X","display":"Nurse Anesthetist, Certified Registered"},{"code":"367A00000X","display":"Advanced Practice Midwife"},{"code":"367H00000X","display":"Anesthesiologist Assistant"},{"code":"372500000X","display":"Chore Provider"},{"code":"372600000X","display":"Adult Companion"},{"code":"373H00000X","display":"Day Training/Habilitation Specialist"},{"code":"374700000X","display":"Technician"},{"code":"374J00000X","display":"Doula"},{"code":"374K00000X","display":"Religious Nonmedical Practitioner"},{"code":"374T00000X","display":"Religious Nonmedical Nursing Personnel"},{"code":"374U00000X","display":"Home Health Aide"},{"code":"376G00000X","display":"Nursing Home Administrator"},{"code":"376J00000X","display":"Homemaker"},{"code":"376K00000X","display":"Nurse's Aide"},{"code":"385H00000X","display":"Respite Care"},{"code":"390200000X","display":"Student in an Organized Health Care Education/Training Program"},{"code":"405300000X","display":"Prevention Professional"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-provider-specialty.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-provider-specialty.json deleted file mode 100644 index cac6a513768..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-provider-specialty.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-provider-specialty","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty","version":"3.1.1","name":"USCoreProviderSpecialityNucc","title":"US Core Provider Speciality (NUCC)","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"Provider speciality roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set for providers","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.","compose":{"include":[{"system":"http://nucc.org/provider-taxonomy","filter":[{"property":"abstract","op":"=","value":"false"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-smoking-status-observation-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-smoking-status-observation-codes.json deleted file mode 100644 index ee4378cebc1..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-smoking-status-observation-codes.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-smoking-status-observation-codes","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes","version":"3.1.1","name":"USCoreSmokingStatusObservationCodes","title":"US Core Smoking Status Observation Codes","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"The US Core Smoking Status Observation Codes Value Set is a 'starter set' of concepts to capture smoking status.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"This material contains content from [LOINC](http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc","compose":{"include":[{"system":"http://loinc.org","concept":[{"code":"72166-2","display":"Tobacco smoking status NHIS"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-usps-state.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-usps-state.json deleted file mode 100644 index a5c7270b4be..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-usps-state.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-usps-state","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state","identifier":[{"system":"urn:ietf:rfc:3986","value":"urn:oid:2.16.840.1.113883.4.642.3.40"}],"version":"3.1.1","name":"UspsTwoLetterAlphabeticCodes","title":"USPS Two Letter Alphabetic Codes","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"This value set defines two letter USPS alphabetic codes.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"On July 1, 1963, the Post Office Department implemented the five-digit ZIP Code, which was placed after the state name in the last line of an address. To provide room for the ZIP Code, the Department issued two-letter abbreviations for all states and territories. Publication 59, Abbreviations for Use with ZIP Code, issued by the Department in October 1963. There is no copyright restriction on this value set.","compose":{"include":[{"system":"https://www.usps.com/","concept":[{"code":"AK","display":"Alaska"},{"code":"AL","display":"Alabama"},{"code":"AR","display":"Arkansas"},{"code":"AS","display":"American Samoa"},{"code":"AZ","display":"Arizona"},{"code":"CA","display":"California"},{"code":"CO","display":"Colorado"},{"code":"CT","display":"Connecticut"},{"code":"DC","display":"District of Columbia"},{"code":"DE","display":"Delaware"},{"code":"FL","display":"Florida"},{"code":"FM","display":"Federated States of Micronesia"},{"code":"GA","display":"Georgia"},{"code":"GU","display":"Guam"},{"code":"HI","display":"Hawaii"},{"code":"IA","display":"Iowa"},{"code":"ID","display":"Idaho"},{"code":"IL","display":"Illinois"},{"code":"IN","display":"Indiana"},{"code":"KS","display":"Kansas"},{"code":"KY","display":"Kentucky"},{"code":"LA","display":"Louisiana"},{"code":"MA","display":"Massachusetts"},{"code":"MD","display":"Maryland"},{"code":"ME","display":"Maine"},{"code":"MH","display":"Marshall Islands"},{"code":"MI","display":"Michigan"},{"code":"MN","display":"Minnesota"},{"code":"MO","display":"Missouri"},{"code":"MP","display":"Northern Mariana Islands"},{"code":"MS","display":"Mississippi"},{"code":"MT","display":"Montana"},{"code":"NC","display":"North Carolina"},{"code":"ND","display":"North Dakota"},{"code":"NE","display":"Nebraska"},{"code":"NH","display":"New Hampshire"},{"code":"NJ","display":"New Jersey"},{"code":"NM","display":"New Mexico"},{"code":"NV","display":"Nevada"},{"code":"NY","display":"New York"},{"code":"OH","display":"Ohio"},{"code":"OK","display":"Oklahoma"},{"code":"OR","display":"Oregon"},{"code":"PA","display":"Pennsylvania"},{"code":"PR","display":"Puerto Rico"},{"code":"PW","display":"Palau"},{"code":"RI","display":"Rhode Island"},{"code":"SC","display":"South Carolina"},{"code":"SD","display":"South Dakota"},{"code":"TN","display":"Tennessee"},{"code":"TX","display":"Texas"},{"code":"UT","display":"Utah"},{"code":"VA","display":"Virginia"},{"code":"VI","display":"Virgin Islands of the U.S."},{"code":"VT","display":"Vermont"},{"code":"WA","display":"Washington"},{"code":"WI","display":"Wisconsin"},{"code":"WV","display":"West Virginia"},{"code":"WY","display":"Wyoming"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-vaccines-cvx.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-vaccines-cvx.json deleted file mode 100644 index 8ad2b23be2a..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ValueSet-us-core-vaccines-cvx.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ValueSet","id":"us-core-vaccines-cvx","text":{"status":"generated","div":"
"},"url":"http://hl7.org/fhir/us/core/ValueSet/us-core-vaccines-cvx","identifier":[{"system":"urn:ietf:rfc:3986","value":"urn:oid:2.16.840.1.113762.1.4.1010.6"},{"system":"urn:ietf:rfc:3986","value":"urn:oid:2.16.840.1.113883.3.88.12.80.22"}],"version":"3.1.1","name":"USCoreVaccineAdministeredValueSetCvx","title":"US Core Vaccine Administered Value Set (CVX)","status":"active","date":"2019-05-21","publisher":"HL7 US Realm Steering Committee","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]}],"description":"This identifies the vaccine substance administered - CVX codes. **Inclusion Criteria:** Any CVX code with CVX 'status' (VSAC Property) = `Active`,` Inactive`, `Non-US` except those noted in exclusions. **Exclusion Criteria:** CVX codes that have a CVX 'status' of either `Pending` or `Never Active` AND CVX codes with CVX 'Nonvaccine' property = True. Available at http://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"compose":{"include":[{"system":"http://hl7.org/fhir/sid/cvx","concept":[{"code":"01","display":"diphtheria, tetanus toxoids and pertussis vaccine"},{"code":"02","display":"trivalent poliovirus vaccine, live, oral"},{"code":"03","display":"measles, mumps and rubella virus vaccine"},{"code":"04","display":"measles and rubella virus vaccine"},{"code":"05","display":"measles virus vaccine"},{"code":"06","display":"rubella virus vaccine"},{"code":"07","display":"mumps virus vaccine"},{"code":"08","display":"hepatitis B vaccine, pediatric or pediatric/adolescent dosage"},{"code":"09","display":"tetanus and diphtheria toxoids, adsorbed, preservative free, for adult use (2 Lf of tetanus toxoid and 2 Lf of diphtheria toxoid)"},{"code":"10","display":"poliovirus vaccine, inactivated"},{"code":"100","display":"pneumococcal conjugate vaccine, 7 valent"},{"code":"101","display":"typhoid Vi capsular polysaccharide vaccine"},{"code":"102","display":"DTP- Haemophilus influenzae type b conjugate and hepatitis b vaccine"},{"code":"103","display":"meningococcal C conjugate vaccine"},{"code":"104","display":"hepatitis A and hepatitis B vaccine"},{"code":"105","display":"vaccinia (smallpox) vaccine, diluted"},{"code":"106","display":"diphtheria, tetanus toxoids and acellular pertussis vaccine, 5 pertussis antigens"},{"code":"107","display":"diphtheria, tetanus toxoids and acellular pertussis vaccine, unspecified formulation"},{"code":"108","display":"meningococcal ACWY vaccine, unspecified formulation"},{"code":"109","display":"pneumococcal vaccine, unspecified formulation"},{"code":"11","display":"pertussis vaccine"},{"code":"110","display":"DTaP-hepatitis B and poliovirus vaccine"},{"code":"111","display":"influenza virus vaccine, live, attenuated, for intranasal use"},{"code":"112","display":"tetanus toxoid, unspecified formulation"},{"code":"113","display":"tetanus and diphtheria toxoids, adsorbed, preservative free, for adult use (5 Lf of tetanus toxoid and 2 Lf of diphtheria toxoid)"},{"code":"114","display":"meningococcal polysaccharide (groups A, C, Y and W-135) diphtheria toxoid conjugate vaccine (MCV4P)"},{"code":"115","display":"tetanus toxoid, reduced diphtheria toxoid, and acellular pertussis vaccine, adsorbed"},{"code":"116","display":"rotavirus, live, pentavalent vaccine"},{"code":"117","display":"varicella zoster immune globulin (Investigational New Drug)"},{"code":"118","display":"human papilloma virus vaccine, bivalent"},{"code":"119","display":"rotavirus, live, monovalent vaccine"},{"code":"12","display":"diphtheria antitoxin"},{"code":"120","display":"diphtheria, tetanus toxoids and acellular pertussis vaccine, Haemophilus influenzae type b conjugate, and poliovirus vaccine, inactivated (DTaP-Hib-IPV)"},{"code":"121","display":"zoster vaccine, live"},{"code":"122","display":"rotavirus vaccine, unspecified formulation"},{"code":"123","display":"influenza virus vaccine, H5N1, A/Vietnam/1203/2004 (national stockpile)"},{"code":"125","display":"Novel Influenza-H1N1-09, live virus for nasal administration"},{"code":"126","display":"Novel influenza-H1N1-09, preservative-free, injectable"},{"code":"127","display":"Novel influenza-H1N1-09, injectable"},{"code":"128","display":"Novel influenza-H1N1-09, all formulations"},{"code":"129","display":"Japanese Encephalitis vaccine, unspecified formulation"},{"code":"13","display":"tetanus immune globulin"},{"code":"130","display":"Diphtheria, tetanus toxoids and acellular pertussis vaccine, and poliovirus vaccine, inactivated"},{"code":"131","display":"Historical record of a typhus vaccination"},{"code":"132","display":"Historical diphtheria and tetanus toxoids and acellular pertussis, poliovirus, Haemophilus b conjugate and hepatitis B (recombinant) vaccine."},{"code":"133","display":"pneumococcal conjugate vaccine, 13 valent"},{"code":"134","display":"Japanese Encephalitis vaccine for intramuscular administration"},{"code":"135","display":"influenza, high dose seasonal, preservative-free"},{"code":"136","display":"meningococcal oligosaccharide (groups A, C, Y and W-135) diphtheria toxoid conjugate vaccine (MCV4O)"},{"code":"137","display":"HPV, unspecified formulation"},{"code":"138","display":"tetanus and diphtheria toxoids, not adsorbed, for adult use"},{"code":"139","display":"Td(adult) unspecified formulation"},{"code":"14","display":"immune globulin, unspecified formulation"},{"code":"140","display":"Influenza, seasonal, injectable, preservative free"},{"code":"141","display":"Influenza, seasonal, injectable"},{"code":"142","display":"tetanus toxoid, not adsorbed"},{"code":"143","display":"Adenovirus, type 4 and type 7, live, oral"},{"code":"144","display":"seasonal influenza, intradermal, preservative free"},{"code":"147","display":"Meningococcal, MCV4, unspecified conjugate formulation(groups A, C, Y and W-135)"},{"code":"148","display":"Meningococcal Groups C and Y and Haemophilus b Tetanus Toxoid Conjugate Vaccine"},{"code":"149","display":"influenza, live, intranasal, quadrivalent"},{"code":"15","display":"influenza virus vaccine, split virus (incl. purified surface antigen)-retired CODE"},{"code":"150","display":"Influenza, injectable, quadrivalent, preservative free"},{"code":"151","display":"influenza nasal, unspecified formulation"},{"code":"152","display":"Pneumococcal Conjugate, unspecified formulation"},{"code":"153","display":"Influenza, injectable, Madin Darby Canine Kidney, preservative free"},{"code":"155","display":"Seasonal, trivalent, recombinant, injectable influenza vaccine, preservative free"},{"code":"156","display":"Rho(D) Immune globulin- IV or IM"},{"code":"157","display":"Rho(D) Immune globulin - IM"},{"code":"158","display":"influenza, injectable, quadrivalent, contains preservative"},{"code":"159","display":"Rho(D) Unspecified formulation"},{"code":"16","display":"influenza virus vaccine, whole virus"},{"code":"160","display":"Influenza A monovalent (H5N1), adjuvanted, National stockpile 2013"},{"code":"161","display":"Influenza, injectable,quadrivalent, preservative free, pediatric"},{"code":"162","display":"meningococcal B vaccine, fully recombinant"},{"code":"163","display":"meningococcal B vaccine, recombinant, OMV, adjuvanted"},{"code":"164","display":"meningococcal B, unspecified formulation"},{"code":"165","display":"Human Papillomavirus 9-valent vaccine"},{"code":"166","display":"influenza, intradermal, quadrivalent, preservative free, injectable"},{"code":"167","display":"meningococcal vaccine of unknown formulation and unknown serogroups"},{"code":"168","display":"Seasonal trivalent influenza vaccine, adjuvanted, preservative free"},{"code":"169","display":"Hep A, live attenuated-IM"},{"code":"17","display":"Haemophilus influenzae type b vaccine, conjugate unspecified formulation"},{"code":"170","display":"non-US diphtheria, tetanus toxoids and acellular pertussis vaccine, Haemophilus influenzae type b conjugate, and poliovirus vaccine, inactivated (DTaP-Hib-IPV)"},{"code":"171","display":"Influenza, injectable, Madin Darby Canine Kidney, preservative free, quadrivalent"},{"code":"172","display":"cholera, WC-rBS"},{"code":"173","display":"cholera, BivWC"},{"code":"174","display":"cholera, live attenuated"},{"code":"175","display":"Human Rabies vaccine from human diploid cell culture"},{"code":"176","display":"Human rabies vaccine from Chicken fibroblast culture"},{"code":"177","display":"pneumococcal conjugate vaccine, 10 valent"},{"code":"178","display":"Non-US bivalent oral polio vaccine (types 1 and 3)"},{"code":"179","display":"Non-US monovalent oral polio vaccine, unspecified formulation"},{"code":"18","display":"rabies vaccine, for intramuscular injection RETIRED CODE"},{"code":"180","display":"tetanus immune globulin"},{"code":"181","display":"anthrax immune globulin"},{"code":"182","display":"Oral Polio Vaccine, Unspecified formulation"},{"code":"183","display":"Yellow fever vaccine alternative formulation"},{"code":"184","display":"Yellow fever vaccine, unspecified formulation"},{"code":"185","display":"Seasonal, quadrivalent, recombinant, injectable influenza vaccine, preservative free"},{"code":"186","display":"Influenza, injectable, Madin Darby Canine Kidney, quadrivalent with preservative"},{"code":"187","display":"zoster vaccine recombinant"},{"code":"188","display":"zoster vaccine, unspecified formulation"},{"code":"189","display":"Hepatitis B vaccine (recombinant), CpG adjuvanted"},{"code":"19","display":"Bacillus Calmette-Guerin vaccine"},{"code":"20","display":"diphtheria, tetanus toxoids and acellular pertussis vaccine"},{"code":"21","display":"varicella virus vaccine"},{"code":"22","display":"DTP-Haemophilus influenzae type b conjugate vaccine"},{"code":"23","display":"plague vaccine"},{"code":"24","display":"anthrax vaccine"},{"code":"25","display":"typhoid vaccine, live, oral"},{"code":"26","display":"cholera vaccine, unspecified formulation"},{"code":"27","display":"botulinum antitoxin"},{"code":"28","display":"diphtheria and tetanus toxoids, adsorbed for pediatric use"},{"code":"29","display":"cytomegalovirus immune globulin, intravenous"},{"code":"30","display":"hepatitis B immune globulin"},{"code":"31","display":"hepatitis A vaccine, pediatric dosage, unspecified formulation"},{"code":"32","display":"meningococcal polysaccharide vaccine (MPSV4)"},{"code":"33","display":"pneumococcal polysaccharide vaccine, 23 valent"},{"code":"34","display":"rabies immune globulin"},{"code":"35","display":"tetanus toxoid, adsorbed"},{"code":"36","display":"varicella zoster immune globulin"},{"code":"37","display":"yellow fever vaccine"},{"code":"38","display":"rubella and mumps virus vaccine"},{"code":"39","display":"Japanese Encephalitis Vaccine SC"},{"code":"40","display":"rabies vaccine, for intradermal injection"},{"code":"41","display":"typhoid vaccine, parenteral, other than acetone-killed, dried"},{"code":"42","display":"hepatitis B vaccine, adolescent/high risk infant dosage"},{"code":"43","display":"hepatitis B vaccine, adult dosage"},{"code":"44","display":"hepatitis B vaccine, dialysis patient dosage"},{"code":"45","display":"hepatitis B vaccine, unspecified formulation"},{"code":"46","display":"Haemophilus influenzae type b vaccine, PRP-D conjugate"},{"code":"47","display":"Haemophilus influenzae type b vaccine, HbOC conjugate"},{"code":"48","display":"Haemophilus influenzae type b vaccine, PRP-T conjugate"},{"code":"49","display":"Haemophilus influenzae type b vaccine, PRP-OMP conjugate"},{"code":"50","display":"DTaP-Haemophilus influenzae type b conjugate vaccine"},{"code":"51","display":"Haemophilus influenzae type b conjugate and Hepatitis B vaccine"},{"code":"52","display":"hepatitis A vaccine, adult dosage"},{"code":"53","display":"typhoid vaccine, parenteral, acetone-killed, dried (U.S. military)"},{"code":"54","display":"adenovirus vaccine, type 4, live, oral"},{"code":"55","display":"adenovirus vaccine, type 7, live, oral"},{"code":"62","display":"human papilloma virus vaccine, quadrivalent"},{"code":"66","display":"Lyme disease vaccine"},{"code":"69","display":"parainfluenza-3 virus vaccine"},{"code":"71","display":"respiratory syncytial virus immune globulin, intravenous"},{"code":"74","display":"rotavirus, live, tetravalent vaccine"},{"code":"75","display":"vaccinia (smallpox) vaccine"},{"code":"76","display":"Staphylococcus bacteriophage lysate"},{"code":"77","display":"tick-borne encephalitis vaccine"},{"code":"78","display":"tularemia vaccine"},{"code":"79","display":"vaccinia immune globulin"},{"code":"80","display":"Venezuelan equine encephalitis, live, attenuated"},{"code":"801","display":"AS03 Adjuvant"},{"code":"81","display":"Venezuelan equine encephalitis, inactivated"},{"code":"82","display":"adenovirus vaccine, unspecified formulation"},{"code":"83","display":"hepatitis A vaccine, pediatric/adolescent dosage, 2 dose schedule"},{"code":"84","display":"hepatitis A vaccine, pediatric/adolescent dosage, 3 dose schedule"},{"code":"85","display":"hepatitis A vaccine, unspecified formulation"},{"code":"86","display":"immune globulin, intramuscular"},{"code":"87","display":"immune globulin, intravenous"},{"code":"88","display":"influenza virus vaccine, unspecified formulation"},{"code":"89","display":"poliovirus vaccine, unspecified formulation"},{"code":"90","display":"rabies vaccine, unspecified formulation"},{"code":"91","display":"typhoid vaccine, unspecified formulation"},{"code":"92","display":"Venezuelan equine encephalitis vaccine, unspecified formulation"},{"code":"93","display":"respiratory syncytial virus monoclonal antibody (palivizumab), intramuscular"},{"code":"94","display":"measles, mumps, rubella, and varicella virus vaccine"},{"code":"95","display":"tuberculin skin test; old tuberculin, multipuncture device"},{"code":"96","display":"tuberculin skin test; purified protein derivative solution, intradermal"},{"code":"97","display":"tuberculin skin test; purified protein derivative, multipuncture device"},{"code":"98","display":"tuberculin skin test; unspecified formulation"},{"code":"998","display":"no vaccine administered"}]}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ig-r4.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ig-r4.json deleted file mode 100644 index 315bc226fcb..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/ig-r4.json +++ /dev/null @@ -1 +0,0 @@ -{"resourceType":"ImplementationGuide","id":"hl7.fhir.us.core","text":{"status":"extensions","div":"

USCore

The official URL for this implementation guide is:

http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core
"},"url":"http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core","version":"3.1.1","name":"USCore","title":"US Core","status":"active","date":"2020-08-28T10:54:27+10:00","publisher":"HL7 International - US Realm Steering Committee","contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/usrealm/index.cfm"}]}],"jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US","display":"United States of America"}]}],"copyright":"Used by permission of HL7 International, all rights reserved Creative Commons License","packageId":"hl7.fhir.us.core","license":"CC0-1.0","fhirVersion":["4.0.1"],"definition":{"grouping":[{"name":"base"}],"resource":[{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-glucose.html"}],"reference":{"reference":"Observation/urine-glucose"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Procedure"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Procedure-rehab.html"}],"reference":{"reference":"Procedure/rehab"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CareTeam"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CareTeam-example.html"}],"reference":{"reference":"CareTeam/example"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-leukocyte-esterase.html"}],"reference":{"reference":"Observation/urine-leukocyte-esterase"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Bundle"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.html"}],"reference":{"reference":"Bundle/66c8856b-ba11-4876-8aa8-467aad8c11a2"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-bilirubin.html"}],"reference":{"reference":"Observation/urine-bilirubin"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Condition"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Condition-hc1.html"}],"reference":{"reference":"Condition/hc1"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-sediment.html"}],"reference":{"reference":"Observation/urine-sediment"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Immunization"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Immunization-imm-1.html"}],"reference":{"reference":"Immunization/imm-1"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-pediatric-wt-example.html"}],"reference":{"reference":"Observation/pediatric-wt-example"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Organization"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Organization-saint-luke-w-endpoint.html"}],"reference":{"reference":"Organization/saint-luke-w-endpoint"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-ph.html"}],"reference":{"reference":"Observation/urine-ph"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Encounter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Encounter-example-1.html"}],"reference":{"reference":"Encounter/example-1"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"DiagnosticReport"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"DiagnosticReport-chest-xray-report.html"}],"reference":{"reference":"DiagnosticReport/chest-xray-report"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-serum-sodium.html"}],"reference":{"reference":"Observation/serum-sodium"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"DiagnosticReport"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"DiagnosticReport-cbc.html"}],"reference":{"reference":"DiagnosticReport/cbc"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-serum-potassium.html"}],"reference":{"reference":"Observation/serum-potassium"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Encounter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Encounter-1036.html"}],"reference":{"reference":"Encounter/1036"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-some-day-smoker.html"}],"reference":{"reference":"Observation/some-day-smoker"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Location"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Location-hl7east.html"}],"reference":{"reference":"Location/hl7east"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-serum-co2.html"}],"reference":{"reference":"Observation/serum-co2"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-protein.html"}],"reference":{"reference":"Observation/urine-protein"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Procedure"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Procedure-defib-implant.html"}],"reference":{"reference":"Procedure/defib-implant"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-usg.html"}],"reference":{"reference":"Observation/usg"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-serum-chloride.html"}],"reference":{"reference":"Observation/serum-chloride"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-serum-calcium.html"}],"reference":{"reference":"Observation/serum-calcium"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-color.html"}],"reference":{"reference":"Observation/urine-color"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-bp-data-absent.html"}],"reference":{"reference":"Observation/bp-data-absent"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Patient"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Patient-example.html"}],"reference":{"reference":"Patient/example"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Patient"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Patient-child-example.html"}],"reference":{"reference":"Patient/child-example"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Patient"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Patient-infant-example.html"}],"reference":{"reference":"Patient/infant-example"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-temperature.html"}],"reference":{"reference":"Observation/temperature"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-bmi.html"}],"reference":{"reference":"Observation/bmi"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Medication"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Medication-uscore-med2.html"}],"reference":{"reference":"Medication/uscore-med2"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-cells.html"}],"reference":{"reference":"Observation/urine-cells"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-length.html"}],"reference":{"reference":"Observation/length"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Device"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Device-udi-2.html"}],"reference":{"reference":"Device/udi-2"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"MedicationRequest"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"MedicationRequest-uscore-mo1.html"}],"reference":{"reference":"MedicationRequest/uscore-mo1"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Practitioner"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Practitioner-practitioner-2.html"}],"reference":{"reference":"Practitioner/practitioner-2"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Goal"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Goal-goal-1.html"}],"reference":{"reference":"Goal/goal-1"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-rbcs.html"}],"reference":{"reference":"Observation/urine-rbcs"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urobilinogen.html"}],"reference":{"reference":"Observation/urobilinogen"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Medication"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Medication-uscore-med1.html"}],"reference":{"reference":"Medication/uscore-med1"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-bacteria.html"}],"reference":{"reference":"Observation/urine-bacteria"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Bundle"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Bundle-uscore-mo3.html"}],"reference":{"reference":"Bundle/uscore-mo3"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-ofc-percentile.html"}],"reference":{"reference":"Observation/ofc-percentile"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"MedicationRequest"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"MedicationRequest-self-tylenol.html"}],"reference":{"reference":"MedicationRequest/self-tylenol"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"DiagnosticReport"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"DiagnosticReport-metabolic-panel.html"}],"reference":{"reference":"DiagnosticReport/metabolic-panel"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Device"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Device-udi-3.html"}],"reference":{"reference":"Device/udi-3"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"MedicationRequest"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"MedicationRequest-uscore-mo2.html"}],"reference":{"reference":"MedicationRequest/uscore-mo2"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Bundle"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.html"}],"reference":{"reference":"Bundle/c887e62f-6166-419f-8268-b5ecd6c7b901"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-bun.html"}],"reference":{"reference":"Observation/bun"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Practitioner"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Practitioner-practitioner-1.html"}],"reference":{"reference":"Practitioner/practitioner-1"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-neutrophils.html"}],"reference":{"reference":"Observation/neutrophils"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-nitrite.html"}],"reference":{"reference":"Observation/urine-nitrite"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-oxygen-saturation.html"}],"reference":{"reference":"Observation/oxygen-saturation"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"DiagnosticReport"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"DiagnosticReport-cardiology-report.html"}],"reference":{"reference":"DiagnosticReport/cardiology-report"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-vitals-panel.html"}],"reference":{"reference":"Observation/vitals-panel"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-blood-pressure.html"}],"reference":{"reference":"Observation/blood-pressure"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-wbcs.html"}],"reference":{"reference":"Observation/urine-wbcs"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-height.html"}],"reference":{"reference":"Observation/height"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Organization"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Organization-acme-lab.html"}],"reference":{"reference":"Organization/acme-lab"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Device"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Device-udi-1.html"}],"reference":{"reference":"Device/udi-1"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-hemoglobin.html"}],"reference":{"reference":"Observation/hemoglobin"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"DocumentReference"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"DocumentReference-episode-summary.html"}],"reference":{"reference":"DocumentReference/episode-summary"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-hemoglobin.html"}],"reference":{"reference":"Observation/urine-hemoglobin"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-heart-rate.html"}],"reference":{"reference":"Observation/heart-rate"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-epi-cells.html"}],"reference":{"reference":"Observation/urine-epi-cells"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"AllergyIntolerance"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"AllergyIntolerance-example.html"}],"reference":{"reference":"AllergyIntolerance/example"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-blood-glucose.html"}],"reference":{"reference":"Observation/blood-glucose"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"DiagnosticReport"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"DiagnosticReport-urinalysis.html"}],"reference":{"reference":"DiagnosticReport/urinalysis"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Condition"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Condition-example.html"}],"reference":{"reference":"Condition/example"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-serum-creatinine.html"}],"reference":{"reference":"Observation/serum-creatinine"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-satO2-fiO2.html"}],"reference":{"reference":"Observation/satO2-fiO2"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-serum-total-bilirubin.html"}],"reference":{"reference":"Observation/serum-total-bilirubin"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-pediatric-bmi-example.html"}],"reference":{"reference":"Observation/pediatric-bmi-example"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Organization"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Organization-example-organization-2.html"}],"reference":{"reference":"Organization/example-organization-2"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-weight.html"}],"reference":{"reference":"Observation/weight"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-mchc.html"}],"reference":{"reference":"Observation/mchc"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-clarity.html"}],"reference":{"reference":"Observation/urine-clarity"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CarePlan"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CarePlan-colonoscopy.html"}],"reference":{"reference":"CarePlan/colonoscopy"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-erythrocytes.html"}],"reference":{"reference":"Observation/erythrocytes"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-urine-ketone.html"}],"reference":{"reference":"Observation/urine-ketone"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"Observation"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"Observation-respiratory-rate.html"}],"reference":{"reference":"Observation/respiratory-rate"},"exampleBoolean":true},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-medication-codes.html"}],"reference":{"reference":"ValueSet/us-core-medication-codes"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-immunization.html"}],"reference":{"reference":"StructureDefinition/us-core-immunization"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-location-address-state.html"}],"reference":{"reference":"SearchParameter/us-core-location-address-state"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-practitionerrole-practitioner.html"}],"reference":{"reference":"SearchParameter/us-core-practitionerrole-practitioner"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-observation-smokingstatus.html"}],"reference":{"reference":"ValueSet/us-core-observation-smokingstatus"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-observation-smokingstatus-max.html"}],"reference":{"reference":"ValueSet/us-core-observation-smokingstatus-max"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-omb-race-category.html"}],"reference":{"reference":"ValueSet/omb-race-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-practitionerrole.html"}],"reference":{"reference":"StructureDefinition/us-core-practitionerrole"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-allergy-substance.html"}],"reference":{"reference":"ValueSet/us-core-allergy-substance"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-narrative-status.html"}],"reference":{"reference":"ValueSet/us-core-narrative-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CodeSystem"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CodeSystem-cdcrec.html"}],"reference":{"reference":"CodeSystem/cdcrec"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-organization-name.html"}],"reference":{"reference":"SearchParameter/us-core-organization-name"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-observation-lab.html"}],"reference":{"reference":"StructureDefinition/us-core-observation-lab"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-diagnosticreport-code.html"}],"reference":{"reference":"SearchParameter/us-core-diagnosticreport-code"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-pediatric-bmi-for-age.html"}],"reference":{"reference":"StructureDefinition/pediatric-bmi-for-age"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-head-occipital-frontal-circumference-percentile.html"}],"reference":{"reference":"StructureDefinition/head-occipital-frontal-circumference-percentile"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-allergyintolerance.html"}],"reference":{"reference":"StructureDefinition/us-core-allergyintolerance"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-goal-lifecycle-status.html"}],"reference":{"reference":"SearchParameter/us-core-goal-lifecycle-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-procedure-code.html"}],"reference":{"reference":"SearchParameter/us-core-procedure-code"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-documentreference-type.html"}],"reference":{"reference":"ValueSet/us-core-documentreference-type"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-provenance-participant-type.html"}],"reference":{"reference":"ValueSet/us-core-provenance-participant-type"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-patient-gender.html"}],"reference":{"reference":"SearchParameter/us-core-patient-gender"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-practitioner.html"}],"reference":{"reference":"StructureDefinition/us-core-practitioner"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-diagnosticreport-note.html"}],"reference":{"reference":"StructureDefinition/us-core-diagnosticreport-note"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-omb-ethnicity-category.html"}],"reference":{"reference":"ValueSet/omb-ethnicity-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-provenance.html"}],"reference":{"reference":"StructureDefinition/us-core-provenance"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"OperationDefinition"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"OperationDefinition-docref.html"}],"reference":{"reference":"OperationDefinition/docref"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-condition-clinical-status.html"}],"reference":{"reference":"SearchParameter/us-core-condition-clinical-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:extension"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-birthsex.html"}],"reference":{"reference":"StructureDefinition/us-core-birthsex"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-documentreference-id.html"}],"reference":{"reference":"SearchParameter/us-core-documentreference-id"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-careplan-category.html"}],"reference":{"reference":"SearchParameter/us-core-careplan-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-encounter-class.html"}],"reference":{"reference":"SearchParameter/us-core-encounter-class"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-medicationrequest-patient.html"}],"reference":{"reference":"SearchParameter/us-core-medicationrequest-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CapabilityStatement"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CapabilityStatement-us-core-server.html"}],"reference":{"reference":"CapabilityStatement/us-core-server"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-condition-category.html"}],"reference":{"reference":"ValueSet/us-core-condition-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-detailed-ethnicity.html"}],"reference":{"reference":"ValueSet/detailed-ethnicity"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-documentreference-patient.html"}],"reference":{"reference":"SearchParameter/us-core-documentreference-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-encounter.html"}],"reference":{"reference":"StructureDefinition/us-core-encounter"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-ndc-vaccine-codes.html"}],"reference":{"reference":"ValueSet/us-core-ndc-vaccine-codes"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-patient.html"}],"reference":{"reference":"StructureDefinition/us-core-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-diagnosticreport-date.html"}],"reference":{"reference":"SearchParameter/us-core-diagnosticreport-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-procedure-icd10pcs.html"}],"reference":{"reference":"ValueSet/us-core-procedure-icd10pcs"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-provider-specialty.html"}],"reference":{"reference":"ValueSet/us-core-provider-specialty"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-procedure-date.html"}],"reference":{"reference":"SearchParameter/us-core-procedure-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-vaccines-cvx.html"}],"reference":{"reference":"ValueSet/us-core-vaccines-cvx"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-pulse-oximetry.html"}],"reference":{"reference":"StructureDefinition/us-core-pulse-oximetry"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-allergyintolerance-clinical-status.html"}],"reference":{"reference":"SearchParameter/us-core-allergyintolerance-clinical-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-documentreference-date.html"}],"reference":{"reference":"SearchParameter/us-core-documentreference-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-medicationrequest-intent.html"}],"reference":{"reference":"SearchParameter/us-core-medicationrequest-intent"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-location.html"}],"reference":{"reference":"StructureDefinition/us-core-location"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-location-address.html"}],"reference":{"reference":"SearchParameter/us-core-location-address"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-observation-smoking-status-status.html"}],"reference":{"reference":"ValueSet/us-core-observation-smoking-status-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-usps-state.html"}],"reference":{"reference":"ValueSet/us-core-usps-state"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-practitioner-name.html"}],"reference":{"reference":"SearchParameter/us-core-practitioner-name"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-encounter-type.html"}],"reference":{"reference":"ValueSet/us-core-encounter-type"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-documentreference-period.html"}],"reference":{"reference":"SearchParameter/us-core-documentreference-period"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-observation-code.html"}],"reference":{"reference":"SearchParameter/us-core-observation-code"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-location-name.html"}],"reference":{"reference":"SearchParameter/us-core-location-name"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-condition-onset-date.html"}],"reference":{"reference":"SearchParameter/us-core-condition-onset-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-patient-given.html"}],"reference":{"reference":"SearchParameter/us-core-patient-given"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-procedure.html"}],"reference":{"reference":"StructureDefinition/us-core-procedure"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-encounter-type.html"}],"reference":{"reference":"SearchParameter/us-core-encounter-type"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-condition-code.html"}],"reference":{"reference":"ValueSet/us-core-condition-code"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CodeSystem"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CodeSystem-condition-category.html"}],"reference":{"reference":"CodeSystem/condition-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-medicationrequest-encounter.html"}],"reference":{"reference":"SearchParameter/us-core-medicationrequest-encounter"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-encounter-patient.html"}],"reference":{"reference":"SearchParameter/us-core-encounter-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-organization-address.html"}],"reference":{"reference":"SearchParameter/us-core-organization-address"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-observation-category.html"}],"reference":{"reference":"SearchParameter/us-core-observation-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-medication.html"}],"reference":{"reference":"StructureDefinition/us-core-medication"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-diagnosticreport-status.html"}],"reference":{"reference":"SearchParameter/us-core-diagnosticreport-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-observation-date.html"}],"reference":{"reference":"SearchParameter/us-core-observation-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-birthsex.html"}],"reference":{"reference":"ValueSet/birthsex"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-diagnosticreport-category.html"}],"reference":{"reference":"SearchParameter/us-core-diagnosticreport-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-observation-status.html"}],"reference":{"reference":"SearchParameter/us-core-observation-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-diagnosticreport-report-and-note-codes.html"}],"reference":{"reference":"ValueSet/us-core-diagnosticreport-report-and-note-codes"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-provider-role.html"}],"reference":{"reference":"ValueSet/us-core-provider-role"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-ethnicity.html"}],"reference":{"reference":"SearchParameter/us-core-ethnicity"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-documentreference.html"}],"reference":{"reference":"StructureDefinition/us-core-documentreference"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:extension"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-direct.html"}],"reference":{"reference":"StructureDefinition/us-core-direct"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-smoking-status-observation-codes.html"}],"reference":{"reference":"ValueSet/us-core-smoking-status-observation-codes"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-careteam-provider-roles.html"}],"reference":{"reference":"ValueSet/us-core-careteam-provider-roles"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-documentreference-type.html"}],"reference":{"reference":"SearchParameter/us-core-documentreference-type"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-encounter-date.html"}],"reference":{"reference":"SearchParameter/us-core-encounter-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-diagnosticreport-category.html"}],"reference":{"reference":"ValueSet/us-core-diagnosticreport-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-patient-birthdate.html"}],"reference":{"reference":"SearchParameter/us-core-patient-birthdate"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-careteam.html"}],"reference":{"reference":"StructureDefinition/us-core-careteam"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-procedure-status.html"}],"reference":{"reference":"SearchParameter/us-core-procedure-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-clinical-note-type.html"}],"reference":{"reference":"ValueSet/us-core-clinical-note-type"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-encounter-status.html"}],"reference":{"reference":"SearchParameter/us-core-encounter-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ConceptMap"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ConceptMap-ndc-cvx.html"}],"reference":{"reference":"ConceptMap/ndc-cvx"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:extension"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-ethnicity.html"}],"reference":{"reference":"StructureDefinition/us-core-ethnicity"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-careplan-status.html"}],"reference":{"reference":"SearchParameter/us-core-careplan-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-careplan.html"}],"reference":{"reference":"StructureDefinition/us-core-careplan"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-condition-patient.html"}],"reference":{"reference":"SearchParameter/us-core-condition-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-allergyintolerance-patient.html"}],"reference":{"reference":"SearchParameter/us-core-allergyintolerance-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-device-patient.html"}],"reference":{"reference":"SearchParameter/us-core-device-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-condition-code.html"}],"reference":{"reference":"SearchParameter/us-core-condition-code"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-observation-patient.html"}],"reference":{"reference":"SearchParameter/us-core-observation-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-race.html"}],"reference":{"reference":"SearchParameter/us-core-race"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-careplan-patient.html"}],"reference":{"reference":"SearchParameter/us-core-careplan-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-patient-family.html"}],"reference":{"reference":"SearchParameter/us-core-patient-family"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-smokingstatus.html"}],"reference":{"reference":"StructureDefinition/us-core-smokingstatus"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-medicationrequest-status.html"}],"reference":{"reference":"SearchParameter/us-core-medicationrequest-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:extension"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-race.html"}],"reference":{"reference":"StructureDefinition/us-core-race"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-location-address-postalcode.html"}],"reference":{"reference":"SearchParameter/us-core-location-address-postalcode"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-encounter-id.html"}],"reference":{"reference":"SearchParameter/us-core-encounter-id"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-medicationrequest-authoredon.html"}],"reference":{"reference":"SearchParameter/us-core-medicationrequest-authoredon"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-documentreference-status.html"}],"reference":{"reference":"SearchParameter/us-core-documentreference-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-documentreference-category.html"}],"reference":{"reference":"ValueSet/us-core-documentreference-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-procedure-patient.html"}],"reference":{"reference":"SearchParameter/us-core-procedure-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-goal-target-date.html"}],"reference":{"reference":"SearchParameter/us-core-goal-target-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-diagnosticreport-patient.html"}],"reference":{"reference":"SearchParameter/us-core-diagnosticreport-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-careplan-date.html"}],"reference":{"reference":"SearchParameter/us-core-careplan-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-careteam-patient.html"}],"reference":{"reference":"SearchParameter/us-core-careteam-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-organization.html"}],"reference":{"reference":"StructureDefinition/us-core-organization"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-immunization-date.html"}],"reference":{"reference":"SearchParameter/us-core-immunization-date"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-encounter-identifier.html"}],"reference":{"reference":"SearchParameter/us-core-encounter-identifier"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-practitionerrole-specialty.html"}],"reference":{"reference":"SearchParameter/us-core-practitionerrole-specialty"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-patient-name.html"}],"reference":{"reference":"SearchParameter/us-core-patient-name"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-device-type.html"}],"reference":{"reference":"SearchParameter/us-core-device-type"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-procedure-code.html"}],"reference":{"reference":"ValueSet/us-core-procedure-code"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-diagnosticreport-lab.html"}],"reference":{"reference":"StructureDefinition/us-core-diagnosticreport-lab"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-goal-patient.html"}],"reference":{"reference":"SearchParameter/us-core-goal-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-simple-language.html"}],"reference":{"reference":"ValueSet/simple-language"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-immunization-patient.html"}],"reference":{"reference":"SearchParameter/us-core-immunization-patient"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-condition.html"}],"reference":{"reference":"StructureDefinition/us-core-condition"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-pediatric-weight-for-height.html"}],"reference":{"reference":"StructureDefinition/pediatric-weight-for-height"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-observation-value-codes.html"}],"reference":{"reference":"ValueSet/us-core-observation-value-codes"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-patient-id.html"}],"reference":{"reference":"SearchParameter/us-core-patient-id"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-location-address-city.html"}],"reference":{"reference":"SearchParameter/us-core-location-address-city"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-goal.html"}],"reference":{"reference":"StructureDefinition/us-core-goal"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-careteam-status.html"}],"reference":{"reference":"SearchParameter/us-core-careteam-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CodeSystem"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CodeSystem-us-core-documentreference-category.html"}],"reference":{"reference":"CodeSystem/us-core-documentreference-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CodeSystem"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CodeSystem-us-core-provenance-participant-type.html"}],"reference":{"reference":"CodeSystem/us-core-provenance-participant-type"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-us-core-diagnosticreport-lab-codes.html"}],"reference":{"reference":"ValueSet/us-core-diagnosticreport-lab-codes"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CodeSystem"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CodeSystem-careplan-category.html"}],"reference":{"reference":"CodeSystem/careplan-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-documentreference-category.html"}],"reference":{"reference":"SearchParameter/us-core-documentreference-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"CapabilityStatement"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"CapabilityStatement-us-core-client.html"}],"reference":{"reference":"CapabilityStatement/us-core-client"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-practitioner-identifier.html"}],"reference":{"reference":"SearchParameter/us-core-practitioner-identifier"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-patient-identifier.html"}],"reference":{"reference":"SearchParameter/us-core-patient-identifier"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-condition-category.html"}],"reference":{"reference":"SearchParameter/us-core-condition-category"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"SearchParameter"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"SearchParameter-us-core-immunization-status.html"}],"reference":{"reference":"SearchParameter/us-core-immunization-status"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-medicationrequest.html"}],"reference":{"reference":"StructureDefinition/us-core-medicationrequest"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"StructureDefinition:resource"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"StructureDefinition-us-core-implantable-device.html"}],"reference":{"reference":"StructureDefinition/us-core-implantable-device"},"exampleBoolean":false},{"extension":[{"url":"http://hl7.org/fhir/tools/StructureDefinition/resource-information","valueString":"ValueSet"},{"url":"http://hl7.org/fhir/StructureDefinition/implementationguide-page","valueUri":"ValueSet-detailed-race.html"}],"reference":{"reference":"ValueSet/detailed-race"},"exampleBoolean":false}],"page":{"nameUrl":"index.html","title":"Home","generation":"markdown","page":[{"nameUrl":"guidance.html","title":"Guidance","generation":"markdown","page":[{"nameUrl":"general-guidance.html","title":"General Guidance","generation":"markdown"},{"nameUrl":"clinical-notes-guidance.html","title":"Clinical Notes Guidance","generation":"markdown"},{"nameUrl":"all-meds.html","title":"Medication List Guidance","generation":"markdown"},{"nameUrl":"basic-provenance.html","title":"Basic Provenance","generation":"markdown"},{"nameUrl":"r2-r4-guidance.html","title":"DSTU2 to R4 Conversion","generation":"markdown"},{"nameUrl":"future-of-us-core.html","title":"Future of US Core","generation":"markdown"}]},{"nameUrl":"profiles.html","title":"Profiles and Extensions","generation":"markdown","page":[{"nameUrl":"StructureDefinition-us-core-immunization.html","title":"StructureDefinition US Core Immunization","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-practitionerrole.html","title":"StructureDefinition US Core PractitionerRole","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-observation-lab.html","title":"StructureDefinition US Core Observation Lab","generation":"generated"},{"nameUrl":"StructureDefinition-pediatric-bmi-for-age.html","title":"StructureDefinition Pediatric BMI For Age","generation":"generated"},{"nameUrl":"StructureDefinition-head-occipital-frontal-circumference-percentile.html","title":"StructureDefinition Pediatric Head Occipital-frontal Circumference Percentile","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-allergyintolerance.html","title":"StructureDefinition US Core AllergyIntolerance","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-practitioner.html","title":"StructureDefinition US Core Practitioner","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-diagnosticreport-note.html","title":"StructureDefinition US Core DiagnosticReport Note","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-provenance.html","title":"StructureDefinition US Core Provenance","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-birthsex.html","title":"StructureDefinition US Core Birthsex","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-encounter.html","title":"StructureDefinition US Core Encounter","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-patient.html","title":"StructureDefinition US Core Patient","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-pulse-oximetry.html","title":"StructureDefinition US Core Pulse Oximetry","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-location.html","title":"StructureDefinition US Core Location","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-procedure.html","title":"StructureDefinition US Core Procedure","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-medication.html","title":"StructureDefinition US Core Medication","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-documentreference.html","title":"StructureDefinition US Core DocumentReference","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-direct.html","title":"StructureDefinition US Core Direct","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-careteam.html","title":"StructureDefinition US Core CareTeam","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-ethnicity.html","title":"StructureDefinition US Core Ethnicity","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-careplan.html","title":"StructureDefinition US Core CarePlan","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-smokingstatus.html","title":"StructureDefinition US Core Smokingstatus","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-race.html","title":"StructureDefinition US Core Race","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-organization.html","title":"StructureDefinition US Core Organization","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-diagnosticreport-lab.html","title":"StructureDefinition US Core DiagnosticReport Lab","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-condition.html","title":"StructureDefinition US Core Condition","generation":"generated"},{"nameUrl":"StructureDefinition-pediatric-weight-for-height.html","title":"StructureDefinition Pediatric Weight For Height","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-goal.html","title":"StructureDefinition US Core Goal","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-medicationrequest.html","title":"StructureDefinition US Core MedicationRequest","generation":"generated"},{"nameUrl":"StructureDefinition-us-core-implantable-device.html","title":"StructureDefinition US Core Implantable Device","generation":"generated"}]},{"nameUrl":"operations.html","title":"Operations","generation":"markdown","page":[{"nameUrl":"OperationDefinition-docref.html","title":"OperationDefinition Docref","generation":"generated"}]},{"nameUrl":"terminology.html","title":"Terminology","generation":"markdown","page":[{"nameUrl":"ValueSet-us-core-medication-codes.html","title":"ValueSet US Core Medication Codes","generation":"generated"},{"nameUrl":"ValueSet-us-core-observation-smokingstatus.html","title":"ValueSet US Core Observation Smokingstatus Preferred","generation":"generated"},{"nameUrl":"ValueSet-us-core-observation-smokingstatus-max.html","title":"ValueSet US Core Observation Smokingstatus Max-Binding","generation":"generated"},{"nameUrl":"ValueSet-omb-race-category.html","title":"ValueSet Omb Race Category","generation":"generated"},{"nameUrl":"ValueSet-us-core-allergy-substance.html","title":"ValueSet US Core Allergy Substance","generation":"generated"},{"nameUrl":"ValueSet-us-core-narrative-status.html","title":"ValueSet US Core Narrative Status","generation":"generated"},{"nameUrl":"ValueSet-us-core-documentreference-type.html","title":"ValueSet US Core DocumentReference Type","generation":"generated"},{"nameUrl":"ValueSet-omb-ethnicity-category.html","title":"ValueSet Omb Ethnicity Category","generation":"generated"},{"nameUrl":"ValueSet-us-core-condition-category.html","title":"ValueSet US Core Condition Category","generation":"generated"},{"nameUrl":"ValueSet-detailed-ethnicity.html","title":"ValueSet Detailed Ethnicity","generation":"generated"},{"nameUrl":"ValueSet-us-core-ndc-vaccine-codes.html","title":"ValueSet US Core Ndc Vaccine Codes","generation":"generated"},{"nameUrl":"ValueSet-us-core-procedure-icd10pcs.html","title":"ValueSet US Core Procedure Icd10pcs","generation":"generated"},{"nameUrl":"ValueSet-us-core-provider-specialty.html","title":"ValueSet US Core Provider Specialty","generation":"generated"},{"nameUrl":"ValueSet-us-core-vaccines-cvx.html","title":"ValueSet US Core Vaccines Cvx","generation":"generated"},{"nameUrl":"ValueSet-us-core-observation-smoking-status-status.html","title":"ValueSet US Core Observation SmokingStatus Status","generation":"generated"},{"nameUrl":"ValueSet-us-core-usps-state.html","title":"ValueSet US Core Usps State","generation":"generated"},{"nameUrl":"ValueSet-us-core-encounter-type.html","title":"ValueSet US Core Encounter Type","generation":"generated"},{"nameUrl":"ValueSet-us-core-condition-code.html","title":"ValueSet US Core Condition Code","generation":"generated"},{"nameUrl":"ValueSet-birthsex.html","title":"ValueSet Birthsex","generation":"generated"},{"nameUrl":"ValueSet-us-core-diagnosticreport-report-and-note-codes.html","title":"ValueSet US Core DiagnosticReport Report And Note Codes","generation":"generated"},{"nameUrl":"ValueSet-us-core-provider-role.html","title":"ValueSet US Core Provider Role","generation":"generated"},{"nameUrl":"ValueSet-us-core-smoking-status-observation-codes.html","title":"ValueSet US Core Smoking Status Observation Codes","generation":"generated"},{"nameUrl":"ValueSet-us-core-careteam-provider-roles.html","title":"ValueSet US Core CareTeam Provider Roles","generation":"generated"},{"nameUrl":"ValueSet-us-core-diagnosticreport-category.html","title":"ValueSet US Core DiagnosticReport Category","generation":"generated"},{"nameUrl":"ValueSet-us-core-clinical-note-type.html","title":"ValueSet US Core Clinical Note Type","generation":"generated"},{"nameUrl":"ValueSet-us-core-documentreference-category.html","title":"ValueSet US Core DocumentReference Category","generation":"generated"},{"nameUrl":"ValueSet-us-core-procedure-code.html","title":"ValueSet US Core Procedure Code","generation":"generated"},{"nameUrl":"ValueSet-simple-language.html","title":"ValueSet Simple Language","generation":"generated"},{"nameUrl":"ValueSet-us-core-observation-value-codes.html","title":"ValueSet US Core Observation Value Codes","generation":"generated"},{"nameUrl":"ValueSet-us-core-diagnosticreport-lab-codes.html","title":"ValueSet US Core DiagnosticReport Lab Codes","generation":"generated"},{"nameUrl":"ValueSet-detailed-race.html","title":"ValueSet Detailed Race","generation":"generated"},{"nameUrl":"CodeSystem-cdcrec.html","title":"CodeSystem Cdcrec","generation":"generated"},{"nameUrl":"CodeSystem-condition-category.html","title":"CodeSystem Condition Category","generation":"generated"},{"nameUrl":"CodeSystem-us-core-documentreference-category.html","title":"CodeSystem US Core DocumentReference Category","generation":"generated"},{"nameUrl":"CodeSystem-careplan-category.html","title":"CodeSystem CarePlan Category","generation":"generated"},{"nameUrl":"ConceptMap-ndc-cvx.html","title":"ConceptMap Ndc Cvx","generation":"generated"}]},{"nameUrl":"searchparameters.html","title":"Search Parameters","generation":"markdown","page":[{"nameUrl":"SearchParameter-us-core-location-address-state.html","title":"SearchParameter US Core Location Address State","generation":"generated"},{"nameUrl":"SearchParameter-us-core-practitionerrole-practitioner.html","title":"SearchParameter US Core PractitionerRole Practitioner","generation":"generated"},{"nameUrl":"SearchParameter-us-core-organization-name.html","title":"SearchParameter US Core Organization Name","generation":"generated"},{"nameUrl":"SearchParameter-us-core-diagnosticreport-code.html","title":"SearchParameter US Core DiagnosticReport Code","generation":"generated"},{"nameUrl":"SearchParameter-us-core-goal-lifecycle-status.html","title":"SearchParameter US Core Goal Lifecycle Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-procedure-code.html","title":"SearchParameter US Core Procedure Code","generation":"generated"},{"nameUrl":"SearchParameter-us-core-patient-gender.html","title":"SearchParameter US Core Patient Gender","generation":"generated"},{"nameUrl":"SearchParameter-us-core-condition-clinical-status.html","title":"SearchParameter US Core Condition Clinical Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-documentreference-id.html","title":"SearchParameter US Core DocumentReference Id","generation":"generated"},{"nameUrl":"SearchParameter-us-core-careplan-category.html","title":"SearchParameter US Core CarePlan Category","generation":"generated"},{"nameUrl":"SearchParameter-us-core-encounter-class.html","title":"SearchParameter US Core Encounter Class","generation":"generated"},{"nameUrl":"SearchParameter-us-core-medicationrequest-patient.html","title":"SearchParameter US Core MedicationRequest Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-documentreference-patient.html","title":"SearchParameter US Core DocumentReference Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-diagnosticreport-date.html","title":"SearchParameter US Core DiagnosticReport Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-procedure-date.html","title":"SearchParameter US Core Procedure Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-allergyintolerance-clinical-status.html","title":"SearchParameter US Core AllergyIntolerance Clinical Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-documentreference-date.html","title":"SearchParameter US Core DocumentReference Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-medicationrequest-intent.html","title":"SearchParameter US Core MedicationRequest Intent","generation":"generated"},{"nameUrl":"SearchParameter-us-core-location-address.html","title":"SearchParameter US Core Location Address","generation":"generated"},{"nameUrl":"SearchParameter-us-core-practitioner-name.html","title":"SearchParameter US Core Practitioner Name","generation":"generated"},{"nameUrl":"SearchParameter-us-core-documentreference-period.html","title":"SearchParameter US Core DocumentReference Period","generation":"generated"},{"nameUrl":"SearchParameter-us-core-observation-code.html","title":"SearchParameter US Core Observation Code","generation":"generated"},{"nameUrl":"SearchParameter-us-core-location-name.html","title":"SearchParameter US Core Location Name","generation":"generated"},{"nameUrl":"SearchParameter-us-core-condition-onset-date.html","title":"SearchParameter US Core Condition Onset Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-patient-given.html","title":"SearchParameter US Core Patient Given","generation":"generated"},{"nameUrl":"SearchParameter-us-core-encounter-type.html","title":"SearchParameter US Core Encounter Type","generation":"generated"},{"nameUrl":"SearchParameter-us-core-medicationrequest-encounter.html","title":"SearchParameter US Core MedicationRequest Encounter","generation":"generated"},{"nameUrl":"SearchParameter-us-core-encounter-patient.html","title":"SearchParameter US Core Encounter Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-organization-address.html","title":"SearchParameter US Core Organization Address","generation":"generated"},{"nameUrl":"SearchParameter-us-core-observation-category.html","title":"SearchParameter US Core Observation Category","generation":"generated"},{"nameUrl":"SearchParameter-us-core-diagnosticreport-status.html","title":"SearchParameter US Core DiagnosticReport Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-observation-date.html","title":"SearchParameter US Core Observation Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-diagnosticreport-category.html","title":"SearchParameter US Core DiagnosticReport Category","generation":"generated"},{"nameUrl":"SearchParameter-us-core-observation-status.html","title":"SearchParameter US Core Observation Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-ethnicity.html","title":"SearchParameter US Core Ethnicity","generation":"generated"},{"nameUrl":"SearchParameter-us-core-documentreference-type.html","title":"SearchParameter US Core DocumentReference Type","generation":"generated"},{"nameUrl":"SearchParameter-us-core-encounter-date.html","title":"SearchParameter US Core Encounter Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-patient-birthdate.html","title":"SearchParameter US Core Patient Birthdate","generation":"generated"},{"nameUrl":"SearchParameter-us-core-procedure-status.html","title":"SearchParameter US Core Procedure Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-encounter-status.html","title":"SearchParameter US Core Encounter Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-careplan-status.html","title":"SearchParameter US Core CarePlan Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-condition-patient.html","title":"SearchParameter US Core Condition Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-allergyintolerance-patient.html","title":"SearchParameter US Core AllergyIntolerance Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-device-patient.html","title":"SearchParameter US Core Device Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-condition-code.html","title":"SearchParameter US Core Condition Code","generation":"generated"},{"nameUrl":"SearchParameter-us-core-observation-patient.html","title":"SearchParameter US Core Observation Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-race.html","title":"SearchParameter US Core Race","generation":"generated"},{"nameUrl":"SearchParameter-us-core-careplan-patient.html","title":"SearchParameter US Core CarePlan Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-patient-family.html","title":"SearchParameter US Core Patient Family","generation":"generated"},{"nameUrl":"SearchParameter-us-core-medicationrequest-status.html","title":"SearchParameter US Core MedicationRequest Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-location-address-postalcode.html","title":"SearchParameter US Core Location Address Postalcode","generation":"generated"},{"nameUrl":"SearchParameter-us-core-encounter-id.html","title":"SearchParameter US Core Encounter Id","generation":"generated"},{"nameUrl":"SearchParameter-us-core-medicationrequest-authoredon.html","title":"SearchParameter US Core MedicationRequest Authoredon","generation":"generated"},{"nameUrl":"SearchParameter-us-core-documentreference-status.html","title":"SearchParameter US Core DocumentReference Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-procedure-patient.html","title":"SearchParameter US Core Procedure Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-goal-target-date.html","title":"SearchParameter US Core Goal Target Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-diagnosticreport-patient.html","title":"SearchParameter US Core DiagnosticReport Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-careplan-date.html","title":"SearchParameter US Core CarePlan Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-careteam-patient.html","title":"SearchParameter US Core CareTeam Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-immunization-date.html","title":"SearchParameter US Core Immunization Date","generation":"generated"},{"nameUrl":"SearchParameter-us-core-encounter-identifier.html","title":"SearchParameter US Core Encounter Identifier","generation":"generated"},{"nameUrl":"SearchParameter-us-core-practitionerrole-specialty.html","title":"SearchParameter US Core PractitionerRole Specialty","generation":"generated"},{"nameUrl":"SearchParameter-us-core-patient-name.html","title":"SearchParameter US Core Patient Name","generation":"generated"},{"nameUrl":"SearchParameter-us-core-device-type.html","title":"SearchParameter US Core Device Type","generation":"generated"},{"nameUrl":"SearchParameter-us-core-goal-patient.html","title":"SearchParameter US Core Goal Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-immunization-patient.html","title":"SearchParameter US Core Immunization Patient","generation":"generated"},{"nameUrl":"SearchParameter-us-core-patient-id.html","title":"SearchParameter US Core Patient Id","generation":"generated"},{"nameUrl":"SearchParameter-us-core-location-address-city.html","title":"SearchParameter US Core Location Address City","generation":"generated"},{"nameUrl":"SearchParameter-us-core-careteam-status.html","title":"SearchParameter US Core CareTeam Status","generation":"generated"},{"nameUrl":"SearchParameter-us-core-documentreference-category.html","title":"SearchParameter US Core DocumentReference Category","generation":"generated"},{"nameUrl":"SearchParameter-us-core-practitioner-identifier.html","title":"SearchParameter US Core Practitioner Identifier","generation":"generated"},{"nameUrl":"SearchParameter-us-core-patient-identifier.html","title":"SearchParameter US Core Patient Identifier","generation":"generated"},{"nameUrl":"SearchParameter-us-core-condition-category.html","title":"SearchParameter US Core Condition Category","generation":"generated"},{"nameUrl":"SearchParameter-us-core-immunization-status.html","title":"SearchParameter US Core Immunization Status","generation":"generated"}]},{"nameUrl":"capstatements.html","title":"Capability Statements","generation":"markdown","page":[{"nameUrl":"CapabilityStatement-us-core-server.html","title":"CapabilityStatement US Core Server","generation":"generated"},{"nameUrl":"CapabilityStatement-us-core-client.html","title":"CapabilityStatement US Core Client","generation":"generated"}]},{"nameUrl":"security.html","title":"Security","generation":"markdown"},{"nameUrl":"downloads.html","title":"Downloads","generation":"markdown"},{"nameUrl":"all-examples.html","title":"All Examples","generation":"markdown"},{"nameUrl":"toc.html","title":"Table of Contents","generation":"html"}]}}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/openapi/us-core-client.openapi.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/openapi/us-core-client.openapi.json deleted file mode 100644 index c9adb188069..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/openapi/us-core-client.openapi.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "openapi": "3.0.2", - "info": { - "title": "US Core Client CapabilityStatement", - "description": "​The Section describes the expected capabilities of the US Core Client which is responsible for creating and initiating the queries for information about an individual patient. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined in the [Conformance Requirements for Server](CapabilityStatement-us-core-server.html). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", - "license": { - "name": "Creative Commons Zero v1.0 Universal", - "url": "http://spdx.org/licenses/CC0-1.0.html" - }, - "version": "3.1.1", - "contact": { - "name": "HL7 International - US Realm Steering Committee" - } - }, - "externalDocs": { - "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-client", - "description": "FHIR CapabilityStatement" - }, - "components": { - "parameters": { - "rid": { - "name": "rid", - "in": "path", - "description": "id of the resource (\u003dResource.id)", - "required": true, - "allowEmptyValue": false, - "style": "simple", - "schema": { - "type": "string" - } - }, - "hid": { - "name": "hid", - "in": "path", - "description": "id of the history entry (\u003dResource.meta.versionId)", - "required": true, - "allowEmptyValue": false, - "style": "simple", - "schema": { - "type": "string" - } - }, - "summary": { - "name": "_summary", - "in": "query", - "description": "Requests the server to return a designated subset of the resource", - "allowEmptyValue": true, - "style": "form", - "schema": { - "type": "string", - "enum": [ - "true", - "text", - "data", - "count", - "false" - ] - } - }, - "format": { - "name": "_format", - "in": "query", - "description": "Specify alternative response formats by their MIME-types (when a client is unable acccess accept: header)", - "allowEmptyValue": true, - "style": "form", - "schema": { - "type": "string", - "format": "mime-type" - } - }, - "pretty": { - "name": "_pretty", - "in": "query", - "description": "Ask for a pretty printed response for human convenience", - "allowEmptyValue": true, - "style": "form", - "schema": { - "type": "boolean" - } - }, - "elements": { - "name": "_elements", - "in": "query", - "description": "Requests the server to return a collection of elements from the resource", - "allowEmptyValue": true, - "style": "form", - "explode": false, - "schema": { - "type": "array", - "format": "string", - "items": { - "format": "string" - } - } - }, - "count": { - "name": "_count", - "in": "query", - "description": "The maximum number of search results on a page. The server is not bound to return the number requested, but cannot return more", - "schema": { - "type": "number" - } - } - } - } -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/openapi/us-core-server.openapi.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/openapi/us-core-server.openapi.json deleted file mode 100644 index 552f0ad702f..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/openapi/us-core-server.openapi.json +++ /dev/null @@ -1,13567 +0,0 @@ -{ - "openapi": "3.0.2", - "info": { - "title": "US Core Server CapabilityStatement", - "description": "This Section describes the expected capabilities of the US Core Server actor which is responsible for providing responses to the queries submitted by the US Core Requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined. Systems implementing this capability statement should meet the ONC 2015 Common Clinical Data Set (CCDS) access requirement for Patient Selection 170.315(g)(7) and Application Access - Data Category Request 170.315(g)(8) and and the ONC [U.S. Core Data for Interoperability (USCDI)](https://www.healthit.gov/isa/sites/isa/files/2020-03/USCDI-Version1-2020-Final-Standard.pdf). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", - "license": { - "name": "Creative Commons Zero v1.0 Universal", - "url": "http://spdx.org/licenses/CC0-1.0.html" - }, - "version": "3.1.1", - "contact": { - "name": "HL7 International - US Realm Steering Committee" - } - }, - "externalDocs": { - "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server", - "description": "FHIR CapabilityStatement" - }, - "paths": { - "/metadata": { - "summary": "Access to the Server\u0027s Capability Statement", - "description": "All FHIR Servers return a CapabilityStatement that describes what services they perform", - "get": { - "summary": "Return the server\u0027s capability statement", - "operationId": "metadata", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the capbility statement", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CapabilityStatement" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/CapabilityStatement.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/AllergyIntolerance": { - "summary": "Manager for resources of type AllergyIntolerance", - "description": "The Manager for resources of type AllergyIntolerance: provides services to manage the collection of all the AllergyIntolerance instances", - "get": { - "summary": "Search all resources of type AllergyIntolerance based on a set of criteria", - "operationId": "searchAllergyIntolerance", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "clinical-status", - "in": "query", - "schema": { - "type": "string" - }, - "description": "active | inactive | resolved\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "patient", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Who the sensitivity is for\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createAllergyIntolerance", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/AllergyIntolerance" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/AllergyIntolerance.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/AllergyIntolerance" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/AllergyIntolerance.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/AllergyIntolerance/{rid}": { - "summary": "Read/Write/etc resource instance of type AllergyIntolerance", - "description": "Access to services to manage the state of a single resource of type AllergyIntolerance", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readAllergyIntolerance", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/AllergyIntolerance" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/AllergyIntolerance.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updateAllergyIntolerance", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/AllergyIntolerance" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/AllergyIntolerance.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/AllergyIntolerance" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/AllergyIntolerance.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchAllergyIntolerance", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/AllergyIntolerance" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/AllergyIntolerance.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/AllergyIntolerance" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/AllergyIntolerance.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deleteAllergyIntolerance", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/AllergyIntolerance/{rid}/_history": { - "summary": "Read past versions of resource instance of type AllergyIntolerance", - "description": "Access to previous versions of a single resource of type AllergyIntolerance", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstAllergyIntolerance", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/AllergyIntolerance/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type AllergyIntolerance", - "description": "Access a to specified previous version of a single resource of type AllergyIntolerance", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadAllergyIntolerance", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/AllergyIntolerance" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/AllergyIntolerance.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/AllergyIntolerance/_history": { - "summary": "Read past versions of resources of type AllergyIntolerance", - "description": "Access to previous versions of resourcez of type AllergyIntolerance", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypeAllergyIntolerance", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/CarePlan": { - "summary": "Manager for resources of type CarePlan", - "description": "The Manager for resources of type CarePlan: provides services to manage the collection of all the CarePlan instances", - "get": { - "summary": "Search all resources of type CarePlan based on a set of criteria", - "operationId": "searchCarePlan", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "category", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Type of plan\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "date", - "in": "query", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - }, - "description": "Time period plan covers\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "patient", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Who the care plan is for\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "status", - "in": "query", - "schema": { - "type": "string" - }, - "description": "draft | active | on-hold | revoked | completed | entered-in-error | unknown\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createCarePlan", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CarePlan" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/CarePlan.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CarePlan" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/CarePlan.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/CarePlan/{rid}": { - "summary": "Read/Write/etc resource instance of type CarePlan", - "description": "Access to services to manage the state of a single resource of type CarePlan", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readCarePlan", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CarePlan" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/CarePlan.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updateCarePlan", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CarePlan" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/CarePlan.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CarePlan" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/CarePlan.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchCarePlan", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CarePlan" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/CarePlan.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CarePlan" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/CarePlan.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deleteCarePlan", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/CarePlan/{rid}/_history": { - "summary": "Read past versions of resource instance of type CarePlan", - "description": "Access to previous versions of a single resource of type CarePlan", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstCarePlan", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/CarePlan/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type CarePlan", - "description": "Access a to specified previous version of a single resource of type CarePlan", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadCarePlan", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CarePlan" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/CarePlan.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/CarePlan/_history": { - "summary": "Read past versions of resources of type CarePlan", - "description": "Access to previous versions of resourcez of type CarePlan", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypeCarePlan", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/CareTeam": { - "summary": "Manager for resources of type CareTeam", - "description": "The Manager for resources of type CareTeam: provides services to manage the collection of all the CareTeam instances", - "get": { - "summary": "Search all resources of type CareTeam based on a set of criteria", - "operationId": "searchCareTeam", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "patient", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Who care team is for\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "status", - "in": "query", - "schema": { - "type": "string" - }, - "description": "proposed | active | suspended | inactive | entered-in-error\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createCareTeam", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CareTeam" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/CareTeam.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CareTeam" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/CareTeam.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/CareTeam/{rid}": { - "summary": "Read/Write/etc resource instance of type CareTeam", - "description": "Access to services to manage the state of a single resource of type CareTeam", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readCareTeam", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CareTeam" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/CareTeam.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updateCareTeam", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CareTeam" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/CareTeam.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CareTeam" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/CareTeam.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchCareTeam", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CareTeam" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/CareTeam.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CareTeam" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/CareTeam.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deleteCareTeam", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/CareTeam/{rid}/_history": { - "summary": "Read past versions of resource instance of type CareTeam", - "description": "Access to previous versions of a single resource of type CareTeam", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstCareTeam", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/CareTeam/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type CareTeam", - "description": "Access a to specified previous version of a single resource of type CareTeam", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadCareTeam", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/CareTeam" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/CareTeam.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/CareTeam/_history": { - "summary": "Read past versions of resources of type CareTeam", - "description": "Access to previous versions of resourcez of type CareTeam", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypeCareTeam", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Condition": { - "summary": "Manager for resources of type Condition", - "description": "The Manager for resources of type Condition: provides services to manage the collection of all the Condition instances", - "get": { - "summary": "Search all resources of type Condition based on a set of criteria", - "operationId": "searchCondition", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "category", - "in": "query", - "schema": { - "type": "string" - }, - "description": "The category of the condition\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "clinical-status", - "in": "query", - "schema": { - "type": "string" - }, - "description": "The clinical status of the condition\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "patient", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Who has the condition?\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "onset-date", - "in": "query", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - }, - "description": "Date related onsets (dateTime and Period)\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "code", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Code for the condition\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createCondition", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Condition" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Condition.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Condition" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Condition.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Condition/{rid}": { - "summary": "Read/Write/etc resource instance of type Condition", - "description": "Access to services to manage the state of a single resource of type Condition", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readCondition", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Condition" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Condition.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updateCondition", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Condition" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Condition.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Condition" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Condition.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchCondition", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Condition" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Condition.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Condition" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Condition.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deleteCondition", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/Condition/{rid}/_history": { - "summary": "Read past versions of resource instance of type Condition", - "description": "Access to previous versions of a single resource of type Condition", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstCondition", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Condition/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type Condition", - "description": "Access a to specified previous version of a single resource of type Condition", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadCondition", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Condition" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Condition.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Condition/_history": { - "summary": "Read past versions of resources of type Condition", - "description": "Access to previous versions of resourcez of type Condition", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypeCondition", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Device": { - "summary": "Manager for resources of type Device", - "description": "The Manager for resources of type Device: provides services to manage the collection of all the Device instances", - "get": { - "summary": "Search all resources of type Device based on a set of criteria", - "operationId": "searchDevice", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "patient", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Patient information, if the resource is affixed to a person\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "type", - "in": "query", - "schema": { - "type": "string" - }, - "description": "The type of the device\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createDevice", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Device" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Device.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Device" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Device.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Device/{rid}": { - "summary": "Read/Write/etc resource instance of type Device", - "description": "Access to services to manage the state of a single resource of type Device", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readDevice", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Device" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Device.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updateDevice", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Device" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Device.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Device" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Device.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchDevice", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Device" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Device.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Device" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Device.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deleteDevice", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/Device/{rid}/_history": { - "summary": "Read past versions of resource instance of type Device", - "description": "Access to previous versions of a single resource of type Device", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstDevice", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Device/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type Device", - "description": "Access a to specified previous version of a single resource of type Device", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadDevice", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Device" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Device.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Device/_history": { - "summary": "Read past versions of resources of type Device", - "description": "Access to previous versions of resourcez of type Device", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypeDevice", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/DiagnosticReport": { - "summary": "Manager for resources of type DiagnosticReport", - "description": "The Manager for resources of type DiagnosticReport: provides services to manage the collection of all the DiagnosticReport instances", - "get": { - "summary": "Search all resources of type DiagnosticReport based on a set of criteria", - "operationId": "searchDiagnosticReport", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "status", - "in": "query", - "schema": { - "type": "string" - }, - "description": "The status of the report\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "patient", - "in": "query", - "schema": { - "type": "string" - }, - "description": "The subject of the report if a patient\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "category", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Which diagnostic discipline/department created the report\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "code", - "in": "query", - "schema": { - "type": "string" - }, - "description": "The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "date", - "in": "query", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - }, - "description": "The clinically relevant time of the report\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createDiagnosticReport", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/DiagnosticReport" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/DiagnosticReport.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/DiagnosticReport" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/DiagnosticReport.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/DiagnosticReport/{rid}": { - "summary": "Read/Write/etc resource instance of type DiagnosticReport", - "description": "Access to services to manage the state of a single resource of type DiagnosticReport", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readDiagnosticReport", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/DiagnosticReport" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/DiagnosticReport.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updateDiagnosticReport", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/DiagnosticReport" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/DiagnosticReport.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/DiagnosticReport" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/DiagnosticReport.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchDiagnosticReport", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/DiagnosticReport" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/DiagnosticReport.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/DiagnosticReport" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/DiagnosticReport.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deleteDiagnosticReport", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/DiagnosticReport/{rid}/_history": { - "summary": "Read past versions of resource instance of type DiagnosticReport", - "description": "Access to previous versions of a single resource of type DiagnosticReport", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstDiagnosticReport", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/DiagnosticReport/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type DiagnosticReport", - "description": "Access a to specified previous version of a single resource of type DiagnosticReport", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadDiagnosticReport", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/DiagnosticReport" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/DiagnosticReport.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/DiagnosticReport/_history": { - "summary": "Read past versions of resources of type DiagnosticReport", - "description": "Access to previous versions of resourcez of type DiagnosticReport", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypeDiagnosticReport", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/DocumentReference": { - "summary": "Manager for resources of type DocumentReference", - "description": "The Manager for resources of type DocumentReference: provides services to manage the collection of all the DocumentReference instances", - "get": { - "summary": "Search all resources of type DocumentReference based on a set of criteria", - "operationId": "searchDocumentReference", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "_id", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Logical id of this artifact\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "status", - "in": "query", - "schema": { - "type": "string" - }, - "description": "current | superseded | entered-in-error\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "patient", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Who/what is the subject of the document\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "category", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Categorization of document\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "type", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Kind of document (LOINC if possible)\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "date", - "in": "query", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - }, - "description": "When this document reference was created\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "period", - "in": "query", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - }, - "description": "Time of service that is being documented\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createDocumentReference", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/DocumentReference" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/DocumentReference.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/DocumentReference" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/DocumentReference.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/DocumentReference/{rid}": { - "summary": "Read/Write/etc resource instance of type DocumentReference", - "description": "Access to services to manage the state of a single resource of type DocumentReference", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readDocumentReference", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/DocumentReference" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/DocumentReference.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updateDocumentReference", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/DocumentReference" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/DocumentReference.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/DocumentReference" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/DocumentReference.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchDocumentReference", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/DocumentReference" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/DocumentReference.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/DocumentReference" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/DocumentReference.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deleteDocumentReference", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/DocumentReference/{rid}/_history": { - "summary": "Read past versions of resource instance of type DocumentReference", - "description": "Access to previous versions of a single resource of type DocumentReference", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstDocumentReference", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/DocumentReference/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type DocumentReference", - "description": "Access a to specified previous version of a single resource of type DocumentReference", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadDocumentReference", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/DocumentReference" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/DocumentReference.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/DocumentReference/_history": { - "summary": "Read past versions of resources of type DocumentReference", - "description": "Access to previous versions of resourcez of type DocumentReference", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypeDocumentReference", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Encounter": { - "summary": "Manager for resources of type Encounter", - "description": "The Manager for resources of type Encounter: provides services to manage the collection of all the Encounter instances", - "get": { - "summary": "Search all resources of type Encounter based on a set of criteria", - "operationId": "searchEncounter", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "_id", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Logical id of this artifact\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "class", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Classification of patient encounter\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "date", - "in": "query", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - }, - "description": "A date within the period the Encounter lasted\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "identifier", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Identifier(s) by which this encounter is known\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "patient", - "in": "query", - "schema": { - "type": "string" - }, - "description": "The patient or group present at the encounter\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "status", - "in": "query", - "schema": { - "type": "string" - }, - "description": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "type", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Specific type of encounter\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createEncounter", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Encounter" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Encounter.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Encounter" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Encounter.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Encounter/{rid}": { - "summary": "Read/Write/etc resource instance of type Encounter", - "description": "Access to services to manage the state of a single resource of type Encounter", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readEncounter", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Encounter" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Encounter.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updateEncounter", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Encounter" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Encounter.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Encounter" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Encounter.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchEncounter", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Encounter" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Encounter.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Encounter" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Encounter.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deleteEncounter", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/Encounter/{rid}/_history": { - "summary": "Read past versions of resource instance of type Encounter", - "description": "Access to previous versions of a single resource of type Encounter", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstEncounter", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Encounter/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type Encounter", - "description": "Access a to specified previous version of a single resource of type Encounter", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadEncounter", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Encounter" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Encounter.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Encounter/_history": { - "summary": "Read past versions of resources of type Encounter", - "description": "Access to previous versions of resourcez of type Encounter", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypeEncounter", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Goal": { - "summary": "Manager for resources of type Goal", - "description": "The Manager for resources of type Goal: provides services to manage the collection of all the Goal instances", - "get": { - "summary": "Search all resources of type Goal based on a set of criteria", - "operationId": "searchGoal", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "lifecycle-status", - "in": "query", - "schema": { - "type": "string" - }, - "description": "proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "patient", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Who this goal is intended for\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "target-date", - "in": "query", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - }, - "description": "Reach goal on or before\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createGoal", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Goal" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Goal.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Goal" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Goal.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Goal/{rid}": { - "summary": "Read/Write/etc resource instance of type Goal", - "description": "Access to services to manage the state of a single resource of type Goal", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readGoal", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Goal" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Goal.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updateGoal", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Goal" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Goal.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Goal" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Goal.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchGoal", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Goal" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Goal.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Goal" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Goal.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deleteGoal", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/Goal/{rid}/_history": { - "summary": "Read past versions of resource instance of type Goal", - "description": "Access to previous versions of a single resource of type Goal", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstGoal", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Goal/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type Goal", - "description": "Access a to specified previous version of a single resource of type Goal", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadGoal", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Goal" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Goal.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Goal/_history": { - "summary": "Read past versions of resources of type Goal", - "description": "Access to previous versions of resourcez of type Goal", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypeGoal", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Immunization": { - "summary": "Manager for resources of type Immunization", - "description": "The Manager for resources of type Immunization: provides services to manage the collection of all the Immunization instances", - "get": { - "summary": "Search all resources of type Immunization based on a set of criteria", - "operationId": "searchImmunization", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "patient", - "in": "query", - "schema": { - "type": "string" - }, - "description": "The patient for the vaccination record\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "status", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Immunization event status\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "date", - "in": "query", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - }, - "description": "Vaccination (non)-Administration Date\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createImmunization", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Immunization" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Immunization.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Immunization" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Immunization.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Immunization/{rid}": { - "summary": "Read/Write/etc resource instance of type Immunization", - "description": "Access to services to manage the state of a single resource of type Immunization", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readImmunization", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Immunization" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Immunization.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updateImmunization", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Immunization" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Immunization.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Immunization" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Immunization.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchImmunization", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Immunization" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Immunization.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Immunization" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Immunization.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deleteImmunization", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/Immunization/{rid}/_history": { - "summary": "Read past versions of resource instance of type Immunization", - "description": "Access to previous versions of a single resource of type Immunization", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstImmunization", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Immunization/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type Immunization", - "description": "Access a to specified previous version of a single resource of type Immunization", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadImmunization", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Immunization" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Immunization.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Immunization/_history": { - "summary": "Read past versions of resources of type Immunization", - "description": "Access to previous versions of resourcez of type Immunization", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypeImmunization", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Location": { - "summary": "Manager for resources of type Location", - "description": "The Manager for resources of type Location: provides services to manage the collection of all the Location instances", - "get": { - "summary": "Search all resources of type Location based on a set of criteria", - "operationId": "searchLocation", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "name", - "in": "query", - "schema": { - "type": "string" - }, - "description": "A portion of the location\u0027s name or alias\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "address", - "in": "query", - "schema": { - "type": "string" - }, - "description": "A (part of the) address of the location\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "address-city", - "in": "query", - "schema": { - "type": "string" - }, - "description": "A city specified in an address\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "address-state", - "in": "query", - "schema": { - "type": "string" - }, - "description": "A state specified in an address\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "address-postalcode", - "in": "query", - "schema": { - "type": "string" - }, - "description": "A postal code specified in an address\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createLocation", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Location" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Location.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Location" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Location.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Location/{rid}": { - "summary": "Read/Write/etc resource instance of type Location", - "description": "Access to services to manage the state of a single resource of type Location", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readLocation", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Location" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Location.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updateLocation", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Location" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Location.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Location" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Location.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchLocation", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Location" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Location.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Location" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Location.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deleteLocation", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/Location/{rid}/_history": { - "summary": "Read past versions of resource instance of type Location", - "description": "Access to previous versions of a single resource of type Location", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstLocation", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Location/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type Location", - "description": "Access a to specified previous version of a single resource of type Location", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadLocation", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Location" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Location.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Location/_history": { - "summary": "Read past versions of resources of type Location", - "description": "Access to previous versions of resourcez of type Location", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypeLocation", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Medication": { - "summary": "Manager for resources of type Medication", - "description": "The Manager for resources of type Medication: provides services to manage the collection of all the Medication instances", - "get": { - "summary": "Search all resources of type Medication based on a set of criteria", - "operationId": "searchMedication", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createMedication", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Medication" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Medication.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Medication" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Medication.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Medication/{rid}": { - "summary": "Read/Write/etc resource instance of type Medication", - "description": "Access to services to manage the state of a single resource of type Medication", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readMedication", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Medication" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Medication.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updateMedication", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Medication" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Medication.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Medication" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Medication.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchMedication", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Medication" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Medication.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Medication" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Medication.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deleteMedication", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/Medication/{rid}/_history": { - "summary": "Read past versions of resource instance of type Medication", - "description": "Access to previous versions of a single resource of type Medication", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstMedication", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Medication/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type Medication", - "description": "Access a to specified previous version of a single resource of type Medication", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadMedication", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Medication" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Medication.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Medication/_history": { - "summary": "Read past versions of resources of type Medication", - "description": "Access to previous versions of resourcez of type Medication", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypeMedication", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/MedicationRequest": { - "summary": "Manager for resources of type MedicationRequest", - "description": "The Manager for resources of type MedicationRequest: provides services to manage the collection of all the MedicationRequest instances", - "get": { - "summary": "Search all resources of type MedicationRequest based on a set of criteria", - "operationId": "searchMedicationRequest", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "status", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Status of the prescription\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "intent", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Returns prescriptions with different intents\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "patient", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Returns prescriptions for a specific patient\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "encounter", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Return prescriptions with this encounter identifier\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "authoredon", - "in": "query", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - }, - "description": "Return prescriptions written on this date\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createMedicationRequest", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/MedicationRequest" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/MedicationRequest.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/MedicationRequest" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/MedicationRequest.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/MedicationRequest/{rid}": { - "summary": "Read/Write/etc resource instance of type MedicationRequest", - "description": "Access to services to manage the state of a single resource of type MedicationRequest", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readMedicationRequest", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/MedicationRequest" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/MedicationRequest.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updateMedicationRequest", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/MedicationRequest" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/MedicationRequest.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/MedicationRequest" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/MedicationRequest.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchMedicationRequest", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/MedicationRequest" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/MedicationRequest.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/MedicationRequest" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/MedicationRequest.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deleteMedicationRequest", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/MedicationRequest/{rid}/_history": { - "summary": "Read past versions of resource instance of type MedicationRequest", - "description": "Access to previous versions of a single resource of type MedicationRequest", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstMedicationRequest", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/MedicationRequest/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type MedicationRequest", - "description": "Access a to specified previous version of a single resource of type MedicationRequest", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadMedicationRequest", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/MedicationRequest" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/MedicationRequest.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/MedicationRequest/_history": { - "summary": "Read past versions of resources of type MedicationRequest", - "description": "Access to previous versions of resourcez of type MedicationRequest", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypeMedicationRequest", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Observation": { - "summary": "Manager for resources of type Observation", - "description": "The Manager for resources of type Observation: provides services to manage the collection of all the Observation instances", - "get": { - "summary": "Search all resources of type Observation based on a set of criteria", - "operationId": "searchObservation", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "status", - "in": "query", - "schema": { - "type": "string" - }, - "description": "The status of the observation\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "category", - "in": "query", - "schema": { - "type": "string" - }, - "description": "The classification of the type of observation\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "code", - "in": "query", - "schema": { - "type": "string" - }, - "description": "The code of the observation type\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "date", - "in": "query", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - }, - "description": "Obtained date/time. If the obtained element is a period, a date that falls in the period\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "patient", - "in": "query", - "schema": { - "type": "string" - }, - "description": "The subject that the observation is about (if patient)\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createObservation", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Observation" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Observation.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Observation" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Observation.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Observation/{rid}": { - "summary": "Read/Write/etc resource instance of type Observation", - "description": "Access to services to manage the state of a single resource of type Observation", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readObservation", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Observation" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Observation.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updateObservation", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Observation" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Observation.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Observation" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Observation.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchObservation", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Observation" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Observation.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Observation" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Observation.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deleteObservation", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/Observation/{rid}/_history": { - "summary": "Read past versions of resource instance of type Observation", - "description": "Access to previous versions of a single resource of type Observation", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstObservation", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Observation/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type Observation", - "description": "Access a to specified previous version of a single resource of type Observation", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadObservation", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Observation" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Observation.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Observation/_history": { - "summary": "Read past versions of resources of type Observation", - "description": "Access to previous versions of resourcez of type Observation", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypeObservation", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Organization": { - "summary": "Manager for resources of type Organization", - "description": "The Manager for resources of type Organization: provides services to manage the collection of all the Organization instances", - "get": { - "summary": "Search all resources of type Organization based on a set of criteria", - "operationId": "searchOrganization", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "name", - "in": "query", - "schema": { - "type": "string" - }, - "description": "A portion of the organization\u0027s name or alias\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "address", - "in": "query", - "schema": { - "type": "string" - }, - "description": "A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createOrganization", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Organization" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Organization.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Organization" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Organization.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Organization/{rid}": { - "summary": "Read/Write/etc resource instance of type Organization", - "description": "Access to services to manage the state of a single resource of type Organization", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readOrganization", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Organization" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Organization.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updateOrganization", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Organization" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Organization.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Organization" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Organization.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchOrganization", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Organization" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Organization.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Organization" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Organization.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deleteOrganization", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/Organization/{rid}/_history": { - "summary": "Read past versions of resource instance of type Organization", - "description": "Access to previous versions of a single resource of type Organization", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstOrganization", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Organization/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type Organization", - "description": "Access a to specified previous version of a single resource of type Organization", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadOrganization", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Organization" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Organization.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Organization/_history": { - "summary": "Read past versions of resources of type Organization", - "description": "Access to previous versions of resourcez of type Organization", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypeOrganization", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Patient": { - "summary": "Manager for resources of type Patient", - "description": "The Manager for resources of type Patient: provides services to manage the collection of all the Patient instances", - "get": { - "summary": "Search all resources of type Patient based on a set of criteria", - "operationId": "searchPatient", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "_id", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Logical id of this artifact\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "birthdate", - "in": "query", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - }, - "description": "The patient\u0027s date of birth\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "family", - "in": "query", - "schema": { - "type": "string" - }, - "description": "A portion of the family name of the patient\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "gender", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Gender of the patient\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "given", - "in": "query", - "schema": { - "type": "string" - }, - "description": "A portion of the given name of the patient\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "identifier", - "in": "query", - "schema": { - "type": "string" - }, - "description": "A patient identifier\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "name", - "in": "query", - "schema": { - "type": "string" - }, - "description": "A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createPatient", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Patient" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Patient.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Patient" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Patient.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Patient/{rid}": { - "summary": "Read/Write/etc resource instance of type Patient", - "description": "Access to services to manage the state of a single resource of type Patient", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readPatient", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Patient" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Patient.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updatePatient", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Patient" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Patient.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Patient" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Patient.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchPatient", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Patient" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Patient.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Patient" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Patient.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deletePatient", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/Patient/{rid}/_history": { - "summary": "Read past versions of resource instance of type Patient", - "description": "Access to previous versions of a single resource of type Patient", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstPatient", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Patient/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type Patient", - "description": "Access a to specified previous version of a single resource of type Patient", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadPatient", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Patient" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Patient.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Patient/_history": { - "summary": "Read past versions of resources of type Patient", - "description": "Access to previous versions of resourcez of type Patient", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypePatient", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Practitioner": { - "summary": "Manager for resources of type Practitioner", - "description": "The Manager for resources of type Practitioner: provides services to manage the collection of all the Practitioner instances", - "get": { - "summary": "Search all resources of type Practitioner based on a set of criteria", - "operationId": "searchPractitioner", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "name", - "in": "query", - "schema": { - "type": "string" - }, - "description": "A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "identifier", - "in": "query", - "schema": { - "type": "string" - }, - "description": "A practitioner\u0027s Identifier\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createPractitioner", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Practitioner" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Practitioner.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Practitioner" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Practitioner.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Practitioner/{rid}": { - "summary": "Read/Write/etc resource instance of type Practitioner", - "description": "Access to services to manage the state of a single resource of type Practitioner", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readPractitioner", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Practitioner" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Practitioner.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updatePractitioner", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Practitioner" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Practitioner.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Practitioner" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Practitioner.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchPractitioner", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Practitioner" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Practitioner.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Practitioner" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Practitioner.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deletePractitioner", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/Practitioner/{rid}/_history": { - "summary": "Read past versions of resource instance of type Practitioner", - "description": "Access to previous versions of a single resource of type Practitioner", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstPractitioner", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Practitioner/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type Practitioner", - "description": "Access a to specified previous version of a single resource of type Practitioner", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadPractitioner", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Practitioner" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Practitioner.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Practitioner/_history": { - "summary": "Read past versions of resources of type Practitioner", - "description": "Access to previous versions of resourcez of type Practitioner", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypePractitioner", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/PractitionerRole": { - "summary": "Manager for resources of type PractitionerRole", - "description": "The Manager for resources of type PractitionerRole: provides services to manage the collection of all the PractitionerRole instances", - "get": { - "summary": "Search all resources of type PractitionerRole based on a set of criteria", - "operationId": "searchPractitionerRole", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "specialty", - "in": "query", - "schema": { - "type": "string" - }, - "description": "The practitioner has this specialty at an organization\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "practitioner", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Practitioner that is able to provide the defined services for the organization\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createPractitionerRole", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/PractitionerRole" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/PractitionerRole.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/PractitionerRole" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/PractitionerRole.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/PractitionerRole/{rid}": { - "summary": "Read/Write/etc resource instance of type PractitionerRole", - "description": "Access to services to manage the state of a single resource of type PractitionerRole", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readPractitionerRole", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/PractitionerRole" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/PractitionerRole.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updatePractitionerRole", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/PractitionerRole" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/PractitionerRole.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/PractitionerRole" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/PractitionerRole.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchPractitionerRole", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/PractitionerRole" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/PractitionerRole.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/PractitionerRole" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/PractitionerRole.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deletePractitionerRole", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/PractitionerRole/{rid}/_history": { - "summary": "Read past versions of resource instance of type PractitionerRole", - "description": "Access to previous versions of a single resource of type PractitionerRole", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstPractitionerRole", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/PractitionerRole/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type PractitionerRole", - "description": "Access a to specified previous version of a single resource of type PractitionerRole", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadPractitionerRole", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/PractitionerRole" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/PractitionerRole.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/PractitionerRole/_history": { - "summary": "Read past versions of resources of type PractitionerRole", - "description": "Access to previous versions of resourcez of type PractitionerRole", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypePractitionerRole", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Procedure": { - "summary": "Manager for resources of type Procedure", - "description": "The Manager for resources of type Procedure: provides services to manage the collection of all the Procedure instances", - "get": { - "summary": "Search all resources of type Procedure based on a set of criteria", - "operationId": "searchProcedure", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "name": "status", - "in": "query", - "schema": { - "type": "string" - }, - "description": "preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "patient", - "in": "query", - "schema": { - "type": "string" - }, - "description": "Search by subject - a patient\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "date", - "in": "query", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - }, - "description": "When the procedure was performed\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - }, - { - "name": "code", - "in": "query", - "schema": { - "type": "string" - }, - "description": "A code to identify a procedure\u003cbr /\u003e\n\u003cem\u003eNOTE\u003c/em\u003e: This US Core SearchParameter definition extends the usage context of\n\u003ca href\u003d\"http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html\"\u003ecapabilitystatement-expectation\u003c/a\u003e\n extension to formally express implementer conformance expectations for these elements:\u003cbr /\u003e\n - multipleAnd\u003cbr /\u003e\n - multipleOr\u003cbr /\u003e\n - comparator\u003cbr /\u003e\n - modifier\u003cbr /\u003e\n - chain\u003cbr /\u003e\n\n " - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createProcedure", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Procedure" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Procedure.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Procedure" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Procedure.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Procedure/{rid}": { - "summary": "Read/Write/etc resource instance of type Procedure", - "description": "Access to services to manage the state of a single resource of type Procedure", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readProcedure", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Procedure" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Procedure.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updateProcedure", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Procedure" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Procedure.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Procedure" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Procedure.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchProcedure", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Procedure" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Procedure.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Procedure" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Procedure.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deleteProcedure", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/Procedure/{rid}/_history": { - "summary": "Read past versions of resource instance of type Procedure", - "description": "Access to previous versions of a single resource of type Procedure", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstProcedure", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Procedure/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type Procedure", - "description": "Access a to specified previous version of a single resource of type Procedure", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadProcedure", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Procedure" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Procedure.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Procedure/_history": { - "summary": "Read past versions of resources of type Procedure", - "description": "Access to previous versions of resourcez of type Procedure", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypeProcedure", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Provenance": { - "summary": "Manager for resources of type Provenance", - "description": "The Manager for resources of type Provenance: provides services to manage the collection of all the Provenance instances", - "get": { - "summary": "Search all resources of type Provenance based on a set of criteria", - "operationId": "searchProvenance", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "post": { - "summary": "Create a new resource", - "operationId": "createProvenance", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Provenance" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Provenance.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Provenance" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Provenance.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Provenance/{rid}": { - "summary": "Read/Write/etc resource instance of type Provenance", - "description": "Access to services to manage the state of a single resource of type Provenance", - "get": { - "summary": "Read the current state of the resource", - "operationId": "readProvenance", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Provenance" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Provenance.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Update the current state of the resource", - "operationId": "updateProvenance", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Provenance" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Provenance.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being updated", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Provenance" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Provenance.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "patch": { - "summary": "Change the current state of the resource by providing a patch - a series of change commands", - "operationId": "patchProvenance", - "requestBody": { - "description": "The new state of the resource", - "required": true, - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Provenance" - } - }, - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Parameters" - } - }, - "application/xml-patch+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Provenance.xsd" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Parameters.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned after being patched", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Provenance" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Provenance.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "delete": { - "summary": "Delete the resource so that it no exists (no read, search etc)", - "operationId": "deleteProvenance", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "204": { - "description": "If the resource is deleted - no content is returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag", - "schema": { - "type": "string" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - } - ] - } - }, - "/Provenance/{rid}/_history": { - "summary": "Read past versions of resource instance of type Provenance", - "description": "Access to previous versions of a single resource of type Provenance", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histinstProvenance", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/Provenance/{rid}/_history/{hid}": { - "summary": "Read a past version of resource instance of type Provenance", - "description": "Access a to specified previous version of a single resource of type Provenance", - "get": { - "summary": "Read a past state of the resource", - "operationId": "vreadProvenance", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "headers": { - "ETag": { - "description": "Version from Resource.meta.version as a weak ETag for that version", - "schema": { - "type": "string" - } - } - }, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Provenance" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Provenance.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/rid" - }, - { - "$ref": "#/components/parameters/hid" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - } - }, - "/Provenance/_history": { - "summary": "Read past versions of resources of type Provenance", - "description": "Access to previous versions of resourcez of type Provenance", - "get": { - "summary": "Read the past states of the resource", - "operationId": "histtypeProvenance", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/_history": { - "summary": "Read a past version of resource instance of all types", - "description": "Access a previous versions of all types", - "get": { - "summary": "Read the past states of all resources", - "operationId": "histAll", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resources being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/elements" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "_since", - "in": "query", - "description": "Only include resource versions that were created at or after the given instant in time", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_at", - "in": "query", - "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)", - "schema": { - "type": "string", - "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?" - } - }, - { - "name": "_list", - "in": "query", - "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)", - "schema": { - "type": "string" - } - } - ] - } - }, - "/": { - "summary": "System level operations", - "description": "System level operations", - "get": { - "summary": "Search all resources of all types based on a set of criteria", - "operationId": "searchAll", - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "the resource being returned", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - }, - { - "$ref": "#/components/parameters/summary" - }, - { - "$ref": "#/components/parameters/elements" - } - ] - }, - "put": { - "summary": "Batch or Transaction", - "operationId": "transaction", - "requestBody": { - "description": "The batch or transaction", - "required": true, - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - }, - "responses": { - "default": { - "description": "Error, with details", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/OperationOutcome" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/OperationOutcome.xsd" - } - } - } - }, - "200": { - "description": "Batch or Transaction response", - "content": { - "application/fhir+json": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/fhir.schema.json#/definitions/Bundle" - } - }, - "application/fhir+xml": { - "schema": { - "$ref": "https://hl7.org/fhir/R4/Bundle.xsd" - } - } - } - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/format" - }, - { - "$ref": "#/components/parameters/pretty" - } - ] - } - } - }, - "components": { - "parameters": { - "rid": { - "name": "rid", - "in": "path", - "description": "id of the resource (\u003dResource.id)", - "required": true, - "allowEmptyValue": false, - "style": "simple", - "schema": { - "type": "string" - } - }, - "hid": { - "name": "hid", - "in": "path", - "description": "id of the history entry (\u003dResource.meta.versionId)", - "required": true, - "allowEmptyValue": false, - "style": "simple", - "schema": { - "type": "string" - } - }, - "summary": { - "name": "_summary", - "in": "query", - "description": "Requests the server to return a designated subset of the resource", - "allowEmptyValue": true, - "style": "form", - "schema": { - "type": "string", - "enum": [ - "true", - "text", - "data", - "count", - "false" - ] - } - }, - "format": { - "name": "_format", - "in": "query", - "description": "Specify alternative response formats by their MIME-types (when a client is unable acccess accept: header)", - "allowEmptyValue": true, - "style": "form", - "schema": { - "type": "string", - "format": "mime-type" - } - }, - "pretty": { - "name": "_pretty", - "in": "query", - "description": "Ask for a pretty printed response for human convenience", - "allowEmptyValue": true, - "style": "form", - "schema": { - "type": "boolean" - } - }, - "elements": { - "name": "_elements", - "in": "query", - "description": "Requests the server to return a collection of elements from the resource", - "allowEmptyValue": true, - "style": "form", - "explode": false, - "schema": { - "type": "array", - "format": "string", - "items": { - "format": "string" - } - } - }, - "count": { - "name": "_count", - "in": "query", - "description": "The maximum number of search results on a page. The server is not bound to return the number requested, but cannot return more", - "schema": { - "type": "number" - } - } - } - } -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/package.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/package.json deleted file mode 100644 index 2c76115de26..00000000000 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/package/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "hl7.fhir.us.core", - "version": "3.1.1", - "tools-version": 3, - "type": "fhir.ig", - "date": "20200828105409", - "license": "CC0-1.0", - "canonical": "http://hl7.org/fhir/us/core", - "url": "http://hl7.org/fhir/us/core/STU3.1.1", - "title": "US Core", - "fhirVersions": [ - "4.0.1" - ], - "dependencies": { - "hl7.fhir.r4.core": "4.0.1" - }, - "author": "HL7 International - US Realm Steering Committee", - "directories": { - "lib": "package", - "example": "example" - } -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/ConformsToTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/ConformsToTest.java deleted file mode 100644 index 8c0ee0eb29b..00000000000 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/ConformsToTest.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2019, 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.ig.us.core.test; - -import static org.testng.Assert.assertEquals; - -import java.io.InputStream; -import java.util.List; - -import org.testng.annotations.Test; - -import com.ibm.fhir.model.format.Format; -import com.ibm.fhir.model.parser.FHIRParser; -import com.ibm.fhir.model.resource.OperationOutcome.Issue; -import com.ibm.fhir.model.resource.Patient; -import com.ibm.fhir.validation.FHIRValidator; - -public class ConformsToTest { - @Test - public void testConformsToWithEmptyContext() throws Exception { - try (InputStream in = ConformsToTest.class.getClassLoader().getResourceAsStream("JSON/us-core-patient.json")) { - Patient patient = FHIRParser.parser(Format.JSON).parse(in); - List issues = FHIRValidator.validator().validate(patient); - issues.forEach(System.out::println); - assertEquals(issues.size(), 2); - } - } -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/ConstraintGeneratorTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/ConstraintGeneratorTest.java deleted file mode 100644 index fa706aff21d..00000000000 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/ConstraintGeneratorTest.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2019, 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.ig.us.core.test; - -import static com.ibm.fhir.path.util.FHIRPathUtil.compile; - -import org.testng.annotations.Test; - -import com.ibm.fhir.ig.us.core.USCoreResourceProvider; -import com.ibm.fhir.model.annotation.Constraint; -import com.ibm.fhir.model.resource.StructureDefinition; -import com.ibm.fhir.model.type.Extension; -import com.ibm.fhir.model.util.ModelSupport; -import com.ibm.fhir.profile.ProfileSupport; -import com.ibm.fhir.registry.resource.FHIRRegistryResource; -import com.ibm.fhir.registry.spi.FHIRRegistryResourceProvider; - -public class ConstraintGeneratorTest { - @Test - public static void testConstraintGenerator() throws Exception { - FHIRRegistryResourceProvider provider = new USCoreResourceProvider(); - for (FHIRRegistryResource registryResource : provider.getRegistryResources()) { - if (StructureDefinition.class.equals(registryResource.getResourceType())) { - String url = registryResource.getUrl(); - System.out.println(url); - Class type = ModelSupport.isResourceType(registryResource.getType()) ? ModelSupport.getResourceType(registryResource.getType()) : Extension.class; - for (Constraint constraint : ProfileSupport.getConstraints(url, type)) { - System.out.println(" " + constraint); - if (!Constraint.LOCATION_BASE.equals(constraint.location())) { - compile(constraint.location()); - } - compile(constraint.expression()); - } - } - } - } -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/FHIRRegistryTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/FHIRRegistryTest.java deleted file mode 100644 index 0995fdc2885..00000000000 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/FHIRRegistryTest.java +++ /dev/null @@ -1,21 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2019, 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.ig.us.core.test; - -import org.testng.Assert; -import org.testng.annotations.Test; - -import com.ibm.fhir.model.resource.StructureDefinition; -import com.ibm.fhir.registry.FHIRRegistry; - -public class FHIRRegistryTest { - @Test - public void testRegistry() { - StructureDefinition definition = FHIRRegistry.getInstance().getResource("http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", StructureDefinition.class); - Assert.assertNotNull(definition); - } -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/MedicationRequestTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/MedicationRequestTest.java deleted file mode 100644 index 13987d01aff..00000000000 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/MedicationRequestTest.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.ig.us.core.test; - -import static com.ibm.fhir.validation.util.FHIRValidationUtil.countErrors; - -import java.io.Reader; -import java.util.List; - -import org.testng.Assert; -import org.testng.annotations.Test; - -import com.ibm.fhir.examples.ExamplesUtil; -import com.ibm.fhir.model.format.Format; -import com.ibm.fhir.model.parser.FHIRParser; -import com.ibm.fhir.model.resource.OperationOutcome.Issue; -import com.ibm.fhir.model.resource.Resource; -import com.ibm.fhir.validation.FHIRValidator; - -/** - * This test is used to diagnose and test MedicationRequest which throws an error. - */ -public class MedicationRequestTest { - private String path = "json/profiles/fhir-ig-us-core/MedicationRequest-uscore-mo2.json"; - private Format format = Format.JSON; - - @Test - public void testUSCorePulseOximetry() throws Exception { - try (Reader r = ExamplesUtil.resourceReader(path)) { - Resource resource = FHIRParser.parser(format).parse(r); - List issues = FHIRValidator.validator().validate(resource); - issues.forEach(item -> { - if (item.getSeverity().getValue().equals("error")) { - System.out.println(item); - } - }); - Assert.assertEquals(countErrors(issues), 0); - } catch (Exception e) { - System.out.println("Exception with " + path); - throw e; - } - } -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/ObservationPulseOximetryTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/ObservationPulseOximetryTest.java deleted file mode 100644 index 3f5fef78059..00000000000 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/ObservationPulseOximetryTest.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.ig.us.core.test; - -import static com.ibm.fhir.validation.util.FHIRValidationUtil.countErrors; - -import java.io.Reader; -import java.util.List; - -import org.testng.Assert; -import org.testng.annotations.Test; - -import com.ibm.fhir.examples.ExamplesUtil; -import com.ibm.fhir.model.format.Format; -import com.ibm.fhir.model.parser.FHIRParser; -import com.ibm.fhir.model.resource.OperationOutcome.Issue; -import com.ibm.fhir.model.resource.Resource; -import com.ibm.fhir.validation.FHIRValidator; - -/** - * This test is used to diagnose and test Code 'L/min' is invalid - */ -public class ObservationPulseOximetryTest { - private String path = "json/profiles/fhir-ig-us-core/Observation-satO2-fiO2.json"; - private Format format = Format.JSON; - - @Test - public void testUSCorePulseOximetry() throws Exception { - try (Reader r = ExamplesUtil.resourceReader(path)) { - Resource resource = FHIRParser.parser(format).parse(r); - List issues = FHIRValidator.validator().validate(resource); - issues.forEach(item -> { - if (item.getSeverity().getValue().equals("error")) { - System.out.println(item); - } - }); - Assert.assertEquals(countErrors(issues), 0); - } catch (Exception e) { - System.out.println("Exception with " + path); - throw e; - } - } -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/ProfileTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/ProfileTest.java deleted file mode 100644 index 3114b593234..00000000000 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/ProfileTest.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.ig.us.core.test; - -import static com.ibm.fhir.validation.util.FHIRValidationUtil.countErrors; - -import java.io.BufferedReader; -import java.io.IOException; -import java.io.Reader; -import java.util.ArrayList; -import java.util.List; - -import org.testng.Assert; -import org.testng.annotations.Factory; -import org.testng.annotations.Test; - -import com.ibm.fhir.examples.ExamplesUtil; -import com.ibm.fhir.examples.Index; -import com.ibm.fhir.model.format.Format; -import com.ibm.fhir.model.parser.FHIRParser; -import com.ibm.fhir.model.resource.OperationOutcome.Issue; -import com.ibm.fhir.model.resource.Resource; -import com.ibm.fhir.validation.FHIRValidator; - -public class ProfileTest { - - @SuppressWarnings("unused") - private String expectation = null; - private String path = null; - private Format format = Format.JSON; - - public ProfileTest() { - // No Operation - } - - public ProfileTest(String expectation, String path, boolean json) { - this.expectation = expectation; - this.path = path; - - if (!json) { - this.format = Format.XML; - } - } - - @Test - public void testUSCoreValidation() throws Exception { - try (Reader r = ExamplesUtil.resourceReader(path)) { - System.out.println("US Core Testing -> " + path); - Resource resource = FHIRParser.parser(format).parse(r); - List issues = FHIRValidator.validator().validate(resource); - issues.forEach(item -> { - if (item.getSeverity().getValue().equals("error")) { - System.out.println(item); - } - }); - Assert.assertEquals(countErrors(issues), 0); - } catch (Exception e) { - System.out.println("Exception with " + path); - throw e; - } - } - - @Factory - public Object[] createInstances() { - List result = new ArrayList<>(); - try (BufferedReader br = new BufferedReader(ExamplesUtil.indexReader(Index.PROFILES_US_CORE_JSON))) { - String line; - while ((line = br.readLine()) != null) { - String[] tokens = line.split("\\s+"); - if (tokens.length == 2) { - String expectation = tokens[0]; - String example = tokens[1]; - result.add(new ProfileTest(expectation, example, true)); - } - } - } catch (IOException e) { - e.printStackTrace(); - } - - try (BufferedReader br = new BufferedReader(ExamplesUtil.indexReader(Index.PROFILES_US_CORE_XML))) { - String line; - while ((line = br.readLine()) != null) { - String[] tokens = line.split("\\s+"); - if (tokens.length == 2) { - String expectation = tokens[0]; - String example = tokens[1]; - result.add(new ProfileTest(expectation, example, false)); - } - } - } catch (IOException e) { - e.printStackTrace(); - } - return result.toArray(); - } -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/USCoreCarePlanTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/USCoreCarePlanTest.java deleted file mode 100644 index 62ffe475f61..00000000000 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/USCoreCarePlanTest.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.ig.us.core.test; - -import static org.testng.Assert.assertEquals; -import static org.testng.Assert.assertTrue; - -import java.io.InputStream; -import java.util.List; - -import org.testng.annotations.Test; - -import com.ibm.fhir.model.format.Format; -import com.ibm.fhir.model.parser.FHIRParser; -import com.ibm.fhir.model.resource.CarePlan; -import com.ibm.fhir.model.resource.OperationOutcome.Issue; -import com.ibm.fhir.model.type.code.IssueSeverity; -import com.ibm.fhir.model.type.code.IssueType; -import com.ibm.fhir.validation.FHIRValidator; - -public class USCoreCarePlanTest { - @Test - public void testUSCoreCarePlan() throws Exception { - InputStream in = USCoreCarePlanTest.class.getClassLoader().getResourceAsStream("JSON/us-core-careplan.json"); - CarePlan carePlan = FHIRParser.parser(Format.JSON).parse(in); - List issues = FHIRValidator.validator().validate(carePlan); - issues.forEach(System.out::println); - assertEquals(issues.size(), 1); - assertEquals(issues.get(0).getSeverity(), IssueSeverity.INFORMATION); - assertEquals(issues.get(0).getCode(), IssueType.INFORMATIONAL); - assertTrue(issues.get(0).getDetails().getText().getValue().startsWith("Resource type could not be inferred from reference")); - assertEquals(issues.get(0).getExpression().get(0).getValue(), "CarePlan.subject"); - } -} diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/USCoreEthnicityExtensionTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/USCoreEthnicityExtensionTest.java deleted file mode 100644 index 960aecfc801..00000000000 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/USCoreEthnicityExtensionTest.java +++ /dev/null @@ -1,218 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.ig.us.core.test; - -import static com.ibm.fhir.model.type.String.string; -import static com.ibm.fhir.path.evaluator.FHIRPathEvaluator.SINGLETON_FALSE; -import static com.ibm.fhir.path.evaluator.FHIRPathEvaluator.SINGLETON_TRUE; -import static com.ibm.fhir.validation.util.FHIRValidationUtil.countErrors; -import static com.ibm.fhir.validation.util.FHIRValidationUtil.countInformation; -import static com.ibm.fhir.validation.util.FHIRValidationUtil.countWarnings; - -import java.util.Collection; -import java.util.List; - -import org.testng.Assert; -import org.testng.annotations.Test; - -import com.ibm.fhir.model.resource.OperationOutcome.Issue; -import com.ibm.fhir.model.resource.Patient; -import com.ibm.fhir.model.type.Code; -import com.ibm.fhir.model.type.Coding; -import com.ibm.fhir.model.type.Extension; -import com.ibm.fhir.model.type.HumanName; -import com.ibm.fhir.model.type.Identifier; -import com.ibm.fhir.model.type.Uri; -import com.ibm.fhir.model.type.code.AdministrativeGender; -import com.ibm.fhir.path.FHIRPathNode; -import com.ibm.fhir.path.evaluator.FHIRPathEvaluator; -import com.ibm.fhir.validation.FHIRValidator; - -public class USCoreEthnicityExtensionTest { - /** - * Test the FHIRPath 'conformsTo' function on a valid US Core Ethnicity Extension - */ - @Test - public void testUSCoreEthnicityExtension1() throws Exception { - Extension extension = Extension.builder() - .extension(Extension.builder() - .url("ombCategory") - .value(Coding.builder() - .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) - .code(Code.of("2135-2")) - .display(string("Hispanic or Latino")) - .build()) - .build()) - .extension(Extension.builder() - .url("detailed") - .value(Coding.builder() - .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) - .code(Code.of("2169-1")) - .display(string("Colombian")) - .build()) - .build()) - .extension(Extension.builder() - .url("text") - .value(string("Hispanic or Latino - Colombian")) - .build()) - .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity") - .build(); - - System.out.println(extension); - - FHIRPathEvaluator evaluator = FHIRPathEvaluator.evaluator(); - Collection result = evaluator.evaluate(extension, "conformsTo('http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity')"); - System.out.println("result: " + result); - - List issues = evaluator.getEvaluationContext().getIssues(); - issues.forEach(System.out::println); - - Assert.assertEquals(result, SINGLETON_TRUE); - Assert.assertEquals(issues.size(), 0); - } - - /** - * Test the FHIRPath 'conformsTo' function on a US Core Ethnicity Extension with an invalid detailed ethnicity code - */ - @Test - public void testUSCoreEthnicityExtension2() throws Exception { - Extension extension = Extension.builder() - .extension(Extension.builder() - .url("ombCategory") - .value(Coding.builder() - .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) - .code(Code.of("2135-2")) - .display(string("Hispanic or Latino")) - .build()) - .build()) - .extension(Extension.builder() - .url("detailed") - .value(Coding.builder() - .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) - .code(Code.of("xxx")) - .display(string("Colombian")) - .build()) - .build()) - .extension(Extension.builder() - .url("text") - .value(string("Hispanic or Latino - Colombian")) - .build()) - .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity") - .build(); - - System.out.println(extension); - - FHIRPathEvaluator evaluator = FHIRPathEvaluator.evaluator(); - Collection result = evaluator.evaluate(extension, "conformsTo('http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity')"); - System.out.println("result: " + result); - - List issues = evaluator.getEvaluationContext().getIssues(); - issues.forEach(System.out::println); - - Assert.assertEquals(result, SINGLETON_FALSE); - Assert.assertEquals(issues.size(), 2); - } - - /** - * Test the FHIRValidator on a US Core Patient with a valid US Core Ethnicity Extension - */ - @Test - public void testUSCoreEthnicityExtension3() throws Exception { - Patient patient = Patient.builder() - .extension(Extension.builder() - .extension(Extension.builder() - .url("ombCategory") - .value(Coding.builder() - .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) - .code(Code.of("2135-2")) - .display(string("Hispanic or Latino")) - .build()) - .build()) - .extension(Extension.builder() - .url("detailed") - .value(Coding.builder() - .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) - .code(Code.of("2169-1")) - .display(string("Colombian")) - .build()) - .build()) - .extension(Extension.builder() - .url("text") - .value(string("Hispanic or Latino - Colombian")) - .build()) - .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity") - .build()) - .identifier(Identifier.builder() - .system(Uri.of("http://someuri.org")) - .value(string("someValue")) - .build()) - .name(HumanName.builder() - .given(string("John")) - .family(string("Doe")) - .build()) - .gender(AdministrativeGender.MALE) - .build(); - - FHIRValidator validator = FHIRValidator.validator(); - List issues = validator.validate(patient, "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"); - - issues.forEach(System.out::println); - - Assert.assertEquals(countWarnings(issues), 1); - Assert.assertEquals(countErrors(issues), 0); - } - - /** - * Test the FHIRValidator on a US Core Patient with a US Core Ethnicity Extension containing an invalid detailed ethnicity code - */ - @Test - public void testUSCoreEthnicityExtension4() throws Exception { - Patient patient = Patient.builder() - .extension(Extension.builder() - .extension(Extension.builder() - .url("ombCategory") - .value(Coding.builder() - .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) - .code(Code.of("2135-2")) - .display(string("Hispanic or Latino")) - .build()) - .build()) - .extension(Extension.builder() - .url("detailed") - .value(Coding.builder() - .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) - .code(Code.of("xxx")) - .display(string("Colombian")) - .build()) - .build()) - .extension(Extension.builder() - .url("text") - .value(string("Hispanic or Latino - Colombian")) - .build()) - .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity") - .build()) - .identifier(Identifier.builder() - .system(Uri.of("http://someuri.org")) - .value(string("someValue")) - .build()) - .name(HumanName.builder() - .given(string("John")) - .family(string("Doe")) - .build()) - .gender(AdministrativeGender.MALE) - .build(); - - FHIRValidator validator = FHIRValidator.validator(); - List issues = validator.validate(patient, "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"); - - issues.forEach(System.out::println); - - Assert.assertEquals(countWarnings(issues), 1); - Assert.assertEquals(countErrors(issues), 2); - Assert.assertEquals(countInformation(issues), 1); - } -} diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/USCoreRaceExtensionTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/USCoreRaceExtensionTest.java deleted file mode 100644 index 9e0bb9ebe8b..00000000000 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/USCoreRaceExtensionTest.java +++ /dev/null @@ -1,218 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.ig.us.core.test; - -import static com.ibm.fhir.model.type.String.string; -import static com.ibm.fhir.path.evaluator.FHIRPathEvaluator.SINGLETON_FALSE; -import static com.ibm.fhir.path.evaluator.FHIRPathEvaluator.SINGLETON_TRUE; -import static com.ibm.fhir.validation.util.FHIRValidationUtil.countErrors; -import static com.ibm.fhir.validation.util.FHIRValidationUtil.countInformation; -import static com.ibm.fhir.validation.util.FHIRValidationUtil.countWarnings; - -import java.util.Collection; -import java.util.List; - -import org.testng.Assert; -import org.testng.annotations.Test; - -import com.ibm.fhir.model.resource.OperationOutcome.Issue; -import com.ibm.fhir.model.resource.Patient; -import com.ibm.fhir.model.type.Code; -import com.ibm.fhir.model.type.Coding; -import com.ibm.fhir.model.type.Extension; -import com.ibm.fhir.model.type.HumanName; -import com.ibm.fhir.model.type.Identifier; -import com.ibm.fhir.model.type.Uri; -import com.ibm.fhir.model.type.code.AdministrativeGender; -import com.ibm.fhir.path.FHIRPathNode; -import com.ibm.fhir.path.evaluator.FHIRPathEvaluator; -import com.ibm.fhir.validation.FHIRValidator; - -public class USCoreRaceExtensionTest { - /** - * Test the FHIRPath 'conformsTo' function on a valid US Core Race Extension - */ - @Test - public void testUSCoreRaceExtension1() throws Exception { - Extension extension = Extension.builder() - .extension(Extension.builder() - .url("ombCategory") - .value(Coding.builder() - .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) - .code(Code.of("1002-5")) - .display(string("American Indian or Alaska Native")) - .build()) - .build()) - .extension(Extension.builder() - .url("detailed") - .value(Coding.builder() - .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) - .code(Code.of("1735-0")) - .display(string("Alaska Native")) - .build()) - .build()) - .extension(Extension.builder() - .url("text") - .value(string("American Indian or Alaska Native - Alaska Native")) - .build()) - .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-race") - .build(); - - System.out.println(extension); - - FHIRPathEvaluator evaluator = FHIRPathEvaluator.evaluator(); - Collection result = evaluator.evaluate(extension, "conformsTo('http://hl7.org/fhir/us/core/StructureDefinition/us-core-race')"); - System.out.println("result: " + result); - - List issues = evaluator.getEvaluationContext().getIssues(); - issues.forEach(System.out::println); - - Assert.assertEquals(result, SINGLETON_TRUE); - Assert.assertEquals(issues.size(), 0); - } - - /** - * Test the FHIRPath 'conformsTo' function on a US Core Race Extension with an invalid detailed race code - */ - @Test - public void testUSCoreRaceExtension2() throws Exception { - Extension extension = Extension.builder() - .extension(Extension.builder() - .url("ombCategory") - .value(Coding.builder() - .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) - .code(Code.of("1002-5")) - .display(string("American Indian or Alaska Native")) - .build()) - .build()) - .extension(Extension.builder() - .url("detailed") - .value(Coding.builder() - .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) - .code(Code.of("xxx")) - .display(string("Alaska Native")) - .build()) - .build()) - .extension(Extension.builder() - .url("text") - .value(string("American Indian or Alaska Native - Alaska Native")) - .build()) - .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-race") - .build(); - - System.out.println(extension); - - FHIRPathEvaluator evaluator = FHIRPathEvaluator.evaluator(); - Collection result = evaluator.evaluate(extension, "conformsTo('http://hl7.org/fhir/us/core/StructureDefinition/us-core-race')"); - System.out.println("result: " + result); - - List issues = evaluator.getEvaluationContext().getIssues(); - issues.forEach(System.out::println); - - Assert.assertEquals(result, SINGLETON_FALSE); - Assert.assertEquals(issues.size(), 2); - } - - /** - * Test the FHIRValidator on a US Core Patient with a valid US Core Race Extension - */ - @Test - public void testUSCoreRaceExtension3() throws Exception { - Patient patient = Patient.builder() - .extension(Extension.builder() - .extension(Extension.builder() - .url("ombCategory") - .value(Coding.builder() - .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) - .code(Code.of("1002-5")) - .display(string("American Indian or Alaska Native")) - .build()) - .build()) - .extension(Extension.builder() - .url("detailed") - .value(Coding.builder() - .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) - .code(Code.of("1735-0")) - .display(string("Alaska Native")) - .build()) - .build()) - .extension(Extension.builder() - .url("text") - .value(string("American Indian or Alaska Native - Alaska Native")) - .build()) - .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-race") - .build()) - .identifier(Identifier.builder() - .system(Uri.of("http://someuri.org")) - .value(string("someValue")) - .build()) - .name(HumanName.builder() - .given(string("John")) - .family(string("Doe")) - .build()) - .gender(AdministrativeGender.MALE) - .build(); - - FHIRValidator validator = FHIRValidator.validator(); - List issues = validator.validate(patient, "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"); - - issues.forEach(System.out::println); - - Assert.assertEquals(countWarnings(issues), 1); - Assert.assertEquals(countErrors(issues), 0); - } - - /** - * Test the FHIRValidator on a US Core Patient with a US Core Race Extension containing an invalid detailed race code - */ - @Test - public void testUSCoreRaceExtension4() throws Exception { - Patient patient = Patient.builder() - .extension(Extension.builder() - .extension(Extension.builder() - .url("ombCategory") - .value(Coding.builder() - .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) - .code(Code.of("1002-5")) - .display(string("American Indian or Alaska Native")) - .build()) - .build()) - .extension(Extension.builder() - .url("detailed") - .value(Coding.builder() - .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) - .code(Code.of("xxx")) - .display(string("Alaska Native")) - .build()) - .build()) - .extension(Extension.builder() - .url("text") - .value(string("American Indian or Alaska Native - Alaska Native")) - .build()) - .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-race") - .build()) - .identifier(Identifier.builder() - .system(Uri.of("http://someuri.org")) - .value(string("someValue")) - .build()) - .name(HumanName.builder() - .given(string("John")) - .family(string("Doe")) - .build()) - .gender(AdministrativeGender.MALE) - .build(); - - FHIRValidator validator = FHIRValidator.validator(); - List issues = validator.validate(patient, "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"); - - issues.forEach(System.out::println); - - Assert.assertEquals(countWarnings(issues), 1); - Assert.assertEquals(countErrors(issues), 2); - Assert.assertEquals(countInformation(issues), 1); - } -} diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/USCoreResourceProviderTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/USCoreResourceProviderTest.java deleted file mode 100644 index 6163b5bc7ea..00000000000 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/USCoreResourceProviderTest.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2019, 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.ig.us.core.test; - -import static org.testng.Assert.assertEquals; -import static org.testng.Assert.assertFalse; - -import java.util.ArrayList; -import java.util.List; - -import org.testng.annotations.Test; - -import com.ibm.fhir.ig.us.core.USCoreResourceProvider; -import com.ibm.fhir.model.resource.OperationOutcome.Issue; -import com.ibm.fhir.model.resource.Resource; -import com.ibm.fhir.model.type.code.IssueSeverity; -import com.ibm.fhir.registry.resource.FHIRRegistryResource; -import com.ibm.fhir.registry.spi.FHIRRegistryResourceProvider; -import com.ibm.fhir.validation.FHIRValidator; - -public class USCoreResourceProviderTest { - @Test - public void testUSCoreResourceProvider() { - FHIRRegistryResourceProvider provider = new USCoreResourceProvider(); - assertEquals(provider.getRegistryResources().size(), 147); - } - - @Test - public void testValidateResources() throws Exception { - FHIRRegistryResourceProvider provider = new USCoreResourceProvider(); - - List exceptions = new ArrayList<>(); - List issues = new ArrayList<>(); - - FHIRValidator validator = FHIRValidator.validator(); - - for (FHIRRegistryResource registryResource : provider.getRegistryResources()) { - try { - Resource resource = registryResource.getResource(); - issues.addAll(validator.validate(resource)); - } catch (Exception e) { - exceptions.add(e); - } - } - - assertEquals(exceptions.size(), 0); - assertFalse(issues.stream().anyMatch(issue -> IssueSeverity.ERROR.equals(issue.getSeverity()))); - } -} diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/USCoreValidationTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/USCoreValidationTest.java deleted file mode 100644 index 7fac91fd6d5..00000000000 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/USCoreValidationTest.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.ig.us.core.test; - -import static com.ibm.fhir.validation.util.FHIRValidationUtil.countErrors; - -import java.io.InputStream; -import java.util.List; - -import org.testng.Assert; -import org.testng.annotations.Test; - -import com.ibm.fhir.model.format.Format; -import com.ibm.fhir.model.parser.FHIRParser; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Observation; -import com.ibm.fhir.model.resource.OperationOutcome.Issue; -import com.ibm.fhir.model.resource.Patient; -import com.ibm.fhir.validation.FHIRValidator; - -public class USCoreValidationTest { - @Test - public void testUSCoreValidation1() throws Exception { - try (InputStream in = USCoreValidationTest.class.getClassLoader().getResourceAsStream("JSON/us-core-patient-no-name-asserted.json")) { - Patient patient = FHIRParser.parser(Format.JSON).parse(in); - List issues = FHIRValidator.validator().validate(patient); - issues.forEach(System.out::println); - Assert.assertEquals(countErrors(issues), 1); - } - } - - @Test - public void testUSCoreValidation2() throws Exception { - try (InputStream in = USCoreValidationTest.class.getClassLoader().getResourceAsStream("JSON/us-core-patient-no-name-not-asserted.json")) { - Patient patient = FHIRParser.parser(Format.JSON).parse(in); - List issues = FHIRValidator.validator().validate(patient); - issues.forEach(System.out::println); - Assert.assertEquals(countErrors(issues), 0); - } - } - - @Test - public void testUSCoreValidation3() throws Exception { - try (InputStream in = USCoreValidationTest.class.getClassLoader().getResourceAsStream("XML/us-core-patient-no-name-asserted.xml")) { - Patient patient = FHIRParser.parser(Format.XML).parse(in); - List issues = FHIRValidator.validator().validate(patient); - issues.forEach(System.out::println); - Assert.assertEquals(countErrors(issues), 1); - } - } - - @Test - public void testUSCoreValidation4() throws Exception { - try (InputStream in = USCoreValidationTest.class.getClassLoader().getResourceAsStream("XML/us-core-patient-no-name-not-asserted.xml")) { - Patient patient = FHIRParser.parser(Format.XML).parse(in); - List issues = FHIRValidator.validator().validate(patient); - issues.forEach(System.out::println); - Assert.assertEquals(countErrors(issues), 0); - } - } - - @Test - public void testUSCoreValidation5() throws Exception { - try (InputStream in = USCoreValidationTest.class.getClassLoader().getResourceAsStream("JSON/Pamela954_Johns824_4818eca9-c6d2-4fa0-a234-7244e620391e.json")) { - Bundle bundle = FHIRParser.parser(Format.JSON).parse(in); - FHIRValidator validator = FHIRValidator.validator(); - List issues = validator.validate(bundle); - Assert.assertEquals(countErrors(issues), 0); - } - } - - @Test - public void testUSCoreValidation6() throws Exception { - try (InputStream in = USCoreValidationTest.class.getClassLoader().getResourceAsStream("JSON/1.json")) { - Observation observation = FHIRParser.parser(Format.JSON).parse(in); - List issues = FHIRValidator.validator().validate(observation); - Assert.assertEquals(countErrors(issues), 0); - } - } -} diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v311/ConformanceTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v311/ConformanceTest.java new file mode 100644 index 00000000000..be180c1b0b9 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v311/ConformanceTest.java @@ -0,0 +1,530 @@ +/* + * (C) Copyright IBM Corp. 2019, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.ig.us.core.test.v311; + +import static com.ibm.fhir.model.type.String.string; +import static com.ibm.fhir.path.evaluator.FHIRPathEvaluator.SINGLETON_FALSE; +import static com.ibm.fhir.path.evaluator.FHIRPathEvaluator.SINGLETON_TRUE; +import static com.ibm.fhir.validation.util.FHIRValidationUtil.countErrors; +import static com.ibm.fhir.validation.util.FHIRValidationUtil.countInformation; +import static com.ibm.fhir.validation.util.FHIRValidationUtil.countWarnings; +import static org.testng.Assert.assertEquals; + +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.Reader; +import java.util.Collection; +import java.util.List; + +import org.testng.annotations.Test; + +import com.ibm.fhir.model.format.Format; +import com.ibm.fhir.model.parser.FHIRParser; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.CarePlan; +import com.ibm.fhir.model.resource.Observation; +import com.ibm.fhir.model.resource.OperationOutcome.Issue; +import com.ibm.fhir.model.resource.Patient; +import com.ibm.fhir.model.resource.Resource; +import com.ibm.fhir.model.type.Code; +import com.ibm.fhir.model.type.Coding; +import com.ibm.fhir.model.type.Extension; +import com.ibm.fhir.model.type.HumanName; +import com.ibm.fhir.model.type.Identifier; +import com.ibm.fhir.model.type.Narrative; +import com.ibm.fhir.model.type.Uri; +import com.ibm.fhir.model.type.Xhtml; +import com.ibm.fhir.model.type.code.AdministrativeGender; +import com.ibm.fhir.model.type.code.IssueSeverity; +import com.ibm.fhir.model.type.code.NarrativeStatus; +import com.ibm.fhir.path.FHIRPathNode; +import com.ibm.fhir.path.evaluator.FHIRPathEvaluator; +import com.ibm.fhir.validation.FHIRValidator; + +public class ConformanceTest { + + @Test + public void testConformsToWithEmptyContext() throws Exception { + try (InputStream in = ConformanceTest.class.getClassLoader().getResourceAsStream("JSON/311/tests/us-core-patient.json")) { + Patient patient = FHIRParser.parser(Format.JSON).parse(in); + List issues = FHIRValidator.validator().validate(patient); + issues.forEach(System.out::println); + assertEquals(issues.size(), 2); + } + } + + @Test + public void testUSCorePulseOximetry() throws Exception { + /** + * This test is used to diagnose and test Code 'L/min' is invalid + */ + try (Reader r = new InputStreamReader(getClass().getClassLoader().getResourceAsStream("JSON/311/Observation-satO2-fiO2.json"))) { + Resource resource = FHIRParser.parser(Format.JSON).parse(r); + List issues = FHIRValidator.validator().validate(resource); + issues.forEach(item -> { + if (item.getSeverity().getValue().equals("error")) { + System.out.println(item); + } + }); + assertEquals(countErrors(issues), 0); + } catch (Exception e) { + throw e; + } + } + + @Test + public void testUSCoreMedicationRequest() throws Exception { + /** + * This test is used to diagnose and test MedicationRequest which throws an error. + */ + try (Reader r = new InputStreamReader(getClass().getClassLoader().getResourceAsStream("JSON/311/MedicationRequest-uscore-mo2.json"))) { + Resource resource = FHIRParser.parser(Format.JSON).parse(r); + List issues = FHIRValidator.validator().validate(resource); + issues.forEach(item -> { + if (item.getSeverity().getValue().equals("error")) { + System.out.println(item); + } + }); + assertEquals(countErrors(issues), 0); + } catch (Exception e) { + throw e; + } + } + + @Test + public void testUSCoreCarePlan() throws Exception { + try (InputStream in = getClass().getClassLoader().getResourceAsStream("JSON/311/tests/us-core-careplan.json")) { + CarePlan carePlan = FHIRParser.parser(Format.JSON).parse(in); + List issues = FHIRValidator.validator().validate(carePlan); + issues.forEach(System.out::println); + assertEquals(countErrors(issues), 0); + } + } + + @Test + public void testUSCoreValidation1() throws Exception { + try (InputStream in = getClass().getClassLoader().getResourceAsStream("JSON/311/tests/us-core-patient-no-name-asserted.json")) { + Patient patient = FHIRParser.parser(Format.JSON).parse(in); + List issues = FHIRValidator.validator().validate(patient); + issues.forEach(System.out::println); + assertEquals(countErrors(issues), 1); + } + } + + @Test + public void testUSCoreValidation2() throws Exception { + try (InputStream in = getClass().getClassLoader().getResourceAsStream("JSON/311/tests/us-core-patient-no-name-not-asserted.json")) { + Patient patient = FHIRParser.parser(Format.JSON).parse(in); + List issues = FHIRValidator.validator().validate(patient); + issues.forEach(System.out::println); + assertEquals(countErrors(issues), 0); + } + } + + @Test + public void testUSCoreValidation5() throws Exception { + try (InputStream in = getClass().getClassLoader().getResourceAsStream("JSON/311/tests/Pamela954_Johns824_4818eca9-c6d2-4fa0-a234-7244e620391e.json")) { + Bundle bundle = FHIRParser.parser(Format.JSON).parse(in); + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(bundle); + issues.stream() + .filter(issue -> issue.getSeverity().equals(IssueSeverity.ERROR)) + .forEach(System.out::println); + assertEquals(countErrors(issues), 0); + } + } + + @Test + public void testUSCoreValidationSmoking() throws Exception { + try (InputStream in = getClass().getClassLoader().getResourceAsStream("JSON/311/tests/smoking.json")) { + Observation bundle = FHIRParser.parser(Format.JSON).parse(in); + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(bundle); + assertEquals(countErrors(issues), 0); + } + } + + @Test + public void testUSCoreValidation6() throws Exception { + try (InputStream in = getClass().getClassLoader().getResourceAsStream("JSON/311/tests/1.json")) { + Observation observation = FHIRParser.parser(Format.JSON).parse(in); + List issues = FHIRValidator.validator().validate(observation); + assertEquals(countErrors(issues), 0); + } + } + + /** + * Test the FHIRPath 'conformsTo' function on a valid US Core Ethnicity Extension + */ + @Test + public void testUSCoreEthnicityExtension1() throws Exception { + Extension extension = Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2135-2")) + .display(string("Hispanic or Latino")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2169-1")) + .display(string("Colombian")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("Hispanic or Latino - Colombian")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity") + .build(); + + System.out.println(extension); + + FHIRPathEvaluator evaluator = FHIRPathEvaluator.evaluator(); + Collection result = evaluator.evaluate(extension, "conformsTo('http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity|3.1.1')"); + System.out.println("result: " + result); + + List issues = evaluator.getEvaluationContext().getIssues(); + issues.forEach(System.out::println); + + assertEquals(result, SINGLETON_TRUE); + assertEquals(issues.size(), 0); + } + + /** + * Test the FHIRPath 'conformsTo' function on a US Core Ethnicity Extension with an invalid detailed ethnicity code + */ + @Test + public void testUSCoreEthnicityExtension2() throws Exception { + Extension extension = Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2135-2")) + .display(string("Hispanic or Latino")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("xxx")) + .display(string("Colombian")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("Hispanic or Latino - Colombian")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity") + .build(); + + System.out.println(extension); + + FHIRPathEvaluator evaluator = FHIRPathEvaluator.evaluator(); + Collection result = evaluator.evaluate(extension, "conformsTo('http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity|3.1.1')"); + System.out.println("result: " + result); + + List issues = evaluator.getEvaluationContext().getIssues(); + issues.forEach(System.out::println); + + assertEquals(result, SINGLETON_FALSE); + assertEquals(issues.size(), 2); + } + + /** + * Test the FHIRValidator on a US Core Patient with a valid US Core Ethnicity Extension + */ + @Test + public void testUSCoreEthnicityExtension3() throws Exception { + Patient patient = Patient.builder() + .extension(Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2135-2")) + .display(string("Hispanic or Latino")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2169-1")) + .display(string("Colombian")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("Hispanic or Latino - Colombian")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity") + .build()) + .identifier(Identifier.builder() + .system(Uri.of("http://someuri.org")) + .value(string("someValue")) + .build()) + .name(HumanName.builder() + .given(string("John")) + .family(string("Doe")) + .build()) + .gender(AdministrativeGender.MALE) + .build(); + + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(patient, "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1"); + + issues.forEach(System.out::println); + + assertEquals(countWarnings(issues), 1); + assertEquals(countErrors(issues), 0); + } + + /** + * Test the FHIRValidator on a US Core Patient with a US Core Ethnicity Extension containing an invalid detailed ethnicity code + */ + @Test + public void testUSCoreEthnicityExtension4() throws Exception { + Patient patient = Patient.builder() + .text(Narrative.builder() + .div(Xhtml.xhtml("
Generated
")) + .status(NarrativeStatus.GENERATED) + .build()) + .extension(Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2135-2")) + .display(string("Hispanic or Latino")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("xxx")) + .display(string("Colombian")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("Hispanic or Latino - Colombian")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity") + .build()) + .identifier(Identifier.builder() + .system(Uri.of("http://someuri.org")) + .value(string("someValue")) + .build()) + .name(HumanName.builder() + .given(string("John")) + .family(string("Doe")) + .build()) + .gender(AdministrativeGender.MALE) + .build(); + + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(patient, "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1"); + + issues.forEach(System.out::println); + + assertEquals(countWarnings(issues), 0); + assertEquals(countErrors(issues), 2); + assertEquals(countInformation(issues), 1); + } + + /** + * Test the FHIRPath 'conformsTo' function on a valid US Core Race Extension + */ + @Test + public void testUSCoreRaceExtension1() throws Exception { + Extension extension = Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1002-5")) + .display(string("American Indian or Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1735-0")) + .display(string("Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("American Indian or Alaska Native - Alaska Native")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-race") + .build(); + + System.out.println(extension); + + FHIRPathEvaluator evaluator = FHIRPathEvaluator.evaluator(); + Collection result = evaluator.evaluate(extension, "conformsTo('http://hl7.org/fhir/us/core/StructureDefinition/us-core-race|3.1.1')"); + System.out.println("result: " + result); + + List issues = evaluator.getEvaluationContext().getIssues(); + issues.forEach(System.out::println); + + assertEquals(result, SINGLETON_TRUE); + assertEquals(issues.size(), 0); + } + + /** + * Test the FHIRPath 'conformsTo' function on a US Core Race Extension with an invalid detailed race code + */ + @Test + public void testUSCoreRaceExtension2() throws Exception { + Extension extension = Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1002-5")) + .display(string("American Indian or Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("xxx")) + .display(string("Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("American Indian or Alaska Native - Alaska Native")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-race") + .build(); + + System.out.println(extension); + + FHIRPathEvaluator evaluator = FHIRPathEvaluator.evaluator(); + Collection result = evaluator.evaluate(extension, "conformsTo('http://hl7.org/fhir/us/core/StructureDefinition/us-core-race|3.1.1')"); + System.out.println("result: " + result); + + List issues = evaluator.getEvaluationContext().getIssues(); + issues.forEach(System.out::println); + + assertEquals(result, SINGLETON_FALSE); + assertEquals(issues.size(), 2); + } + + /** + * Test the FHIRValidator on a US Core Patient with a valid US Core Race Extension + */ + @Test + public void testUSCoreRaceExtension3() throws Exception { + Patient patient = Patient.builder() + .extension(Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1002-5")) + .display(string("American Indian or Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1735-0")) + .display(string("Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("American Indian or Alaska Native - Alaska Native")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-race") + .build()) + .identifier(Identifier.builder() + .system(Uri.of("http://someuri.org")) + .value(string("someValue")) + .build()) + .name(HumanName.builder() + .given(string("John")) + .family(string("Doe")) + .build()) + .gender(AdministrativeGender.MALE) + .build(); + + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(patient, "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"); + + issues.forEach(System.out::println); + + assertEquals(countWarnings(issues), 1); + assertEquals(countErrors(issues), 0); + } + + /** + * Test the FHIRValidator on a US Core Patient with a US Core Race Extension containing an invalid detailed race code + */ + @Test + public void testUSCoreRaceExtension4() throws Exception { + Patient patient = Patient.builder() + .extension(Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1002-5")) + .display(string("American Indian or Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("xxx")) + .display(string("Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("American Indian or Alaska Native - Alaska Native")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-race") + .build()) + .identifier(Identifier.builder() + .system(Uri.of("http://someuri.org")) + .value(string("someValue")) + .build()) + .name(HumanName.builder() + .given(string("John")) + .family(string("Doe")) + .build()) + .gender(AdministrativeGender.MALE) + .build(); + + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(patient, "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"); + + issues.forEach(System.out::println); + + assertEquals(countWarnings(issues), 1); + assertEquals(countErrors(issues), 2); + assertEquals(countInformation(issues), 1); + } + +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v311/ProfileTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v311/ProfileTest.java new file mode 100644 index 00000000000..bd269e95da0 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v311/ProfileTest.java @@ -0,0 +1,80 @@ +/* + * (C) Copyright IBM Corp. 2020 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.ig.us.core.test.v311; + +import static com.ibm.fhir.validation.util.FHIRValidationUtil.countErrors; +import static org.testng.Assert.assertEquals; +import static org.testng.Assert.fail; + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.Reader; +import java.nio.file.Files; +import java.nio.file.Paths; +import java.util.ArrayList; +import java.util.List; + +import org.testng.annotations.Factory; +import org.testng.annotations.Test; + +import com.ibm.fhir.model.format.Format; +import com.ibm.fhir.model.parser.FHIRParser; +import com.ibm.fhir.model.resource.OperationOutcome.Issue; +import com.ibm.fhir.model.resource.Resource; +import com.ibm.fhir.validation.FHIRValidator; + +/** + * Runs through the Profile index for 3.1.1 + */ +public class ProfileTest { + + private static final String INDEX = "./src/test/resources/JSON/311/index.txt"; + + private String path = null; + + public ProfileTest() { + // No Operation + } + + public ProfileTest(String path) { + this.path = path; + } + + @Test + public void testUSCoreValidation() throws Exception { + try (Reader r = Files.newBufferedReader(Paths.get(path))) { + Resource resource = FHIRParser.parser(Format.JSON).parse(r); + List issues = FHIRValidator.validator().validate(resource); + issues.forEach(item -> { + if (item.getSeverity().getValue().equals("error")) { + System.out.println(path); + System.out.println(item); + } + }); + assertEquals(countErrors(issues), 0); + } catch (Exception e) { + System.out.println("Exception with " + path); + fail(e.toString()); + } + } + + @Factory + public Object[] createInstances() { + List result = new ArrayList<>(); + + try (BufferedReader br = Files.newBufferedReader(Paths.get(INDEX))) { + String line; + while ((line = br.readLine()) != null) { + result.add(new ProfileTest(line)); + } + } catch (IOException e) { + e.printStackTrace(); + } + return result.toArray(); + } + +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v311/ProviderTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v311/ProviderTest.java new file mode 100644 index 00000000000..064ba491105 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v311/ProviderTest.java @@ -0,0 +1,86 @@ +/* + * (C) Copyright IBM Corp. 2019, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.ig.us.core.test.v311; + +import static com.ibm.fhir.path.util.FHIRPathUtil.compile; +import static org.testng.Assert.assertEquals; +import static org.testng.Assert.assertFalse; + +import java.util.ArrayList; +import java.util.List; + +import org.testng.Assert; +import org.testng.annotations.Test; + +import com.ibm.fhir.ig.us.core.USCore311ResourceProvider; +import com.ibm.fhir.model.annotation.Constraint; +import com.ibm.fhir.model.resource.OperationOutcome.Issue; +import com.ibm.fhir.model.resource.Resource; +import com.ibm.fhir.model.resource.StructureDefinition; +import com.ibm.fhir.model.type.Extension; +import com.ibm.fhir.model.type.code.IssueSeverity; +import com.ibm.fhir.model.util.ModelSupport; +import com.ibm.fhir.profile.ProfileSupport; +import com.ibm.fhir.registry.FHIRRegistry; +import com.ibm.fhir.registry.resource.FHIRRegistryResource; +import com.ibm.fhir.registry.spi.FHIRRegistryResourceProvider; +import com.ibm.fhir.validation.FHIRValidator; + +public class ProviderTest { + @Test + public static void testConstraintGenerator() throws Exception { + FHIRRegistryResourceProvider provider = new USCore311ResourceProvider(); + for (FHIRRegistryResource registryResource : provider.getRegistryResources()) { + if (StructureDefinition.class.equals(registryResource.getResourceType())) { + String url = registryResource.getUrl(); + System.out.println(url); + Class type = ModelSupport.isResourceType(registryResource.getType()) ? ModelSupport.getResourceType(registryResource.getType()) : Extension.class; + for (Constraint constraint : ProfileSupport.getConstraints(url, type)) { + System.out.println(" " + constraint); + if (!Constraint.LOCATION_BASE.equals(constraint.location())) { + compile(constraint.location()); + } + compile(constraint.expression()); + } + } + } + } + + @Test + public void testRegistry() { + StructureDefinition definition = FHIRRegistry.getInstance().getResource("http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", StructureDefinition.class); + Assert.assertNotNull(definition); + } + + @Test + public void testUSCoreResourceProvider() { + FHIRRegistryResourceProvider provider = new USCore311ResourceProvider(); + assertEquals(provider.getRegistryResources().size(), 147); + } + + @Test + public void testValidateResources() throws Exception { + FHIRRegistryResourceProvider provider = new USCore311ResourceProvider(); + + List exceptions = new ArrayList<>(); + List issues = new ArrayList<>(); + + FHIRValidator validator = FHIRValidator.validator(); + + for (FHIRRegistryResource registryResource : provider.getRegistryResources()) { + try { + Resource resource = registryResource.getResource(); + issues.addAll(validator.validate(resource)); + } catch (Exception e) { + exceptions.add(e); + } + } + + assertEquals(exceptions.size(), 0); + assertFalse(issues.stream().anyMatch(issue -> IssueSeverity.ERROR.equals(issue.getSeverity()))); + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v400/ConformanceTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v400/ConformanceTest.java new file mode 100644 index 00000000000..ac8cac479cd --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v400/ConformanceTest.java @@ -0,0 +1,510 @@ +/* + * (C) Copyright IBM Corp. 2019, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.ig.us.core.test.v400; + +import static com.ibm.fhir.model.type.String.string; +import static com.ibm.fhir.path.evaluator.FHIRPathEvaluator.SINGLETON_FALSE; +import static com.ibm.fhir.path.evaluator.FHIRPathEvaluator.SINGLETON_TRUE; +import static com.ibm.fhir.validation.util.FHIRValidationUtil.countErrors; +import static com.ibm.fhir.validation.util.FHIRValidationUtil.countInformation; +import static com.ibm.fhir.validation.util.FHIRValidationUtil.countWarnings; +import static org.testng.Assert.assertEquals; + +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.Reader; +import java.util.Collection; +import java.util.List; + +import org.testng.Assert; +import org.testng.annotations.Test; + +import com.ibm.fhir.model.format.Format; +import com.ibm.fhir.model.parser.FHIRParser; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.CarePlan; +import com.ibm.fhir.model.resource.Observation; +import com.ibm.fhir.model.resource.OperationOutcome.Issue; +import com.ibm.fhir.model.resource.Patient; +import com.ibm.fhir.model.resource.Resource; +import com.ibm.fhir.model.type.Code; +import com.ibm.fhir.model.type.Coding; +import com.ibm.fhir.model.type.Extension; +import com.ibm.fhir.model.type.HumanName; +import com.ibm.fhir.model.type.Identifier; +import com.ibm.fhir.model.type.Uri; +import com.ibm.fhir.model.type.code.AdministrativeGender; +import com.ibm.fhir.model.type.code.IssueSeverity; +import com.ibm.fhir.path.FHIRPathNode; +import com.ibm.fhir.path.evaluator.FHIRPathEvaluator; +import com.ibm.fhir.validation.FHIRValidator; + +public class ConformanceTest { + @Test + public void testConformsToWithEmptyContext() throws Exception { + try (InputStream in = ConformanceTest.class.getClassLoader().getResourceAsStream("JSON/400/tests/us-core-patient.json")) { + Patient patient = FHIRParser.parser(Format.JSON).parse(in); + List issues = FHIRValidator.validator().validate(patient); + issues.forEach(System.out::println); + assertEquals(issues.size(), 2); + } + } + + @Test + public void testUSCoreMedicationRequest() throws Exception { + // This test is used to diagnose and test MedicationRequest which throws an error. + try (Reader r = new InputStreamReader(getClass().getClassLoader().getResourceAsStream("JSON/400/MedicationRequest-uscore-mo2.json"))) { + Resource resource = FHIRParser.parser(Format.JSON).parse(r); + List issues = FHIRValidator.validator().validate(resource); + issues.forEach(item -> { + if (item.getSeverity().getValue().equals("error")) { + System.out.println(item); + } + }); + Assert.assertEquals(countErrors(issues), 0); + } catch (Exception e) { + throw e; + } + } + + @Test + public void testUSCorePulseOximetry() throws Exception { + /** + * This test is used to diagnose and test Code 'L/min' is invalid + */ + try (Reader r = new InputStreamReader(getClass().getClassLoader().getResourceAsStream("JSON/400/Observation-satO2-fiO2.json"))) { + Resource resource = FHIRParser.parser(Format.JSON).parse(r); + List issues = FHIRValidator.validator().validate(resource); + issues.forEach(item -> { + if (item.getSeverity().getValue().equals("error")) { + System.out.println(item); + } + }); + Assert.assertEquals(countErrors(issues), 0); + } catch (Exception e) { + throw e; + } + } + + @Test + public void testUSCoreCarePlan() throws Exception { + InputStream in = getClass().getClassLoader().getResourceAsStream("JSON/400/tests/us-core-careplan.json"); + CarePlan carePlan = FHIRParser.parser(Format.JSON).parse(in); + List issues = FHIRValidator.validator().validate(carePlan); + issues.forEach(System.out::println); + assertEquals(issues.size(), 0); + } + + @Test + public void testUSCoreValidation1() throws Exception { + try (InputStream in = getClass().getClassLoader().getResourceAsStream("JSON/400/tests/us-core-patient-no-name-asserted.json")) { + Patient patient = FHIRParser.parser(Format.JSON).parse(in); + List issues = FHIRValidator.validator().validate(patient); + issues.forEach(System.out::println); + Assert.assertEquals(countErrors(issues), 1); + } + } + + @Test + public void testUSCoreValidation2() throws Exception { + try (InputStream in = getClass().getClassLoader().getResourceAsStream("JSON/400/tests/us-core-patient-no-name-not-asserted.json")) { + Patient patient = FHIRParser.parser(Format.JSON).parse(in); + List issues = FHIRValidator.validator().validate(patient); + issues.forEach(System.out::println); + Assert.assertEquals(countErrors(issues), 0); + } + } + + @Test + public void testUSCoreValidation5() throws Exception { + try (InputStream in = getClass().getClassLoader().getResourceAsStream("JSON/400/tests/Pamela954_Johns824_4818eca9-c6d2-4fa0-a234-7244e620391e.json")) { + Bundle bundle = FHIRParser.parser(Format.JSON).parse(in); + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(bundle); + issues.stream() + .filter(issue -> issue.getSeverity().equals(IssueSeverity.ERROR)) + .forEach(System.out::println); + Assert.assertEquals(countErrors(issues), 0); + } + } + + @Test + public void testUSCoreValidation6() throws Exception { + try (InputStream in = getClass().getClassLoader().getResourceAsStream("JSON/400/tests/1.json")) { + Observation observation = FHIRParser.parser(Format.JSON).parse(in); + List issues = FHIRValidator.validator().validate(observation); + Assert.assertEquals(countErrors(issues), 0); + } + } + + /** + * Test the FHIRPath 'conformsTo' function on a valid US Core Ethnicity Extension + */ + @Test + public void testUSCoreEthnicityExtension1() throws Exception { + Extension extension = Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2135-2")) + .display(string("Hispanic or Latino")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2169-1")) + .display(string("Colombian")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("Hispanic or Latino - Colombian")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity") + .build(); + + System.out.println(extension); + + FHIRPathEvaluator evaluator = FHIRPathEvaluator.evaluator(); + Collection result = evaluator.evaluate(extension, "conformsTo('http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity')"); + System.out.println("result: " + result); + + List issues = evaluator.getEvaluationContext().getIssues(); + issues.forEach(System.out::println); + + Assert.assertEquals(result, SINGLETON_TRUE); + Assert.assertEquals(issues.size(), 0); + } + + /** + * Test the FHIRPath 'conformsTo' function on a US Core Ethnicity Extension with an invalid detailed ethnicity code + */ + @Test + public void testUSCoreEthnicityExtension2() throws Exception { + Extension extension = Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2135-2")) + .display(string("Hispanic or Latino")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("xxx")) + .display(string("Colombian")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("Hispanic or Latino - Colombian")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity") + .build(); + + System.out.println(extension); + + FHIRPathEvaluator evaluator = FHIRPathEvaluator.evaluator(); + Collection result = evaluator.evaluate(extension, "conformsTo('http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity')"); + System.out.println("result: " + result); + + List issues = evaluator.getEvaluationContext().getIssues(); + issues.forEach(System.out::println); + + Assert.assertEquals(result, SINGLETON_FALSE); + Assert.assertEquals(issues.size(), 2); + } + + /** + * Test the FHIRValidator on a US Core Patient with a valid US Core Ethnicity Extension + */ + @Test + public void testUSCoreEthnicityExtension3() throws Exception { + Patient patient = Patient.builder() + .extension(Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2135-2")) + .display(string("Hispanic or Latino")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2169-1")) + .display(string("Colombian")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("Hispanic or Latino - Colombian")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity") + .build()) + .identifier(Identifier.builder() + .system(Uri.of("http://someuri.org")) + .value(string("someValue")) + .build()) + .name(HumanName.builder() + .given(string("John")) + .family(string("Doe")) + .build()) + .gender(AdministrativeGender.MALE) + .build(); + + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(patient, "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"); + + issues.forEach(System.out::println); + + Assert.assertEquals(countWarnings(issues), 1); + Assert.assertEquals(countErrors(issues), 0); + } + + /** + * Test the FHIRValidator on a US Core Patient with a US Core Ethnicity Extension containing an invalid detailed ethnicity code + */ + @Test + public void testUSCoreEthnicityExtension4() throws Exception { + Patient patient = Patient.builder() + .extension(Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2135-2")) + .display(string("Hispanic or Latino")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("xxx")) + .display(string("Colombian")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("Hispanic or Latino - Colombian")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity") + .build()) + .identifier(Identifier.builder() + .system(Uri.of("http://someuri.org")) + .value(string("someValue")) + .build()) + .name(HumanName.builder() + .given(string("John")) + .family(string("Doe")) + .build()) + .gender(AdministrativeGender.MALE) + .build(); + + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(patient, "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"); + + issues.forEach(System.out::println); + + Assert.assertEquals(countWarnings(issues), 1); + Assert.assertEquals(countErrors(issues), 2); + Assert.assertEquals(countInformation(issues), 1); + } + + /** + * Test the FHIRPath 'conformsTo' function on a valid US Core Race Extension + */ + @Test + public void testUSCoreRaceExtension1() throws Exception { + Extension extension = Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1002-5")) + .display(string("American Indian or Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1735-0")) + .display(string("Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("American Indian or Alaska Native - Alaska Native")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-race") + .build(); + + System.out.println(extension); + + FHIRPathEvaluator evaluator = FHIRPathEvaluator.evaluator(); + Collection result = evaluator.evaluate(extension, "conformsTo('http://hl7.org/fhir/us/core/StructureDefinition/us-core-race')"); + System.out.println("result: " + result); + + List issues = evaluator.getEvaluationContext().getIssues(); + issues.forEach(System.out::println); + + Assert.assertEquals(result, SINGLETON_TRUE); + Assert.assertEquals(issues.size(), 0); + } + + /** + * Test the FHIRPath 'conformsTo' function on a US Core Race Extension with an invalid detailed race code + */ + @Test + public void testUSCoreRaceExtension2() throws Exception { + Extension extension = Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1002-5")) + .display(string("American Indian or Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("xxx")) + .display(string("Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("American Indian or Alaska Native - Alaska Native")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-race") + .build(); + + System.out.println(extension); + + FHIRPathEvaluator evaluator = FHIRPathEvaluator.evaluator(); + Collection result = evaluator.evaluate(extension, "conformsTo('http://hl7.org/fhir/us/core/StructureDefinition/us-core-race')"); + System.out.println("result: " + result); + + List issues = evaluator.getEvaluationContext().getIssues(); + issues.forEach(System.out::println); + + Assert.assertEquals(result, SINGLETON_FALSE); + Assert.assertEquals(issues.size(), 2); + } + + /** + * Test the FHIRValidator on a US Core Patient with a valid US Core Race Extension + */ + @Test + public void testUSCoreRaceExtension3() throws Exception { + Patient patient = Patient.builder() + .extension(Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1002-5")) + .display(string("American Indian or Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1735-0")) + .display(string("Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("American Indian or Alaska Native - Alaska Native")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-race") + .build()) + .identifier(Identifier.builder() + .system(Uri.of("http://someuri.org")) + .value(string("someValue")) + .build()) + .name(HumanName.builder() + .given(string("John")) + .family(string("Doe")) + .build()) + .gender(AdministrativeGender.MALE) + .build(); + + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(patient, "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"); + + issues.forEach(System.out::println); + + Assert.assertEquals(countWarnings(issues), 1); + Assert.assertEquals(countErrors(issues), 0); + } + + /** + * Test the FHIRValidator on a US Core Patient with a US Core Race Extension containing an invalid detailed race code + */ + @Test + public void testUSCoreRaceExtension4() throws Exception { + Patient patient = Patient.builder() + .extension(Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1002-5")) + .display(string("American Indian or Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("xxx")) + .display(string("Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("American Indian or Alaska Native - Alaska Native")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-race") + .build()) + .identifier(Identifier.builder() + .system(Uri.of("http://someuri.org")) + .value(string("someValue")) + .build()) + .name(HumanName.builder() + .given(string("John")) + .family(string("Doe")) + .build()) + .gender(AdministrativeGender.MALE) + .build(); + + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(patient, "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"); + + issues.forEach(System.out::println); + + Assert.assertEquals(countWarnings(issues), 1); + Assert.assertEquals(countErrors(issues), 2); + Assert.assertEquals(countInformation(issues), 1); + } + +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v400/ProfileTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v400/ProfileTest.java new file mode 100644 index 00000000000..a6da6c93175 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v400/ProfileTest.java @@ -0,0 +1,79 @@ +/* + * (C) Copyright IBM Corp. 2020 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.ig.us.core.test.v400; + +import static com.ibm.fhir.validation.util.FHIRValidationUtil.countErrors; +import static org.testng.Assert.assertEquals; +import static org.testng.Assert.fail; + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.Reader; +import java.nio.file.Files; +import java.nio.file.Paths; +import java.util.ArrayList; +import java.util.List; + +import org.testng.annotations.Factory; +import org.testng.annotations.Test; + +import com.ibm.fhir.model.format.Format; +import com.ibm.fhir.model.parser.FHIRParser; +import com.ibm.fhir.model.resource.OperationOutcome.Issue; +import com.ibm.fhir.model.resource.Resource; +import com.ibm.fhir.validation.FHIRValidator; + +/** + * Runs through the Profile index for 4.0.0 + */ +public class ProfileTest { + + private static final String INDEX = "./src/test/resources/JSON/400/index.txt"; + + private String path = null; + + public ProfileTest() { + // No Operation + } + + public ProfileTest(String path) { + this.path = path; + } + + @Test + public void testUSCoreValidation() throws Exception { + try (Reader r = Files.newBufferedReader(Paths.get(path))) { + Resource resource = FHIRParser.parser(Format.JSON).parse(r); + List issues = FHIRValidator.validator().validate(resource); + issues.forEach(item -> { + if (item.getSeverity().getValue().equals("error")) { + System.out.println(path + " " + item); + } + }); + assertEquals(countErrors(issues), 0); + } catch (Exception e) { + System.out.println("Exception with " + path); + fail(e.toString()); + } + } + + @Factory + public Object[] createInstances() { + List result = new ArrayList<>(); + + try (BufferedReader br = Files.newBufferedReader(Paths.get(INDEX))) { + String line; + while ((line = br.readLine()) != null) { + result.add(new ProfileTest(line)); + } + } catch (IOException e) { + e.printStackTrace(); + } + return result.toArray(); + } + +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v400/ProviderTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v400/ProviderTest.java new file mode 100644 index 00000000000..b1c44c2e176 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v400/ProviderTest.java @@ -0,0 +1,92 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.ig.us.core.test.v400; + +import static com.ibm.fhir.path.util.FHIRPathUtil.compile; +import static org.testng.Assert.assertEquals; +import static org.testng.Assert.assertFalse; +import static org.testng.Assert.assertNotNull; + +import java.util.ArrayList; +import java.util.List; + +import org.testng.annotations.Test; + +import com.ibm.fhir.ig.us.core.USCore400ResourceProvider; +import com.ibm.fhir.model.annotation.Constraint; +import com.ibm.fhir.model.resource.OperationOutcome.Issue; +import com.ibm.fhir.model.resource.Resource; +import com.ibm.fhir.model.resource.StructureDefinition; +import com.ibm.fhir.model.type.Extension; +import com.ibm.fhir.model.type.code.IssueSeverity; +import com.ibm.fhir.model.util.ModelSupport; +import com.ibm.fhir.profile.ProfileSupport; +import com.ibm.fhir.registry.FHIRRegistry; +import com.ibm.fhir.registry.resource.FHIRRegistryResource; +import com.ibm.fhir.registry.spi.FHIRRegistryResourceProvider; +import com.ibm.fhir.validation.FHIRValidator; + +/** + * Tests the Provider executes properly. + */ +public class ProviderTest { + @Test + public void testRegistry() { + StructureDefinition definition = FHIRRegistry.getInstance() + .getResource("http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", StructureDefinition.class); + assertNotNull(definition); + assertEquals(definition.getVersion().getValue(), "4.0.0"); + } + + @Test + public void testUSCoreResourceProvider() { + FHIRRegistryResourceProvider provider = new USCore400ResourceProvider(); + assertEquals(provider.getRegistryResources().size(), 148); + } + + @Test + public void testValidateResources() throws Exception { + FHIRRegistryResourceProvider provider = new USCore400ResourceProvider(); + + List exceptions = new ArrayList<>(); + List issues = new ArrayList<>(); + + FHIRValidator validator = FHIRValidator.validator(); + + for (FHIRRegistryResource registryResource : provider.getRegistryResources()) { + try { + Resource resource = registryResource.getResource(); + issues.addAll(validator.validate(resource)); + } catch (Exception e) { + exceptions.add(e); + } + } + + assertEquals(exceptions.size(), 0); + assertFalse(issues.stream().anyMatch(issue -> IssueSeverity.ERROR.equals(issue.getSeverity()))); + } + + @Test + public static void testConstraintGenerator() throws Exception { + FHIRRegistryResourceProvider provider = new USCore400ResourceProvider(); + for (FHIRRegistryResource registryResource : provider.getRegistryResources()) { + if (StructureDefinition.class.equals(registryResource.getResourceType())) { + assertEquals(registryResource.getVersion().toString(), "4.0.0"); + String url = registryResource.getUrl(); + System.out.println(url); + Class type = ModelSupport.isResourceType(registryResource.getType()) ? ModelSupport.getResourceType(registryResource.getType()) : Extension.class; + for (Constraint constraint : ProfileSupport.getConstraints(url, type)) { + System.out.println(" " + constraint); + if (!Constraint.LOCATION_BASE.equals(constraint.location())) { + compile(constraint.location()); + } + compile(constraint.expression()); + } + } + } + } +} diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/ResourceProcessor.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/ResourceProcessor.java deleted file mode 100644 index 1d28173a008..00000000000 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/ResourceProcessor.java +++ /dev/null @@ -1,74 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020, 2021 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.ig.us.core.tool; - -import java.io.BufferedReader; -import java.io.File; -import java.io.FileReader; -import java.io.FileWriter; - -import jakarta.json.Json; -import jakarta.json.JsonBuilderFactory; -import jakarta.json.JsonObject; -import jakarta.json.JsonObjectBuilder; -import jakarta.json.JsonReader; -import jakarta.json.JsonReaderFactory; -import jakarta.json.JsonWriter; -import jakarta.json.JsonWriterFactory; - -/** - * This class fixes two issues with the packaged US Core artifacts: - *
    - *
  1. The provided structure definitions contain invalid XHTML
  2. - *
  3. The provided structure definitions do not contain a version element
  4. - *
- */ -public class ResourceProcessor { - public static void main(String[] args) throws Exception { - JsonReaderFactory jsonReaderFactory = Json.createReaderFactory(null); - JsonWriterFactory jsonWriterFactory = Json.createWriterFactory(null); - JsonBuilderFactory jsonBuilderFactory = Json.createBuilderFactory(null); - - File dir = new File("src/main/resources/hl7/fhir/us/core/package/"); - for (File file : dir.listFiles()) { - String fileName = file.getName(); - if (!fileName.endsWith(".json") || file.isDirectory() - || fileName.startsWith(".index.json") - || fileName.startsWith("package.json") - ) { - continue; - } - JsonObject jsonObject = null; - try (BufferedReader reader = new BufferedReader(new FileReader(file))) { - JsonReader jsonReader = jsonReaderFactory.createReader(reader); - jsonObject = jsonReader.readObject(); - - JsonObjectBuilder jsonObjectBuilder = jsonBuilderFactory.createObjectBuilder(jsonObject); - - JsonObject text = jsonObject.getJsonObject("text"); - if (text != null) { - JsonObjectBuilder textBuilder = jsonBuilderFactory.createObjectBuilder(text); - String div = text.getString("div"); - div = div.replace("

", "
").replace("

", "
"); - textBuilder.add("div", div); - jsonObjectBuilder.add("text", textBuilder); - } - - if (!jsonObject.containsKey("version")) { - System.out.println("file: " + file + " does not have a version"); - jsonObjectBuilder.add("version", "0.1.0"); - } - - jsonObject = jsonObjectBuilder.build(); - } - try (FileWriter writer = new FileWriter(file)) { - JsonWriter jsonWriter = jsonWriterFactory.createWriter(writer); - jsonWriter.write(jsonObject); - } - } - } -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/SearchParameterAugmenter.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/SearchParameterAugmenter.java deleted file mode 100644 index bcb42e1ce45..00000000000 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/SearchParameterAugmenter.java +++ /dev/null @@ -1,121 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2021 - * - * SPDX-License-Identifier: Apache-2.0 - */ -package com.ibm.fhir.ig.us.core.tool; - -import java.io.BufferedWriter; -import java.nio.charset.Charset; -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.util.Collection; -import java.util.List; -import java.util.Set; -import java.util.stream.Collectors; - -import com.ibm.fhir.core.FHIRConstants; -import com.ibm.fhir.model.format.Format; -import com.ibm.fhir.model.generator.FHIRGenerator; -import com.ibm.fhir.model.resource.SearchParameter; -import com.ibm.fhir.model.resource.ValueSet; -import com.ibm.fhir.model.resource.ValueSet.Compose.Include; -import com.ibm.fhir.model.type.Canonical; -import com.ibm.fhir.model.type.ElementDefinition; -import com.ibm.fhir.model.type.Extension; -import com.ibm.fhir.model.type.Uri; -import com.ibm.fhir.model.type.code.BindingStrength; -import com.ibm.fhir.model.type.code.FHIRDefinedType; -import com.ibm.fhir.model.type.code.ResourceType; -import com.ibm.fhir.profile.ProfileSupport; -import com.ibm.fhir.registry.FHIRRegistry; - -/** - * A utility for adding the http://ibm.com/fhir/extension/implicit-system extension - * to search parameters which always reference code values with a particular system - */ -public class SearchParameterAugmenter { - private static final String IMPLICIT_SYSTEM_EXT_URL = FHIRConstants.EXT_BASE + "implicit-system"; - private static final FHIRGenerator generator = FHIRGenerator.generator(Format.JSON, false); - - public static void main(String[] args) throws Exception { - Collection tokenParams = FHIRRegistry.getInstance().getSearchParameters("token"); - - for (SearchParameter searchParameter : tokenParams) { - if (searchParameter.getUrl() != null && searchParameter.getUrl().hasValue() - && searchParameter.getUrl().getValue().startsWith("http://hl7.org/fhir/SearchParameter")) { - continue; // skip the parameters defined in the base spec - } - - List base = searchParameter.getBase(); - if (base.size() != 1 || base.get(0).getValueAsEnum() == ResourceType.Value.RESOURCE) { - continue; // too complicated to handle this case right now - } - - String implicitSystem = getImplicitSystem(searchParameter); - - if (implicitSystem != null) { - System.out.println(searchParameter.getId() + ": " + implicitSystem); - - String currentValue = searchParameter.getExtension().stream() - .filter(e -> IMPLICIT_SYSTEM_EXT_URL.equals(e.getUrl()) && e.getValue() != null) - .reduce((a, b) -> { - throw new IllegalStateException("Multiple existing extension values: " + a + ", " + b); - }) - .map(e -> e.getValue().as(Uri.class).getValue()) - .orElse(null); - - if (currentValue == null) { - searchParameter = searchParameter.toBuilder() - .extension(buildImplicitSystemExtension(implicitSystem)) - .build(); - } else if (currentValue.equals(implicitSystem)){ - continue; - } else { - throw new IllegalStateException("Existing SearchParameter '" + searchParameter.getId() + - "' already has an implicity system extension and it doesn't match '" + implicitSystem + "'"); - } - - Path path = Paths.get("src/main/resources/hl7/fhir/us/core/package/SearchParameter-" - + searchParameter.getId() + ".json"); - BufferedWriter writer = Files.newBufferedWriter(path, Charset.forName("UTF-8")); - generator.generate(searchParameter, writer); - } - } - } - - private static String getImplicitSystem(SearchParameter searchParameter) { - String system = null; - ElementDefinition def = ProfileSupport.getElementDefinition(searchParameter.getExpression().getValue()); - - if (def != null && - def.getBinding() != null && - def.getType().size() == 1 && - FHIRDefinedType.CODE.getValue().equals(def.getType().get(0).getCode().getValue()) && - BindingStrength.Value.REQUIRED == def.getBinding().getStrength().getValueAsEnum()) { - Canonical valueSetRef = def.getBinding().getValueSet(); - ValueSet valueSet = FHIRRegistry.getInstance().getResource(valueSetRef.getValue(), ValueSet.class); - - if (valueSet.getCompose() != null) { - Set systems = valueSet.getCompose().getInclude().stream().collect(Collectors.toSet()); - if (systems.size() == 1) { - Uri systemUri = systems.iterator().next().getSystem(); - if (systemUri != null) { - system = systemUri.getValue(); - } - } - } - } - return system; - } - - public static Extension buildImplicitSystemExtension(String implicitSystemValue) { - if (implicitSystemValue == null) return null; - - return Extension.builder() - .url(IMPLICIT_SYSTEM_EXT_URL) - .value(Uri.of(implicitSystemValue)) - .build(); - } -} diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/USCoreExamplesUtil.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/USCoreExamplesUtil.java new file mode 100644 index 00000000000..a0efa352800 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/USCoreExamplesUtil.java @@ -0,0 +1,66 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.ig.us.core.tool; + +import java.io.FileNotFoundException; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.Reader; +import java.nio.charset.StandardCharsets; + +import com.ibm.fhir.model.format.Format; +import com.ibm.fhir.model.parser.FHIRParser; +import com.ibm.fhir.model.resource.Resource; + +/** + * Profile Specific Examples Util + */ +public class USCoreExamplesUtil { + + /** + * reads a local JSON into a resource + * @param + * @param version + * @param fileName + * @return + * @throws Exception + */ + public static T readLocalJSONResource(String version, String fileName) throws Exception { + try (Reader reader = resourceReader("/JSON/" + version + "/" + fileName)) { + T resource = FHIRParser.parser(Format.JSON).parse(reader); + return resource; + } + } + + /** + * Return a reader for the specified example resource. + * The resource should be an example resource such as "JSON/400/Observation.json". + * + * @param resource + * The relative path to the example resource within fhir-examples + * @return reader A reader for reading the example resource + * @throws FileNotFoundException + * If the specified resource does not exist + */ + public static Reader resourceReader(String resource) throws IOException { + InputStream is; + + ClassLoader cl = Thread.currentThread().getContextClassLoader(); + is = cl.getResourceAsStream(resource); + if (is == null) { + // Try the class's classloader instead + is = USCoreExamplesUtil.class.getResourceAsStream(resource); + } + + if (is == null) { + throw new FileNotFoundException("resource not found: " + resource); + } + + return new InputStreamReader(is, StandardCharsets.UTF_8); + } +} diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v311/ResourceProcessor.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v311/ResourceProcessor.java new file mode 100644 index 00000000000..925beec1e77 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v311/ResourceProcessor.java @@ -0,0 +1,78 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.ig.us.core.tool.v311; + +import java.io.BufferedReader; +import java.io.File; +import java.io.FileReader; +import java.io.FileWriter; +import java.util.Collections; +import java.util.Map; + +import jakarta.json.Json; +import jakarta.json.JsonBuilderFactory; +import jakarta.json.JsonObject; +import jakarta.json.JsonObjectBuilder; +import jakarta.json.JsonReader; +import jakarta.json.JsonReaderFactory; +import jakarta.json.JsonWriter; +import jakarta.json.JsonWriterFactory; +import jakarta.json.stream.JsonGenerator; + +/** + * This class fixes two issues with the packaged US Core artifacts: + *
    + *
  1. The provided structure definitions contain invalid XHTML
  2. + *
  3. The provided structure definitions do not contain a version element
  4. + *
+ */ +public class ResourceProcessor { + public static void main(String[] args) throws Exception { + Map writerConfig = Collections.singletonMap(JsonGenerator.PRETTY_PRINTING, true); + JsonReaderFactory jsonReaderFactory = Json.createReaderFactory(null); + JsonWriterFactory jsonWriterFactory = Json.createWriterFactory(writerConfig); + JsonBuilderFactory jsonBuilderFactory = Json.createBuilderFactory(null); + + File dir = new File("src/main/resources/hl7/fhir/us/core/311/package/"); + for (File file : dir.listFiles()) { + String fileName = file.getName(); + if (!fileName.endsWith(".json") || file.isDirectory() + || fileName.startsWith(".index.json") + || fileName.startsWith("package.json") + ) { + continue; + } + JsonObject jsonObject = null; + try (BufferedReader reader = new BufferedReader(new FileReader(file))) { + JsonReader jsonReader = jsonReaderFactory.createReader(reader); + jsonObject = jsonReader.readObject(); + + JsonObjectBuilder jsonObjectBuilder = jsonBuilderFactory.createObjectBuilder(jsonObject); + + JsonObject text = jsonObject.getJsonObject("text"); + if (text != null) { + // Replace the generated text with some [much smaller] generic placeholder + JsonObjectBuilder textBuilder = jsonBuilderFactory.createObjectBuilder(); + textBuilder.add("status", "empty"); + textBuilder.add("div", "
Redacted for size
"); + jsonObjectBuilder.add("text", textBuilder); + } + + if (!jsonObject.containsKey("version")) { + System.out.println("file: " + file + " does not have a version"); + jsonObjectBuilder.add("version", "3.1.1"); + } + + jsonObject = jsonObjectBuilder.build(); + } + try (FileWriter writer = new FileWriter(file)) { + JsonWriter jsonWriter = jsonWriterFactory.createWriter(writer); + jsonWriter.write(jsonObject); + } + } + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v311/SearchParameterAugmenter.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v311/SearchParameterAugmenter.java new file mode 100644 index 00000000000..0c3e9063b8e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v311/SearchParameterAugmenter.java @@ -0,0 +1,122 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ +package com.ibm.fhir.ig.us.core.tool.v311; + +import java.io.BufferedWriter; +import java.nio.charset.Charset; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.Collection; +import java.util.List; +import java.util.Set; +import java.util.stream.Collectors; + +import com.ibm.fhir.core.FHIRConstants; +import com.ibm.fhir.model.format.Format; +import com.ibm.fhir.model.generator.FHIRGenerator; +import com.ibm.fhir.model.resource.SearchParameter; +import com.ibm.fhir.model.resource.ValueSet; +import com.ibm.fhir.model.resource.ValueSet.Compose.Include; +import com.ibm.fhir.model.type.Canonical; +import com.ibm.fhir.model.type.ElementDefinition; +import com.ibm.fhir.model.type.Extension; +import com.ibm.fhir.model.type.Uri; +import com.ibm.fhir.model.type.code.BindingStrength; +import com.ibm.fhir.model.type.code.FHIRDefinedType; +import com.ibm.fhir.model.type.code.ResourceType; +import com.ibm.fhir.profile.ProfileSupport; +import com.ibm.fhir.registry.FHIRRegistry; + +/** + * A utility for adding the http://ibm.com/fhir/extension/implicit-system extension + * to search parameters which always reference code values with a particular system + */ +public class SearchParameterAugmenter { + private static final String IMPLICIT_SYSTEM_EXT_URL = FHIRConstants.EXT_BASE + "implicit-system"; + private static final FHIRGenerator generator = FHIRGenerator.generator(Format.JSON, false); + + public static void main(String[] args) throws Exception { + Collection tokenParams = FHIRRegistry.getInstance().getSearchParameters("token"); + + for (SearchParameter searchParameter : tokenParams) { + if (searchParameter.getUrl() != null && searchParameter.getUrl().hasValue() + && searchParameter.getUrl().getValue().startsWith("http://hl7.org/fhir/SearchParameter") + && searchParameter.getVersion().getValue() != "3.1.1") { + continue; // skip the parameters defined in the base spec + } + + List base = searchParameter.getBase(); + if (base.size() != 1 || base.get(0).getValueAsEnum() == ResourceType.Value.RESOURCE) { + continue; // too complicated to handle this case right now + } + + String implicitSystem = getImplicitSystem(searchParameter); + + if (implicitSystem != null) { + System.out.println(searchParameter.getId() + ": " + implicitSystem); + + String currentValue = searchParameter.getExtension().stream() + .filter(e -> IMPLICIT_SYSTEM_EXT_URL.equals(e.getUrl()) && e.getValue() != null) + .reduce((a, b) -> { + throw new IllegalStateException("Multiple existing extension values: " + a + ", " + b); + }) + .map(e -> e.getValue().as(Uri.class).getValue()) + .orElse(null); + + if (currentValue == null) { + searchParameter = searchParameter.toBuilder() + .extension(buildImplicitSystemExtension(implicitSystem)) + .build(); + } else if (currentValue.equals(implicitSystem)){ + continue; + } else { + throw new IllegalStateException("Existing SearchParameter '" + searchParameter.getId() + + "' already has an implicity system extension and it doesn't match '" + implicitSystem + "'"); + } + + Path path = Paths.get("src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-" + + searchParameter.getId() + ".json"); + BufferedWriter writer = Files.newBufferedWriter(path, Charset.forName("UTF-8")); + generator.generate(searchParameter, writer); + } + } + } + + private static String getImplicitSystem(SearchParameter searchParameter) { + String system = null; + ElementDefinition def = ProfileSupport.getElementDefinition(searchParameter.getExpression().getValue()); + + if (def != null && + def.getBinding() != null && + def.getType().size() == 1 && + FHIRDefinedType.CODE.getValue().equals(def.getType().get(0).getCode().getValue()) && + BindingStrength.Value.REQUIRED == def.getBinding().getStrength().getValueAsEnum()) { + Canonical valueSetRef = def.getBinding().getValueSet(); + ValueSet valueSet = FHIRRegistry.getInstance().getResource(valueSetRef.getValue(), ValueSet.class); + + if (valueSet.getCompose() != null) { + Set systems = valueSet.getCompose().getInclude().stream().collect(Collectors.toSet()); + if (systems.size() == 1) { + Uri systemUri = systems.iterator().next().getSystem(); + if (systemUri != null) { + system = systemUri.getValue(); + } + } + } + } + return system; + } + + public static Extension buildImplicitSystemExtension(String implicitSystemValue) { + if (implicitSystemValue == null) return null; + + return Extension.builder() + .url(IMPLICIT_SYSTEM_EXT_URL) + .value(Uri.of(implicitSystemValue)) + .build(); + } +} diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v400/ResourceProcessor.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v400/ResourceProcessor.java new file mode 100644 index 00000000000..bc9ca43d40d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v400/ResourceProcessor.java @@ -0,0 +1,78 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.ig.us.core.tool.v400; + +import java.io.BufferedReader; +import java.io.File; +import java.io.FileReader; +import java.io.FileWriter; +import java.util.Collections; +import java.util.Map; + +import jakarta.json.Json; +import jakarta.json.JsonBuilderFactory; +import jakarta.json.JsonObject; +import jakarta.json.JsonObjectBuilder; +import jakarta.json.JsonReader; +import jakarta.json.JsonReaderFactory; +import jakarta.json.JsonWriter; +import jakarta.json.JsonWriterFactory; +import jakarta.json.stream.JsonGenerator; + +/** + * This class fixes two issues with the packaged US Core artifacts: + *
    + *
  1. The provided structure definitions contain invalid XHTML
  2. + *
  3. The provided structure definitions do not contain a version element
  4. + *
+ */ +public class ResourceProcessor { + public static void main(String[] args) throws Exception { + Map writerConfig = Collections.singletonMap(JsonGenerator.PRETTY_PRINTING, true); + JsonReaderFactory jsonReaderFactory = Json.createReaderFactory(null); + JsonWriterFactory jsonWriterFactory = Json.createWriterFactory(writerConfig); + JsonBuilderFactory jsonBuilderFactory = Json.createBuilderFactory(null); + + File dir = new File("src/main/resources/hl7/fhir/us/core/400/package/"); + for (File file : dir.listFiles()) { + String fileName = file.getName(); + if (!fileName.endsWith(".json") || file.isDirectory() + || fileName.startsWith(".index.json") + || fileName.startsWith("package.json") + ) { + continue; + } + JsonObject jsonObject = null; + try (BufferedReader reader = new BufferedReader(new FileReader(file))) { + JsonReader jsonReader = jsonReaderFactory.createReader(reader); + jsonObject = jsonReader.readObject(); + + JsonObjectBuilder jsonObjectBuilder = jsonBuilderFactory.createObjectBuilder(jsonObject); + + JsonObject text = jsonObject.getJsonObject("text"); + if (text != null) { + // Replace the generated text with some [much smaller] generic placeholder + JsonObjectBuilder textBuilder = jsonBuilderFactory.createObjectBuilder(); + textBuilder.add("status", "empty"); + textBuilder.add("div", "
Redacted for size
"); + jsonObjectBuilder.add("text", textBuilder); + } + + if (!jsonObject.containsKey("version")) { + System.out.println("file: " + file + " does not have a version"); + jsonObjectBuilder.add("version", "4.0.0"); + } + + jsonObject = jsonObjectBuilder.build(); + } + try (FileWriter writer = new FileWriter(file)) { + JsonWriter jsonWriter = jsonWriterFactory.createWriter(writer); + jsonWriter.write(jsonObject); + } + } + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v400/SearchParameterAugmenter.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v400/SearchParameterAugmenter.java new file mode 100644 index 00000000000..5304ce3cd0f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v400/SearchParameterAugmenter.java @@ -0,0 +1,122 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ +package com.ibm.fhir.ig.us.core.tool.v400; + +import java.io.BufferedWriter; +import java.nio.charset.Charset; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.Collection; +import java.util.List; +import java.util.Set; +import java.util.stream.Collectors; + +import com.ibm.fhir.core.FHIRConstants; +import com.ibm.fhir.model.format.Format; +import com.ibm.fhir.model.generator.FHIRGenerator; +import com.ibm.fhir.model.resource.SearchParameter; +import com.ibm.fhir.model.resource.ValueSet; +import com.ibm.fhir.model.resource.ValueSet.Compose.Include; +import com.ibm.fhir.model.type.Canonical; +import com.ibm.fhir.model.type.ElementDefinition; +import com.ibm.fhir.model.type.Extension; +import com.ibm.fhir.model.type.Uri; +import com.ibm.fhir.model.type.code.BindingStrength; +import com.ibm.fhir.model.type.code.FHIRDefinedType; +import com.ibm.fhir.model.type.code.ResourceType; +import com.ibm.fhir.profile.ProfileSupport; +import com.ibm.fhir.registry.FHIRRegistry; + +/** + * A utility for adding the http://ibm.com/fhir/extension/implicit-system extension + * to search parameters which always reference code values with a particular system + */ +public class SearchParameterAugmenter { + private static final String IMPLICIT_SYSTEM_EXT_URL = FHIRConstants.EXT_BASE + "implicit-system"; + private static final FHIRGenerator generator = FHIRGenerator.generator(Format.JSON, false); + + public static void main(String[] args) throws Exception { + Collection tokenParams = FHIRRegistry.getInstance().getSearchParameters("token"); + + for (SearchParameter searchParameter : tokenParams) { + if (searchParameter.getUrl() != null && searchParameter.getUrl().hasValue() + && searchParameter.getUrl().getValue().startsWith("http://hl7.org/fhir/SearchParameter") + && searchParameter.getVersion().getValue() != "4.0.0") { + continue; // skip the parameters defined in the base spec + } + + List base = searchParameter.getBase(); + if (base.size() != 1 || base.get(0).getValueAsEnum() == ResourceType.Value.RESOURCE) { + continue; // too complicated to handle this case right now + } + + String implicitSystem = getImplicitSystem(searchParameter); + + if (implicitSystem != null) { + System.out.println(searchParameter.getId() + ": " + implicitSystem); + + String currentValue = searchParameter.getExtension().stream() + .filter(e -> IMPLICIT_SYSTEM_EXT_URL.equals(e.getUrl()) && e.getValue() != null) + .reduce((a, b) -> { + throw new IllegalStateException("Multiple existing extension values: " + a + ", " + b); + }) + .map(e -> e.getValue().as(Uri.class).getValue()) + .orElse(null); + + if (currentValue == null) { + searchParameter = searchParameter.toBuilder() + .extension(buildImplicitSystemExtension(implicitSystem)) + .build(); + } else if (currentValue.equals(implicitSystem)){ + continue; + } else { + throw new IllegalStateException("Existing SearchParameter '" + searchParameter.getId() + + "' already has an implicity system extension and it doesn't match '" + implicitSystem + "'"); + } + + Path path = Paths.get("src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-" + + searchParameter.getId() + ".json"); + BufferedWriter writer = Files.newBufferedWriter(path, Charset.forName("UTF-8")); + generator.generate(searchParameter, writer); + } + } + } + + private static String getImplicitSystem(SearchParameter searchParameter) { + String system = null; + ElementDefinition def = ProfileSupport.getElementDefinition(searchParameter.getExpression().getValue()); + + if (def != null && + def.getBinding() != null && + def.getType().size() == 1 && + FHIRDefinedType.CODE.getValue().equals(def.getType().get(0).getCode().getValue()) && + BindingStrength.Value.REQUIRED == def.getBinding().getStrength().getValueAsEnum()) { + Canonical valueSetRef = def.getBinding().getValueSet(); + ValueSet valueSet = FHIRRegistry.getInstance().getResource(valueSetRef.getValue(), ValueSet.class); + + if (valueSet.getCompose() != null) { + Set systems = valueSet.getCompose().getInclude().stream().collect(Collectors.toSet()); + if (systems.size() == 1) { + Uri systemUri = systems.iterator().next().getSystem(); + if (systemUri != null) { + system = systemUri.getValue(); + } + } + } + } + return system; + } + + public static Extension buildImplicitSystemExtension(String implicitSystemValue) { + if (implicitSystemValue == null) return null; + + return Extension.builder() + .url(IMPLICIT_SYSTEM_EXT_URL) + .value(Uri.of(implicitSystemValue)) + .build(); + } +} diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/AllergyIntolerance-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/AllergyIntolerance-example.json new file mode 100644 index 00000000000..589dc9764ca --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/AllergyIntolerance-example.json @@ -0,0 +1,64 @@ +{ + "resourceType": "AllergyIntolerance", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: example

meta:

clinicalStatus: Active

verificationStatus: Confirmed

category: medication

criticality: high

code: sulfonamide antibacterial

patient: Amy V. 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

Reactions

-ManifestationSeverity
*skin rashmild
" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "confirmed" + } + ] + }, + "category": [ + "medication" + ], + "criticality": "high", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "387406002", + "display": "Sulfonamide (substance)" + } + ], + "text": "sulfonamide antibacterial" + }, + "patient": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + }, + "reaction": [ + { + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "271807003", + "display": "skin rash" + } + ], + "text": "skin rash" + } + ], + "severity": "mild" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json new file mode 100644 index 00000000000..f889897c75e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json @@ -0,0 +1,225 @@ +{ + "resourceType": "Bundle", + "id": "66c8856b-ba11-4876-8aa8-467aad8c11a2", + "type": "searchset", + "total": 1, + "link": [ + { + "relation": "self", + "url": "http://52.90.126.238:8080/fhir/baseDstu3/PractitionerRole?_id=PractitionerRole-1&_include=PractitionerRole%3Apractitioner&_include=PractitionerRole%3Aendpoint" + } + ], + "entry": [ + { + "fullUrl": "http://52.90.126.238:8080/fhir/baseDstu3/PractitionerRole/PractitionerRole-1", + "resource": { + "resourceType": "PractitionerRole", + "id": "PractitionerRole-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "practitioner": { + "reference": "Practitioner/Practitioner-1011", + "display": "Brenda Jennings Richard MD" + }, + "organization": { + "reference": "Organization/acme-lab", + "display": "Acme Lab" + }, + "code": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "261QP2300X", + "display": "Primary Care" + } + ] + } + ], + "specialty": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "208D00000X", + "display": "General Practice" + } + ] + } + ], + "location": [ + { + "reference": "Location/hl7east", + "display": "Health Level Seven International" + } + ], + "endpoint": [ + { + "reference": "Endpoint/71", + "display": "Westwood Physicians Organization ADT" + }, + { + "reference": "Endpoint/71", + "display": "Brenda.Jennings.Richard.MD@direct.example.org" + } + ] + }, + "search": { + "mode": "match" + } + }, + { + "fullUrl": "http://52.90.126.238:8080/fhir/baseDstu3/Practitioner/Practitioner-1011", + "resource": { + "resourceType": "Practitioner", + "id": "Practitioner-1011", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: Practitioner-1011

meta:

identifier: 000001011 (OFFICIAL), 9999991011 (OFFICIAL), d46f70565a1042f6a6ece48dd81b408f (OFFICIAL)

name: Brenda Jennings Richard

telecom: ph: 313-555-6868(HOME), ph: 313-555-6443(WORK)

address: 346 W Plum Avenu Dearborn MI 48123

gender: female

birthDate: 1976-11-15

Qualifications

-IdentifierCodeIssuer
*Michigan Medical License = LARA-1011 (OFFICIAL)Medical DoctorMichigan Department of Licensing and Regulatory Affairs
" + }, + "identifier": [ + { + "use": "official", + "system": "http://hl7.org/fhir/sid/us-ssn", + "value": "000001011" + }, + { + "use": "official", + "system": "http://hl7.org/fhir/sid/us-npi", + "value": "9999991011" + }, + { + "use": "official", + "system": "http://mihin.org/fhir/cks", + "value": "d46f70565a1042f6a6ece48dd81b408f" + } + ], + "name": [ + { + "family": "Richard", + "given": [ + "Brenda", + "Jennings" + ], + "suffix": [ + "MD" + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "313-555-6868", + "use": "home" + }, + { + "system": "phone", + "value": "313-555-6443", + "use": "work" + } + ], + "address": [ + { + "text": "346 W Plum Avenu Dearborn MI 48123", + "line": [ + "346 W Plum Avenue" + ], + "city": "Dearborn", + "state": "MI", + "postalCode": "48126" + } + ], + "gender": "female", + "birthDate": "1976-11-15", + "qualification": [ + { + "identifier": [ + { + "use": "official", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MD", + "display": "Medical License number" + } + ], + "text": "Michigan Medical License" + }, + "system": "http://michigan.gov/fhir/medical-license", + "value": "LARA-1011", + "assigner": { + "display": "State of Michigan" + } + } + ], + "code": { + "coding": [ + { + "system": "http://michigan.gov/lara/license-type", + "code": "4305", + "display": "Medical Doctor" + } + ] + }, + "issuer": { + "display": "Michigan Department of Licensing and Regulatory Affairs" + } + } + ] + }, + "search": { + "mode": "include" + } + }, + { + "fullUrl": "http://52.90.126.238:8080/fhir/baseDstu3/Endpoint/Endpoint-71", + "resource": { + "resourceType": "Endpoint", + "id": "71", + "text": { + "status": "generated", + "div": "

Generated Narrative

id: 71

status: active

connectionType: Direct Project

name: Brenda.Jennings.Richard.MD@direct.example.org

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

payloadType: urn:hl7-org:sdwg:ccda-structuredBody:1.1

payloadMimeType: text/xml

address: Brenda.Jennings.Richard.MD@direct.example.org

" + }, + "status": "active", + "connectionType": { + "system": "http://terminology.hl7.org/CodeSystem/endpoint-connection-type", + "code": "direct-project" + }, + "name": "Brenda.Jennings.Richard.MD@direct.example.org", + "managingOrganization": { + "reference": "Organization/acme-lab" + }, + "payloadType": [ + { + "coding": [ + { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", + "code": "urn:hl7-org:sdwg:ccda-structuredBody:1.1" + } + ] + } + ], + "payloadMimeType": [ + "text/xml" + ], + "address": "mailto:Brenda.Jennings.Richard.MD@direct.example.org" + }, + "search": { + "mode": "include" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json new file mode 100644 index 00000000000..dc2bf668cc5 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json @@ -0,0 +1,136 @@ +{ + "resourceType": "Bundle", + "id": "c887e62f-6166-419f-8268-b5ecd6c7b901", + "meta": { + "lastUpdated": "2019-07-09T18:49:01.235+00:00" + }, + "type": "searchset", + "total": 1, + "link": [ + { + "relation": "self", + "url": "http://example.org/fhir/AllergyIntolerance?_revinclude=Provenance%3Atarget&patient=Examples" + } + ], + "entry": [ + { + "fullUrl": "http://example.org/fhir/AllergyIntolerance/79613", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "79613", + "meta": { + "versionId": "1", + "lastUpdated": "2019-07-09T15:26:23.217+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: 79613

meta:

clinicalStatus: Active

verificationStatus: Confirmed

category: medication

criticality: high

code: Peanuts

patient: 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

onset: 2017-06-09

Reactions

-ManifestationOnset
*Hives2017-06-09
" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active", + "display": "Active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "confirmed", + "display": "Confirmed" + } + ] + }, + "category": [ + "medication" + ], + "criticality": "high", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "762952008", + "display": "Peanuts" + } + ], + "text": "Peanuts" + }, + "patient": { + "reference": "Patient/example" + }, + "onsetDateTime": "2017-06-09", + "reaction": [ + { + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "247472004", + "display": "Hives" + } + ] + } + ], + "onset": "2017-06-09" + } + ] + }, + "search": { + "mode": "match" + } + }, + { + "fullUrl": "http://example.org/fhir/Provenance/79614", + "resource": { + "resourceType": "Provenance", + "id": "79614", + "meta": { + "versionId": "1", + "lastUpdated": "2019-07-09T15:26:23.217+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "target": [ + { + "reference": "AllergyIntolerance/79613" + } + ], + "recorded": "2019-07-09T15:26:23.217+00:00", + "agent": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", + "code": "author", + "display": "Author" + } + ] + }, + "who": { + "reference": "Practitioner/practitioner-1" + }, + "onBehalfOf": { + "reference": "Organization/saint-luke-w-endpoint" + } + } + ] + }, + "search": { + "mode": "include" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Bundle-uscore-mo3.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Bundle-uscore-mo3.json new file mode 100644 index 00000000000..63f2507728d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Bundle-uscore-mo3.json @@ -0,0 +1,79 @@ +{ + "resourceType": "Bundle", + "id": "uscore-mo3", + "type": "searchset", + "total": 1, + "link": [ + { + "relation": "self", + "url": "http://test.fhir.org/r4/MedicationRequest?search-id=4085956e-63b8-402d-b181-325040fdb9&&_id=uscore%2Dmo3&_include=MedicationRequest%3Amedication&_sort=_id" + } + ], + "entry": [ + { + "fullUrl": "http://test.fhir.org/r4/MedicationRequest/uscore-mo3", + "resource": { + "resourceType": "MedicationRequest", + "id": "uscore-mo3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "active", + "intent": "order", + "medicationReference": { + "reference": "Medication/uscore-med2", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "authoredOn": "2008-04-05", + "requester": { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + } + }, + "search": { + "mode": "match" + } + }, + { + "fullUrl": "/Medication/uscore-med2", + "resource": { + "resourceType": "Medication", + "id": "uscore-med2", + "meta": { + "versionId": "1", + "lastUpdated": "2016-11-29T19:45:46Z", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: uscore-med2

meta:

code: Nizatidine 15 MG/ML Oral Solution [Axid]

" + }, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + }, + "search": { + "mode": "include" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/CarePlan-colonoscopy.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/CarePlan-colonoscopy.json new file mode 100644 index 00000000000..f97a89ab81a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/CarePlan-colonoscopy.json @@ -0,0 +1,29 @@ +{ + "resourceType": "CarePlan", + "id": "colonoscopy", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan|3.1.1" + ] + }, + "text": { + "status": "additional", + "div": "
\n\t\t\tAssessment\n\t\t\t
    \n\t\t\t\t
  1. Recurrent GI bleed of unknown etiology; hypotension perhaps secondary to this but as likely secondary to polypharmacy.
  2. \n\t\t\t\t
  3. Acute on chronic anemia secondary to #1.
  4. \n\t\t\t\t
  5. Azotemia, acute renal failure with volume loss secondary to #1.
  6. \n\t\t\t\t
  7. Hyperkalemia secondary to #3 and on ACE and K+ supplement.
  8. \n\t\t\t\t
  9. Other chronic diagnoses as noted above, currently stable.
  10. \n\t\t\t
\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
Planned ActivityPlanned Date
ColonoscopyApril 21, 2000
\n\t\t
" + }, + "status": "active", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + } + ], + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/CareTeam-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/CareTeam-example.json new file mode 100644 index 00000000000..7ba87befbc4 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/CareTeam-example.json @@ -0,0 +1,72 @@ +{ + "resourceType": "CareTeam", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: example

meta:

status: active

name: US-Core example CareTeam

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

participant

role: Cardiovascular Disease

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

participant

role: General Practice

member: Kathy Fielding, MD. Generated Summary: id: practitioner-2; 1245319599, 456789; Fielding Kathy ; Kathy.Fielding@direct.ExampleMedicalPractice.net(WORK)

participant

role: Patient (person)

member: Amy V. 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

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

Generated Narrative

id: example

meta:

clinicalStatus: Active

verificationStatus: Confirmed

category: Problem

code: Single liveborn, born in hospital

subject: Amy V. 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

onset: 2016-08-10

" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active", + "display": "Active" + } + ], + "text": "Active" + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem" + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "442311008", + "display": "Liveborn born in hospital" + } + ], + "text": "Single liveborn, born in hospital" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + }, + "onsetDateTime": "2016-08-10" +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Condition-hc1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Condition-hc1.json new file mode 100644 index 00000000000..73e9fe6a34a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Condition-hc1.json @@ -0,0 +1,53 @@ +{ + "resourceType": "Condition", + "id": "hc1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: hc1

meta:

clinicalStatus: Active

verificationStatus: Confirmed

category: Health Concern

code: Cost of medications

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

onset: 2007-12-14

" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active", + "display": "Active" + } + ], + "text": "Active" + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "code": "health-concern", + "display": "Health Concern" + } + ], + "text": "Health Concern" + } + ], + "code": { + "text": "Cost of medications" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "onsetDateTime": "2007-12-14" +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Device-udi-1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Device-udi-1.json new file mode 100644 index 00000000000..9066e52d861 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Device-udi-1.json @@ -0,0 +1,36 @@ +{ + "resourceType": "Device", + "id": "udi-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: udi-1

meta:

UdiCarriers

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

status: active

expirationDate: 2014-11-20

lotNumber: 7654321D

serialNumber: 10987654d321

type: Coated femoral stem prosthesis, modular

patient: 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

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

Generated Narrative

id: udi-2

meta:

UdiCarriers

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

status: active

manufacturer: ACME Biomedical

expirationDate: 2022-01-01

lotNumber: M320

serialNumber: AC221

DeviceNames

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

modelNumber: 1.0

type: Implant

patient: 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

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

Generated Narrative

id: udi-3

meta:

UdiCarriers

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

status: active

manufacturer: ACME Biomedical

manufactureDate: 2015-10-15

expirationDate: 2022-01-01

lotNumber: M320

serialNumber: AC221

DeviceNames

-NameType
*ACME Knee Replacement Deviceudi-label-name

modelNumber: 1.0

type: Knee joint prosthesis

patient: Amy V. 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

" + }, + "udiCarrier": [ + { + "deviceIdentifier": "987979879879", + "carrierHRF": "(01)987979879879(11)191015(17)220101(10)M320(21)AC221", + "entryType": "rfid" + } + ], + "status": "active", + "manufacturer": "ACME Biomedical", + "manufactureDate": "2015-10-15", + "expirationDate": "2022-01-01", + "lotNumber": "M320", + "serialNumber": "AC221", + "deviceName": [ + { + "name": "ACME Knee Replacement Device", + "type": "udi-label-name" + } + ], + "modelNumber": "1.0", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "109228008", + "display": "Knee joint prosthesis" + } + ], + "text": "Knee joint prosthesis" + }, + "patient": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/DiagnosticReport-cardiology-report.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/DiagnosticReport-cardiology-report.json new file mode 100644 index 00000000000..a1e556c68ed --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/DiagnosticReport-cardiology-report.json @@ -0,0 +1,47 @@ +{ + "resourceType": "DiagnosticReport", + "id": "cardiology-report", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

\n

id: cardiology-report

\n

meta:

\n

profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note

\n

status: final

\n

category: Cardiology

\n

code: Cardiovascular physiologic and EKG assessment panel

\n

subject: Patient-example.html

\n

effectiveDateTime: '2011-01-01T21:39:30.000Z'

\n

presentedForm:

\n
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "LP29708-2", + "display": "Cardiology" + } + ], + "text": "Cardiology" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "45033-8", + "display": "Cardiovascular physiologic and EKG assessment panel" + } + ], + "text": "Cardiovascular physiologic and EKG assessment panel" + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2011-01-01T21:39:30.000Z", + "presentedForm": [ + { + "contentType": "application/pdf", + "url": "http://example.org/pdfdownloads/cardiopanel-report-123.pdf", + "hash": "RVFILy4uQWdNRQo=" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/DiagnosticReport-cbc.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/DiagnosticReport-cbc.json new file mode 100644 index 00000000000..5e7eb01b6af --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/DiagnosticReport-cbc.json @@ -0,0 +1,66 @@ +{ + "resourceType": "DiagnosticReport", + "id": "cbc", + "meta": { + "versionId": "205814", + "lastUpdated": "2016-03-09T15:35:58.045+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

to do (to do) to do

to doReport Details
to do to do to do to do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do

Coded Diagnoses :

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

Generated Narrative with Details

id: chest-xray-report

meta:

status: final

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

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

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

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

presentedForm:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "LP29684-5", + "display": "Radiology" + } + ], + "text": "Radiology" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "30746-2", + "display": "Portable XR Chest Views" + } + ], + "text": "Portable XR Chest Views" + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2019-02-03T19:43:30.000Z", + "presentedForm": [ + { + "contentType": "application/xhtml", + "data": "PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFsLy9FTiIgIkRURC94aHRtbDEtdHJhbnNpdGlvbmFsLmR0ZCI+CgkJPGh0bWwgeG1sOmxhbmc9ImVuIiBsYW5nPSJlbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiPgkJCiAgPGhlYWQ+CiAgICA8dGl0bGU+Q2hlc3QgUG9ydGFibGU8L3RpdGxlPgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxwPlJlc3VsdDwvcD4KICAgIDxici8+Q2hlc3QgUG9ydGFibGUgCiAgICAgIAogICAgICA8cD5JTkRJQ0FUSU9OL0NMSU5JQ0FMIFFVRVNUSU9OOiBGZXZlciAvIFBuZXVtb25pYTwvcD4KICAgICAgCiAgICAgIDxwPkNPTVBBUklTT046IE5vbmUuPC9wPgogICAgICAKICAgICAgPHA+RklORElOR1M6PC9wPgogICAgICAKICAgICAgPHA+TElORVMgQU5EIFRVQkVTOiBOb25lLjwvcD4KICAgICAgCiAgICAgIDxwPkxVTkdTIEFORCBQTEVVUkE6PC9wPgogICAgICA8YnIvPkNsZWFyIGx1bmdzLiBOb3JtYWwgcHVsbW9uYXJ5IHZhc2N1bGFyaXR5LgogICAgICA8YnIvPk5vIHBsZXVyYWwgZWZmdXNpb24uCiAgICAgIDxici8+Tm8gcG5ldW1vdGhvcmF4LgogICAgICAKICAgICAgPHA+SEVBUlQsIE1FRElBU1RJTlVNIEFORCBISUxBOjwvcD4KICAgICAgPGJyLz5IZWFydCBpcyBub3JtYWwgaW4gc2l6ZS4KICAgICAgPGJyLz5Ob3JtYWwgbWVkaWFzdGluYWwgYW5kIGhpbGFyIGNvbnRvdXIuCiAgICAgIAogICAgICA8cD5CT05FUyBBTkQgU09GVCBUSVNTVUVTOjwvcD4KICAgICAgPGJyLz5ObyBhY3V0ZSBhYm5vcm1hbGl0eS4KICAgICAgCiAgICAgIDxwPklNUFJFU1NJT046PC9wPgogICAgICA8YnIvPk5vIGFjdXRlIGFibm9ybWFsaXR5LgogICAgICAKICAgICAgPHA+V1NOOiBPMTlJQy1TQy0wMjExPC9wPgogICAgICAKICAgICAgPHA+RGljdGF0ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgRGljdGF0ZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQ0IHBtCiAgICAgICAgUmV2aWV3ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgU2lnbmVkIEJ5OiBDdXJlIE1ELCBDaHJpc3RpbmUgSgogICAgICAgIFNpZ25lZCBEYXRlL1RpbWU6IDAyLzAzLzE5IDc6NDQgcG0KICAgICAgICBUcmFuc2NyaWJlZCBCeTogQ1NCCiAgICAgICAgVHJhbnNjcmliZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQzIHBtPC9wPgogICAgICAKICAgICAgCiAgPC9ib2R5Pgo8L2h0bWw+Cg==" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/DiagnosticReport-metabolic-panel.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/DiagnosticReport-metabolic-panel.json new file mode 100644 index 00000000000..43004c66f2e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/DiagnosticReport-metabolic-panel.json @@ -0,0 +1,86 @@ +{ + "resourceType": "DiagnosticReport", + "id": "metabolic-panel", + "meta": { + "versionId": "205790", + "lastUpdated": "2016-03-09T15:35:58.018+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

to do (to do) to do

to doReport Details
to do to do to do to do to do to do to do to do to do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do

Coded Diagnoses :

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

to do (to do) to do

to doReport Details
to do to do to do to do to do to do to do to do to do to do to do to do to do to do to do to do to do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do

Coded Diagnoses :

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

Generated Narrative

id: episode-summary

meta:

identifier: 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: Mar 9, 2016, 3:29:46 PM

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

description: Pulmonology clinic acute visit

Contents

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

Contexts

-Period
*Dec 22, 2004, 9:00:00 PM --> Dec 22, 2004, 9:01:00 PM
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.19.5.99999.1" + } + ], + "status": "current", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34133-9", + "display": "Summary of episode note" + } + ], + "text": "CCD Document" + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ], + "text": "Clinical Note" + } + ], + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "date": "2016-03-09T15:29:46Z", + "author": [ + { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + } + ], + "description": "Pulmonology clinic acute visit", + "content": [ + { + "attachment": { + "contentType": "text/plain", + "url": "/Binary/1-note", + "title": "Uri where the data can be found: [base]/Binary/1-note" + }, + "format": { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", + "code": "urn:hl7-org:sdwg:ccda-structuredBody:2.1", + "display": "Documents following C-CDA constraints using a structured body" + } + } + ], + "context": { + "period": { + "start": "2004-12-23T08:00:00+11:00", + "end": "2004-12-23T08:01:00+11:00" + } + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Encounter-1036.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Encounter-1036.json new file mode 100644 index 00000000000..e43de328e27 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Encounter-1036.json @@ -0,0 +1,17 @@ +{ + "resourceType": "Encounter", + "id": "1036", + "text": { + "status": "generated", + "div": "" + }, + "status": "in-progress", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "IMP", + "display": "inpatient encounter" + }, + "subject": { + "reference": "Patient/example" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Encounter-example-1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Encounter-example-1.json new file mode 100644 index 00000000000..56f843ffe75 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Encounter-example-1.json @@ -0,0 +1,38 @@ +{ + "resourceType": "Encounter", + "id": "example-1", + "meta": { + "lastUpdated": "2017-05-26T11:56:57.250-04:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: example-1

meta:

status: finished

class: ambulatory

type: Office Visit

subject: 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

period: Nov 1, 2015, 10:00:14 PM --> Nov 1, 2015, 11:00:14 PM

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

Generated Narrative

id: goal-1

meta:

lifecycleStatus: active

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

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

Targets

-Due[x]
*2016-04-05
" + }, + "lifecycleStatus": "active", + "description": { + "text": "Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "target": [ + { + "dueDate": "2016-04-05" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Immunization-imm-1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Immunization-imm-1.json new file mode 100644 index 00000000000..a8cd52f7f0f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Immunization-imm-1.json @@ -0,0 +1,34 @@ +{ + "resourceType": "Immunization", + "id": "imm-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: imm-1

meta:

status: completed

vaccineCode: influenza, injectable, quadrivalent

patient: 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

occurrence: 2016-01-08

primarySource: false

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

Generated Narrative

id: hl7east

meta:

identifier: 29

status: active

name: Health Level Seven International - Amherst

description: HL7 Headquarters - East

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

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

Positions

-LongitudeLatitude
*-72.51985442.373222

managingOrganization: Health Level Seven International

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

Generated Narrative

id: uscore-med1

meta:

code: lisinopril oral 10 mg

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

Generated Narrative

id: uscore-med2

meta:

code: Nizatidine 15 MG/ML Oral Solution [Axid]

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

Generated Narrative

id: uscore-mo1

meta:

status: active

intent: order

medication: Nizatidine 15 MG/ML Oral Solution [Axid]

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

authoredOn: 2008-04-05

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

dosageInstruction:

DispenseRequests

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

Generated Narrative

" + }, + "contained": [ + { + "resourceType": "Medication", + "id": "med2", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + } + ], + "status": "active", + "intent": "order", + "medicationReference": { + "reference": "#med2", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "authoredOn": "2008-04-05", + "requester": { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + }, + "dosageInstruction": [ + { + "text": "10 mL bid", + "timing": { + "repeat": { + "boundsPeriod": { + "start": "2008-04-05" + } + } + } + } + ], + "dispenseRequest": { + "numberOfRepeatsAllowed": 1, + "quantity": { + "value": 480, + "unit": "mL", + "system": "http://unitsofmeasure.org", + "code": "mL" + }, + "expectedSupplyDuration": { + "value": 30, + "unit": "days", + "system": "http://unitsofmeasure.org", + "code": "d" + } + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-blood-glucose.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-blood-glucose.json new file mode 100644 index 00000000000..54e4628378c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-blood-glucose.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "blood-glucose", + "meta": { + "versionId": "1165", + "lastUpdated": "2016-03-09T15:29:58.328+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: blood-glucose

meta:

category: Laboratory

code: Glucose Bld-mCnc

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

effective: 2005-07-05

value: 76.0 mg/dL

ReferenceRanges

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

Generated Narrative

id: blood-pressure

meta:

category: Vital Signs

code: Blood pressure systolic and diastolic

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

encounter: GP Visit

effective: 1999-07-02

component

code: Systolic blood pressure

value: 109 mmHg

component

code: Diastolic blood pressure

value: 44 mmHg

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood pressure panel with all children optional" + } + ], + "text": "Blood pressure systolic and diastolic" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic blood pressure" + } + ], + "text": "Systolic blood pressure" + }, + "valueQuantity": { + "value": 109, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic blood pressure" + } + ], + "text": "Diastolic blood pressure" + }, + "valueQuantity": { + "value": 44, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-bmi.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-bmi.json new file mode 100644 index 00000000000..ec8b5e0aa36 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-bmi.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "bmi", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body mass index (BMI) [Ratio]" + } + ], + "text": "BMI" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 16.2, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-bp-data-absent.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-bp-data-absent.json new file mode 100644 index 00000000000..9c66a903a4f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-bp-data-absent.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "bp-data-absent", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: bp-data-absent

meta:

category: Vital Signs

code: Blood pressure systolic and diastolic

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

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

effective: 1999-07-02

component

code: Systolic blood pressure

value: 109 mmHg

component

code: Diastolic blood pressure

dataAbsentReason: Unknown

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

Generated Narrative

id: bun

meta:

category: Laboratory

code: BUN SerPl-mCnc

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

effective: 2005-07-05

value: 10.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*5.0 mg/dL20.0 mg/dLNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3094-0", + "display": "BUN SerPl-mCnc" + } + ], + "text": "BUN SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 10.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 5.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 20.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-erythrocytes.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-erythrocytes.json new file mode 100644 index 00000000000..b61ca8b355f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-erythrocytes.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "erythrocytes", + "meta": { + "versionId": "1189", + "lastUpdated": "2016-03-09T15:29:58.419+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: erythrocytes

meta:

category: Laboratory

code: RBC # Bld Auto

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

effective: 2005-07-05

value: 4.58 10*6/uL

ReferenceRanges

-LowHighAppliesTo
*4.1 10*6/uL6.1 10*6/uLNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "789-8", + "display": "RBC # Bld Auto" + } + ], + "text": "RBC # Bld Auto" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 4.58, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 4.1, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org", + "code": "10*6/uL" + }, + "high": { + "value": 6.1, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org", + "code": "10*6/uL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-heart-rate.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-heart-rate.json new file mode 100644 index 00000000000..c5a18daf474 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-heart-rate.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "heart-rate", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: heart-rate

meta:

category: Vital Signs

code: heart_rate

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

encounter: GP Visit

effective: 1999-07-02

value: 44.0 beats/min

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart Rate" + } + ], + "text": "heart_rate" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 44.0, + "unit": "beats/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-height.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-height.json new file mode 100644 index 00000000000..e763f352824 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-height.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "height", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body height" + } + ], + "text": "height" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 111.506, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-hemoglobin.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-hemoglobin.json new file mode 100644 index 00000000000..35b10dcb79a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-hemoglobin.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "hemoglobin", + "meta": { + "versionId": "1046", + "lastUpdated": "2016-03-09T15:29:57.818+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: hemoglobin

meta:

category: Laboratory

code: Hgb Bld-mCnc

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

effective: 2005-07-05

value: 17.0 g/dL

ReferenceRanges

-LowHighAppliesTo
*16.5 g/dL21.5 g/dLNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "718-7", + "display": "Hgb Bld-mCnc" + } + ], + "text": "Hgb Bld-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 17.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 16.5, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "high": { + "value": 21.5, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-length.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-length.json new file mode 100644 index 00000000000..eff0775a52b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-length.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "length", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8306-3", + "display": "Body height --lying" + } + ], + "text": "length" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 25, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-mchc.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-mchc.json new file mode 100644 index 00000000000..724687ad8e1 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-mchc.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "mchc", + "meta": { + "versionId": "879", + "lastUpdated": "2016-03-09T15:29:57.124+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: mchc

meta:

category: Laboratory

code: MCHC RBC Auto-mCnc

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

effective: 2005-07-05

value: 34.7 g/dL

ReferenceRanges

-LowHighAppliesTo
*30.0 g/dL34.0 g/dLNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "786-4", + "display": "MCHC RBC Auto-mCnc" + } + ], + "text": "MCHC RBC Auto-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 34.7, + "unit": "g/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 30.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "high": { + "value": 34.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-neutrophils.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-neutrophils.json new file mode 100644 index 00000000000..2f53f0f4fc3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-neutrophils.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "neutrophils", + "meta": { + "versionId": "1106", + "lastUpdated": "2016-03-09T15:29:58.052+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: neutrophils

meta:

category: Laboratory

code: Neutrophils %

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

effective: 2005-07-05

value: 40.0 %

ReferenceRanges

-LowHighAppliesTo
*37.0 %67.0 %Normal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "770-8", + "display": "Neutrophils/100 leukocytes in Blood by Automated count" + } + ], + "text": "Neutrophils %" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 40.0, + "unit": "%", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 37.0, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "high": { + "value": 67.0, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-ofc-percentile.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-ofc-percentile.json new file mode 100644 index 00000000000..d2e8003bc00 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-ofc-percentile.json @@ -0,0 +1,52 @@ +{ + "resourceType": "Observation", + "id": "ofc-percentile", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: ofc-percentile

meta:

category: Vital Signs

code: Head Occipital-frontal circumference Percentile

subject: Infant Example. Generated Summary: id: infant-example; Medical Record Number = 1032703 (USUAL); active; Infant Example ; ph: 555-555-5555(HOME); gender: male; birthDate: 2020-06-02

effective: 2020-07-01

value: 82 %

note: Annotation: WHO Males, 0-2 years Chart

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8289-1", + "display": "Head Occipital-frontal circumference Percentile" + } + ], + "text": "Head Occipital-frontal circumference Percentile" + }, + "subject": { + "reference": "Patient/infant-example", + "display": "Infant Example" + }, + "effectiveDateTime": "2020-07-01", + "valueQuantity": { + "value": 82, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "note": [ + { + "text": "WHO Males, 0-2 years Chart" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-oxygen-saturation.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-oxygen-saturation.json new file mode 100644 index 00000000000..81f07ae49c7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-oxygen-saturation.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "oxygen-saturation", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: oxygen-saturation

meta:

category: Vital Signs

code: oxygen_saturation

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

encounter: GP Visit

effective: 1999-07-02

value: 99.0 %O2

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59408-5", + "display": "Oxygen saturation in Arterial blood by Pulse oximetry" + } + ], + "text": "oxygen_saturation" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 99.0, + "unit": "%O2", + "system": "http://unitsofmeasure.org", + "code": "%" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-pediatric-bmi-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-pediatric-bmi-example.json new file mode 100644 index 00000000000..382b34ffbce --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-pediatric-bmi-example.json @@ -0,0 +1,55 @@ +{ + "resourceType": "Observation", + "id": "pediatric-bmi-example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: pediatric-bmi-example

meta:

category: Vital Signs

code: BMI

subject: Child Example. Generated Summary: id: child-example; Medical Record Number = 1032704 (USUAL); active; Child Example ; ph: 555-555-5555(HOME); gender: male; birthDate: 2016-01-15

encounter: GP Visit

effective: May 4, 2019, 7:12:29 PM

value: 65 %

note: Annotation: CDC Males, 2-20 years Chart

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59576-9", + "display": "Body mass index (BMI) [Percentile] Per age and sex" + } + ], + "text": "BMI" + }, + "subject": { + "reference": "Patient/child-example", + "display": "Child Example" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "2019-05-04T12:12:29-07:00", + "valueQuantity": { + "value": 65, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "note": [ + { + "text": "CDC Males, 2-20 years Chart" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-pediatric-wt-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-pediatric-wt-example.json new file mode 100644 index 00000000000..a1002088309 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-pediatric-wt-example.json @@ -0,0 +1,55 @@ +{ + "resourceType": "Observation", + "id": "pediatric-wt-example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: pediatric-wt-example

meta:

category: Vital Signs

code: BMI

subject: Infant Example. Generated Summary: id: infant-example; Medical Record Number = 1032703 (USUAL); active; Infant Example ; ph: 555-555-5555(HOME); gender: male; birthDate: 2020-06-02

encounter: GP Visit

effective: 2020-07-02

value: 65 %

note: Annotation: WHO Males, 0-2 years Chart

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "77606-2", + "display": "Weight-for-length Per age and sex" + } + ], + "text": "BMI" + }, + "subject": { + "reference": "Patient/infant-example", + "display": "Infant Example" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "2020-07-02", + "valueQuantity": { + "value": 65, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "note": [ + { + "text": "WHO Males, 0-2 years Chart" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-respiratory-rate.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-respiratory-rate.json new file mode 100644 index 00000000000..eb3c7c1d7fc --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-respiratory-rate.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "respiratory-rate", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: respiratory-rate

meta:

category: Vital Signs

code: respiratory_rate

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

encounter: GP Visit

effective: 1999-07-02

value: 26.0 breaths per minute

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "respiratory_rate" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 26.0, + "unit": "breaths per minute", + "system": "http://unitsofmeasure.org", + "code": "/min" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-satO2-fiO2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-satO2-fiO2.json new file mode 100644 index 00000000000..e868d5143ba --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-satO2-fiO2.json @@ -0,0 +1,112 @@ +{ + "resourceType": "Observation", + "id": "satO2-fiO2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: satO2-fiO2

meta:

identifier: o1223435-10

category: Vital Signs

code: Oxygen saturation in Arterial blood

subject: 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

effective: Dec 5, 2014, 8:30:10 AM

value: 95 %

interpretation: Normal (applies to non-numeric results)

device: Acme Pulse Oximeter 2000

ReferenceRanges

-LowHigh
*90 %99 %

Components

-CodeValue[x]
*Inhaled oxygen flow rate6 liters/min
" + }, + "identifier": [ + { + "system": "http://goodcare.org/observation/id", + "value": "o1223435-10" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2708-6", + "display": "Oxygen saturation in Arterial blood" + }, + { + "system": "http://loinc.org", + "code": "59408-5", + "display": "Oxygen saturation in Arterial blood by Pulse oximetry" + }, + { + "system": "urn:iso:std:iso:11073:10101", + "code": "150456", + "display": "MDC_PULS_OXIM_SAT_O2" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2014-12-05T09:30:10+01:00", + "valueQuantity": { + "value": 95, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "N", + "display": "Normal" + } + ], + "text": "Normal (applies to non-numeric results)" + } + ], + "device": { + "display": "Acme Pulse Oximeter 2000" + }, + "referenceRange": [ + { + "low": { + "value": 90, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "high": { + "value": 99, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + } + ], + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3151-8", + "display": "Inhaled oxygen flow rate" + } + ], + "text": "Inhaled oxygen flow rate" + }, + "valueQuantity": { + "value": 6, + "unit": "liters/min", + "system": "http://unitsofmeasure.org", + "code": "L/min" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-calcium.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-calcium.json new file mode 100644 index 00000000000..49047786ad8 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-calcium.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-calcium", + "meta": { + "versionId": "902", + "lastUpdated": "2016-03-09T15:29:57.227+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: serum-calcium

meta:

category: Laboratory

code: Calcium SerPl-mCnc

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

effective: 2005-07-05

value: 7.7 mg/dL

ReferenceRanges

-LowHighAppliesTo
*8.5 mg/dL10.5 mg/dLNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "17861-6", + "display": "Calcium SerPl-mCnc" + } + ], + "text": "Calcium SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 7.7, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 8.5, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 10.5, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-chloride.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-chloride.json new file mode 100644 index 00000000000..a8cf38a1a1b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-chloride.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-chloride", + "meta": { + "versionId": "950", + "lastUpdated": "2016-03-09T15:29:57.427+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: serum-chloride

meta:

category: Laboratory

code: Chloride SerPl-sCnc

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

effective: 2005-07-05

value: 105.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*95.0 mmol/L105.0 mmol/LNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2075-0", + "display": "Chloride SerPl-sCnc" + } + ], + "text": "Chloride SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 105.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 95.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 105.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-co2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-co2.json new file mode 100644 index 00000000000..1d2c4d382f6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-co2.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-co2", + "meta": { + "versionId": "962", + "lastUpdated": "2016-03-09T15:29:57.477+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: serum-co2

meta:

category: Laboratory

code: CO2 SerPl-sCnc

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

effective: 2005-07-05

value: 24.0 mmol/L

ReferenceRanges

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

Generated Narrative

id: serum-creatinine

meta:

category: Laboratory

code: Creat SerPl-mCnc

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

effective: 2005-07-05

value: 1.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*0.2 mg/dL0.6 mg/dLNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2160-0", + "display": "Creat SerPl-mCnc" + } + ], + "text": "Creat SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 1.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 0.2, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 0.6, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-potassium.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-potassium.json new file mode 100644 index 00000000000..c6e888836b8 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-potassium.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-potassium", + "meta": { + "versionId": "938", + "lastUpdated": "2016-03-09T15:29:57.376+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: serum-potassium

meta:

category: Laboratory

code: Potassium SerPl-sCnc

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

effective: 2005-07-05

value: 5.4 mmol/L

ReferenceRanges

-LowHighAppliesTo
*3.5 mmol/L5.5 mmol/LNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2823-3", + "display": "Potassium SerPl-sCnc" + } + ], + "text": "Potassium SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 5.4, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 3.5, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 5.5, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-sodium.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-sodium.json new file mode 100644 index 00000000000..9653c81da9b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-sodium.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-sodium", + "meta": { + "versionId": "914", + "lastUpdated": "2016-03-09T15:29:57.277+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: serum-sodium

meta:

category: Laboratory

code: Sodium SerPl-sCnc

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

effective: 2005-07-05

value: 137.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*135.0 mmol/L145.0 mmol/LNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2951-2", + "display": "Sodium SerPl-sCnc" + } + ], + "text": "Sodium SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 137.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 135.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 145.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-total-bilirubin.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-total-bilirubin.json new file mode 100644 index 00000000000..3e7517081b0 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-serum-total-bilirubin.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-total-bilirubin", + "meta": { + "versionId": "1364", + "lastUpdated": "2016-03-09T15:29:59.089+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: serum-total-bilirubin

meta:

category: Laboratory

code: Bilirub SerPl-mCnc

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

effective: 2005-07-07

value: 8.6 mg/dL

ReferenceRanges

-LowHighAppliesTo
*2.0 mg/dL7.0 mg/dLNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "1975-2", + "display": "Bilirub SerPl-mCnc" + } + ], + "text": "Bilirub SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-07", + "valueQuantity": { + "value": 8.6, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 2.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 7.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-some-day-smoker.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-some-day-smoker.json new file mode 100644 index 00000000000..32ffcede241 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-some-day-smoker.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "some-day-smoker", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: some-day-smoker

meta:

category: Social History

code: Tobacco smoking status

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

issued: Mar 18, 2016, 5:27:04 AM

value: Current some day smoker

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

Generated Narrative

id: temperature

meta:

category: Vital Signs

code: temperature

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

encounter: GP Visit

effective: 1999-07-02

value: 36.55556 Cel

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

Generated Narrative

id: urine-bacteria

meta:

category: Laboratory

code: BACTERIA

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

effective: 2005-07-05

value: 4+

ReferenceRanges

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

Generated Narrative

id: urine-bilirubin

meta:

category: Laboratory

code: BILIRUBIN

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

effective: 2005-07-05

value: Negative

ReferenceRanges

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

Generated Narrative

id: urine-cells

meta:

category: Laboratory

code: EPITHELIAL CELLS

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

effective: 2005-07-05

value: 1-5 cells/HPF

ReferenceRanges

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

Generated Narrative

id: urine-clarity

meta:

category: Laboratory

code: APPEARANCE

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

effective: 2005-07-05

value: Hazy

ReferenceRanges

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

Generated Narrative

id: urine-color

meta:

category: Laboratory

code: COLOR

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

effective: 2005-07-05

value: Yellow

ReferenceRanges

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

Generated Narrative

id: urine-epi-cells

meta:

category: Laboratory

code: EPITHELIAL CELLS

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

effective: 2005-07-05

value: 1-5 cells/HPF

ReferenceRanges

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

Generated Narrative

id: urine-glucose

meta:

category: Laboratory

code: GLUCOSE

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

effective: 2005-07-05

value: Negative

ReferenceRanges

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

Generated Narrative

id: urine-hemoglobin

meta:

category: Laboratory

code: BLOOD

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

effective: 2005-07-05

value: Trace

ReferenceRanges

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

Generated Narrative

id: urine-ketone

meta:

category: Laboratory

code: KETONE

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

effective: 2005-07-05

value: Negative

ReferenceRanges

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

Generated Narrative

id: urine-leukocyte-esterase

meta:

category: Laboratory

code: LEUK ESTERASE

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

effective: 2005-07-05

value: 2+

ReferenceRanges

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

Generated Narrative

id: urine-nitrite

meta:

category: Laboratory

code: NITRITE

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

effective: 2005-07-05

value: Positive

ReferenceRanges

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

Generated Narrative

id: urine-ph

meta:

category: Laboratory

code: PH

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

effective: 2005-07-05

value: 6.0 (pH)

ReferenceRanges

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

Generated Narrative

id: urine-protein

meta:

category: Laboratory

code: PROTEIN

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

effective: 2005-07-05

value: Negative

ReferenceRanges

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

Generated Narrative

id: urine-rbcs

meta:

category: Laboratory

code: RBC

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

effective: 2005-07-05

value: Occasional

ReferenceRanges

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

Generated Narrative

id: urine-sediment

meta:

category: Laboratory

code: COMMENT

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

effective: 2005-07-05

value: Recommend Urine Culture

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

Generated Narrative

id: urine-wbcs

meta:

category: Laboratory

code: WBC

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

effective: 2005-07-05

value: 20-30 cells/HPF

ReferenceRanges

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

Generated Narrative

id: urobilinogen

meta:

category: Laboratory

code: UROBILINOGEN

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

effective: 2005-07-05

value: 0.3 mg/dL

ReferenceRanges

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

Generated Narrative

id: usg

meta:

category: Laboratory

code: SPEC GRAV

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

effective: 2005-07-05

value: 1.017 {urine specific gravity}

ReferenceRanges

-LowHigh
*1.003 {urine specific gravity}1.035 {urine specific gravity}
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5811-5", + "display": "Specific gravity of Urine by Test strip" + } + ], + "text": "SPEC GRAV" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 1.017, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + }, + "referenceRange": [ + { + "low": { + "value": 1.003, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + }, + "high": { + "value": 1.035, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-vitals-panel.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-vitals-panel.json new file mode 100644 index 00000000000..4e10244429b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-vitals-panel.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "vitals-panel", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85353-1", + "display": "Vital signs, weight, height, head circumference, oxygen saturation and BMI panel" + } + ], + "text": "Vital signs panel" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "hasMember": [ + { + "reference": "Observation/respiratory-rate", + "display": "Respiratory rate" + }, + { + "reference": "Observation/heart-rate", + "display": "Heart rate" + }, + { + "reference": "Observation/blood-pressure", + "display": "Blood Pressure" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-weight.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-weight.json new file mode 100644 index 00000000000..32e20eda33b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Observation-weight.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "weight", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "weight" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 20.09414, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Organization-acme-lab.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Organization-acme-lab.json new file mode 100644 index 00000000000..67e244b5d77 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Organization-acme-lab.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Organization", + "id": "acme-lab", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: acme-lab

meta:

identifier: 1144221847, 12D4567890

active: true

type: Healthcare Provider

name: Acme Labs

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

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

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

Generated Narrative

id: example-organization-2

meta:

identifier: 1407071236, 121111111

active: true

type: Healthcare Provider

name: Acme Clinic

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

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

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

Organization

\n
\n

ID: 393872

\n

Name: Saint Luke's Hospital of Kansas City

\n

NPI: 1063494177

\n

Phone:(816)932-2000

\n

Address:4401 Wornall Rd,, MO, 64111

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

Generated Narrative

id: child-example

meta:

identifier: Medical Record Number = 1032704 (USUAL)

active: true

name: Child Example

telecom: ph: 555-555-5555(HOME)

gender: male

birthDate: 2016-01-15

address: 49 Meadow St Mounds OK 74047 US

" + }, + "extension": [ + { + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2028-9", + "display": "Asian" + } + }, + { + "url": "text", + "valueString": "Asian" + } + ], + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race|3.1.1" + }, + { + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2186-5", + "display": "Not Hispanic or Latino" + } + }, + { + "url": "text", + "valueString": "Not Hispanic or Latino" + } + ], + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity|3.1.1" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex|3.1.1", + "valueCode": "M" + } + ], + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR", + "display": "Medical Record Number" + } + ], + "text": "Medical Record Number" + }, + "system": "http://hospital.smarthealthit.org", + "value": "1032704" + } + ], + "active": true, + "name": [ + { + "family": "Example", + "given": [ + "Child" + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "555-555-5555", + "use": "home" + } + ], + "gender": "male", + "birthDate": "2016-01-15", + "address": [ + { + "line": [ + "49 Meadow St" + ], + "city": "Mounds", + "state": "OK", + "postalCode": "74047", + "country": "US" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Patient-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Patient-example.json new file mode 100644 index 00000000000..15b876390bc --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Patient-example.json @@ -0,0 +1,185 @@ +{ + "resourceType": "Patient", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: example

meta:

identifier: Medical Record Number = 1032702 (USUAL)

active: true

name: Amy V. Shaw , Amy V. Baxter

telecom: ph: 555-555-5555(HOME), amy.shaw@example.com

gender: female

birthDate: 1987-02-20

address:

  • 49 Meadow St Mounds OK 74047 US
  • 183 Mountain View St Mounds OK 74048 US
" + }, + "extension": [ + { + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2106-3", + "display": "White" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "1002-5", + "display": "American Indian or Alaska Native" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2028-9", + "display": "Asian" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "1586-7", + "display": "Shoshone" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2036-2", + "display": "Filipino" + } + }, + { + "url": "text", + "valueString": "Mixed" + } + ], + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race|3.1.1" + }, + { + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2135-2", + "display": "Hispanic or Latino" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2184-0", + "display": "Dominican" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2148-5", + "display": "Mexican" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ], + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity|3.1.1" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex|3.1.1", + "valueCode": "F" + } + ], + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR", + "display": "Medical Record Number" + } + ], + "text": "Medical Record Number" + }, + "system": "http://hospital.smarthealthit.org", + "value": "1032702" + } + ], + "active": true, + "name": [ + { + "family": "Shaw", + "given": [ + "Amy", + "V." + ], + "period": { + "start": "2016-12-06", + "end": "2020-07-22" + } + }, + { + "family": "Baxter", + "given": [ + "Amy", + "V." + ], + "suffix": [ + "PharmD" + ], + "period": { + "start": "2020-07-22" + } + } + ], + "telecom": [ + { + "system": "phone", + "value": "555-555-5555", + "use": "home" + }, + { + "system": "email", + "value": "amy.shaw@example.com" + } + ], + "gender": "female", + "birthDate": "1987-02-20", + "address": [ + { + "line": [ + "49 Meadow St" + ], + "city": "Mounds", + "state": "OK", + "postalCode": "74047", + "country": "US", + "period": { + "start": "2016-12-06", + "end": "2020-07-22" + } + }, + { + "line": [ + "183 Mountain View St" + ], + "city": "Mounds", + "state": "OK", + "postalCode": "74048", + "country": "US", + "period": { + "start": "2020-07-22" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Patient-infant-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Patient-infant-example.json new file mode 100644 index 00000000000..cb7b67a55b0 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Patient-infant-example.json @@ -0,0 +1,99 @@ +{ + "resourceType": "Patient", + "id": "infant-example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: infant-example

meta:

identifier: Medical Record Number = 1032703 (USUAL)

active: true

name: Infant Example

telecom: ph: 555-555-5555(HOME)

gender: male

birthDate: 2020-06-02

address: 49 Meadow St Mounds OK 74047 US

" + }, + "extension": [ + { + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2028-9", + "display": "Asian" + } + }, + { + "url": "text", + "valueString": "Asian" + } + ], + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race|3.1.1" + }, + { + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2186-5", + "display": "Not Hispanic or Latino" + } + }, + { + "url": "text", + "valueString": "Not Hispanic or Latino" + } + ], + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity|3.1.1" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex|3.1.1", + "valueCode": "M" + } + ], + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR", + "display": "Medical Record Number" + } + ], + "text": "Medical Record Number" + }, + "system": "http://hospital.smarthealthit.org", + "value": "1032703" + } + ], + "active": true, + "name": [ + { + "family": "Example", + "given": [ + "Infant" + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "555-555-5555", + "use": "home" + } + ], + "gender": "male", + "birthDate": "2020-06-02", + "address": [ + { + "line": [ + "49 Meadow St" + ], + "city": "Mounds", + "state": "OK", + "postalCode": "74047", + "country": "US" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Practitioner-practitioner-1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Practitioner-practitioner-1.json new file mode 100644 index 00000000000..008ea33db2c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Practitioner-practitioner-1.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Practitioner", + "id": "practitioner-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: practitioner-1

meta:

identifier: 9941339108, 25456

name: Ronald Bone

address: 1003 Healthcare Drive Amherst MA 01002 (HOME)

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

Generated Narrative

id: practitioner-2

meta:

identifier: 1245319599, 456789

name: Fielding Kathy

telecom: Kathy.Fielding@direct.ExampleMedicalPractice.net(WORK)

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

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "1245319599" + }, + { + "system": "http://www.acme.org/practitioners", + "value": "456789" + } + ], + "name": [ + { + "family": "Kathy", + "given": [ + "Fielding" + ], + "prefix": [ + "Dr" + ] + } + ], + "telecom": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct|3.1.1", + "valueBoolean": true + } + ], + "system": "email", + "value": "Kathy.Fielding@direct.ExampleMedicalPractice.net", + "use": "work" + } + ], + "address": [ + { + "use": "work", + "line": [ + "1080 FIRST COLONIAL RD" + ], + "city": "Virginia Beach", + "state": "VA", + "postalCode": "21454-2406" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Procedure-defib-implant.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Procedure-defib-implant.json new file mode 100644 index 00000000000..1ae207bd9c4 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Procedure-defib-implant.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Procedure", + "id": "defib-implant", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

id: defib-implant

meta:

identifier: urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff

status: completed

code: Insertion or replacement of permanent implantable defibrillator system with transvenous lead(s), single or dual chamber

subject: 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

performed: Mar 26, 2019, 7:55:26 PM --> Mar 26, 2019, 8:25:26 PM

Performers

-Actor
*Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone

FocalDevices

-Manipulated
*Generated Summary: id: udi-2; status: active; manufacturer: ACME Biomedical; expirationDate: 2022-01-01; lotNumber: M320; serialNumber: AC221; modelNumber: 1.0; Implant
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff" + } + ], + "status": "completed", + "code": { + "coding": [ + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "33249" + } + ], + "text": "Insertion or replacement of permanent implantable defibrillator system with transvenous lead(s), single or dual chamber" + }, + "subject": { + "reference": "Patient/example" + }, + "performedPeriod": { + "start": "2019-03-26T12:55:26-07:00", + "end": "2019-03-26T13:25:26-07:00" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/practitioner-1" + } + } + ], + "focalDevice": [ + { + "manipulated": { + "reference": "Device/udi-2" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Procedure-rehab.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Procedure-rehab.json new file mode 100644 index 00000000000..4ad41178e62 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/Procedure-rehab.json @@ -0,0 +1,34 @@ +{ + "resourceType": "Procedure", + "id": "rehab", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "35637008", + "display": "Alcohol rehabilitation" + }, + { + "system": "http://www.cms.gov/Medicare/Coding/ICD10", + "code": "HZ30ZZZ", + "display": "Individual Counseling for Substance Abuse Treatment, Cognitive" + } + ], + "text": "Alcohol rehabilitation" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "performedDateTime": "2002-05-23" +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/index.txt b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/index.txt new file mode 100644 index 00000000000..5199450b85e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/index.txt @@ -0,0 +1,84 @@ +./src/test/resources/JSON/311/AllergyIntolerance-example.json +./src/test/resources/JSON/311/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json +./src/test/resources/JSON/311/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json +./src/test/resources/JSON/311/Bundle-uscore-mo3.json +./src/test/resources/JSON/311/CarePlan-colonoscopy.json +./src/test/resources/JSON/311/CareTeam-example.json +./src/test/resources/JSON/311/Condition-example.json +./src/test/resources/JSON/311/Condition-hc1.json +./src/test/resources/JSON/311/Device-udi-1.json +./src/test/resources/JSON/311/Device-udi-2.json +./src/test/resources/JSON/311/Device-udi-3.json +./src/test/resources/JSON/311/DiagnosticReport-cardiology-report.json +./src/test/resources/JSON/311/DiagnosticReport-cbc.json +./src/test/resources/JSON/311/DiagnosticReport-chest-xray-report.json +./src/test/resources/JSON/311/DiagnosticReport-metabolic-panel.json +./src/test/resources/JSON/311/DiagnosticReport-urinalysis.json +./src/test/resources/JSON/311/DocumentReference-episode-summary.json +./src/test/resources/JSON/311/Encounter-1036.json +./src/test/resources/JSON/311/Encounter-example-1.json +./src/test/resources/JSON/311/Goal-goal-1.json +./src/test/resources/JSON/311/Immunization-imm-1.json +./src/test/resources/JSON/311/Location-hl7east.json +./src/test/resources/JSON/311/Medication-uscore-med1.json +./src/test/resources/JSON/311/Medication-uscore-med2.json +./src/test/resources/JSON/311/MedicationRequest-self-tylenol.json +./src/test/resources/JSON/311/MedicationRequest-uscore-mo1.json +./src/test/resources/JSON/311/MedicationRequest-uscore-mo2.json +./src/test/resources/JSON/311/Observation-blood-glucose.json +./src/test/resources/JSON/311/Observation-blood-pressure.json +./src/test/resources/JSON/311/Observation-bmi.json +./src/test/resources/JSON/311/Observation-bp-data-absent.json +./src/test/resources/JSON/311/Observation-bun.json +./src/test/resources/JSON/311/Observation-erythrocytes.json +./src/test/resources/JSON/311/Observation-heart-rate.json +./src/test/resources/JSON/311/Observation-height.json +./src/test/resources/JSON/311/Observation-hemoglobin.json +./src/test/resources/JSON/311/Observation-length.json +./src/test/resources/JSON/311/Observation-mchc.json +./src/test/resources/JSON/311/Observation-neutrophils.json +./src/test/resources/JSON/311/Observation-ofc-percentile.json +./src/test/resources/JSON/311/Observation-oxygen-saturation.json +./src/test/resources/JSON/311/Observation-pediatric-bmi-example.json +./src/test/resources/JSON/311/Observation-pediatric-wt-example.json +./src/test/resources/JSON/311/Observation-respiratory-rate.json +./src/test/resources/JSON/311/Observation-satO2-fiO2.json +./src/test/resources/JSON/311/Observation-serum-calcium.json +./src/test/resources/JSON/311/Observation-serum-chloride.json +./src/test/resources/JSON/311/Observation-serum-co2.json +./src/test/resources/JSON/311/Observation-serum-creatinine.json +./src/test/resources/JSON/311/Observation-serum-potassium.json +./src/test/resources/JSON/311/Observation-serum-sodium.json +./src/test/resources/JSON/311/Observation-serum-total-bilirubin.json +./src/test/resources/JSON/311/Observation-some-day-smoker.json +./src/test/resources/JSON/311/Observation-temperature.json +./src/test/resources/JSON/311/Observation-urine-bacteria.json +./src/test/resources/JSON/311/Observation-urine-bilirubin.json +./src/test/resources/JSON/311/Observation-urine-cells.json +./src/test/resources/JSON/311/Observation-urine-clarity.json +./src/test/resources/JSON/311/Observation-urine-color.json +./src/test/resources/JSON/311/Observation-urine-epi-cells.json +./src/test/resources/JSON/311/Observation-urine-glucose.json +./src/test/resources/JSON/311/Observation-urine-hemoglobin.json +./src/test/resources/JSON/311/Observation-urine-ketone.json +./src/test/resources/JSON/311/Observation-urine-leukocyte-esterase.json +./src/test/resources/JSON/311/Observation-urine-nitrite.json +./src/test/resources/JSON/311/Observation-urine-ph.json +./src/test/resources/JSON/311/Observation-urine-protein.json +./src/test/resources/JSON/311/Observation-urine-rbcs.json +./src/test/resources/JSON/311/Observation-urine-sediment.json +./src/test/resources/JSON/311/Observation-urine-wbcs.json +./src/test/resources/JSON/311/Observation-urobilinogen.json +./src/test/resources/JSON/311/Observation-usg.json +./src/test/resources/JSON/311/Observation-vitals-panel.json +./src/test/resources/JSON/311/Observation-weight.json +./src/test/resources/JSON/311/Organization-acme-lab.json +./src/test/resources/JSON/311/Organization-example-organization-2.json +./src/test/resources/JSON/311/Organization-saint-luke-w-endpoint.json +./src/test/resources/JSON/311/Patient-child-example.json +./src/test/resources/JSON/311/Patient-example.json +./src/test/resources/JSON/311/Patient-infant-example.json +./src/test/resources/JSON/311/Practitioner-practitioner-1.json +./src/test/resources/JSON/311/Practitioner-practitioner-2.json +./src/test/resources/JSON/311/Procedure-defib-implant.json +./src/test/resources/JSON/311/Procedure-rehab.json \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/tests/1.json similarity index 100% rename from conformance/fhir-ig-us-core/src/test/resources/JSON/1.json rename to conformance/fhir-ig-us-core/src/test/resources/JSON/311/tests/1.json diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/tests/Pamela954_Johns824_4818eca9-c6d2-4fa0-a234-7244e620391e.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/tests/Pamela954_Johns824_4818eca9-c6d2-4fa0-a234-7244e620391e.json new file mode 100644 index 00000000000..fba5543b74f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/tests/Pamela954_Johns824_4818eca9-c6d2-4fa0-a234-7244e620391e.json @@ -0,0 +1,39797 @@ +{ + "resourceType": "Bundle", + "type": "transaction", + "entry": [ + { + "fullUrl": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "resource": { + "resourceType": "Patient", + "id": "4818eca9-c6d2-4fa0-a234-7244e620391e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "
Generated by Synthea.Version identifier: v2.5.0-235-gbd15da38\n . Person seed: -3566243377172859107 Population seed: 3
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2106-3", + "display": "White" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity|3.1.1", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2135-2", + "display": "Hispanic or Latino" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Tomasa683 Nicolas769" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "valueCode": "F" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "city": "Marlborough", + "state": "Massachusetts", + "country": "US" + } + }, + { + "url": "http://synthetichealth.github.io/synthea/disability-adjusted-life-years", + "valueDecimal": 9.479601931502765 + }, + { + "url": "http://synthetichealth.github.io/synthea/quality-adjusted-life-years", + "valueDecimal": 30.520398068497236 + } + ], + "identifier": [ + { + "system": "https://github.com/synthetichealth/synthea", + "value": "4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR", + "display": "Medical Record Number" + } + ], + "text": "Medical Record Number" + }, + "system": "http://hospital.smarthealthit.org", + "value": "4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "SS", + "display": "Social Security Number" + } + ], + "text": "Social Security Number" + }, + "system": "http://hl7.org/fhir/sid/us-ssn", + "value": "999-96-6923" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "DL", + "display": "Driver's License" + } + ], + "text": "Driver's License" + }, + "system": "urn:oid:2.16.840.1.113883.4.3.25", + "value": "S99969076" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "PPN", + "display": "Passport Number" + } + ], + "text": "Passport Number" + }, + "system": "http://standardhealthrecord.org/fhir/StructureDefinition/passportNumber", + "value": "X44312104X" + } + ], + "name": [ + { + "use": "official", + "family": "Johns824", + "given": [ + "Pamela954" + ], + "prefix": [ + "Mrs." + ] + }, + { + "use": "maiden", + "family": "Bauch723", + "given": [ + "Pamela954" + ], + "prefix": [ + "Mrs." + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "555-881-1882", + "use": "home" + } + ], + "gender": "female", + "birthDate": "1979-12-07", + "address": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/geolocation", + "extension": [ + { + "url": "latitude", + "valueDecimal": 42.32202219649107 + }, + { + "url": "longitude", + "valueDecimal": -71.10775062651211 + } + ] + } + ], + "line": [ + "525 Schultz Track Unit 94" + ], + "city": "Boston", + "state": "MA", + "postalCode": "02127", + "country": "US" + } + ], + "maritalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", + "code": "M", + "display": "M" + } + ], + "text": "M" + }, + "multipleBirthBoolean": false, + "communication": [ + { + "language": { + "coding": [ + { + "system": "urn:ietf:bcp:47", + "code": "en-US", + "display": "English" + } + ], + "text": "English" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Patient" + } + }, + { + "fullUrl": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "resource": { + "resourceType": "Location", + "id": "5650caeb-a0bc-4f54-810a-84f030826e8e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location|3.1.1" + ] + }, + "status": "active", + "name": "CAMBRIDGE HEALTH ALLIANCE", + "telecom": [ + { + "system": "phone", + "value": "6176652300" + } + ], + "address": { + "line": [ + "1493 CAMBRIDGE STREET" + ], + "city": "CAMBRIDGE", + "state": "MA", + "postalCode": "02138", + "country": "US" + }, + "position": { + "longitude": -71.118275, + "latitude": 42.375967 + }, + "managingOrganization": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + }, + "request": { + "method": "POST", + "url": "Location" + } + }, + { + "fullUrl": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "resource": { + "resourceType": "Organization", + "id": "e002090d-4e92-300e-b41e-7d1f21dee4c6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "identifier": [ + { + "system": "https://github.com/synthetichealth/synthea", + "value": "e002090d-4e92-300e-b41e-7d1f21dee4c6" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/organization-type", + "code": "prov", + "display": "Healthcare Provider" + } + ], + "text": "Healthcare Provider" + } + ], + "name": "CAMBRIDGE HEALTH ALLIANCE", + "telecom": [ + { + "system": "phone", + "value": "6176652300" + } + ], + "address": [ + { + "line": [ + "1493 CAMBRIDGE STREET" + ], + "city": "CAMBRIDGE", + "state": "MA", + "postalCode": "02138", + "country": "US" + } + ] + }, + "request": { + "method": "POST", + "url": "Organization" + } + }, + { + "fullUrl": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "resource": { + "resourceType": "Practitioner", + "id": "5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1" + ] + }, + "identifier": [ + { + "system": "http://hl7.org/fhir/sid/us-npi", + "value": "9999999959" + } + ], + "active": true, + "name": [ + { + "family": "Ebert178", + "given": [ + "Wen848" + ], + "prefix": [ + "Dr." + ] + } + ], + "telecom": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "valueBoolean": true + } + ], + "system": "email", + "value": "Wen848.Ebert178@example.com", + "use": "work" + } + ], + "address": [ + { + "line": [ + "1493 CAMBRIDGE STREET" + ], + "city": "CAMBRIDGE", + "state": "MA", + "postalCode": "02138", + "country": "US" + } + ], + "gender": "female" + }, + "request": { + "method": "POST", + "url": "Practitioner" + } + }, + { + "fullUrl": "urn:uuid:ae434da0-4a91-4721-ac3e-6143dc46529d", + "resource": { + "resourceType": "PractitionerRole", + "id": "ae434da0-4a91-4721-ac3e-6143dc46529d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|3.1.1" + ] + }, + "practitioner": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + }, + "organization": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "code": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "208D00000X", + "display": "General Practice" + } + ], + "text": "General Practice" + } + ], + "specialty": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "208D00000X", + "display": "General Practice" + } + ], + "text": "General Practice" + } + ], + "location": [ + { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + ], + "telecom": [ + { + "system": "phone", + "value": "6176652300" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "valueBoolean": true + } + ], + "system": "email", + "value": "Wen848.Ebert178@example.com", + "use": "work" + } + ] + }, + "request": { + "method": "POST", + "url": "PractitionerRole" + } + }, + { + "fullUrl": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa", + "resource": { + "resourceType": "Encounter", + "id": "3ce65ce5-899f-4aa6-a810-92c0dc45deaa", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "1981-03-31T03:25:21-05:00", + "end": "1981-03-31T03:40:21-05:00" + }, + "individual": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + } + ], + "period": { + "start": "1981-03-31T03:25:21-05:00", + "end": "1981-03-31T03:40:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:7b707022-dbe7-44a4-8063-596558bd0459", + "resource": { + "resourceType": "CareTeam", + "id": "7b707022-dbe7-44a4-8063-596558bd0459", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam|3.1.1" + ] + }, + "status": "active", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + }, + "period": { + "start": "1981-03-31T03:25:21-05:00" + }, + "participant": [ + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "116153009", + "display": "Patient" + } + ], + "text": "Patient" + } + ], + "member": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + } + }, + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "223366009", + "display": "Healthcare professional (occupation)" + } + ], + "text": "Healthcare professional (occupation)" + } + ], + "member": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + }, + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "224891009", + "display": "Healthcare services (qualifier value)" + } + ], + "text": "Healthcare services (qualifier value)" + } + ], + "member": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + ], + "managingOrganization": [ + { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + ] + }, + "request": { + "method": "POST", + "url": "CareTeam" + } + }, + { + "fullUrl": "urn:uuid:a6a822c0-0b60-438a-940e-064c3fdfb456", + "resource": { + "resourceType": "CarePlan", + "id": "a6a822c0-0b60-438a-940e-064c3fdfb456", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "
Care Plan for Self-care interventions (procedure).
Activities:
  • Self-care interventions (procedure)
  • Self-care interventions (procedure)
  • Self-care interventions (procedure)
" + }, + "status": "active", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + }, + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "384758001", + "display": "Self-care interventions (procedure)" + } + ], + "text": "Self-care interventions (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + }, + "period": { + "start": "1981-03-31T03:25:21-05:00" + }, + "careTeam": [ + { + "reference": "urn:uuid:7b707022-dbe7-44a4-8063-596558bd0459" + } + ], + "activity": [ + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "409002", + "display": "Food allergy diet" + } + ], + "text": "Food allergy diet" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + }, + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "58332002", + "display": "Allergy education" + } + ], + "text": "Allergy education" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + }, + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "58332002", + "display": "Allergy education" + } + ], + "text": "Allergy education" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + } + ] + }, + "request": { + "method": "POST", + "url": "CarePlan" + } + }, + { + "fullUrl": "urn:uuid:8e840915-8adc-4920-837e-b77fbd0bc5bb", + "resource": { + "resourceType": "DiagnosticReport", + "id": "8e840915-8adc-4920-837e-b77fbd0bc5bb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + }, + "effectiveDateTime": "1981-03-31T03:25:21-05:00", + "issued": "1981-03-31T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjE5ODEtMDMtMzEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEgeWVhci1vbGQgbm9uLWhpc3BhbmljIHdoaXRlIGZlbWFsZS4KCiMgU29jaWFsIEhpc3RvcnkKIFBhdGllbnQgaGFzIG5ldmVyIHNtb2tlZCBhbmQgaXMgYW4gYWxjb2hvbGljLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKTm8gQWN0aXZlIE1lZGljYXRpb25zLgoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHBsYWNlZCBvbiBhIGNhcmVwbGFuOgotIHNlbGYtY2FyZSBpbnRlcnZlbnRpb25zIChwcm9jZWR1cmUpCg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:09669f57-56ef-4d38-a1f9-920b84900f1c", + "resource": { + "resourceType": "DocumentReference", + "id": "09669f57-56ef-4d38-a1f9-920b84900f1c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "8e840915-8adc-4920-837e-b77fbd0bc5bb" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "1981-03-31T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "custodian": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjE5ODEtMDMtMzEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEgeWVhci1vbGQgbm9uLWhpc3BhbmljIHdoaXRlIGZlbWFsZS4KCiMgU29jaWFsIEhpc3RvcnkKIFBhdGllbnQgaGFzIG5ldmVyIHNtb2tlZCBhbmQgaXMgYW4gYWxjb2hvbGljLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKTm8gQWN0aXZlIE1lZGljYXRpb25zLgoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHBsYWNlZCBvbiBhIGNhcmVwbGFuOgotIHNlbGYtY2FyZSBpbnRlcnZlbnRpb25zIChwcm9jZWR1cmUpCg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + } + ], + "period": { + "start": "1981-03-31T03:25:21-05:00", + "end": "1981-03-31T03:40:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:3288f528-675a-48a7-925a-db365aa7fedd", + "resource": { + "resourceType": "Claim", + "id": "3288f528-675a-48a7-925a-db365aa7fedd", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "1981-03-31T03:25:21-05:00", + "end": "1981-03-31T03:40:21-05:00" + }, + "created": "1981-03-31T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + }, + "encounter": [ + { + "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:a8afae92-0db2-4379-ab05-2375d91bddbf", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "a8afae92-0db2-4379-ab05-2375d91bddbf", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "3288f528-675a-48a7-925a-db365aa7fedd" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1981-03-31T03:40:21-05:00", + "end": "1982-03-31T03:40:21-05:00" + }, + "created": "1981-03-31T03:40:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "claim": { + "reference": "urn:uuid:3288f528-675a-48a7-925a-db365aa7fedd" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + }, + "servicedPeriod": { + "start": "1981-03-31T03:25:21-05:00", + "end": "1981-03-31T03:40:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923", + "resource": { + "resourceType": "Encounter", + "id": "d117d0f3-70e3-4f7c-be75-808aa3039923", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "d117d0f3-70e3-4f7c-be75-808aa3039923" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "1981-04-11T03:25:21-05:00", + "end": "1981-04-11T04:17:21-05:00" + }, + "individual": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + } + ], + "period": { + "start": "1981-04-11T03:25:21-05:00", + "end": "1981-04-11T04:17:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:dc9dd26e-8983-4bd4-abdc-9dbe5abdd581", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "dc9dd26e-8983-4bd4-abdc-9dbe5abdd581", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance|3.1.1" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "confirmed" + } + ] + }, + "type": "allergy", + "category": [ + "food" + ], + "criticality": "low", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "91935009", + "display": "Allergy to peanuts" + } + ], + "text": "Allergy to peanuts" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "recordedDate": "1981-04-11T03:25:21-05:00" + }, + "request": { + "method": "POST", + "url": "AllergyIntolerance" + } + }, + { + "fullUrl": "urn:uuid:4145178a-e267-4de8-a81b-d36c2da972af", + "resource": { + "resourceType": "MedicationRequest", + "id": "4145178a-e267-4de8-a81b-d36c2da972af", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest|3.1.1" + ] + }, + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "197378", + "display": "Astemizole 10 MG Oral Tablet" + } + ], + "text": "Astemizole 10 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" + }, + "authoredOn": "1981-04-11T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + }, + "dosageInstruction": [ + { + "sequence": 1, + "text": "Take as needed.", + "asNeededBoolean": true + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:c29e86ee-9abf-403d-a722-09291038da71", + "resource": { + "resourceType": "Claim", + "id": "c29e86ee-9abf-403d-a722-09291038da71", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1981-04-11T03:25:21-05:00", + "end": "1981-04-11T04:17:21-05:00" + }, + "created": "1981-04-11T04:17:21-05:00", + "provider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:4145178a-e267-4de8-a81b-d36c2da972af" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + }, + "encounter": [ + { + "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" + } + ] + } + ], + "total": { + "value": 11.5, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:8ffa75ad-b7dc-4da3-bcb0-f73c2a25f2c6", + "resource": { + "resourceType": "DiagnosticReport", + "id": "8ffa75ad-b7dc-4da3-bcb0-f73c2a25f2c6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" + }, + "effectiveDateTime": "1981-04-11T03:25:21-05:00", + "issued": "1981-04-11T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjE5ODEtMDQtMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEgeWVhci1vbGQgbm9uLWhpc3BhbmljIHdoaXRlIGZlbWFsZS4KCiMgU29jaWFsIEhpc3RvcnkKIFBhdGllbnQgaGFzIG5ldmVyIHNtb2tlZCBhbmQgaXMgYW4gYWxjb2hvbGljLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKTm8gQWN0aXZlIE1lZGljYXRpb25zLgoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuClBhdGllbnQgaXMgcHJlc2VudGluZyB3aXRoIGFsbGVyZ3kgdG8gcGVhbnV0cy4gCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGFzdGVtaXpvbGUgMTAgbWcgb3JhbCB0YWJsZXQK" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:7bc429fd-499d-404e-8353-dffe91ca3f79", + "resource": { + "resourceType": "DocumentReference", + "id": "7bc429fd-499d-404e-8353-dffe91ca3f79", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "8ffa75ad-b7dc-4da3-bcb0-f73c2a25f2c6" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "1981-04-11T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "custodian": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjE5ODEtMDQtMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEgeWVhci1vbGQgbm9uLWhpc3BhbmljIHdoaXRlIGZlbWFsZS4KCiMgU29jaWFsIEhpc3RvcnkKIFBhdGllbnQgaGFzIG5ldmVyIHNtb2tlZCBhbmQgaXMgYW4gYWxjb2hvbGljLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKTm8gQWN0aXZlIE1lZGljYXRpb25zLgoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuClBhdGllbnQgaXMgcHJlc2VudGluZyB3aXRoIGFsbGVyZ3kgdG8gcGVhbnV0cy4gCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGFzdGVtaXpvbGUgMTAgbWcgb3JhbCB0YWJsZXQK" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" + } + ], + "period": { + "start": "1981-04-11T03:25:21-05:00", + "end": "1981-04-11T04:17:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:8fb48e33-24c5-420a-8f4d-0aa26a343c44", + "resource": { + "resourceType": "Claim", + "id": "8fb48e33-24c5-420a-8f4d-0aa26a343c44", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "1981-04-11T03:25:21-05:00", + "end": "1981-04-11T04:17:21-05:00" + }, + "created": "1981-04-11T04:17:21-05:00", + "provider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + }, + "encounter": [ + { + "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:5f92bc64-1cc5-4a94-b318-883a54331545", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "5f92bc64-1cc5-4a94-b318-883a54331545", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "8fb48e33-24c5-420a-8f4d-0aa26a343c44" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1981-04-11T04:17:21-05:00", + "end": "1982-04-11T04:17:21-05:00" + }, + "created": "1981-04-11T04:17:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "claim": { + "reference": "urn:uuid:8fb48e33-24c5-420a-8f4d-0aa26a343c44" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + }, + "servicedPeriod": { + "start": "1981-04-11T03:25:21-05:00", + "end": "1981-04-11T04:17:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "resource": { + "resourceType": "Location", + "id": "4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location|3.1.1" + ] + }, + "status": "active", + "name": "MOUNT AUBURN HOSPITAL", + "telecom": [ + { + "system": "phone", + "value": "6174923500" + } + ], + "address": { + "line": [ + "330 MOUNT AUBURN STREET" + ], + "city": "CAMBRIDGE", + "state": "MA", + "postalCode": "02138", + "country": "US" + }, + "position": { + "longitude": -71.118275, + "latitude": 42.375967 + }, + "managingOrganization": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + } + }, + "request": { + "method": "POST", + "url": "Location" + } + }, + { + "fullUrl": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "resource": { + "resourceType": "Organization", + "id": "69176529-fd1f-3b3f-abce-a0a3626769eb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1" + ] + }, + "identifier": [ + { + "system": "https://github.com/synthetichealth/synthea", + "value": "69176529-fd1f-3b3f-abce-a0a3626769eb" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/organization-type", + "code": "prov", + "display": "Healthcare Provider" + } + ], + "text": "Healthcare Provider" + } + ], + "name": "MOUNT AUBURN HOSPITAL", + "telecom": [ + { + "system": "phone", + "value": "6174923500" + } + ], + "address": [ + { + "line": [ + "330 MOUNT AUBURN STREET" + ], + "city": "CAMBRIDGE", + "state": "MA", + "postalCode": "02138", + "country": "US" + } + ] + }, + "request": { + "method": "POST", + "url": "Organization" + } + }, + { + "fullUrl": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "resource": { + "resourceType": "Practitioner", + "id": "5eddc110-d05c-3e3d-b717-2ba27e784fba", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1" + ] + }, + "identifier": [ + { + "system": "http://hl7.org/fhir/sid/us-npi", + "value": "9999999989" + } + ], + "active": true, + "name": [ + { + "family": "Hoppe518", + "given": [ + "Mathew182" + ], + "prefix": [ + "Dr." + ] + } + ], + "telecom": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "valueBoolean": true + } + ], + "system": "email", + "value": "Mathew182.Hoppe518@example.com", + "use": "work" + } + ], + "address": [ + { + "line": [ + "330 MOUNT AUBURN STREET" + ], + "city": "CAMBRIDGE", + "state": "MA", + "postalCode": "02138", + "country": "US" + } + ], + "gender": "male" + }, + "request": { + "method": "POST", + "url": "Practitioner" + } + }, + { + "fullUrl": "urn:uuid:f33d551d-cbc4-4808-8f11-f42a17f275b6", + "resource": { + "resourceType": "PractitionerRole", + "id": "f33d551d-cbc4-4808-8f11-f42a17f275b6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|3.1.1" + ] + }, + "practitioner": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + }, + "organization": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "code": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "208D00000X", + "display": "General Practice" + } + ], + "text": "General Practice" + } + ], + "specialty": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "208D00000X", + "display": "General Practice" + } + ], + "text": "General Practice" + } + ], + "location": [ + { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + } + ], + "telecom": [ + { + "system": "phone", + "value": "6174923500" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "valueBoolean": true + } + ], + "system": "email", + "value": "Mathew182.Hoppe518@example.com", + "use": "work" + } + ] + }, + "request": { + "method": "POST", + "url": "PractitionerRole" + } + }, + { + "fullUrl": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f", + "resource": { + "resourceType": "Encounter", + "id": "f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "EMER" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "50849002", + "display": "Emergency Room Admission" + } + ], + "text": "Emergency Room Admission" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-04T04:25:21-05:00" + }, + "individual": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + } + ], + "period": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-04T04:25:21-05:00" + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "74400008", + "display": "Appendicitis" + } + ] + } + ], + "location": [ + { + "location": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:5a65adea-0cbc-429e-ae59-2b9e0ba98ebe", + "resource": { + "resourceType": "Condition", + "id": "5a65adea-0cbc-429e-ae59-2b9e0ba98ebe", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition|3.1.1" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "74400008", + "display": "Appendicitis" + } + ], + "text": "Appendicitis" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" + }, + "onsetDateTime": "1993-12-04T03:25:21-05:00", + "recordedDate": "1993-12-04T03:25:21-05:00" + }, + "request": { + "method": "POST", + "url": "Condition" + } + }, + { + "fullUrl": "urn:uuid:00b0a904-7f33-44ad-9ede-23c7f1a15f44", + "resource": { + "resourceType": "DiagnosticReport", + "id": "00b0a904-7f33-44ad-9ede-23c7f1a15f44", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" + }, + "effectiveDateTime": "1993-12-04T03:25:21-05:00", + "issued": "1993-12-04T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjE5OTMtMTItMDQKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGhhcyBuZXZlciBzbW9rZWQgYW5kIGlzIGFuIGFsY29ob2xpYy4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgY3VycmVudGx5IGhhcyBDaWduYSBIZWFsdGguCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCk5vIEFjdGl2ZSBNZWRpY2F0aW9ucy4KCiMgQXNzZXNzbWVudCBhbmQgUGxhbgpQYXRpZW50IGlzIHByZXNlbnRpbmcgd2l0aCBhcHBlbmRpY2l0aXMuIAoKIyMgUGxhbgoK" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:21560651-525c-4eb5-8d80-ae6a62cac8e0", + "resource": { + "resourceType": "DocumentReference", + "id": "21560651-525c-4eb5-8d80-ae6a62cac8e0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "00b0a904-7f33-44ad-9ede-23c7f1a15f44" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "1993-12-04T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "custodian": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjE5OTMtMTItMDQKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGhhcyBuZXZlciBzbW9rZWQgYW5kIGlzIGFuIGFsY29ob2xpYy4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgY3VycmVudGx5IGhhcyBDaWduYSBIZWFsdGguCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCk5vIEFjdGl2ZSBNZWRpY2F0aW9ucy4KCiMgQXNzZXNzbWVudCBhbmQgUGxhbgpQYXRpZW50IGlzIHByZXNlbnRpbmcgd2l0aCBhcHBlbmRpY2l0aXMuIAoKIyMgUGxhbgoK" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" + } + ], + "period": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-04T04:25:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:4e0564e3-cd19-4cff-9658-f2751c891b38", + "resource": { + "resourceType": "Claim", + "id": "4e0564e3-cd19-4cff-9658-f2751c891b38", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-04T04:25:21-05:00" + }, + "created": "1993-12-04T04:25:21-05:00", + "provider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:5a65adea-0cbc-429e-ae59-2b9e0ba98ebe" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "50849002", + "display": "Emergency Room Admission" + } + ], + "text": "Emergency Room Admission" + }, + "encounter": [ + { + "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "74400008", + "display": "Appendicitis" + } + ], + "text": "Appendicitis" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:03657b06-ab10-4268-9f98-9e0c9bdeaaec", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "03657b06-ab10-4268-9f98-9e0c9bdeaaec", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "4e0564e3-cd19-4cff-9658-f2751c891b38" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1993-12-04T04:25:21-05:00", + "end": "1994-12-04T04:25:21-05:00" + }, + "created": "1993-12-04T04:25:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "claim": { + "reference": "urn:uuid:4e0564e3-cd19-4cff-9658-f2751c891b38" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:5a65adea-0cbc-429e-ae59-2b9e0ba98ebe" + }, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", + "code": "principal" + } + ] + } + ] + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "50849002", + "display": "Emergency Room Admission" + } + ], + "text": "Emergency Room Admission" + }, + "servicedPeriod": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-04T04:25:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "20", + "display": "Urgent Care Facility" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "74400008", + "display": "Appendicitis" + } + ], + "text": "Appendicitis" + }, + "servicedPeriod": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-04T04:25:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "20", + "display": "Urgent Care Facility" + } + ] + } + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd", + "resource": { + "resourceType": "Encounter", + "id": "1b1a63a7-7260-4eaf-b029-d4b264c62dcd", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "1b1a63a7-7260-4eaf-b029-d4b264c62dcd" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "IMP" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "183452005", + "display": "Encounter Inpatient" + } + ], + "text": "Encounter Inpatient" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-08T04:06:21-05:00" + }, + "individual": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + } + ], + "period": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-08T04:06:21-05:00" + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "74400008", + "display": "Appendicitis" + } + ] + } + ], + "hospitalization": { + "dischargeDisposition": { + "coding": [ + { + "system": "http://www.nubc.org/patient-discharge", + "code": "01", + "display": "Discharged to home care or self care (routine discharge)" + } + ], + "text": "Discharged to home care or self care (routine discharge)" + } + }, + "location": [ + { + "location": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:5610dfb1-315e-4a68-8599-68f9b3446e90", + "resource": { + "resourceType": "Condition", + "id": "5610dfb1-315e-4a68-8599-68f9b3446e90", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition|3.1.1" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "428251008", + "display": "History of appendectomy" + } + ], + "text": "History of appendectomy" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" + }, + "onsetDateTime": "1993-12-04T03:25:21-05:00", + "recordedDate": "1993-12-04T03:25:21-05:00" + }, + "request": { + "method": "POST", + "url": "Condition" + } + }, + { + "fullUrl": "urn:uuid:7af93122-0d5a-4100-b7c9-edc1b844b912", + "resource": { + "resourceType": "DiagnosticReport", + "id": "7af93122-0d5a-4100-b7c9-edc1b844b912", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" + }, + "effectiveDateTime": "1993-12-04T03:25:21-05:00", + "issued": "1993-12-04T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjE5OTMtMTItMDQKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGhhcyBuZXZlciBzbW9rZWQgYW5kIGlzIGFuIGFsY29ob2xpYy4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgY3VycmVudGx5IGhhcyBDaWduYSBIZWFsdGguCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCk5vIEFjdGl2ZSBNZWRpY2F0aW9ucy4KCiMgQXNzZXNzbWVudCBhbmQgUGxhbgpQYXRpZW50IGlzIHByZXNlbnRpbmcgd2l0aCBoaXN0b3J5IG9mIGFwcGVuZGVjdG9teS4gCgojIyBQbGFuCgo=" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:b61efb38-3b58-4b19-ace1-e0bdd22a7b3e", + "resource": { + "resourceType": "DocumentReference", + "id": "b61efb38-3b58-4b19-ace1-e0bdd22a7b3e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "7af93122-0d5a-4100-b7c9-edc1b844b912" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "1993-12-04T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "custodian": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjE5OTMtMTItMDQKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGhhcyBuZXZlciBzbW9rZWQgYW5kIGlzIGFuIGFsY29ob2xpYy4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgY3VycmVudGx5IGhhcyBDaWduYSBIZWFsdGguCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCk5vIEFjdGl2ZSBNZWRpY2F0aW9ucy4KCiMgQXNzZXNzbWVudCBhbmQgUGxhbgpQYXRpZW50IGlzIHByZXNlbnRpbmcgd2l0aCBoaXN0b3J5IG9mIGFwcGVuZGVjdG9teS4gCgojIyBQbGFuCgo=" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" + } + ], + "period": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-08T04:06:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:b454ced0-573d-4e61-8d52-91c286cd22fc", + "resource": { + "resourceType": "Claim", + "id": "b454ced0-573d-4e61-8d52-91c286cd22fc", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-08T04:06:21-05:00" + }, + "created": "1993-12-08T04:06:21-05:00", + "provider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:5610dfb1-315e-4a68-8599-68f9b3446e90" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "183452005", + "display": "Encounter Inpatient" + } + ], + "text": "Encounter Inpatient" + }, + "encounter": [ + { + "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "428251008", + "display": "History of appendectomy" + } + ], + "text": "History of appendectomy" + } + } + ], + "total": { + "value": 77.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:0a49f240-54e1-46ff-b8fd-962675304d76", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "0a49f240-54e1-46ff-b8fd-962675304d76", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "b454ced0-573d-4e61-8d52-91c286cd22fc" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1993-12-08T04:06:21-05:00", + "end": "1994-12-08T04:06:21-05:00" + }, + "created": "1993-12-08T04:06:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "claim": { + "reference": "urn:uuid:b454ced0-573d-4e61-8d52-91c286cd22fc" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:5610dfb1-315e-4a68-8599-68f9b3446e90" + }, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", + "code": "principal" + } + ] + } + ] + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "183452005", + "display": "Encounter Inpatient" + } + ], + "text": "Encounter Inpatient" + }, + "servicedPeriod": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-08T04:06:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "428251008", + "display": "History of appendectomy" + } + ], + "text": "History of appendectomy" + }, + "servicedPeriod": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-08T04:06:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + } + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 77.49, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "resource": { + "resourceType": "Location", + "id": "c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + ] + }, + "status": "active", + "name": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC", + "telecom": [ + { + "system": "phone", + "value": "617-739-0245" + } + ], + "address": { + "line": [ + "1 BROOKLINE PL" + ], + "city": "BROOKLINE", + "state": "MA", + "postalCode": "02445-7277", + "country": "US" + }, + "position": { + "longitude": -71.142003, + "latitude": 42.323853 + }, + "managingOrganization": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Location" + } + }, + { + "fullUrl": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "resource": { + "resourceType": "Organization", + "id": "b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "identifier": [ + { + "system": "https://github.com/synthetichealth/synthea", + "value": "b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/organization-type", + "code": "prov", + "display": "Healthcare Provider" + } + ], + "text": "Healthcare Provider" + } + ], + "name": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC", + "telecom": [ + { + "system": "phone", + "value": "617-739-0245" + } + ], + "address": [ + { + "line": [ + "1 BROOKLINE PL" + ], + "city": "BROOKLINE", + "state": "MA", + "postalCode": "02445-7277", + "country": "US" + } + ] + }, + "request": { + "method": "POST", + "url": "Organization" + } + }, + { + "fullUrl": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "resource": { + "resourceType": "Practitioner", + "id": "697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "identifier": [ + { + "system": "http://hl7.org/fhir/sid/us-npi", + "value": "9999997789" + } + ], + "active": true, + "name": [ + { + "family": "Huel628", + "given": [ + "Brendon298" + ], + "prefix": [ + "Dr." + ] + } + ], + "telecom": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "valueBoolean": true + } + ], + "system": "email", + "value": "Brendon298.Huel628@example.com", + "use": "work" + } + ], + "address": [ + { + "line": [ + "1 BROOKLINE PL" + ], + "city": "BROOKLINE", + "state": "MA", + "postalCode": "02445-7277", + "country": "US" + } + ], + "gender": "male" + }, + "request": { + "method": "POST", + "url": "Practitioner" + } + }, + { + "fullUrl": "urn:uuid:97d39e08-5aac-4dec-8add-474d16eba6c4", + "resource": { + "resourceType": "PractitionerRole", + "id": "97d39e08-5aac-4dec-8add-474d16eba6c4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|3.1.1" + ] + }, + "practitioner": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "organization": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "code": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "208D00000X", + "display": "General Practice" + } + ], + "text": "General Practice" + } + ], + "specialty": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "208D00000X", + "display": "General Practice" + } + ], + "text": "General Practice" + } + ], + "location": [ + { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "telecom": [ + { + "system": "phone", + "value": "617-739-0245" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "valueBoolean": true + } + ], + "system": "email", + "value": "Brendon298.Huel628@example.com", + "use": "work" + } + ] + }, + "request": { + "method": "POST", + "url": "PractitionerRole" + } + }, + { + "fullUrl": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa", + "resource": { + "resourceType": "Encounter", + "id": "6d721a06-2e4f-40d9-a109-a77df52918fa", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "6d721a06-2e4f-40d9-a109-a77df52918fa" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "1998-01-30T03:25:21-05:00", + "end": "1998-01-30T03:40:21-05:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "1998-01-30T03:25:21-05:00", + "end": "1998-01-30T03:40:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344", + "resource": { + "resourceType": "Condition", + "id": "6fcef45f-c022-4a43-a026-491b9e8ab344", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition|3.1.1" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "59621000", + "display": "Hypertension" + } + ], + "text": "Hypertension" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" + }, + "onsetDateTime": "1998-01-30T03:25:21-05:00", + "recordedDate": "1998-01-30T03:25:21-05:00" + }, + "request": { + "method": "POST", + "url": "Condition" + } + }, + { + "fullUrl": "urn:uuid:1079548d-b5e4-468e-a4dc-d7f30a87608d", + "resource": { + "resourceType": "CareTeam", + "id": "1079548d-b5e4-468e-a4dc-d7f30a87608d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + ] + }, + "status": "active", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" + }, + "period": { + "start": "1998-01-30T03:25:21-05:00" + }, + "participant": [ + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "116153009", + "display": "Patient" + } + ], + "text": "Patient" + } + ], + "member": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + } + }, + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "223366009", + "display": "Healthcare professional (occupation)" + } + ], + "text": "Healthcare professional (occupation)" + } + ], + "member": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + }, + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "224891009", + "display": "Healthcare services (qualifier value)" + } + ], + "text": "Healthcare services (qualifier value)" + } + ], + "member": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "59621000", + "display": "Hypertension" + } + ], + "text": "Hypertension" + } + ], + "managingOrganization": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ] + }, + "request": { + "method": "POST", + "url": "CareTeam" + } + }, + { + "fullUrl": "urn:uuid:f76c8a86-2731-45a8-a41d-f3739d5a9f9f", + "resource": { + "resourceType": "Goal", + "id": "f76c8a86-2731-45a8-a41d-f3739d5a9f9f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "lifecycleStatus": "accepted", + "achievementStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", + "code": "in-progress" + } + ] + }, + "description": { + "text": "Maintain blood pressure below 140/90 mm[Hg]" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "target": [ + { + "measure": { + "text": "Maintain blood pressure below 140/90 mm[Hg]" + }, + "dueDate": "1998-03-01" + } + ] + }, + "request": { + "method": "POST", + "url": "Goal" + } + }, + { + "fullUrl": "urn:uuid:3ff6bc3c-e123-424f-a19b-8e46ea3b592a", + "resource": { + "resourceType": "Goal", + "id": "3ff6bc3c-e123-424f-a19b-8e46ea3b592a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "lifecycleStatus": "accepted", + "achievementStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", + "code": "in-progress" + } + ] + }, + "description": { + "text": "Reduce sodium intake to no more than 2,400 mg/day" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "target": [ + { + "measure": { + "text": "Reduce sodium intake to no more than 2,400 mg/day" + }, + "dueDate": "1998-03-01" + } + ] + }, + "request": { + "method": "POST", + "url": "Goal" + } + }, + { + "fullUrl": "urn:uuid:a22344fd-f2d8-44c3-8a27-192ff2335d57", + "resource": { + "resourceType": "CarePlan", + "id": "a22344fd-f2d8-44c3-8a27-192ff2335d57", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "
Care Plan for Lifestyle education regarding hypertension.
Activities:
  • Lifestyle education regarding hypertension
  • Lifestyle education regarding hypertension
  • Lifestyle education regarding hypertension
  • Lifestyle education regarding hypertension

Care plan is meant to treat Hypertension.
" + }, + "status": "active", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + }, + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "443402002", + "display": "Lifestyle education regarding hypertension" + } + ], + "text": "Lifestyle education regarding hypertension" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" + }, + "period": { + "start": "1998-01-30T03:25:21-05:00" + }, + "careTeam": [ + { + "reference": "urn:uuid:1079548d-b5e4-468e-a4dc-d7f30a87608d" + } + ], + "addresses": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "goal": [ + { + "reference": "urn:uuid:f76c8a86-2731-45a8-a41d-f3739d5a9f9f" + }, + { + "reference": "urn:uuid:3ff6bc3c-e123-424f-a19b-8e46ea3b592a" + } + ], + "activity": [ + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "386463000", + "display": "Prescribed activity/exercise education" + } + ], + "text": "Prescribed activity/exercise education" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + }, + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "413473000", + "display": "Counseling about alcohol consumption" + } + ], + "text": "Counseling about alcohol consumption" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + }, + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1151000175103", + "display": "Dietary approaches to stop hypertension diet" + } + ], + "text": "Dietary approaches to stop hypertension diet" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + }, + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "225323000", + "display": "Smoking cessation education" + } + ], + "text": "Smoking cessation education" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + } + ] + }, + "request": { + "method": "POST", + "url": "CarePlan" + } + }, + { + "fullUrl": "urn:uuid:a4bb4455-c9ea-43b0-a158-f20104fe3b31", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a4bb4455-c9ea-43b0-a158-f20104fe3b31", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" + }, + "effectiveDateTime": "1998-01-30T03:25:21-05:00", + "issued": "1998-01-30T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjE5OTgtMDEtMzAKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGlzIGFuIGFjdGl2ZSBzbW9rZXIgYW5kIGlzIGFuIGFsY29ob2xpYy4gUGF0aWVudCBpZGVudGlmaWVzIGFzIGhldGVyb3NleHVhbC4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgaGFzIGEgaGlnaCBzY2hvb2wgZWR1Y2F0aW9uLiBQYXRpZW50IGN1cnJlbnRseSBoYXMgQ2lnbmEgSGVhbHRoLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwpObyBBY3RpdmUgTWVkaWNhdGlvbnMuCgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KUGF0aWVudCBpcyBwcmVzZW50aW5nIHdpdGggaHlwZXJ0ZW5zaW9uLiAKCiMjIFBsYW4KClRoZSBwYXRpZW50IHdhcyBwbGFjZWQgb24gYSBjYXJlcGxhbjoKLSBsaWZlc3R5bGUgZWR1Y2F0aW9uIHJlZ2FyZGluZyBoeXBlcnRlbnNpb24K" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:afa2cd14-9f05-47ba-a1f8-4b294ff3c1d3", + "resource": { + "resourceType": "DocumentReference", + "id": "afa2cd14-9f05-47ba-a1f8-4b294ff3c1d3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "a4bb4455-c9ea-43b0-a158-f20104fe3b31" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "1998-01-30T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjE5OTgtMDEtMzAKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGlzIGFuIGFjdGl2ZSBzbW9rZXIgYW5kIGlzIGFuIGFsY29ob2xpYy4gUGF0aWVudCBpZGVudGlmaWVzIGFzIGhldGVyb3NleHVhbC4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgaGFzIGEgaGlnaCBzY2hvb2wgZWR1Y2F0aW9uLiBQYXRpZW50IGN1cnJlbnRseSBoYXMgQ2lnbmEgSGVhbHRoLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwpObyBBY3RpdmUgTWVkaWNhdGlvbnMuCgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KUGF0aWVudCBpcyBwcmVzZW50aW5nIHdpdGggaHlwZXJ0ZW5zaW9uLiAKCiMjIFBsYW4KClRoZSBwYXRpZW50IHdhcyBwbGFjZWQgb24gYSBjYXJlcGxhbjoKLSBsaWZlc3R5bGUgZWR1Y2F0aW9uIHJlZ2FyZGluZyBoeXBlcnRlbnNpb24K" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" + } + ], + "period": { + "start": "1998-01-30T03:25:21-05:00", + "end": "1998-01-30T03:40:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:babd4d54-5160-49c3-a48d-743bc18261b0", + "resource": { + "resourceType": "Claim", + "id": "babd4d54-5160-49c3-a48d-743bc18261b0", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "1998-01-30T03:25:21-05:00", + "end": "1998-01-30T03:40:21-05:00" + }, + "created": "1998-01-30T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "59621000", + "display": "Hypertension" + } + ], + "text": "Hypertension" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:bbfd08e2-a360-4a69-ab18-47ecbd2a905f", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "bbfd08e2-a360-4a69-ab18-47ecbd2a905f", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "babd4d54-5160-49c3-a48d-743bc18261b0" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1998-01-30T03:40:21-05:00", + "end": "1999-01-30T03:40:21-05:00" + }, + "created": "1998-01-30T03:40:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:babd4d54-5160-49c3-a48d-743bc18261b0" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + }, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", + "code": "principal" + } + ] + } + ] + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "1998-01-30T03:25:21-05:00", + "end": "1998-01-30T03:40:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "59621000", + "display": "Hypertension" + } + ], + "text": "Hypertension" + }, + "servicedPeriod": { + "start": "1998-01-30T03:25:21-05:00", + "end": "1998-01-30T03:40:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + } + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff", + "resource": { + "resourceType": "Encounter", + "id": "48c605b5-a3bd-4d10-a03c-68b92abeedff", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "48c605b5-a3bd-4d10-a03c-68b92abeedff" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "390906007", + "display": "Hypertension follow-up encounter" + } + ], + "text": "Hypertension follow-up encounter" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "1998-03-01T03:25:21-05:00", + "end": "1998-03-01T03:40:21-05:00" + }, + "individual": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + } + ], + "period": { + "start": "1998-03-01T03:25:21-05:00", + "end": "1998-03-01T03:40:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:f48e166f-e816-4dd2-ae9a-f745c788b5dc", + "resource": { + "resourceType": "MedicationRequest", + "id": "f48e166f-e816-4dd2-ae9a-f745c788b5dc", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" + }, + "authoredOn": "1998-03-01T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:5a2fd146-bed1-4588-ad05-da3e0f2b839a", + "resource": { + "resourceType": "Claim", + "id": "5a2fd146-bed1-4588-ad05-da3e0f2b839a", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1998-03-01T03:25:21-05:00", + "end": "1998-03-01T03:40:21-05:00" + }, + "created": "1998-03-01T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:f48e166f-e816-4dd2-ae9a-f745c788b5dc" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "390906007", + "display": "Hypertension follow-up encounter" + } + ], + "text": "Hypertension follow-up encounter" + }, + "encounter": [ + { + "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:ce90da04-67b3-4bf8-b634-ad32231416e2", + "resource": { + "resourceType": "DiagnosticReport", + "id": "ce90da04-67b3-4bf8-b634-ad32231416e2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" + }, + "effectiveDateTime": "1998-03-01T03:25:21-05:00", + "issued": "1998-03-01T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjE5OTgtMDMtMDEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGlzIGFuIGFjdGl2ZSBzbW9rZXIgYW5kIGlzIGFuIGFsY29ob2xpYy4gUGF0aWVudCBpZGVudGlmaWVzIGFzIGhldGVyb3NleHVhbC4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgaGFzIGEgaGlnaCBzY2hvb2wgZWR1Y2F0aW9uLiBQYXRpZW50IGN1cnJlbnRseSBoYXMgQ2lnbmEgSGVhbHRoLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwpObyBBY3RpdmUgTWVkaWNhdGlvbnMuCgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQK" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:b350966e-2568-41e0-88a2-e9d5f4c809ef", + "resource": { + "resourceType": "DocumentReference", + "id": "b350966e-2568-41e0-88a2-e9d5f4c809ef", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "ce90da04-67b3-4bf8-b634-ad32231416e2" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "1998-03-01T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "custodian": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjE5OTgtMDMtMDEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGlzIGFuIGFjdGl2ZSBzbW9rZXIgYW5kIGlzIGFuIGFsY29ob2xpYy4gUGF0aWVudCBpZGVudGlmaWVzIGFzIGhldGVyb3NleHVhbC4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgaGFzIGEgaGlnaCBzY2hvb2wgZWR1Y2F0aW9uLiBQYXRpZW50IGN1cnJlbnRseSBoYXMgQ2lnbmEgSGVhbHRoLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwpObyBBY3RpdmUgTWVkaWNhdGlvbnMuCgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQK" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" + } + ], + "period": { + "start": "1998-03-01T03:25:21-05:00", + "end": "1998-03-01T03:40:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:444f7f44-2f77-4f02-88be-d9544bf3c631", + "resource": { + "resourceType": "Claim", + "id": "444f7f44-2f77-4f02-88be-d9544bf3c631", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "1998-03-01T03:25:21-05:00", + "end": "1998-03-01T03:40:21-05:00" + }, + "created": "1998-03-01T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "390906007", + "display": "Hypertension follow-up encounter" + } + ], + "text": "Hypertension follow-up encounter" + }, + "encounter": [ + { + "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:0ef8e051-1fe0-43ba-a9de-3e168192361b", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "0ef8e051-1fe0-43ba-a9de-3e168192361b", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "444f7f44-2f77-4f02-88be-d9544bf3c631" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1998-03-01T03:40:21-05:00", + "end": "1999-03-01T03:40:21-05:00" + }, + "created": "1998-03-01T03:40:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "claim": { + "reference": "urn:uuid:444f7f44-2f77-4f02-88be-d9544bf3c631" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "390906007", + "display": "Hypertension follow-up encounter" + } + ], + "text": "Hypertension follow-up encounter" + }, + "servicedPeriod": { + "start": "1998-03-01T03:25:21-05:00", + "end": "1998-03-01T03:40:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079", + "resource": { + "resourceType": "Encounter", + "id": "7f6a08e7-8b72-40c3-941b-306f60f41079", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "7f6a08e7-8b72-40c3-941b-306f60f41079" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "1999-02-05T03:25:21-05:00", + "end": "1999-02-05T03:55:21-05:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "1999-02-05T03:25:21-05:00", + "end": "1999-02-05T03:55:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:01dc96f0-9960-468a-90ca-712762e05604", + "resource": { + "resourceType": "MedicationRequest", + "id": "01dc96f0-9960-468a-90ca-712762e05604", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" + }, + "authoredOn": "1999-02-05T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:7d8373e5-41fe-44b4-963a-29e0634ba3ef", + "resource": { + "resourceType": "Claim", + "id": "7d8373e5-41fe-44b4-963a-29e0634ba3ef", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1999-02-05T03:25:21-05:00", + "end": "1999-02-05T03:55:21-05:00" + }, + "created": "1999-02-05T03:55:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:01dc96f0-9960-468a-90ca-712762e05604" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:7f47ee0b-158c-44a9-82c5-6d1119de5fca", + "resource": { + "resourceType": "DiagnosticReport", + "id": "7f47ee0b-158c-44a9-82c5-6d1119de5fca", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" + }, + "effectiveDateTime": "1999-02-05T03:25:21-05:00", + "issued": "1999-02-05T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjE5OTktMDItMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:28c7e6cc-5db8-415c-9e5e-eb74ddd0a163", + "resource": { + "resourceType": "DocumentReference", + "id": "28c7e6cc-5db8-415c-9e5e-eb74ddd0a163", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "7f47ee0b-158c-44a9-82c5-6d1119de5fca" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "1999-02-05T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjE5OTktMDItMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" + } + ], + "period": { + "start": "1999-02-05T03:25:21-05:00", + "end": "1999-02-05T03:55:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:0f29c123-8355-4b9c-8bc2-f09991b7f642", + "resource": { + "resourceType": "Claim", + "id": "0f29c123-8355-4b9c-8bc2-f09991b7f642", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "1999-02-05T03:25:21-05:00", + "end": "1999-02-05T03:55:21-05:00" + }, + "created": "1999-02-05T03:55:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:01a531f8-8a5f-46e8-8484-9964ea6d5751", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "01a531f8-8a5f-46e8-8484-9964ea6d5751", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "0f29c123-8355-4b9c-8bc2-f09991b7f642" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1999-02-05T03:55:21-05:00", + "end": "2000-02-05T03:55:21-05:00" + }, + "created": "1999-02-05T03:55:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:0f29c123-8355-4b9c-8bc2-f09991b7f642" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "1999-02-05T03:25:21-05:00", + "end": "1999-02-05T03:55:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b", + "resource": { + "resourceType": "Encounter", + "id": "4614e2b1-54b4-4d01-a257-90c98eea733b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "4614e2b1-54b4-4d01-a257-90c98eea733b" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2000-02-11T03:25:21-05:00", + "end": "2000-02-11T03:40:21-05:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2000-02-11T03:25:21-05:00", + "end": "2000-02-11T03:40:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:9ec3f089-85d4-4859-9ab5-bb8486af95a7", + "resource": { + "resourceType": "MedicationRequest", + "id": "9ec3f089-85d4-4859-9ab5-bb8486af95a7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" + }, + "authoredOn": "2000-02-11T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:90dfc8d5-4157-4430-86e7-493a9ab8dde8", + "resource": { + "resourceType": "Claim", + "id": "90dfc8d5-4157-4430-86e7-493a9ab8dde8", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2000-02-11T03:25:21-05:00", + "end": "2000-02-11T03:40:21-05:00" + }, + "created": "2000-02-11T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:9ec3f089-85d4-4859-9ab5-bb8486af95a7" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:f17db13f-0743-4fa4-90d8-1733c559a5c6", + "resource": { + "resourceType": "DiagnosticReport", + "id": "f17db13f-0743-4fa4-90d8-1733c559a5c6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" + }, + "effectiveDateTime": "2000-02-11T03:25:21-05:00", + "issued": "2000-02-11T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDAtMDItMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIwIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:e3f1364c-0edc-49ed-875f-09115ac366f7", + "resource": { + "resourceType": "DocumentReference", + "id": "e3f1364c-0edc-49ed-875f-09115ac366f7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "f17db13f-0743-4fa4-90d8-1733c559a5c6" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2000-02-11T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDAtMDItMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIwIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" + } + ], + "period": { + "start": "2000-02-11T03:25:21-05:00", + "end": "2000-02-11T03:40:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:921df6c6-9262-4d06-9fd1-4626ca2904a5", + "resource": { + "resourceType": "Claim", + "id": "921df6c6-9262-4d06-9fd1-4626ca2904a5", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2000-02-11T03:25:21-05:00", + "end": "2000-02-11T03:40:21-05:00" + }, + "created": "2000-02-11T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:7850fc54-4189-45c8-bdf4-a6f8b6b3119a", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "7850fc54-4189-45c8-bdf4-a6f8b6b3119a", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "921df6c6-9262-4d06-9fd1-4626ca2904a5" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2000-02-11T03:40:21-05:00", + "end": "2001-02-11T03:40:21-05:00" + }, + "created": "2000-02-11T03:40:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:921df6c6-9262-4d06-9fd1-4626ca2904a5" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2000-02-11T03:25:21-05:00", + "end": "2000-02-11T03:40:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2", + "resource": { + "resourceType": "Encounter", + "id": "885c8502-5dbc-421f-9cd6-160ff5c635a2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "885c8502-5dbc-421f-9cd6-160ff5c635a2" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "308335008", + "display": "Patient encounter procedure" + } + ], + "text": "Patient encounter procedure" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2001-02-16T03:25:21-05:00", + "end": "2001-02-16T03:59:21-05:00" + }, + "individual": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + } + ], + "period": { + "start": "2001-02-16T03:25:21-05:00", + "end": "2001-02-16T03:59:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:36c176e3-5827-4ee1-8119-fd02558ebb86", + "resource": { + "resourceType": "MedicationRequest", + "id": "36c176e3-5827-4ee1-8119-fd02558ebb86", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" + }, + "authoredOn": "2001-02-16T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:e5accce6-ecbe-4232-9ac7-835bc6911f27", + "resource": { + "resourceType": "Claim", + "id": "e5accce6-ecbe-4232-9ac7-835bc6911f27", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2001-02-16T03:25:21-05:00", + "end": "2001-02-16T03:59:21-05:00" + }, + "created": "2001-02-16T03:59:21-05:00", + "provider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:36c176e3-5827-4ee1-8119-fd02558ebb86" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "308335008", + "display": "Patient encounter procedure" + } + ], + "text": "Patient encounter procedure" + }, + "encounter": [ + { + "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:99c2bbb3-ab22-4e45-b30c-9565d584663c", + "resource": { + "resourceType": "DiagnosticReport", + "id": "99c2bbb3-ab22-4e45-b30c-9565d584663c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" + }, + "effectiveDateTime": "2001-02-16T03:25:21-05:00", + "issued": "2001-02-16T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDEtMDItMTYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIxIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:a82b33b2-3e98-4014-ab04-a2a8d33f21ca", + "resource": { + "resourceType": "DocumentReference", + "id": "a82b33b2-3e98-4014-ab04-a2a8d33f21ca", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "99c2bbb3-ab22-4e45-b30c-9565d584663c" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2001-02-16T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "custodian": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDEtMDItMTYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIxIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" + } + ], + "period": { + "start": "2001-02-16T03:25:21-05:00", + "end": "2001-02-16T03:59:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:ae602309-d9dc-424a-aadc-8d02608be360", + "resource": { + "resourceType": "Claim", + "id": "ae602309-d9dc-424a-aadc-8d02608be360", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2001-02-16T03:25:21-05:00", + "end": "2001-02-16T03:59:21-05:00" + }, + "created": "2001-02-16T03:59:21-05:00", + "provider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "308335008", + "display": "Patient encounter procedure" + } + ], + "text": "Patient encounter procedure" + }, + "encounter": [ + { + "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:dffd219c-6d86-4813-a843-d83046b8a5df", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "dffd219c-6d86-4813-a843-d83046b8a5df", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "NO_INSURANCE" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "NO_INSURANCE" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "ae602309-d9dc-424a-aadc-8d02608be360" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2001-02-16T03:59:21-05:00", + "end": "2002-02-16T03:59:21-05:00" + }, + "created": "2001-02-16T03:59:21-05:00", + "insurer": { + "display": "NO_INSURANCE" + }, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "claim": { + "reference": "urn:uuid:ae602309-d9dc-424a-aadc-8d02608be360" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "308335008", + "display": "Patient encounter procedure" + } + ], + "text": "Patient encounter procedure" + }, + "servicedPeriod": { + "start": "2001-02-16T03:25:21-05:00", + "end": "2001-02-16T03:59:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f", + "resource": { + "resourceType": "Encounter", + "id": "1ab1c91b-f11a-4792-82dd-3a39a96d6c5f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2002-02-22T03:25:21-05:00", + "end": "2002-02-22T03:55:21-05:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2002-02-22T03:25:21-05:00", + "end": "2002-02-22T03:55:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:49890f9e-0c45-4242-8700-5dd9db1e691e", + "resource": { + "resourceType": "MedicationRequest", + "id": "49890f9e-0c45-4242-8700-5dd9db1e691e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" + }, + "authoredOn": "2002-02-22T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:9d3741e1-b8ab-434e-8222-8130b06ce54e", + "resource": { + "resourceType": "Claim", + "id": "9d3741e1-b8ab-434e-8222-8130b06ce54e", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2002-02-22T03:25:21-05:00", + "end": "2002-02-22T03:55:21-05:00" + }, + "created": "2002-02-22T03:55:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:49890f9e-0c45-4242-8700-5dd9db1e691e" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:6aaa38f3-9da8-456c-8e3e-401cca32fd02", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6aaa38f3-9da8-456c-8e3e-401cca32fd02", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" + }, + "effectiveDateTime": "2002-02-22T03:25:21-05:00", + "issued": "2002-02-22T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDItMDItMjIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIyIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:02593c2f-a85b-4fb0-834e-52f927ec454e", + "resource": { + "resourceType": "DocumentReference", + "id": "02593c2f-a85b-4fb0-834e-52f927ec454e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "6aaa38f3-9da8-456c-8e3e-401cca32fd02" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2002-02-22T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDItMDItMjIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIyIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" + } + ], + "period": { + "start": "2002-02-22T03:25:21-05:00", + "end": "2002-02-22T03:55:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:4faf80e8-4ab1-45c6-aaa9-684a0fc3b6c0", + "resource": { + "resourceType": "Claim", + "id": "4faf80e8-4ab1-45c6-aaa9-684a0fc3b6c0", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2002-02-22T03:25:21-05:00", + "end": "2002-02-22T03:55:21-05:00" + }, + "created": "2002-02-22T03:55:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:5a1ca1d5-0fd0-4d77-b70c-3efaadbfd25a", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "5a1ca1d5-0fd0-4d77-b70c-3efaadbfd25a", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "4faf80e8-4ab1-45c6-aaa9-684a0fc3b6c0" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2002-02-22T03:55:21-05:00", + "end": "2003-02-22T03:55:21-05:00" + }, + "created": "2002-02-22T03:55:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:4faf80e8-4ab1-45c6-aaa9-684a0fc3b6c0" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2002-02-22T03:25:21-05:00", + "end": "2002-02-22T03:55:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f", + "resource": { + "resourceType": "Encounter", + "id": "0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2003-02-28T03:25:21-05:00", + "end": "2003-02-28T03:40:21-05:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2003-02-28T03:25:21-05:00", + "end": "2003-02-28T03:40:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:10e53d12-2a17-4a2e-afed-67a0337e429e", + "resource": { + "resourceType": "MedicationRequest", + "id": "10e53d12-2a17-4a2e-afed-67a0337e429e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" + }, + "authoredOn": "2003-02-28T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:ea667003-44ed-47b6-890d-e50ebf6d109b", + "resource": { + "resourceType": "Claim", + "id": "ea667003-44ed-47b6-890d-e50ebf6d109b", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2003-02-28T03:25:21-05:00", + "end": "2003-02-28T03:40:21-05:00" + }, + "created": "2003-02-28T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:10e53d12-2a17-4a2e-afed-67a0337e429e" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:c1327a2a-37b0-4cda-bce4-8fd9774969c5", + "resource": { + "resourceType": "DiagnosticReport", + "id": "c1327a2a-37b0-4cda-bce4-8fd9774969c5", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" + }, + "effectiveDateTime": "2003-02-28T03:25:21-05:00", + "issued": "2003-02-28T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDMtMDItMjgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:d55686db-2b30-4e27-a431-d444492a6c0b", + "resource": { + "resourceType": "DocumentReference", + "id": "d55686db-2b30-4e27-a431-d444492a6c0b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "c1327a2a-37b0-4cda-bce4-8fd9774969c5" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2003-02-28T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDMtMDItMjgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" + } + ], + "period": { + "start": "2003-02-28T03:25:21-05:00", + "end": "2003-02-28T03:40:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:bf009133-9c61-4431-9bcd-8b0e88c2b27d", + "resource": { + "resourceType": "Claim", + "id": "bf009133-9c61-4431-9bcd-8b0e88c2b27d", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2003-02-28T03:25:21-05:00", + "end": "2003-02-28T03:40:21-05:00" + }, + "created": "2003-02-28T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:89165033-b8e4-4325-a906-33f4665e588f", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "89165033-b8e4-4325-a906-33f4665e588f", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "bf009133-9c61-4431-9bcd-8b0e88c2b27d" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2003-02-28T03:40:21-05:00", + "end": "2004-02-28T03:40:21-05:00" + }, + "created": "2003-02-28T03:40:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:bf009133-9c61-4431-9bcd-8b0e88c2b27d" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2003-02-28T03:25:21-05:00", + "end": "2003-02-28T03:40:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc", + "resource": { + "resourceType": "Encounter", + "id": "12163eb5-768d-487c-b350-aad7122743bc", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "12163eb5-768d-487c-b350-aad7122743bc" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T03:55:21-05:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T03:55:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:3d18b777-7c11-4c1f-88ec-0c385a2e70da", + "resource": { + "resourceType": "Condition", + "id": "3d18b777-7c11-4c1f-88ec-0c385a2e70da", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition|3.1.1" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "15777000", + "display": "Prediabetes" + } + ], + "text": "Prediabetes" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + }, + "onsetDateTime": "2004-03-05T03:25:21-05:00", + "recordedDate": "2004-03-05T03:25:21-05:00" + }, + "request": { + "method": "POST", + "url": "Condition" + } + }, + { + "fullUrl": "urn:uuid:673b17bc-5467-4587-b95a-5538e5411bbb", + "resource": { + "resourceType": "Condition", + "id": "673b17bc-5467-4587-b95a-5538e5411bbb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition|3.1.1" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "271737000", + "display": "Anemia (disorder)" + } + ], + "text": "Anemia (disorder)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + }, + "onsetDateTime": "2004-03-05T03:25:21-05:00", + "recordedDate": "2004-03-05T03:25:21-05:00" + }, + "request": { + "method": "POST", + "url": "Condition" + } + }, + { + "fullUrl": "urn:uuid:615fcb6c-db2e-4f6a-be23-62dec27f1d8d", + "resource": { + "resourceType": "MedicationRequest", + "id": "615fcb6c-db2e-4f6a-be23-62dec27f1d8d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + }, + "authoredOn": "2004-03-05T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:cccb1957-2a02-4bb7-ac4e-51488d6167f3", + "resource": { + "resourceType": "Claim", + "id": "cccb1957-2a02-4bb7-ac4e-51488d6167f3", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T03:55:21-05:00" + }, + "created": "2004-03-05T03:55:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:615fcb6c-db2e-4f6a-be23-62dec27f1d8d" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Medicaid" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:5b8ec926-7097-4d05-a79f-bccb435c1fd1", + "resource": { + "resourceType": "CareTeam", + "id": "5b8ec926-7097-4d05-a79f-bccb435c1fd1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + ] + }, + "status": "active", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + }, + "period": { + "start": "2004-03-05T03:25:21-05:00" + }, + "participant": [ + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "116153009", + "display": "Patient" + } + ], + "text": "Patient" + } + ], + "member": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + } + }, + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "223366009", + "display": "Healthcare professional (occupation)" + } + ], + "text": "Healthcare professional (occupation)" + } + ], + "member": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + }, + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "224891009", + "display": "Healthcare services (qualifier value)" + } + ], + "text": "Healthcare services (qualifier value)" + } + ], + "member": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "15777000", + "display": "Prediabetes" + } + ], + "text": "Prediabetes" + } + ], + "managingOrganization": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ] + }, + "request": { + "method": "POST", + "url": "CareTeam" + } + }, + { + "fullUrl": "urn:uuid:4ccea939-1dbc-4f1f-8e8f-5c3b65864407", + "resource": { + "resourceType": "Goal", + "id": "4ccea939-1dbc-4f1f-8e8f-5c3b65864407", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "lifecycleStatus": "accepted", + "achievementStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", + "code": "in-progress" + } + ] + }, + "description": { + "text": "Hemoglobin A1c total in Blood < 7.0" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "target": [ + { + "measure": { + "text": "Hemoglobin A1c total in Blood < 7.0" + }, + "dueDate": "2004-04-04" + } + ] + }, + "request": { + "method": "POST", + "url": "Goal" + } + }, + { + "fullUrl": "urn:uuid:c52ee846-a4e0-4036-a32e-4e6ae5a2b6df", + "resource": { + "resourceType": "Goal", + "id": "c52ee846-a4e0-4036-a32e-4e6ae5a2b6df", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "lifecycleStatus": "accepted", + "achievementStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", + "code": "in-progress" + } + ] + }, + "description": { + "text": "Glucose [Mass/volume] in Blood < 108" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "target": [ + { + "measure": { + "text": "Glucose [Mass/volume] in Blood < 108" + }, + "dueDate": "2004-04-04" + } + ] + }, + "request": { + "method": "POST", + "url": "Goal" + } + }, + { + "fullUrl": "urn:uuid:994bd33c-f03d-4dd1-be77-b35d3e6ba44c", + "resource": { + "resourceType": "Goal", + "id": "994bd33c-f03d-4dd1-be77-b35d3e6ba44c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "lifecycleStatus": "accepted", + "achievementStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", + "code": "in-progress" + } + ] + }, + "description": { + "text": "Maintain blood pressure below 140/90 mmHg" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "target": [ + { + "measure": { + "text": "Maintain blood pressure below 140/90 mmHg" + }, + "dueDate": "2004-04-04" + } + ] + }, + "request": { + "method": "POST", + "url": "Goal" + } + }, + { + "fullUrl": "urn:uuid:916308a4-0e0f-4fe1-9d17-95d528ed5edf", + "resource": { + "resourceType": "Goal", + "id": "916308a4-0e0f-4fe1-9d17-95d528ed5edf", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "lifecycleStatus": "accepted", + "achievementStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", + "code": "in-progress" + } + ] + }, + "description": { + "text": "Improve and maintenance of optimal foot health: aim at early detection of peripheral vascular problems and neuropathy presumed due to diabetes; and prevention of diabetic foot ulcer, gangrene" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "target": [ + { + "measure": { + "text": "Improve and maintenance of optimal foot health: aim at early detection of peripheral vascular problems and neuropathy presumed due to diabetes; and prevention of diabetic foot ulcer, gangrene" + }, + "dueDate": "2004-04-04" + } + ] + }, + "request": { + "method": "POST", + "url": "Goal" + } + }, + { + "fullUrl": "urn:uuid:a9060b72-9c3b-4c98-9736-9eaa91bbb58b", + "resource": { + "resourceType": "Goal", + "id": "a9060b72-9c3b-4c98-9736-9eaa91bbb58b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "lifecycleStatus": "accepted", + "achievementStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", + "code": "in-progress" + } + ] + }, + "description": { + "text": "Address patient knowledge deficit on diabetic self-care" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "target": [ + { + "measure": { + "text": "Address patient knowledge deficit on diabetic self-care" + }, + "dueDate": "2004-04-04" + } + ] + }, + "request": { + "method": "POST", + "url": "Goal" + } + }, + { + "fullUrl": "urn:uuid:21fefa4d-a65b-424e-a7e0-7aa47b0c4210", + "resource": { + "resourceType": "CarePlan", + "id": "21fefa4d-a65b-424e-a7e0-7aa47b0c4210", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "
Care Plan for Diabetes self management plan.
Activities:
  • Diabetes self management plan
  • Diabetes self management plan

Care plan is meant to treat Prediabetes.
" + }, + "status": "active", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + }, + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "698360004", + "display": "Diabetes self management plan" + } + ], + "text": "Diabetes self management plan" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + }, + "period": { + "start": "2004-03-05T03:25:21-05:00" + }, + "careTeam": [ + { + "reference": "urn:uuid:5b8ec926-7097-4d05-a79f-bccb435c1fd1" + } + ], + "addresses": [ + { + "reference": "urn:uuid:3d18b777-7c11-4c1f-88ec-0c385a2e70da" + } + ], + "goal": [ + { + "reference": "urn:uuid:4ccea939-1dbc-4f1f-8e8f-5c3b65864407" + }, + { + "reference": "urn:uuid:c52ee846-a4e0-4036-a32e-4e6ae5a2b6df" + }, + { + "reference": "urn:uuid:994bd33c-f03d-4dd1-be77-b35d3e6ba44c" + }, + { + "reference": "urn:uuid:916308a4-0e0f-4fe1-9d17-95d528ed5edf" + }, + { + "reference": "urn:uuid:a9060b72-9c3b-4c98-9736-9eaa91bbb58b" + } + ], + "activity": [ + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "160670007", + "display": "Diabetic diet" + } + ], + "text": "Diabetic diet" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + }, + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "229065009", + "display": "Exercise therapy" + } + ], + "text": "Exercise therapy" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + } + ] + }, + "request": { + "method": "POST", + "url": "CarePlan" + } + }, + { + "fullUrl": "urn:uuid:29737665-7ca5-41e4-8412-87fa3c4ad358", + "resource": { + "resourceType": "DiagnosticReport", + "id": "29737665-7ca5-41e4-8412-87fa3c4ad358", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + }, + "effectiveDateTime": "2004-03-05T03:25:21-05:00", + "issued": "2004-03-05T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDQtMDMtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIE1lZGljYWlkLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwphdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0CgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KUGF0aWVudCBpcyBwcmVzZW50aW5nIHdpdGggcHJlZGlhYmV0ZXMsIGFuZW1pYSAoZGlzb3JkZXIpLiAKCiMjIFBsYW4KClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldApUaGUgcGF0aWVudCB3YXMgcGxhY2VkIG9uIGEgY2FyZXBsYW46Ci0gZGlhYmV0ZXMgc2VsZiBtYW5hZ2VtZW50IHBsYW4K" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:95d952c9-e7df-4e90-b71a-ea9c8e527dba", + "resource": { + "resourceType": "DocumentReference", + "id": "95d952c9-e7df-4e90-b71a-ea9c8e527dba", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "29737665-7ca5-41e4-8412-87fa3c4ad358" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2004-03-05T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDQtMDMtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIE1lZGljYWlkLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwphdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0CgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KUGF0aWVudCBpcyBwcmVzZW50aW5nIHdpdGggcHJlZGlhYmV0ZXMsIGFuZW1pYSAoZGlzb3JkZXIpLiAKCiMjIFBsYW4KClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldApUaGUgcGF0aWVudCB3YXMgcGxhY2VkIG9uIGEgY2FyZXBsYW46Ci0gZGlhYmV0ZXMgc2VsZiBtYW5hZ2VtZW50IHBsYW4K" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + } + ], + "period": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T03:55:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:cb0bac77-1b37-4359-a026-59920f83a662", + "resource": { + "resourceType": "Claim", + "id": "cb0bac77-1b37-4359-a026-59920f83a662", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T03:55:21-05:00" + }, + "created": "2004-03-05T03:55:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:3d18b777-7c11-4c1f-88ec-0c385a2e70da" + } + }, + { + "sequence": 2, + "diagnosisReference": { + "reference": "urn:uuid:673b17bc-5467-4587-b95a-5538e5411bbb" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Medicaid" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "15777000", + "display": "Prediabetes" + } + ], + "text": "Prediabetes" + } + }, + { + "sequence": 3, + "diagnosisSequence": [ + 2 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "271737000", + "display": "Anemia (disorder)" + } + ], + "text": "Anemia (disorder)" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:8399bc32-0cc9-4f41-91eb-d80b4949818e", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "8399bc32-0cc9-4f41-91eb-d80b4949818e", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Medicaid" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Medicaid" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "cb0bac77-1b37-4359-a026-59920f83a662" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2004-03-05T03:55:21-05:00", + "end": "2005-03-05T03:55:21-05:00" + }, + "created": "2004-03-05T03:55:21-05:00", + "insurer": { + "display": "Medicaid" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:cb0bac77-1b37-4359-a026-59920f83a662" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:3d18b777-7c11-4c1f-88ec-0c385a2e70da" + }, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", + "code": "principal" + } + ] + } + ] + }, + { + "sequence": 2, + "diagnosisReference": { + "reference": "urn:uuid:673b17bc-5467-4587-b95a-5538e5411bbb" + }, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", + "code": "principal" + } + ] + } + ] + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Medicaid" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T03:55:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "15777000", + "display": "Prediabetes" + } + ], + "text": "Prediabetes" + }, + "servicedPeriod": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T03:55:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + } + }, + { + "sequence": 3, + "diagnosisSequence": [ + 2 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "271737000", + "display": "Anemia (disorder)" + } + ], + "text": "Anemia (disorder)" + }, + "servicedPeriod": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T03:55:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + } + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509", + "resource": { + "resourceType": "Encounter", + "id": "074e9ad3-624e-4a70-bf25-26cbef9a6509", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "074e9ad3-624e-4a70-bf25-26cbef9a6509" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T04:48:21-05:00" + }, + "individual": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + } + ], + "period": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T04:48:21-05:00" + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "271737000", + "display": "Anemia (disorder)" + } + ] + } + ], + "location": [ + { + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:11cde837-0047-4725-935c-b7dac2ede4f7", + "resource": { + "resourceType": "MedicationRequest", + "id": "11cde837-0047-4725-935c-b7dac2ede4f7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" + }, + "authoredOn": "2004-03-05T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:92397156-789b-4251-b943-edefb5df3716", + "resource": { + "resourceType": "Claim", + "id": "92397156-789b-4251-b943-edefb5df3716", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T04:48:21-05:00" + }, + "created": "2004-03-05T04:48:21-05:00", + "provider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:11cde837-0047-4725-935c-b7dac2ede4f7" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Medicaid" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + }, + "encounter": [ + { + "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:37c20bb4-d87c-4982-90c3-13d0c6875278", + "resource": { + "resourceType": "DiagnosticReport", + "id": "37c20bb4-d87c-4982-90c3-13d0c6875278", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" + }, + "effectiveDateTime": "2004-03-05T03:25:21-05:00", + "issued": "2004-03-05T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDQtMDMtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIE1lZGljYWlkLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwphdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0CgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQK" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:8c1f26a5-4185-4aec-9a75-8114d2a6c8da", + "resource": { + "resourceType": "DocumentReference", + "id": "8c1f26a5-4185-4aec-9a75-8114d2a6c8da", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "37c20bb4-d87c-4982-90c3-13d0c6875278" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2004-03-05T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "custodian": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDQtMDMtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIE1lZGljYWlkLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwphdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0CgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQK" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" + } + ], + "period": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T04:48:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:95792510-794c-4d7e-955f-6239d6563dd7", + "resource": { + "resourceType": "Claim", + "id": "95792510-794c-4d7e-955f-6239d6563dd7", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T04:48:21-05:00" + }, + "created": "2004-03-05T04:48:21-05:00", + "provider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Medicaid" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + }, + "encounter": [ + { + "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:4ff1bdc1-94bb-4cba-b066-3bc3ff0fa42e", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "4ff1bdc1-94bb-4cba-b066-3bc3ff0fa42e", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Medicaid" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Medicaid" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "95792510-794c-4d7e-955f-6239d6563dd7" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2004-03-05T04:48:21-05:00", + "end": "2005-03-05T04:48:21-05:00" + }, + "created": "2004-03-05T04:48:21-05:00", + "insurer": { + "display": "Medicaid" + }, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "claim": { + "reference": "urn:uuid:95792510-794c-4d7e-955f-6239d6563dd7" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Medicaid" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + }, + "servicedPeriod": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T04:48:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6", + "resource": { + "resourceType": "Encounter", + "id": "813ff96f-ac2e-4b11-884f-8d99d0ea8ad6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2005-03-11T03:25:21-05:00", + "end": "2005-03-11T03:40:21-05:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2005-03-11T03:25:21-05:00", + "end": "2005-03-11T03:40:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:78d5fe12-273c-4942-a1c9-f6a7e094c9fc", + "resource": { + "resourceType": "MedicationRequest", + "id": "78d5fe12-273c-4942-a1c9-f6a7e094c9fc", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" + }, + "authoredOn": "2005-03-11T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:19369ad1-87e4-4bc3-8b97-0820dfbb0b8d", + "resource": { + "resourceType": "Claim", + "id": "19369ad1-87e4-4bc3-8b97-0820dfbb0b8d", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2005-03-11T03:25:21-05:00", + "end": "2005-03-11T03:40:21-05:00" + }, + "created": "2005-03-11T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:78d5fe12-273c-4942-a1c9-f6a7e094c9fc" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:6b5baec3-adb6-4d19-802b-1f7401cc73e1", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b5baec3-adb6-4d19-802b-1f7401cc73e1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" + }, + "effectiveDateTime": "2005-03-11T03:25:21-05:00", + "issued": "2005-03-11T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDUtMDMtMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI1IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:15b79ff0-17f6-4901-be79-75f1d80b7389", + "resource": { + "resourceType": "DocumentReference", + "id": "15b79ff0-17f6-4901-be79-75f1d80b7389", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "6b5baec3-adb6-4d19-802b-1f7401cc73e1" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2005-03-11T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDUtMDMtMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI1IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" + } + ], + "period": { + "start": "2005-03-11T03:25:21-05:00", + "end": "2005-03-11T03:40:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:149774ce-ea62-4c9e-bc30-693cfdd7b0c0", + "resource": { + "resourceType": "Claim", + "id": "149774ce-ea62-4c9e-bc30-693cfdd7b0c0", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2005-03-11T03:25:21-05:00", + "end": "2005-03-11T03:40:21-05:00" + }, + "created": "2005-03-11T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:647401ef-7811-41fd-ab36-0d89e6423155", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "647401ef-7811-41fd-ab36-0d89e6423155", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "149774ce-ea62-4c9e-bc30-693cfdd7b0c0" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2005-03-11T03:40:21-05:00", + "end": "2006-03-11T03:40:21-05:00" + }, + "created": "2005-03-11T03:40:21-05:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:149774ce-ea62-4c9e-bc30-693cfdd7b0c0" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2005-03-11T03:25:21-05:00", + "end": "2005-03-11T03:40:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3", + "resource": { + "resourceType": "Encounter", + "id": "6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2006-03-17T03:25:21-05:00", + "end": "2006-03-17T03:55:21-05:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2006-03-17T03:25:21-05:00", + "end": "2006-03-17T03:55:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:6ce68ed7-e200-48f3-8c60-19ac17c4c7b7", + "resource": { + "resourceType": "MedicationRequest", + "id": "6ce68ed7-e200-48f3-8c60-19ac17c4c7b7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" + }, + "authoredOn": "2006-03-17T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:b68c7063-6e12-43f1-85c7-d609fbef043e", + "resource": { + "resourceType": "Claim", + "id": "b68c7063-6e12-43f1-85c7-d609fbef043e", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2006-03-17T03:25:21-05:00", + "end": "2006-03-17T03:55:21-05:00" + }, + "created": "2006-03-17T03:55:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:6ce68ed7-e200-48f3-8c60-19ac17c4c7b7" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:6ce2aa93-90e9-4ca5-ac28-8052f67ffb26", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6ce2aa93-90e9-4ca5-ac28-8052f67ffb26", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" + }, + "effectiveDateTime": "2006-03-17T03:25:21-05:00", + "issued": "2006-03-17T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDYtMDMtMTcKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:7f5a7fe8-9a93-44fa-8ec2-0139891f2f69", + "resource": { + "resourceType": "DocumentReference", + "id": "7f5a7fe8-9a93-44fa-8ec2-0139891f2f69", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "6ce2aa93-90e9-4ca5-ac28-8052f67ffb26" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2006-03-17T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDYtMDMtMTcKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" + } + ], + "period": { + "start": "2006-03-17T03:25:21-05:00", + "end": "2006-03-17T03:55:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:c123985f-d9b3-4735-af70-5723109c8208", + "resource": { + "resourceType": "Claim", + "id": "c123985f-d9b3-4735-af70-5723109c8208", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2006-03-17T03:25:21-05:00", + "end": "2006-03-17T03:55:21-05:00" + }, + "created": "2006-03-17T03:55:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:8fe349c9-993b-4ae5-8c2e-95c84929d4a1", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "8fe349c9-993b-4ae5-8c2e-95c84929d4a1", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "c123985f-d9b3-4735-af70-5723109c8208" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2006-03-17T03:55:21-05:00", + "end": "2007-03-17T03:55:21-04:00" + }, + "created": "2006-03-17T03:55:21-05:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:c123985f-d9b3-4735-af70-5723109c8208" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2006-03-17T03:25:21-05:00", + "end": "2006-03-17T03:55:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d", + "resource": { + "resourceType": "Encounter", + "id": "5648dd27-2049-45e6-aa83-aca90e70a25d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "5648dd27-2049-45e6-aa83-aca90e70a25d" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2007-03-23T04:25:21-04:00", + "end": "2007-03-23T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2007-03-23T04:25:21-04:00", + "end": "2007-03-23T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:3c98fe7f-8444-4baf-9380-97f20df84834", + "resource": { + "resourceType": "MedicationRequest", + "id": "3c98fe7f-8444-4baf-9380-97f20df84834", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" + }, + "authoredOn": "2007-03-23T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:6b53e08d-68f5-4cb9-82d5-c04e120643cb", + "resource": { + "resourceType": "Claim", + "id": "6b53e08d-68f5-4cb9-82d5-c04e120643cb", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2007-03-23T04:25:21-04:00", + "end": "2007-03-23T04:55:21-04:00" + }, + "created": "2007-03-23T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:3c98fe7f-8444-4baf-9380-97f20df84834" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:5af8cb30-4f6b-457e-80b8-2c93b6ea0557", + "resource": { + "resourceType": "DiagnosticReport", + "id": "5af8cb30-4f6b-457e-80b8-2c93b6ea0557", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" + }, + "effectiveDateTime": "2007-03-23T04:25:21-04:00", + "issued": "2007-03-23T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDctMDMtMjMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:a4ada62e-0769-4791-9324-6568fec3ffb9", + "resource": { + "resourceType": "DocumentReference", + "id": "a4ada62e-0769-4791-9324-6568fec3ffb9", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "5af8cb30-4f6b-457e-80b8-2c93b6ea0557" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2007-03-23T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDctMDMtMjMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" + } + ], + "period": { + "start": "2007-03-23T04:25:21-04:00", + "end": "2007-03-23T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:76dc7e4c-d77e-41d0-b6ce-eac1d055235b", + "resource": { + "resourceType": "Claim", + "id": "76dc7e4c-d77e-41d0-b6ce-eac1d055235b", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2007-03-23T04:25:21-04:00", + "end": "2007-03-23T04:55:21-04:00" + }, + "created": "2007-03-23T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:16fc7b3a-10f6-44ea-bbf9-fe99a93502e9", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "16fc7b3a-10f6-44ea-bbf9-fe99a93502e9", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "76dc7e4c-d77e-41d0-b6ce-eac1d055235b" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2007-03-23T04:55:21-04:00", + "end": "2008-03-23T04:55:21-04:00" + }, + "created": "2007-03-23T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:76dc7e4c-d77e-41d0-b6ce-eac1d055235b" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2007-03-23T04:25:21-04:00", + "end": "2007-03-23T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59", + "resource": { + "resourceType": "Encounter", + "id": "5542db51-6721-42ac-8d3d-6adb2031ee59", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "5542db51-6721-42ac-8d3d-6adb2031ee59" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185349003", + "display": "Encounter for check up (procedure)" + } + ], + "text": "Encounter for check up (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2007-11-16T03:25:21-05:00", + "end": "2007-11-16T03:40:21-05:00" + }, + "individual": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + } + ], + "period": { + "start": "2007-11-16T03:25:21-05:00", + "end": "2007-11-16T03:40:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:2d614b95-e3b2-4e71-8e1c-c0423a1c8d78", + "resource": { + "resourceType": "MedicationRequest", + "id": "2d614b95-e3b2-4e71-8e1c-c0423a1c8d78", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" + }, + "authoredOn": "2007-11-16T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:62cc7f2c-256e-4c06-8f15-a1e1f02c95cd", + "resource": { + "resourceType": "Claim", + "id": "62cc7f2c-256e-4c06-8f15-a1e1f02c95cd", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2007-11-16T03:25:21-05:00", + "end": "2007-11-16T03:40:21-05:00" + }, + "created": "2007-11-16T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:2d614b95-e3b2-4e71-8e1c-c0423a1c8d78" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185349003", + "display": "Encounter for check up (procedure)" + } + ], + "text": "Encounter for check up (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:7da05a2e-e036-4bf0-aa1b-c7a50ccf8752", + "resource": { + "resourceType": "DiagnosticReport", + "id": "7da05a2e-e036-4bf0-aa1b-c7a50ccf8752", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" + }, + "effectiveDateTime": "2007-11-16T03:25:21-05:00", + "issued": "2007-11-16T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDctMTEtMTYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:1ec8051b-d391-45bf-bf09-e9159c6e4ac4", + "resource": { + "resourceType": "DocumentReference", + "id": "1ec8051b-d391-45bf-bf09-e9159c6e4ac4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "7da05a2e-e036-4bf0-aa1b-c7a50ccf8752" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2007-11-16T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "custodian": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDctMTEtMTYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" + } + ], + "period": { + "start": "2007-11-16T03:25:21-05:00", + "end": "2007-11-16T03:40:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:1cb7432e-b5c5-418f-9dd4-a771f4269331", + "resource": { + "resourceType": "Claim", + "id": "1cb7432e-b5c5-418f-9dd4-a771f4269331", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2007-11-16T03:25:21-05:00", + "end": "2007-11-16T03:40:21-05:00" + }, + "created": "2007-11-16T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185349003", + "display": "Encounter for check up (procedure)" + } + ], + "text": "Encounter for check up (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:38f67e15-e709-4e4c-8062-a4de62d588f9", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "38f67e15-e709-4e4c-8062-a4de62d588f9", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "NO_INSURANCE" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "NO_INSURANCE" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "1cb7432e-b5c5-418f-9dd4-a771f4269331" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2007-11-16T03:40:21-05:00", + "end": "2008-11-16T03:40:21-05:00" + }, + "created": "2007-11-16T03:40:21-05:00", + "insurer": { + "display": "NO_INSURANCE" + }, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "claim": { + "reference": "urn:uuid:1cb7432e-b5c5-418f-9dd4-a771f4269331" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185349003", + "display": "Encounter for check up (procedure)" + } + ], + "text": "Encounter for check up (procedure)" + }, + "servicedPeriod": { + "start": "2007-11-16T03:25:21-05:00", + "end": "2007-11-16T03:40:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf", + "resource": { + "resourceType": "Encounter", + "id": "3f7dc0b0-c2c0-4bb7-8995-735884f51adf", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "3f7dc0b0-c2c0-4bb7-8995-735884f51adf" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2008-03-28T04:25:21-04:00", + "end": "2008-03-28T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2008-03-28T04:25:21-04:00", + "end": "2008-03-28T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:856c42a4-15fa-4aa5-b126-b558c4b17b45", + "resource": { + "resourceType": "MedicationRequest", + "id": "856c42a4-15fa-4aa5-b126-b558c4b17b45", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" + }, + "authoredOn": "2008-03-28T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:24474324-3c9e-43cb-8bfb-115790dc7cf2", + "resource": { + "resourceType": "Claim", + "id": "24474324-3c9e-43cb-8bfb-115790dc7cf2", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2008-03-28T04:25:21-04:00", + "end": "2008-03-28T04:55:21-04:00" + }, + "created": "2008-03-28T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:856c42a4-15fa-4aa5-b126-b558c4b17b45" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:afe41584-dfef-40b1-ac2c-d68fc9a488ea", + "resource": { + "resourceType": "DiagnosticReport", + "id": "afe41584-dfef-40b1-ac2c-d68fc9a488ea", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" + }, + "effectiveDateTime": "2008-03-28T04:25:21-04:00", + "issued": "2008-03-28T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDgtMDMtMjgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:d627bf22-24be-4d9d-980b-7ff24fd950f2", + "resource": { + "resourceType": "DocumentReference", + "id": "d627bf22-24be-4d9d-980b-7ff24fd950f2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "afe41584-dfef-40b1-ac2c-d68fc9a488ea" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2008-03-28T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDgtMDMtMjgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" + } + ], + "period": { + "start": "2008-03-28T04:25:21-04:00", + "end": "2008-03-28T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:60481f1a-8683-4395-9767-cb4e8b54b2a4", + "resource": { + "resourceType": "Claim", + "id": "60481f1a-8683-4395-9767-cb4e8b54b2a4", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2008-03-28T04:25:21-04:00", + "end": "2008-03-28T04:55:21-04:00" + }, + "created": "2008-03-28T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:990dd75e-dbd5-4651-aeda-1df12f60952c", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "990dd75e-dbd5-4651-aeda-1df12f60952c", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "60481f1a-8683-4395-9767-cb4e8b54b2a4" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2008-03-28T04:55:21-04:00", + "end": "2009-03-28T04:55:21-04:00" + }, + "created": "2008-03-28T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:60481f1a-8683-4395-9767-cb4e8b54b2a4" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2008-03-28T04:25:21-04:00", + "end": "2008-03-28T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa", + "resource": { + "resourceType": "Encounter", + "id": "0d6e8c95-315b-4f01-a61d-92e76b01c3fa", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "0d6e8c95-315b-4f01-a61d-92e76b01c3fa" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2009-04-03T04:25:21-04:00", + "end": "2009-04-03T04:40:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2009-04-03T04:25:21-04:00", + "end": "2009-04-03T04:40:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:7e3a187e-0451-47a2-be53-a6a45d557166", + "resource": { + "resourceType": "MedicationRequest", + "id": "7e3a187e-0451-47a2-be53-a6a45d557166", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" + }, + "authoredOn": "2009-04-03T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:4b146e00-adb8-47eb-b37f-007764100d3c", + "resource": { + "resourceType": "Claim", + "id": "4b146e00-adb8-47eb-b37f-007764100d3c", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2009-04-03T04:25:21-04:00", + "end": "2009-04-03T04:40:21-04:00" + }, + "created": "2009-04-03T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:7e3a187e-0451-47a2-be53-a6a45d557166" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:18b361f9-f0cb-4aeb-a345-ea01ff550c6d", + "resource": { + "resourceType": "DiagnosticReport", + "id": "18b361f9-f0cb-4aeb-a345-ea01ff550c6d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" + }, + "effectiveDateTime": "2009-04-03T04:25:21-04:00", + "issued": "2009-04-03T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDktMDQtMDMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:dfc3abbe-854a-45ef-98b0-75ecd9ba2138", + "resource": { + "resourceType": "DocumentReference", + "id": "dfc3abbe-854a-45ef-98b0-75ecd9ba2138", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "18b361f9-f0cb-4aeb-a345-ea01ff550c6d" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2009-04-03T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDktMDQtMDMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" + } + ], + "period": { + "start": "2009-04-03T04:25:21-04:00", + "end": "2009-04-03T04:40:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:4d108606-7e3e-42e0-9091-8bd12b843e9b", + "resource": { + "resourceType": "Claim", + "id": "4d108606-7e3e-42e0-9091-8bd12b843e9b", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2009-04-03T04:25:21-04:00", + "end": "2009-04-03T04:40:21-04:00" + }, + "created": "2009-04-03T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:f9ce85ba-eefe-491a-8d2b-9ae7fe042aca", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "f9ce85ba-eefe-491a-8d2b-9ae7fe042aca", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "4d108606-7e3e-42e0-9091-8bd12b843e9b" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2009-04-03T04:40:21-04:00", + "end": "2010-04-03T04:40:21-04:00" + }, + "created": "2009-04-03T04:40:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:4d108606-7e3e-42e0-9091-8bd12b843e9b" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2009-04-03T04:25:21-04:00", + "end": "2009-04-03T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8", + "resource": { + "resourceType": "Encounter", + "id": "15714ab3-2a92-4b66-8394-5783026bafa8", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "15714ab3-2a92-4b66-8394-5783026bafa8" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185349003", + "display": "Encounter for check up (procedure)" + } + ], + "text": "Encounter for check up (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2009-06-12T04:25:21-04:00", + "end": "2009-06-12T04:40:21-04:00" + }, + "individual": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + } + ], + "period": { + "start": "2009-06-12T04:25:21-04:00", + "end": "2009-06-12T04:40:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:c071b5cc-745c-49a3-ae69-dcf6886cd5ba", + "resource": { + "resourceType": "MedicationRequest", + "id": "c071b5cc-745c-49a3-ae69-dcf6886cd5ba", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" + }, + "authoredOn": "2009-06-12T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:b45e82b4-519c-46ea-b543-782494479074", + "resource": { + "resourceType": "Claim", + "id": "b45e82b4-519c-46ea-b543-782494479074", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2009-06-12T04:25:21-04:00", + "end": "2009-06-12T04:40:21-04:00" + }, + "created": "2009-06-12T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:c071b5cc-745c-49a3-ae69-dcf6886cd5ba" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185349003", + "display": "Encounter for check up (procedure)" + } + ], + "text": "Encounter for check up (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:3d6f0356-90f8-4386-b1da-e0062bdca6a0", + "resource": { + "resourceType": "DiagnosticReport", + "id": "3d6f0356-90f8-4386-b1da-e0062bdca6a0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" + }, + "effectiveDateTime": "2009-06-12T04:25:21-04:00", + "issued": "2009-06-12T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDktMDYtMTIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:4cdf3224-e174-462e-a9c4-c985edcdad1f", + "resource": { + "resourceType": "DocumentReference", + "id": "4cdf3224-e174-462e-a9c4-c985edcdad1f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "3d6f0356-90f8-4386-b1da-e0062bdca6a0" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2009-06-12T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "custodian": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDktMDYtMTIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" + } + ], + "period": { + "start": "2009-06-12T04:25:21-04:00", + "end": "2009-06-12T04:40:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:b74cdefb-14e1-43bc-ba96-642e7ce02fc0", + "resource": { + "resourceType": "Claim", + "id": "b74cdefb-14e1-43bc-ba96-642e7ce02fc0", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2009-06-12T04:25:21-04:00", + "end": "2009-06-12T04:40:21-04:00" + }, + "created": "2009-06-12T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185349003", + "display": "Encounter for check up (procedure)" + } + ], + "text": "Encounter for check up (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:4b7a09d6-df23-413f-8a01-15a175f03e49", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "4b7a09d6-df23-413f-8a01-15a175f03e49", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "NO_INSURANCE" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "NO_INSURANCE" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "b74cdefb-14e1-43bc-ba96-642e7ce02fc0" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2009-06-12T04:40:21-04:00", + "end": "2010-06-12T04:40:21-04:00" + }, + "created": "2009-06-12T04:40:21-04:00", + "insurer": { + "display": "NO_INSURANCE" + }, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "claim": { + "reference": "urn:uuid:b74cdefb-14e1-43bc-ba96-642e7ce02fc0" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185349003", + "display": "Encounter for check up (procedure)" + } + ], + "text": "Encounter for check up (procedure)" + }, + "servicedPeriod": { + "start": "2009-06-12T04:25:21-04:00", + "end": "2009-06-12T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1", + "resource": { + "resourceType": "Encounter", + "id": "220669b7-6b53-413d-b6f2-501636bb4dc1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "220669b7-6b53-413d-b6f2-501636bb4dc1" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2010-04-09T04:25:21-04:00", + "end": "2010-04-09T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2010-04-09T04:25:21-04:00", + "end": "2010-04-09T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:f042a475-82e7-4c1d-8a16-75599e15bc0b", + "resource": { + "resourceType": "Observation", + "id": "f042a475-82e7-4c1d-8a16-75599e15bc0b", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:0ff65a61-5ac5-4679-9f28-88fe0571b272", + "resource": { + "resourceType": "Observation", + "id": "0ff65a61-5ac5-4679-9f28-88fe0571b272", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 3, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:629a7e25-1e9c-40f9-9ae6-1436d734ca96", + "resource": { + "resourceType": "Observation", + "id": "629a7e25-1e9c-40f9-9ae6-1436d734ca96", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 92.2, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:767029a4-839b-40a5-91f8-2c483c26a640", + "resource": { + "resourceType": "Observation", + "id": "767029a4-839b-40a5-91f8-2c483c26a640", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 29.58, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fc75badc-ba94-4044-a9b7-37015f37d0b8", + "resource": { + "resourceType": "Observation", + "id": "fc75badc-ba94-4044-a9b7-37015f37d0b8", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 81, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 115, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:75c85d5f-c1e1-465a-adeb-6eaf2106c3ee", + "resource": { + "resourceType": "Observation", + "id": "75c85d5f-c1e1-465a-adeb-6eaf2106c3ee", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 85, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:06471e31-793b-4a09-a3ed-c9d69ec029a5", + "resource": { + "resourceType": "Observation", + "id": "06471e31-793b-4a09-a3ed-c9d69ec029a5", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 16, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:baf51c92-7a7b-4d60-b4ee-38fa99fdf8db", + "resource": { + "resourceType": "Observation", + "id": "baf51c92-7a7b-4d60-b4ee-38fa99fdf8db", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 74.86, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fd036fe1-3692-4d5a-bf3e-ccfb1f1b2dbc", + "resource": { + "resourceType": "Observation", + "id": "fd036fe1-3692-4d5a-bf3e-ccfb1f1b2dbc", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 8.79, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:6ae6faf8-ba30-42ee-b108-4e6039be3bf0", + "resource": { + "resourceType": "Observation", + "id": "6ae6faf8-ba30-42ee-b108-4e6039be3bf0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.2, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3aa15fdc-4965-440b-85a7-26bde99c948b", + "resource": { + "resourceType": "Observation", + "id": "3aa15fdc-4965-440b-85a7-26bde99c948b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 8.88, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ce0ec83b-3e7d-4b3e-93d1-70b449f2393b", + "resource": { + "resourceType": "Observation", + "id": "ce0ec83b-3e7d-4b3e-93d1-70b449f2393b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 140.31, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:06214387-5440-4290-abaf-e436e5a2a3bb", + "resource": { + "resourceType": "Observation", + "id": "06214387-5440-4290-abaf-e436e5a2a3bb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 3.88, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:702a35e1-6ead-4af5-ba50-94f875ddca96", + "resource": { + "resourceType": "Observation", + "id": "702a35e1-6ead-4af5-ba50-94f875ddca96", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 103.15, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:5a60b57f-fc23-42aa-831f-3acc5e3619e6", + "resource": { + "resourceType": "Observation", + "id": "5a60b57f-fc23-42aa-831f-3acc5e3619e6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 27.79, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:667f4ca5-ed38-4aa1-93e4-17c0d9e1f2f3", + "resource": { + "resourceType": "Observation", + "id": "667f4ca5-ed38-4aa1-93e4-17c0d9e1f2f3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2093-3", + "display": "Total Cholesterol" + } + ], + "text": "Total Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 198.91, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:60113cc3-3fee-48ec-a41c-1f5ae25e5b15", + "resource": { + "resourceType": "Observation", + "id": "60113cc3-3fee-48ec-a41c-1f5ae25e5b15", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2571-8", + "display": "Triglycerides" + } + ], + "text": "Triglycerides" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 149.45, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:730b7adb-8506-4ccc-bde4-73532dac351d", + "resource": { + "resourceType": "Observation", + "id": "730b7adb-8506-4ccc-bde4-73532dac351d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "18262-6", + "display": "Low Density Lipoprotein Cholesterol" + } + ], + "text": "Low Density Lipoprotein Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 94.5, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:b43802eb-cb9d-4feb-80a0-87c56b80e88e", + "resource": { + "resourceType": "Observation", + "id": "b43802eb-cb9d-4feb-80a0-87c56b80e88e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2085-9", + "display": "High Density Lipoprotein Cholesterol" + } + ], + "text": "High Density Lipoprotein Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 74.52, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4b002fb0-b658-4059-894d-bad679593ed6", + "resource": { + "resourceType": "Observation", + "id": "4b002fb0-b658-4059-894d-bad679593ed6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:2a1fbe91-6378-42dc-8157-1520224c44f9", + "resource": { + "resourceType": "Observation", + "id": "2a1fbe91-6378-42dc-8157-1520224c44f9", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 6.24, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:24dbb5e6-56fe-4946-906b-a34b3ffbfd34", + "resource": { + "resourceType": "Procedure", + "id": "24dbb5e6-56fe-4946-906b-a34b3ffbfd34", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "performedPeriod": { + "start": "2010-04-09T04:25:21-04:00", + "end": "2010-04-09T04:40:21-04:00" + }, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Procedure" + } + }, + { + "fullUrl": "urn:uuid:aaf2802c-4507-4fd7-9e46-5bfba585f220", + "resource": { + "resourceType": "MedicationRequest", + "id": "aaf2802c-4507-4fd7-9e46-5bfba585f220", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "authoredOn": "2010-04-09T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:a2a3cce0-a465-4246-9c57-142e894d4062", + "resource": { + "resourceType": "Claim", + "id": "a2a3cce0-a465-4246-9c57-142e894d4062", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2010-04-09T04:25:21-04:00", + "end": "2010-04-09T04:55:21-04:00" + }, + "created": "2010-04-09T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:aaf2802c-4507-4fd7-9e46-5bfba585f220" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:eda3d975-76b8-43c0-9f7c-7d2360782f1a", + "resource": { + "resourceType": "DiagnosticReport", + "id": "eda3d975-76b8-43c0-9f7c-7d2360782f1a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:baf51c92-7a7b-4d60-b4ee-38fa99fdf8db", + "display": "Glucose" + }, + { + "reference": "urn:uuid:fd036fe1-3692-4d5a-bf3e-ccfb1f1b2dbc", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:6ae6faf8-ba30-42ee-b108-4e6039be3bf0", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:3aa15fdc-4965-440b-85a7-26bde99c948b", + "display": "Calcium" + }, + { + "reference": "urn:uuid:ce0ec83b-3e7d-4b3e-93d1-70b449f2393b", + "display": "Sodium" + }, + { + "reference": "urn:uuid:06214387-5440-4290-abaf-e436e5a2a3bb", + "display": "Potassium" + }, + { + "reference": "urn:uuid:702a35e1-6ead-4af5-ba50-94f875ddca96", + "display": "Chloride" + }, + { + "reference": "urn:uuid:5a60b57f-fc23-42aa-831f-3acc5e3619e6", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:bd149371-9c51-466f-b7fb-8e23d2fa05f1", + "resource": { + "resourceType": "DiagnosticReport", + "id": "bd149371-9c51-466f-b7fb-8e23d2fa05f1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "57698-3", + "display": "Lipid Panel" + } + ], + "text": "Lipid Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:667f4ca5-ed38-4aa1-93e4-17c0d9e1f2f3", + "display": "Total Cholesterol" + }, + { + "reference": "urn:uuid:60113cc3-3fee-48ec-a41c-1f5ae25e5b15", + "display": "Triglycerides" + }, + { + "reference": "urn:uuid:730b7adb-8506-4ccc-bde4-73532dac351d", + "display": "Low Density Lipoprotein Cholesterol" + }, + { + "reference": "urn:uuid:b43802eb-cb9d-4feb-80a0-87c56b80e88e", + "display": "High Density Lipoprotein Cholesterol" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:78396b5e-d62d-4fc5-b5dc-dba7ae491d26", + "resource": { + "resourceType": "DiagnosticReport", + "id": "78396b5e-d62d-4fc5-b5dc-dba7ae491d26", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTAtMDQtMDkKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMwIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:b96faa39-0018-41cb-97eb-5ae28645d368", + "resource": { + "resourceType": "DocumentReference", + "id": "b96faa39-0018-41cb-97eb-5ae28645d368", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "78396b5e-d62d-4fc5-b5dc-dba7ae491d26" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2010-04-09T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTAtMDQtMDkKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMwIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + } + ], + "period": { + "start": "2010-04-09T04:25:21-04:00", + "end": "2010-04-09T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:9285a728-042b-48da-84b3-b0b9d5b5a53f", + "resource": { + "resourceType": "Claim", + "id": "9285a728-042b-48da-84b3-b0b9d5b5a53f", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2010-04-09T04:25:21-04:00", + "end": "2010-04-09T04:55:21-04:00" + }, + "created": "2010-04-09T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "procedure": [ + { + "sequence": 1, + "procedureReference": { + "reference": "urn:uuid:24dbb5e6-56fe-4946-906b-a34b3ffbfd34" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + } + ] + }, + { + "sequence": 2, + "procedureSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "net": { + "value": 420.67, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:e86988f7-63b6-4083-ae1f-98d2a7d6ba12", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "e86988f7-63b6-4083-ae1f-98d2a7d6ba12", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "9285a728-042b-48da-84b3-b0b9d5b5a53f" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2010-04-09T04:55:21-04:00", + "end": "2011-04-09T04:55:21-04:00" + }, + "created": "2010-04-09T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:9285a728-042b-48da-84b3-b0b9d5b5a53f" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2010-04-09T04:25:21-04:00", + "end": "2010-04-09T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + } + ] + }, + { + "sequence": 2, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "servicedPeriod": { + "start": "2010-04-09T04:25:21-04:00", + "end": "2010-04-09T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 420.67, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 84.13400000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 336.53600000000006, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 420.67, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 420.67, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 336.53600000000006, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec", + "resource": { + "resourceType": "Encounter", + "id": "c3f0b252-3440-48a5-8377-a286da0844ec", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "c3f0b252-3440-48a5-8377-a286da0844ec" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2011-04-15T04:25:21-04:00", + "end": "2011-04-15T04:40:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2011-04-15T04:25:21-04:00", + "end": "2011-04-15T04:40:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:a2a3ed5b-120d-4340-aa22-b3a9c8b37b60", + "resource": { + "resourceType": "Observation", + "id": "a2a3ed5b-120d-4340-aa22-b3a9c8b37b60", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:da94f84f-6a92-46fa-8957-794febfa1a27", + "resource": { + "resourceType": "Observation", + "id": "da94f84f-6a92-46fa-8957-794febfa1a27", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 2, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:db710cae-5905-4f15-9984-9696255aa6ba", + "resource": { + "resourceType": "Observation", + "id": "db710cae-5905-4f15-9984-9696255aa6ba", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 91.3, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ab7f2fca-0191-44f2-9004-ab28d19cb575", + "resource": { + "resourceType": "Observation", + "id": "ab7f2fca-0191-44f2-9004-ab28d19cb575", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 29.27, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:890ab7b0-a169-4a45-9e1b-1e8d7ff7751c", + "resource": { + "resourceType": "Observation", + "id": "890ab7b0-a169-4a45-9e1b-1e8d7ff7751c", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 78, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 117, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:08ffea64-2b0e-4796-bbd5-f9cc37755876", + "resource": { + "resourceType": "Observation", + "id": "08ffea64-2b0e-4796-bbd5-f9cc37755876", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 71, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4c562f1f-8ec3-4b8c-a7fb-cf602e839329", + "resource": { + "resourceType": "Observation", + "id": "4c562f1f-8ec3-4b8c-a7fb-cf602e839329", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 16, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:9f156698-58a4-4203-9f9f-c5d00035be23", + "resource": { + "resourceType": "Observation", + "id": "9f156698-58a4-4203-9f9f-c5d00035be23", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 98.36, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:6531d108-0189-4da1-809b-18fb291b6e89", + "resource": { + "resourceType": "Observation", + "id": "6531d108-0189-4da1-809b-18fb291b6e89", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 7.64, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4587fb98-65c5-4f57-a053-aa96d0af11c5", + "resource": { + "resourceType": "Observation", + "id": "4587fb98-65c5-4f57-a053-aa96d0af11c5", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.18, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:34b455c2-58b2-44f4-89d4-ef13f9e9aa05", + "resource": { + "resourceType": "Observation", + "id": "34b455c2-58b2-44f4-89d4-ef13f9e9aa05", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 8.96, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:21999638-788b-4ed4-bf4f-c5bf3b717de3", + "resource": { + "resourceType": "Observation", + "id": "21999638-788b-4ed4-bf4f-c5bf3b717de3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 139.75, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a9f78ad2-f38c-4f8c-9e80-ad49a96950f9", + "resource": { + "resourceType": "Observation", + "id": "a9f78ad2-f38c-4f8c-9e80-ad49a96950f9", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.87, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:881d4550-f693-42fd-9a40-b4c6aa664827", + "resource": { + "resourceType": "Observation", + "id": "881d4550-f693-42fd-9a40-b4c6aa664827", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 109.4, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:66b6b56d-1a4a-4f24-b822-f8f0af1f4d02", + "resource": { + "resourceType": "Observation", + "id": "66b6b56d-1a4a-4f24-b822-f8f0af1f4d02", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 26.32, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:e6c79b32-d27e-4663-bcb0-df5ea3715aa7", + "resource": { + "resourceType": "Observation", + "id": "e6c79b32-d27e-4663-bcb0-df5ea3715aa7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6690-2", + "display": "Leukocytes [#/volume] in Blood by Automated count" + } + ], + "text": "Leukocytes [#/volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.0736, + "unit": "10*3/uL", + "system": "http://unitsofmeasure.org", + "code": "10*3/uL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:376cb148-8086-4941-943c-949d957da9c6", + "resource": { + "resourceType": "Observation", + "id": "376cb148-8086-4941-943c-949d957da9c6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "789-8", + "display": "Erythrocytes [#/volume] in Blood by Automated count" + } + ], + "text": "Erythrocytes [#/volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.1602, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org", + "code": "10*6/uL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:9e569308-73a7-43f5-a111-caa1fb2eb015", + "resource": { + "resourceType": "Observation", + "id": "9e569308-73a7-43f5-a111-caa1fb2eb015", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "718-7", + "display": "Hemoglobin [Mass/volume] in Blood" + } + ], + "text": "Hemoglobin [Mass/volume] in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 14.892, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:8df45ef5-07df-4677-b5cb-36723f5e8c40", + "resource": { + "resourceType": "Observation", + "id": "8df45ef5-07df-4677-b5cb-36723f5e8c40", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4544-3", + "display": "Hematocrit [Volume Fraction] of Blood by Automated count" + } + ], + "text": "Hematocrit [Volume Fraction] of Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 44.197, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:52d1b38a-4ab3-4000-855b-97c8701776ec", + "resource": { + "resourceType": "Observation", + "id": "52d1b38a-4ab3-4000-855b-97c8701776ec", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "787-2", + "display": "MCV [Entitic volume] by Automated count" + } + ], + "text": "MCV [Entitic volume] by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 82.927, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a587488a-07c3-47c1-a7a4-c2a0d2302abe", + "resource": { + "resourceType": "Observation", + "id": "a587488a-07c3-47c1-a7a4-c2a0d2302abe", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "785-6", + "display": "MCH [Entitic mass] by Automated count" + } + ], + "text": "MCH [Entitic mass] by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 30.54, + "unit": "pg", + "system": "http://unitsofmeasure.org", + "code": "pg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:b4b3a065-ed04-4b16-9589-814466125664", + "resource": { + "resourceType": "Observation", + "id": "b4b3a065-ed04-4b16-9589-814466125664", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "786-4", + "display": "MCHC [Mass/volume] by Automated count" + } + ], + "text": "MCHC [Mass/volume] by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 33.117, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ac5da61b-0f22-4cb0-a988-dc0a010f072e", + "resource": { + "resourceType": "Observation", + "id": "ac5da61b-0f22-4cb0-a988-dc0a010f072e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "21000-5", + "display": "Erythrocyte distribution width [Entitic volume] by Automated count" + } + ], + "text": "Erythrocyte distribution width [Entitic volume] by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 40.24, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:6da08b20-da46-4c5a-bee4-cc8593403122", + "resource": { + "resourceType": "Observation", + "id": "6da08b20-da46-4c5a-bee4-cc8593403122", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "777-3", + "display": "Platelets [#/volume] in Blood by Automated count" + } + ], + "text": "Platelets [#/volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 307.97, + "unit": "10*3/uL", + "system": "http://unitsofmeasure.org", + "code": "10*3/uL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:1818d919-78b1-4a8c-869f-5e8e4288667c", + "resource": { + "resourceType": "Observation", + "id": "1818d919-78b1-4a8c-869f-5e8e4288667c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "32207-3", + "display": "Platelet distribution width [Entitic volume] in Blood by Automated count" + } + ], + "text": "Platelet distribution width [Entitic volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 392.63, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:e5904667-c55e-4098-96d2-c81d7e7daf75", + "resource": { + "resourceType": "Observation", + "id": "e5904667-c55e-4098-96d2-c81d7e7daf75", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "32623-1", + "display": "Platelet mean volume [Entitic volume] in Blood by Automated count" + } + ], + "text": "Platelet mean volume [Entitic volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 11.152, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:8128f819-48ad-472c-8329-0ac112b43058", + "resource": { + "resourceType": "Observation", + "id": "8128f819-48ad-472c-8329-0ac112b43058", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:888cbcdf-c076-49a9-a612-6470910b5274", + "resource": { + "resourceType": "Observation", + "id": "888cbcdf-c076-49a9-a612-6470910b5274", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 6.19, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:afa46496-0646-42c7-a0d1-de5ee91f7346", + "resource": { + "resourceType": "MedicationRequest", + "id": "afa46496-0646-42c7-a0d1-de5ee91f7346", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "authoredOn": "2011-04-15T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:eae2cc31-4700-4f2c-aa66-f911a51aef30", + "resource": { + "resourceType": "Claim", + "id": "eae2cc31-4700-4f2c-aa66-f911a51aef30", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2011-04-15T04:25:21-04:00", + "end": "2011-04-15T04:40:21-04:00" + }, + "created": "2011-04-15T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:afa46496-0646-42c7-a0d1-de5ee91f7346" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:efe41301-cc37-47e3-bcf9-1059b9fa24de", + "resource": { + "resourceType": "Immunization", + "id": "efe41301-cc37-47e3-bcf9-1059b9fa24de", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "occurrenceDateTime": "2011-04-15T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:fa6b7992-af2f-45d5-92db-432f48909897", + "resource": { + "resourceType": "Immunization", + "id": "fa6b7992-af2f-45d5-92db-432f48909897", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "113", + "display": "Td (adult) preservative free" + } + ], + "text": "Td (adult) preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "occurrenceDateTime": "2011-04-15T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:61d29d7b-bf71-4f99-ab47-34ee53695a06", + "resource": { + "resourceType": "DiagnosticReport", + "id": "61d29d7b-bf71-4f99-ab47-34ee53695a06", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:9f156698-58a4-4203-9f9f-c5d00035be23", + "display": "Glucose" + }, + { + "reference": "urn:uuid:6531d108-0189-4da1-809b-18fb291b6e89", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:4587fb98-65c5-4f57-a053-aa96d0af11c5", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:34b455c2-58b2-44f4-89d4-ef13f9e9aa05", + "display": "Calcium" + }, + { + "reference": "urn:uuid:21999638-788b-4ed4-bf4f-c5bf3b717de3", + "display": "Sodium" + }, + { + "reference": "urn:uuid:a9f78ad2-f38c-4f8c-9e80-ad49a96950f9", + "display": "Potassium" + }, + { + "reference": "urn:uuid:881d4550-f693-42fd-9a40-b4c6aa664827", + "display": "Chloride" + }, + { + "reference": "urn:uuid:66b6b56d-1a4a-4f24-b822-f8f0af1f4d02", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:cefff05f-6251-4045-8f26-98f710d0d37e", + "resource": { + "resourceType": "DiagnosticReport", + "id": "cefff05f-6251-4045-8f26-98f710d0d37e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "58410-2", + "display": "Complete blood count (hemogram) panel - Blood by Automated count" + } + ], + "text": "Complete blood count (hemogram) panel - Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:e6c79b32-d27e-4663-bcb0-df5ea3715aa7", + "display": "Leukocytes [#/volume] in Blood by Automated count" + }, + { + "reference": "urn:uuid:376cb148-8086-4941-943c-949d957da9c6", + "display": "Erythrocytes [#/volume] in Blood by Automated count" + }, + { + "reference": "urn:uuid:9e569308-73a7-43f5-a111-caa1fb2eb015", + "display": "Hemoglobin [Mass/volume] in Blood" + }, + { + "reference": "urn:uuid:8df45ef5-07df-4677-b5cb-36723f5e8c40", + "display": "Hematocrit [Volume Fraction] of Blood by Automated count" + }, + { + "reference": "urn:uuid:52d1b38a-4ab3-4000-855b-97c8701776ec", + "display": "MCV [Entitic volume] by Automated count" + }, + { + "reference": "urn:uuid:a587488a-07c3-47c1-a7a4-c2a0d2302abe", + "display": "MCH [Entitic mass] by Automated count" + }, + { + "reference": "urn:uuid:b4b3a065-ed04-4b16-9589-814466125664", + "display": "MCHC [Mass/volume] by Automated count" + }, + { + "reference": "urn:uuid:ac5da61b-0f22-4cb0-a988-dc0a010f072e", + "display": "Erythrocyte distribution width [Entitic volume] by Automated count" + }, + { + "reference": "urn:uuid:6da08b20-da46-4c5a-bee4-cc8593403122", + "display": "Platelets [#/volume] in Blood by Automated count" + }, + { + "reference": "urn:uuid:1818d919-78b1-4a8c-869f-5e8e4288667c", + "display": "Platelet distribution width [Entitic volume] in Blood by Automated count" + }, + { + "reference": "urn:uuid:e5904667-c55e-4098-96d2-c81d7e7daf75", + "display": "Platelet mean volume [Entitic volume] in Blood by Automated count" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:a207ec95-2db6-4940-bf72-34b12d39c92d", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a207ec95-2db6-4940-bf72-34b12d39c92d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTEtMDQtMTUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMxIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLCB0ZCAoYWR1bHQpIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:bb1ac1f0-f634-4b16-9c10-75ffd54b2f7a", + "resource": { + "resourceType": "DocumentReference", + "id": "bb1ac1f0-f634-4b16-9c10-75ffd54b2f7a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "a207ec95-2db6-4940-bf72-34b12d39c92d" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2011-04-15T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTEtMDQtMTUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMxIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLCB0ZCAoYWR1bHQpIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + } + ], + "period": { + "start": "2011-04-15T04:25:21-04:00", + "end": "2011-04-15T04:40:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:674a9fa8-d00a-41e9-a49d-7eb658123d73", + "resource": { + "resourceType": "Claim", + "id": "674a9fa8-d00a-41e9-a49d-7eb658123d73", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2011-04-15T04:25:21-04:00", + "end": "2011-04-15T04:40:21-04:00" + }, + "created": "2011-04-15T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:efe41301-cc37-47e3-bcf9-1059b9fa24de" + } + }, + { + "sequence": 2, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:fa6b7992-af2f-45d5-92db-432f48909897" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + }, + { + "sequence": 3, + "informationSequence": [ + 2 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "113", + "display": "Td (adult) preservative free" + } + ], + "text": "Td (adult) preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:cb7ff293-27ac-42bc-8380-4c192a1b2742", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "cb7ff293-27ac-42bc-8380-4c192a1b2742", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "674a9fa8-d00a-41e9-a49d-7eb658123d73" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2011-04-15T04:40:21-04:00", + "end": "2012-04-15T04:40:21-04:00" + }, + "created": "2011-04-15T04:40:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:674a9fa8-d00a-41e9-a49d-7eb658123d73" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2011-04-15T04:25:21-04:00", + "end": "2011-04-15T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2011-04-15T04:25:21-04:00", + "end": "2011-04-15T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + }, + { + "sequence": 3, + "informationSequence": [ + 2 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "113", + "display": "Td (adult) preservative free" + } + ], + "text": "Td (adult) preservative free" + }, + "servicedPeriod": { + "start": "2011-04-15T04:25:21-04:00", + "end": "2011-04-15T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 224.83200000000002, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68", + "resource": { + "resourceType": "Encounter", + "id": "598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2012-04-20T04:25:21-04:00", + "end": "2012-04-20T04:40:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2012-04-20T04:25:21-04:00", + "end": "2012-04-20T04:40:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:4c131060-003c-44c2-ade1-8546b1167699", + "resource": { + "resourceType": "Observation", + "id": "4c131060-003c-44c2-ade1-8546b1167699", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:77b221fa-cdd9-4b4e-aff7-3baa21f89abf", + "resource": { + "resourceType": "Observation", + "id": "77b221fa-cdd9-4b4e-aff7-3baa21f89abf", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 1, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f6081ea9-9ef6-49fe-a7d4-637d05849510", + "resource": { + "resourceType": "Observation", + "id": "f6081ea9-9ef6-49fe-a7d4-637d05849510", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 87.2, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3237247a-5267-4660-b88f-a90ac5cf172b", + "resource": { + "resourceType": "Observation", + "id": "3237247a-5267-4660-b88f-a90ac5cf172b", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 27.96, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a5655945-9d9e-485e-a060-1595fb21f903", + "resource": { + "resourceType": "Observation", + "id": "a5655945-9d9e-485e-a060-1595fb21f903", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 82, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 128, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ab29315d-0d89-4da3-b7c7-8eff6b6dca98", + "resource": { + "resourceType": "Observation", + "id": "ab29315d-0d89-4da3-b7c7-8eff6b6dca98", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 94, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:d92483b1-f30f-443e-8b1b-2f2ea8a629c1", + "resource": { + "resourceType": "Observation", + "id": "d92483b1-f30f-443e-8b1b-2f2ea8a629c1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 14, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c3b4ea3d-8ee6-4bba-b20e-7a675edfce1f", + "resource": { + "resourceType": "Observation", + "id": "c3b4ea3d-8ee6-4bba-b20e-7a675edfce1f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 69.85, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:b2ede4c2-a035-430e-9ab3-41dede9cf93f", + "resource": { + "resourceType": "Observation", + "id": "b2ede4c2-a035-430e-9ab3-41dede9cf93f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 17.05, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fe732b5a-ab89-401a-af62-86322ca9c912", + "resource": { + "resourceType": "Observation", + "id": "fe732b5a-ab89-401a-af62-86322ca9c912", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.72, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:9c928c11-5300-4426-b704-27cc9e8e4ac3", + "resource": { + "resourceType": "Observation", + "id": "9c928c11-5300-4426-b704-27cc9e8e4ac3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 9.68, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:422c7f20-5b7c-4fa3-a256-6ba5e4f33f3b", + "resource": { + "resourceType": "Observation", + "id": "422c7f20-5b7c-4fa3-a256-6ba5e4f33f3b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 141.1, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:15c553a2-5218-4ecb-a3ec-5fe37270c1eb", + "resource": { + "resourceType": "Observation", + "id": "15c553a2-5218-4ecb-a3ec-5fe37270c1eb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.15, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:370237e5-4823-4c6b-a945-e11e7a5de49c", + "resource": { + "resourceType": "Observation", + "id": "370237e5-4823-4c6b-a945-e11e7a5de49c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 105.38, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:e62da0b8-d362-4bc4-b182-0b18dc3fb97d", + "resource": { + "resourceType": "Observation", + "id": "e62da0b8-d362-4bc4-b182-0b18dc3fb97d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 21, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:6a117173-fd5e-4928-8f60-410814a15fa8", + "resource": { + "resourceType": "Observation", + "id": "6a117173-fd5e-4928-8f60-410814a15fa8", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:8194e9b8-c991-4506-923c-6f7b939af9b2", + "resource": { + "resourceType": "Observation", + "id": "8194e9b8-c991-4506-923c-6f7b939af9b2", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 5.81, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ae83e5ae-e34f-482f-b883-ce6cb9ac21c0", + "resource": { + "resourceType": "MedicationRequest", + "id": "ae83e5ae-e34f-482f-b883-ce6cb9ac21c0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "authoredOn": "2012-04-20T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:3a6b2e56-a04b-439f-ac1c-301c7a066369", + "resource": { + "resourceType": "Claim", + "id": "3a6b2e56-a04b-439f-ac1c-301c7a066369", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2012-04-20T04:25:21-04:00", + "end": "2012-04-20T04:40:21-04:00" + }, + "created": "2012-04-20T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:ae83e5ae-e34f-482f-b883-ce6cb9ac21c0" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:4b8e1bca-ea79-40b2-9337-5cb699ec6944", + "resource": { + "resourceType": "Immunization", + "id": "4b8e1bca-ea79-40b2-9337-5cb699ec6944", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "occurrenceDateTime": "2012-04-20T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:5727335a-ae5b-46c0-8867-cd024621cda8", + "resource": { + "resourceType": "DiagnosticReport", + "id": "5727335a-ae5b-46c0-8867-cd024621cda8", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:c3b4ea3d-8ee6-4bba-b20e-7a675edfce1f", + "display": "Glucose" + }, + { + "reference": "urn:uuid:b2ede4c2-a035-430e-9ab3-41dede9cf93f", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:fe732b5a-ab89-401a-af62-86322ca9c912", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:9c928c11-5300-4426-b704-27cc9e8e4ac3", + "display": "Calcium" + }, + { + "reference": "urn:uuid:422c7f20-5b7c-4fa3-a256-6ba5e4f33f3b", + "display": "Sodium" + }, + { + "reference": "urn:uuid:15c553a2-5218-4ecb-a3ec-5fe37270c1eb", + "display": "Potassium" + }, + { + "reference": "urn:uuid:370237e5-4823-4c6b-a945-e11e7a5de49c", + "display": "Chloride" + }, + { + "reference": "urn:uuid:e62da0b8-d362-4bc4-b182-0b18dc3fb97d", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:e483ebfe-775b-4a47-ab5a-66be5cb37268", + "resource": { + "resourceType": "DiagnosticReport", + "id": "e483ebfe-775b-4a47-ab5a-66be5cb37268", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTItMDQtMjAKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMyIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:69028bd1-849e-4955-9858-9c692016ede6", + "resource": { + "resourceType": "DocumentReference", + "id": "69028bd1-849e-4955-9858-9c692016ede6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "e483ebfe-775b-4a47-ab5a-66be5cb37268" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2012-04-20T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTItMDQtMjAKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMyIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + } + ], + "period": { + "start": "2012-04-20T04:25:21-04:00", + "end": "2012-04-20T04:40:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:bf534a85-a451-4b81-b454-becd4025193f", + "resource": { + "resourceType": "Claim", + "id": "bf534a85-a451-4b81-b454-becd4025193f", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2012-04-20T04:25:21-04:00", + "end": "2012-04-20T04:40:21-04:00" + }, + "created": "2012-04-20T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:4b8e1bca-ea79-40b2-9337-5cb699ec6944" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:96875074-9e97-4ea7-9311-d1f9065baeed", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "96875074-9e97-4ea7-9311-d1f9065baeed", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "bf534a85-a451-4b81-b454-becd4025193f" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2012-04-20T04:40:21-04:00", + "end": "2013-04-20T04:40:21-04:00" + }, + "created": "2012-04-20T04:40:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:bf534a85-a451-4b81-b454-becd4025193f" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2012-04-20T04:25:21-04:00", + "end": "2012-04-20T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2012-04-20T04:25:21-04:00", + "end": "2012-04-20T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3", + "resource": { + "resourceType": "Encounter", + "id": "26565133-56db-4371-a5e1-3abce33c37f3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "26565133-56db-4371-a5e1-3abce33c37f3" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:bc5579b5-2ca3-4535-a9d6-951aac500a27", + "resource": { + "resourceType": "Observation", + "id": "bc5579b5-2ca3-4535-a9d6-951aac500a27", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f11d0c63-92f3-4b0e-933a-a1a727465258", + "resource": { + "resourceType": "Observation", + "id": "f11d0c63-92f3-4b0e-933a-a1a727465258", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 1, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:1681af37-ee93-49ff-b108-ead7689f6250", + "resource": { + "resourceType": "Observation", + "id": "1681af37-ee93-49ff-b108-ead7689f6250", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 89.1, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:0e03d2c2-1ffa-4ebb-91bb-458b07dffd0a", + "resource": { + "resourceType": "Observation", + "id": "0e03d2c2-1ffa-4ebb-91bb-458b07dffd0a", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 28.55, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:db926460-0851-4148-a1c8-324c4a7c1ad2", + "resource": { + "resourceType": "Observation", + "id": "db926460-0851-4148-a1c8-324c4a7c1ad2", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 78, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 112, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:41bcfaef-3971-430d-8386-e564da61f90d", + "resource": { + "resourceType": "Observation", + "id": "41bcfaef-3971-430d-8386-e564da61f90d", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 85, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:e49b77c0-588f-4551-bca2-ea8f21664ba7", + "resource": { + "resourceType": "Observation", + "id": "e49b77c0-588f-4551-bca2-ea8f21664ba7", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 13, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:e2444317-5049-48c7-ac3d-6b30586890ab", + "resource": { + "resourceType": "Observation", + "id": "e2444317-5049-48c7-ac3d-6b30586890ab", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 77.77, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ef97494d-9f95-40eb-9764-2f3d584db91f", + "resource": { + "resourceType": "Observation", + "id": "ef97494d-9f95-40eb-9764-2f3d584db91f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 7.14, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:b043c9e3-58c8-4c1e-902b-b61b4e606302", + "resource": { + "resourceType": "Observation", + "id": "b043c9e3-58c8-4c1e-902b-b61b4e606302", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.12, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ebf8b1b7-318d-4b21-9a65-20132a6ed8da", + "resource": { + "resourceType": "Observation", + "id": "ebf8b1b7-318d-4b21-9a65-20132a6ed8da", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 9.52, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a9c106a8-39f5-4808-8b63-3b92f5a2cd47", + "resource": { + "resourceType": "Observation", + "id": "a9c106a8-39f5-4808-8b63-3b92f5a2cd47", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 137.42, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:40609dd9-4e93-4760-9cf0-1343eb69b910", + "resource": { + "resourceType": "Observation", + "id": "40609dd9-4e93-4760-9cf0-1343eb69b910", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.68, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f009a6e4-02c3-4518-b7b2-faad9f4b12e1", + "resource": { + "resourceType": "Observation", + "id": "f009a6e4-02c3-4518-b7b2-faad9f4b12e1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 103.16, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f9e7be0a-2b59-4810-a304-d30ec2a5b0b9", + "resource": { + "resourceType": "Observation", + "id": "f9e7be0a-2b59-4810-a304-d30ec2a5b0b9", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 23.84, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a0347dcb-3901-4c64-97fa-d91547080902", + "resource": { + "resourceType": "Observation", + "id": "a0347dcb-3901-4c64-97fa-d91547080902", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2093-3", + "display": "Total Cholesterol" + } + ], + "text": "Total Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 185.44, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:1a381821-4247-412b-8e57-8e66506e0343", + "resource": { + "resourceType": "Observation", + "id": "1a381821-4247-412b-8e57-8e66506e0343", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2571-8", + "display": "Triglycerides" + } + ], + "text": "Triglycerides" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 145.83, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:7bb7038c-4c56-4f79-9d29-c93b5ddfc3ed", + "resource": { + "resourceType": "Observation", + "id": "7bb7038c-4c56-4f79-9d29-c93b5ddfc3ed", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "18262-6", + "display": "Low Density Lipoprotein Cholesterol" + } + ], + "text": "Low Density Lipoprotein Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 81.61, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fdb1cbc7-39fc-4a54-8796-6aa08c5b9dfb", + "resource": { + "resourceType": "Observation", + "id": "fdb1cbc7-39fc-4a54-8796-6aa08c5b9dfb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2085-9", + "display": "High Density Lipoprotein Cholesterol" + } + ], + "text": "High Density Lipoprotein Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 74.67, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4f939f5c-a598-4929-add3-cb86867996bc", + "resource": { + "resourceType": "Observation", + "id": "4f939f5c-a598-4929-add3-cb86867996bc", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4a4cd1fb-c0a8-4fa2-b53c-4f51bd336ed9", + "resource": { + "resourceType": "Observation", + "id": "4a4cd1fb-c0a8-4fa2-b53c-4f51bd336ed9", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 6.35, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:d5e276fb-c14e-4cb4-86d6-96dd6613308b", + "resource": { + "resourceType": "Procedure", + "id": "d5e276fb-c14e-4cb4-86d6-96dd6613308b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "performedPeriod": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:40:21-04:00" + }, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Procedure" + } + }, + { + "fullUrl": "urn:uuid:90e1d45a-c151-452c-9917-edb5e373da8c", + "resource": { + "resourceType": "MedicationRequest", + "id": "90e1d45a-c151-452c-9917-edb5e373da8c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "authoredOn": "2013-04-26T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:ac50dcd3-3a90-42f3-ad5f-3022c481c5a0", + "resource": { + "resourceType": "Claim", + "id": "ac50dcd3-3a90-42f3-ad5f-3022c481c5a0", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:55:21-04:00" + }, + "created": "2013-04-26T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:90e1d45a-c151-452c-9917-edb5e373da8c" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:b40367ac-3a3c-49db-ace4-5d10143433e0", + "resource": { + "resourceType": "Immunization", + "id": "b40367ac-3a3c-49db-ace4-5d10143433e0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "occurrenceDateTime": "2013-04-26T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:b0776459-aacf-4429-8777-e9d9f6ac6356", + "resource": { + "resourceType": "DiagnosticReport", + "id": "b0776459-aacf-4429-8777-e9d9f6ac6356", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:e2444317-5049-48c7-ac3d-6b30586890ab", + "display": "Glucose" + }, + { + "reference": "urn:uuid:ef97494d-9f95-40eb-9764-2f3d584db91f", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:b043c9e3-58c8-4c1e-902b-b61b4e606302", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:ebf8b1b7-318d-4b21-9a65-20132a6ed8da", + "display": "Calcium" + }, + { + "reference": "urn:uuid:a9c106a8-39f5-4808-8b63-3b92f5a2cd47", + "display": "Sodium" + }, + { + "reference": "urn:uuid:40609dd9-4e93-4760-9cf0-1343eb69b910", + "display": "Potassium" + }, + { + "reference": "urn:uuid:f009a6e4-02c3-4518-b7b2-faad9f4b12e1", + "display": "Chloride" + }, + { + "reference": "urn:uuid:f9e7be0a-2b59-4810-a304-d30ec2a5b0b9", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:384e02d7-2e91-4680-97e9-6af9b90497bc", + "resource": { + "resourceType": "DiagnosticReport", + "id": "384e02d7-2e91-4680-97e9-6af9b90497bc", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "57698-3", + "display": "Lipid Panel" + } + ], + "text": "Lipid Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:a0347dcb-3901-4c64-97fa-d91547080902", + "display": "Total Cholesterol" + }, + { + "reference": "urn:uuid:1a381821-4247-412b-8e57-8e66506e0343", + "display": "Triglycerides" + }, + { + "reference": "urn:uuid:7bb7038c-4c56-4f79-9d29-c93b5ddfc3ed", + "display": "Low Density Lipoprotein Cholesterol" + }, + { + "reference": "urn:uuid:fdb1cbc7-39fc-4a54-8796-6aa08c5b9dfb", + "display": "High Density Lipoprotein Cholesterol" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:54e1e43c-e24b-4e6f-8644-71da534d588d", + "resource": { + "resourceType": "DiagnosticReport", + "id": "54e1e43c-e24b-4e6f-8644-71da534d588d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTMtMDQtMjYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:65088070-ba9d-4963-9fda-889c9f8ac0cd", + "resource": { + "resourceType": "DocumentReference", + "id": "65088070-ba9d-4963-9fda-889c9f8ac0cd", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "54e1e43c-e24b-4e6f-8644-71da534d588d" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2013-04-26T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTMtMDQtMjYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + } + ], + "period": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:47d67403-5448-470c-807a-17fe4a1be47b", + "resource": { + "resourceType": "Claim", + "id": "47d67403-5448-470c-807a-17fe4a1be47b", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:55:21-04:00" + }, + "created": "2013-04-26T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:b40367ac-3a3c-49db-ace4-5d10143433e0" + } + } + ], + "procedure": [ + { + "sequence": 1, + "procedureReference": { + "reference": "urn:uuid:d5e276fb-c14e-4cb4-86d6-96dd6613308b" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + }, + { + "sequence": 3, + "procedureSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "net": { + "value": 649.08, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:9365de57-307a-4de1-857f-29732b785c0c", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "9365de57-307a-4de1-857f-29732b785c0c", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "47d67403-5448-470c-807a-17fe4a1be47b" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2013-04-26T04:55:21-04:00", + "end": "2014-04-26T04:55:21-04:00" + }, + "created": "2013-04-26T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:47d67403-5448-470c-807a-17fe4a1be47b" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + }, + { + "sequence": 3, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "servicedPeriod": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 649.08, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 129.816, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 519.264, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 649.08, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 649.08, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 631.6800000000001, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126", + "resource": { + "resourceType": "Encounter", + "id": "ff2fbf2f-34d5-47ed-8c13-d86652dd7126", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2014-05-02T04:25:21-04:00", + "end": "2014-05-02T04:40:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2014-05-02T04:25:21-04:00", + "end": "2014-05-02T04:40:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:3fa50573-c2e4-4d7a-b1e7-570e90465117", + "resource": { + "resourceType": "Observation", + "id": "3fa50573-c2e4-4d7a-b1e7-570e90465117", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:6a092fd3-539c-4ae8-9741-99a65c40f24b", + "resource": { + "resourceType": "Observation", + "id": "6a092fd3-539c-4ae8-9741-99a65c40f24b", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 0, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:edaf7d2a-0037-4cc4-aab2-dd96ede72799", + "resource": { + "resourceType": "Observation", + "id": "edaf7d2a-0037-4cc4-aab2-dd96ede72799", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 90.9, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:defca8cd-b980-483b-8b3d-5d673acbdbab", + "resource": { + "resourceType": "Observation", + "id": "defca8cd-b980-483b-8b3d-5d673acbdbab", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 29.14, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:8dc70997-71e3-431d-87fe-8ff34cd63ba1", + "resource": { + "resourceType": "Observation", + "id": "8dc70997-71e3-431d-87fe-8ff34cd63ba1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 84, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 105, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:cb5a2bbc-de9d-4926-b1c3-c4dadd6f19c5", + "resource": { + "resourceType": "Observation", + "id": "cb5a2bbc-de9d-4926-b1c3-c4dadd6f19c5", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 84, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3bc7e770-582c-4d02-bd12-82f2eaad0806", + "resource": { + "resourceType": "Observation", + "id": "3bc7e770-582c-4d02-bd12-82f2eaad0806", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 16, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3937a53f-0bc7-41ca-89e3-75e8359c513b", + "resource": { + "resourceType": "Observation", + "id": "3937a53f-0bc7-41ca-89e3-75e8359c513b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 87.17, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3ba5796c-4d7e-4034-a897-af99beeb6913", + "resource": { + "resourceType": "Observation", + "id": "3ba5796c-4d7e-4034-a897-af99beeb6913", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 10.38, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a3c7cad8-3976-4cca-af92-a4c642b1828d", + "resource": { + "resourceType": "Observation", + "id": "a3c7cad8-3976-4cca-af92-a4c642b1828d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.14, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:248fa34e-e625-4393-806d-0a06d553d0ae", + "resource": { + "resourceType": "Observation", + "id": "248fa34e-e625-4393-806d-0a06d553d0ae", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 9.22, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:6ddf58ff-b453-4045-8ae8-f1cf34a61b05", + "resource": { + "resourceType": "Observation", + "id": "6ddf58ff-b453-4045-8ae8-f1cf34a61b05", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 143.8, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:8bbc3a39-8c8e-4ced-bdd2-1d3e4b6f29c2", + "resource": { + "resourceType": "Observation", + "id": "8bbc3a39-8c8e-4ced-bdd2-1d3e4b6f29c2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.92, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:e5ad2326-c9fc-4521-a4d0-f2a11a343f1f", + "resource": { + "resourceType": "Observation", + "id": "e5ad2326-c9fc-4521-a4d0-f2a11a343f1f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 102.47, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:23546ede-1dd0-4757-8d30-8b3b3182b2e6", + "resource": { + "resourceType": "Observation", + "id": "23546ede-1dd0-4757-8d30-8b3b3182b2e6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 24.86, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:957f679d-fa50-4a6c-9e87-164e8a974ed4", + "resource": { + "resourceType": "Observation", + "id": "957f679d-fa50-4a6c-9e87-164e8a974ed4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f1dd8bc1-a848-47fa-b7d6-63f9693ebf12", + "resource": { + "resourceType": "Observation", + "id": "f1dd8bc1-a848-47fa-b7d6-63f9693ebf12", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 6.37, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:b399e705-b003-4c31-b1c2-9fee9552d487", + "resource": { + "resourceType": "MedicationRequest", + "id": "b399e705-b003-4c31-b1c2-9fee9552d487", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "authoredOn": "2014-05-02T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:5224e0ef-fba2-4e6a-a9b9-75b000f09aa7", + "resource": { + "resourceType": "Claim", + "id": "5224e0ef-fba2-4e6a-a9b9-75b000f09aa7", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2014-05-02T04:25:21-04:00", + "end": "2014-05-02T04:40:21-04:00" + }, + "created": "2014-05-02T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:b399e705-b003-4c31-b1c2-9fee9552d487" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:dd529300-f00d-4179-a72a-64789b7f28bf", + "resource": { + "resourceType": "Immunization", + "id": "dd529300-f00d-4179-a72a-64789b7f28bf", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "occurrenceDateTime": "2014-05-02T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:8a5cac6b-4ab1-4071-88ef-f05353cd51e1", + "resource": { + "resourceType": "DiagnosticReport", + "id": "8a5cac6b-4ab1-4071-88ef-f05353cd51e1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:3937a53f-0bc7-41ca-89e3-75e8359c513b", + "display": "Glucose" + }, + { + "reference": "urn:uuid:3ba5796c-4d7e-4034-a897-af99beeb6913", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:a3c7cad8-3976-4cca-af92-a4c642b1828d", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:248fa34e-e625-4393-806d-0a06d553d0ae", + "display": "Calcium" + }, + { + "reference": "urn:uuid:6ddf58ff-b453-4045-8ae8-f1cf34a61b05", + "display": "Sodium" + }, + { + "reference": "urn:uuid:8bbc3a39-8c8e-4ced-bdd2-1d3e4b6f29c2", + "display": "Potassium" + }, + { + "reference": "urn:uuid:e5ad2326-c9fc-4521-a4d0-f2a11a343f1f", + "display": "Chloride" + }, + { + "reference": "urn:uuid:23546ede-1dd0-4757-8d30-8b3b3182b2e6", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:b608e9ae-f41d-4e73-8c9f-7e73e7a54893", + "resource": { + "resourceType": "DiagnosticReport", + "id": "b608e9ae-f41d-4e73-8c9f-7e73e7a54893", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTQtMDUtMDIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:1a4b6041-3774-41e8-916f-4e23d9e0b85c", + "resource": { + "resourceType": "DocumentReference", + "id": "1a4b6041-3774-41e8-916f-4e23d9e0b85c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "b608e9ae-f41d-4e73-8c9f-7e73e7a54893" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2014-05-02T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTQtMDUtMDIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + } + ], + "period": { + "start": "2014-05-02T04:25:21-04:00", + "end": "2014-05-02T04:40:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:391b44d6-2795-4949-96be-c8bdd947f5a4", + "resource": { + "resourceType": "Claim", + "id": "391b44d6-2795-4949-96be-c8bdd947f5a4", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2014-05-02T04:25:21-04:00", + "end": "2014-05-02T04:40:21-04:00" + }, + "created": "2014-05-02T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:dd529300-f00d-4179-a72a-64789b7f28bf" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:de8082de-e6bb-4050-afff-d267a1da6c0e", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "de8082de-e6bb-4050-afff-d267a1da6c0e", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "391b44d6-2795-4949-96be-c8bdd947f5a4" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2014-05-02T04:40:21-04:00", + "end": "2015-05-02T04:40:21-04:00" + }, + "created": "2014-05-02T04:40:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:391b44d6-2795-4949-96be-c8bdd947f5a4" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2014-05-02T04:25:21-04:00", + "end": "2014-05-02T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2014-05-02T04:25:21-04:00", + "end": "2014-05-02T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce", + "resource": { + "resourceType": "Encounter", + "id": "4460bb89-0fc9-4f97-a497-dd99dc1dfcce", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:5f3eba41-7b28-469b-9e85-48870c9424be", + "resource": { + "resourceType": "Observation", + "id": "5f3eba41-7b28-469b-9e85-48870c9424be", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f90f27f8-c442-48d5-a76f-4d987b32a3aa", + "resource": { + "resourceType": "Observation", + "id": "f90f27f8-c442-48d5-a76f-4d987b32a3aa", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 4, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f3087323-9ad9-4513-bf48-a6686fc93949", + "resource": { + "resourceType": "Observation", + "id": "f3087323-9ad9-4513-bf48-a6686fc93949", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 92.7, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:446dd387-3847-4523-b1df-8c1f01eefa19", + "resource": { + "resourceType": "Observation", + "id": "446dd387-3847-4523-b1df-8c1f01eefa19", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 29.73, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:cbaeb79c-cbf0-40a7-a50c-729f8f4a0934", + "resource": { + "resourceType": "Observation", + "id": "cbaeb79c-cbf0-40a7-a50c-729f8f4a0934", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 87, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 124, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ed3aa6e1-d4a4-48ae-89d3-f9cb71d37647", + "resource": { + "resourceType": "Observation", + "id": "ed3aa6e1-d4a4-48ae-89d3-f9cb71d37647", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 79, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3dda37ff-1a24-4de2-93a6-23eb6a6969e1", + "resource": { + "resourceType": "Observation", + "id": "3dda37ff-1a24-4de2-93a6-23eb6a6969e1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 15, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:b9637bc3-1918-40fa-8ad8-a618752971a3", + "resource": { + "resourceType": "Observation", + "id": "b9637bc3-1918-40fa-8ad8-a618752971a3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 77.29, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:8d1d0bed-b36d-4a1a-8486-bea42e622de9", + "resource": { + "resourceType": "Observation", + "id": "8d1d0bed-b36d-4a1a-8486-bea42e622de9", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 9.13, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:73b223fd-88c7-4610-b4d2-206f4143a3e7", + "resource": { + "resourceType": "Observation", + "id": "73b223fd-88c7-4610-b4d2-206f4143a3e7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.15, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:451034d9-c038-4794-a4e4-b23ee7a94a78", + "resource": { + "resourceType": "Observation", + "id": "451034d9-c038-4794-a4e4-b23ee7a94a78", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 10.15, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:400372d0-a7ea-4388-99d4-95ef1071a716", + "resource": { + "resourceType": "Observation", + "id": "400372d0-a7ea-4388-99d4-95ef1071a716", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 141.98, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:dc236191-55fa-4c96-8c48-1e003ebaa08c", + "resource": { + "resourceType": "Observation", + "id": "dc236191-55fa-4c96-8c48-1e003ebaa08c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.11, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c1f8b46f-18a8-47a6-a8b6-1ad3a52fa37e", + "resource": { + "resourceType": "Observation", + "id": "c1f8b46f-18a8-47a6-a8b6-1ad3a52fa37e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 102.53, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4e05e810-afe3-4992-9f91-14c9d36db93a", + "resource": { + "resourceType": "Observation", + "id": "4e05e810-afe3-4992-9f91-14c9d36db93a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 25.29, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:201a28b3-77b3-4be6-8a0f-833003453de7", + "resource": { + "resourceType": "Observation", + "id": "201a28b3-77b3-4be6-8a0f-833003453de7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:844c17d8-4a0c-4cf1-a8a6-4d5e18aa16d3", + "resource": { + "resourceType": "Observation", + "id": "844c17d8-4a0c-4cf1-a8a6-4d5e18aa16d3", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 6.25, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fbf2ea35-9545-44b4-9b7b-c49a1002f49c", + "resource": { + "resourceType": "Procedure", + "id": "fbf2ea35-9545-44b4-9b7b-c49a1002f49c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "performedPeriod": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:40:21-04:00" + }, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Procedure" + } + }, + { + "fullUrl": "urn:uuid:d31f7fa4-e0ac-4b27-af28-71e7c41ada9c", + "resource": { + "resourceType": "MedicationRequest", + "id": "d31f7fa4-e0ac-4b27-af28-71e7c41ada9c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "authoredOn": "2015-05-08T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:d4172fc8-cd8d-4f40-863e-3ea2b5512239", + "resource": { + "resourceType": "Claim", + "id": "d4172fc8-cd8d-4f40-863e-3ea2b5512239", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:55:21-04:00" + }, + "created": "2015-05-08T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:d31f7fa4-e0ac-4b27-af28-71e7c41ada9c" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:e8c756c1-7fb6-4151-b801-29c1c5ec35b2", + "resource": { + "resourceType": "Immunization", + "id": "e8c756c1-7fb6-4151-b801-29c1c5ec35b2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "occurrenceDateTime": "2015-05-08T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:d1d7b306-3443-4331-9071-56e92432f950", + "resource": { + "resourceType": "DiagnosticReport", + "id": "d1d7b306-3443-4331-9071-56e92432f950", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:b9637bc3-1918-40fa-8ad8-a618752971a3", + "display": "Glucose" + }, + { + "reference": "urn:uuid:8d1d0bed-b36d-4a1a-8486-bea42e622de9", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:73b223fd-88c7-4610-b4d2-206f4143a3e7", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:451034d9-c038-4794-a4e4-b23ee7a94a78", + "display": "Calcium" + }, + { + "reference": "urn:uuid:400372d0-a7ea-4388-99d4-95ef1071a716", + "display": "Sodium" + }, + { + "reference": "urn:uuid:dc236191-55fa-4c96-8c48-1e003ebaa08c", + "display": "Potassium" + }, + { + "reference": "urn:uuid:c1f8b46f-18a8-47a6-a8b6-1ad3a52fa37e", + "display": "Chloride" + }, + { + "reference": "urn:uuid:4e05e810-afe3-4992-9f91-14c9d36db93a", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:6ed87cee-192a-4358-82d6-34ab2a7ce840", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6ed87cee-192a-4358-82d6-34ab2a7ce840", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTUtMDUtMDgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM1IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:6a594c04-6751-4ccd-8cfc-d769fd3f125e", + "resource": { + "resourceType": "DocumentReference", + "id": "6a594c04-6751-4ccd-8cfc-d769fd3f125e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "6ed87cee-192a-4358-82d6-34ab2a7ce840" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2015-05-08T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTUtMDUtMDgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM1IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + } + ], + "period": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:453cb389-8554-4d2b-be3a-16e894908c38", + "resource": { + "resourceType": "Claim", + "id": "453cb389-8554-4d2b-be3a-16e894908c38", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:55:21-04:00" + }, + "created": "2015-05-08T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:e8c756c1-7fb6-4151-b801-29c1c5ec35b2" + } + } + ], + "procedure": [ + { + "sequence": 1, + "procedureReference": { + "reference": "urn:uuid:fbf2ea35-9545-44b4-9b7b-c49a1002f49c" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + }, + { + "sequence": 3, + "procedureSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "net": { + "value": 485.01, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:a18757d5-4ce1-480d-87c6-8a43520688d7", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "a18757d5-4ce1-480d-87c6-8a43520688d7", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "453cb389-8554-4d2b-be3a-16e894908c38" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2015-05-08T04:55:21-04:00", + "end": "2016-05-08T04:55:21-04:00" + }, + "created": "2015-05-08T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:453cb389-8554-4d2b-be3a-16e894908c38" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + }, + { + "sequence": 3, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "servicedPeriod": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 485.01, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 97.00200000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 388.00800000000004, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 485.01, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 485.01, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 500.42400000000004, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54", + "resource": { + "resourceType": "Encounter", + "id": "78707346-d73c-4a18-b6fc-0b16bc6c6e54", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "78707346-d73c-4a18-b6fc-0b16bc6c6e54" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:a312b0aa-d47f-4bd8-8227-f336c5b86f99", + "resource": { + "resourceType": "Observation", + "id": "a312b0aa-d47f-4bd8-8227-f336c5b86f99", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:809b7b2f-8412-407a-a084-3813822e75f4", + "resource": { + "resourceType": "Observation", + "id": "809b7b2f-8412-407a-a084-3813822e75f4", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 4, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fbba73a8-4f90-4107-b682-c031e93e50fc", + "resource": { + "resourceType": "Observation", + "id": "fbba73a8-4f90-4107-b682-c031e93e50fc", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 90.4, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:47403a7d-213f-43e5-8485-ee10f3a7eec4", + "resource": { + "resourceType": "Observation", + "id": "47403a7d-213f-43e5-8485-ee10f3a7eec4", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 28.98, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:7ff80d1f-a390-41b7-94c0-c97608405a64", + "resource": { + "resourceType": "Observation", + "id": "7ff80d1f-a390-41b7-94c0-c97608405a64", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 84, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 1.3E+2, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c46ac852-0c0c-43ae-be29-820018452a38", + "resource": { + "resourceType": "Observation", + "id": "c46ac852-0c0c-43ae-be29-820018452a38", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 79, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:03207fb1-a550-42f6-8bd7-a2c1f3ac8ab7", + "resource": { + "resourceType": "Observation", + "id": "03207fb1-a550-42f6-8bd7-a2c1f3ac8ab7", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 14, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:aeaeffb6-c4d1-4275-8980-3bc5d3bb3d00", + "resource": { + "resourceType": "Observation", + "id": "aeaeffb6-c4d1-4275-8980-3bc5d3bb3d00", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 98.58, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:35032147-4d1d-4cbf-885b-9640ea563c4d", + "resource": { + "resourceType": "Observation", + "id": "35032147-4d1d-4cbf-885b-9640ea563c4d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 17.32, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:8025d499-1e4a-46f8-ad2e-1ee743bd9257", + "resource": { + "resourceType": "Observation", + "id": "8025d499-1e4a-46f8-ad2e-1ee743bd9257", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.38, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c533bc2f-7c54-4b99-8be8-6fdffef6e1ea", + "resource": { + "resourceType": "Observation", + "id": "c533bc2f-7c54-4b99-8be8-6fdffef6e1ea", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 8.97, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fc521c56-1e41-4036-8484-244c95325778", + "resource": { + "resourceType": "Observation", + "id": "fc521c56-1e41-4036-8484-244c95325778", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 138.75, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:95670123-c09d-4884-97f2-c4b4b2b2b090", + "resource": { + "resourceType": "Observation", + "id": "95670123-c09d-4884-97f2-c4b4b2b2b090", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 5.14, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:10ef92e8-18a0-4566-9e8a-f650c8e6f986", + "resource": { + "resourceType": "Observation", + "id": "10ef92e8-18a0-4566-9e8a-f650c8e6f986", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 107.58, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f5330a15-9570-4b36-9294-a51058d8d049", + "resource": { + "resourceType": "Observation", + "id": "f5330a15-9570-4b36-9294-a51058d8d049", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 24.92, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:69d3a051-1788-45d6-ad85-c3488d7de7aa", + "resource": { + "resourceType": "Observation", + "id": "69d3a051-1788-45d6-ad85-c3488d7de7aa", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2093-3", + "display": "Total Cholesterol" + } + ], + "text": "Total Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 193.45, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a1baf5b3-93de-4d16-b7ad-180abfa48c79", + "resource": { + "resourceType": "Observation", + "id": "a1baf5b3-93de-4d16-b7ad-180abfa48c79", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2571-8", + "display": "Triglycerides" + } + ], + "text": "Triglycerides" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 135.84, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:63166ac7-b99e-4711-bcf1-bfefe0824c18", + "resource": { + "resourceType": "Observation", + "id": "63166ac7-b99e-4711-bcf1-bfefe0824c18", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "18262-6", + "display": "Low Density Lipoprotein Cholesterol" + } + ], + "text": "Low Density Lipoprotein Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 86.87, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:7909fefa-a64f-488b-8f11-d79aab728068", + "resource": { + "resourceType": "Observation", + "id": "7909fefa-a64f-488b-8f11-d79aab728068", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2085-9", + "display": "High Density Lipoprotein Cholesterol" + } + ], + "text": "High Density Lipoprotein Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 79.42, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:73b004c9-04c7-40f2-ad1f-553f7e71660f", + "resource": { + "resourceType": "Observation", + "id": "73b004c9-04c7-40f2-ad1f-553f7e71660f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6690-2", + "display": "Leukocytes [#/volume] in Blood by Automated count" + } + ], + "text": "Leukocytes [#/volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 8.373, + "unit": "10*3/uL", + "system": "http://unitsofmeasure.org", + "code": "10*3/uL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:d44f74eb-f859-4729-ad8b-dba6074f7a41", + "resource": { + "resourceType": "Observation", + "id": "d44f74eb-f859-4729-ad8b-dba6074f7a41", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "789-8", + "display": "Erythrocytes [#/volume] in Blood by Automated count" + } + ], + "text": "Erythrocytes [#/volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.4389, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org", + "code": "10*6/uL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a39ba7d0-f20a-4344-8d86-67ba5231d162", + "resource": { + "resourceType": "Observation", + "id": "a39ba7d0-f20a-4344-8d86-67ba5231d162", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "718-7", + "display": "Hemoglobin [Mass/volume] in Blood" + } + ], + "text": "Hemoglobin [Mass/volume] in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 15.852, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:2c33007d-47df-4c33-8a8f-10107713162e", + "resource": { + "resourceType": "Observation", + "id": "2c33007d-47df-4c33-8a8f-10107713162e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4544-3", + "display": "Hematocrit [Volume Fraction] of Blood by Automated count" + } + ], + "text": "Hematocrit [Volume Fraction] of Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 47.227, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:70da1bdb-4f75-4d15-92d3-f3c858fe9b4a", + "resource": { + "resourceType": "Observation", + "id": "70da1bdb-4f75-4d15-92d3-f3c858fe9b4a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "787-2", + "display": "MCV [Entitic volume] by Automated count" + } + ], + "text": "MCV [Entitic volume] by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 90.562, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3a5edd09-0f0d-4690-8f85-9d627e5a5121", + "resource": { + "resourceType": "Observation", + "id": "3a5edd09-0f0d-4690-8f85-9d627e5a5121", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "785-6", + "display": "MCH [Entitic mass] by Automated count" + } + ], + "text": "MCH [Entitic mass] by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 31.323, + "unit": "pg", + "system": "http://unitsofmeasure.org", + "code": "pg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:e6455ae6-4852-4f7d-adf3-7a3bbff0ac95", + "resource": { + "resourceType": "Observation", + "id": "e6455ae6-4852-4f7d-adf3-7a3bbff0ac95", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "786-4", + "display": "MCHC [Mass/volume] by Automated count" + } + ], + "text": "MCHC [Mass/volume] by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 33.031, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:dc7635f6-de33-4a2b-a42b-6b0dcdb48299", + "resource": { + "resourceType": "Observation", + "id": "dc7635f6-de33-4a2b-a42b-6b0dcdb48299", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "21000-5", + "display": "Erythrocyte distribution width [Entitic volume] by Automated count" + } + ], + "text": "Erythrocyte distribution width [Entitic volume] by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 45.168, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4f6911c1-ac5d-4fcd-ab79-9d68dc8bcfb0", + "resource": { + "resourceType": "Observation", + "id": "4f6911c1-ac5d-4fcd-ab79-9d68dc8bcfb0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "777-3", + "display": "Platelets [#/volume] in Blood by Automated count" + } + ], + "text": "Platelets [#/volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 293.53, + "unit": "10*3/uL", + "system": "http://unitsofmeasure.org", + "code": "10*3/uL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a034f8ec-9f09-4f3d-a2cd-89f70e7f9ea2", + "resource": { + "resourceType": "Observation", + "id": "a034f8ec-9f09-4f3d-a2cd-89f70e7f9ea2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "32207-3", + "display": "Platelet distribution width [Entitic volume] in Blood by Automated count" + } + ], + "text": "Platelet distribution width [Entitic volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 218.43, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fff28476-b3a3-4324-9314-453c257538c2", + "resource": { + "resourceType": "Observation", + "id": "fff28476-b3a3-4324-9314-453c257538c2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "32623-1", + "display": "Platelet mean volume [Entitic volume] in Blood by Automated count" + } + ], + "text": "Platelet mean volume [Entitic volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 10.831, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:6e8c3d60-9166-4449-9c0f-a235bf3525d4", + "resource": { + "resourceType": "Observation", + "id": "6e8c3d60-9166-4449-9c0f-a235bf3525d4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:19584cf5-ca16-4b44-b284-887bc05ab9f9", + "resource": { + "resourceType": "Observation", + "id": "19584cf5-ca16-4b44-b284-887bc05ab9f9", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 5.91, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:de09084a-8010-4dab-a509-8f5749c0c1f9", + "resource": { + "resourceType": "Procedure", + "id": "de09084a-8010-4dab-a509-8f5749c0c1f9", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "performedPeriod": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:40:21-04:00" + }, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Procedure" + } + }, + { + "fullUrl": "urn:uuid:849450f9-be1d-44a5-9640-b0d48ca95ac2", + "resource": { + "resourceType": "MedicationRequest", + "id": "849450f9-be1d-44a5-9640-b0d48ca95ac2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "authoredOn": "2016-05-13T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:19f55536-11a8-4ae0-ab90-bb674d0e20c9", + "resource": { + "resourceType": "Claim", + "id": "19f55536-11a8-4ae0-ab90-bb674d0e20c9", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:55:21-04:00" + }, + "created": "2016-05-13T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:849450f9-be1d-44a5-9640-b0d48ca95ac2" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:c0a584b2-bfff-4ea0-bda2-af162d77b9cb", + "resource": { + "resourceType": "Immunization", + "id": "c0a584b2-bfff-4ea0-bda2-af162d77b9cb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "occurrenceDateTime": "2016-05-13T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:ac9c74c9-a21e-42b9-bfab-f83b204ca193", + "resource": { + "resourceType": "DiagnosticReport", + "id": "ac9c74c9-a21e-42b9-bfab-f83b204ca193", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:aeaeffb6-c4d1-4275-8980-3bc5d3bb3d00", + "display": "Glucose" + }, + { + "reference": "urn:uuid:35032147-4d1d-4cbf-885b-9640ea563c4d", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:8025d499-1e4a-46f8-ad2e-1ee743bd9257", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:c533bc2f-7c54-4b99-8be8-6fdffef6e1ea", + "display": "Calcium" + }, + { + "reference": "urn:uuid:fc521c56-1e41-4036-8484-244c95325778", + "display": "Sodium" + }, + { + "reference": "urn:uuid:95670123-c09d-4884-97f2-c4b4b2b2b090", + "display": "Potassium" + }, + { + "reference": "urn:uuid:10ef92e8-18a0-4566-9e8a-f650c8e6f986", + "display": "Chloride" + }, + { + "reference": "urn:uuid:f5330a15-9570-4b36-9294-a51058d8d049", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:cd619c20-fa5c-43bd-8472-7a51ea2fa4d2", + "resource": { + "resourceType": "DiagnosticReport", + "id": "cd619c20-fa5c-43bd-8472-7a51ea2fa4d2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "57698-3", + "display": "Lipid Panel" + } + ], + "text": "Lipid Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:69d3a051-1788-45d6-ad85-c3488d7de7aa", + "display": "Total Cholesterol" + }, + { + "reference": "urn:uuid:a1baf5b3-93de-4d16-b7ad-180abfa48c79", + "display": "Triglycerides" + }, + { + "reference": "urn:uuid:63166ac7-b99e-4711-bcf1-bfefe0824c18", + "display": "Low Density Lipoprotein Cholesterol" + }, + { + "reference": "urn:uuid:7909fefa-a64f-488b-8f11-d79aab728068", + "display": "High Density Lipoprotein Cholesterol" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:9cab30d0-3f65-4ed2-8207-ddbe680fb817", + "resource": { + "resourceType": "DiagnosticReport", + "id": "9cab30d0-3f65-4ed2-8207-ddbe680fb817", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "58410-2", + "display": "Complete blood count (hemogram) panel - Blood by Automated count" + } + ], + "text": "Complete blood count (hemogram) panel - Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:73b004c9-04c7-40f2-ad1f-553f7e71660f", + "display": "Leukocytes [#/volume] in Blood by Automated count" + }, + { + "reference": "urn:uuid:d44f74eb-f859-4729-ad8b-dba6074f7a41", + "display": "Erythrocytes [#/volume] in Blood by Automated count" + }, + { + "reference": "urn:uuid:a39ba7d0-f20a-4344-8d86-67ba5231d162", + "display": "Hemoglobin [Mass/volume] in Blood" + }, + { + "reference": "urn:uuid:2c33007d-47df-4c33-8a8f-10107713162e", + "display": "Hematocrit [Volume Fraction] of Blood by Automated count" + }, + { + "reference": "urn:uuid:70da1bdb-4f75-4d15-92d3-f3c858fe9b4a", + "display": "MCV [Entitic volume] by Automated count" + }, + { + "reference": "urn:uuid:3a5edd09-0f0d-4690-8f85-9d627e5a5121", + "display": "MCH [Entitic mass] by Automated count" + }, + { + "reference": "urn:uuid:e6455ae6-4852-4f7d-adf3-7a3bbff0ac95", + "display": "MCHC [Mass/volume] by Automated count" + }, + { + "reference": "urn:uuid:dc7635f6-de33-4a2b-a42b-6b0dcdb48299", + "display": "Erythrocyte distribution width [Entitic volume] by Automated count" + }, + { + "reference": "urn:uuid:4f6911c1-ac5d-4fcd-ab79-9d68dc8bcfb0", + "display": "Platelets [#/volume] in Blood by Automated count" + }, + { + "reference": "urn:uuid:a034f8ec-9f09-4f3d-a2cd-89f70e7f9ea2", + "display": "Platelet distribution width [Entitic volume] in Blood by Automated count" + }, + { + "reference": "urn:uuid:fff28476-b3a3-4324-9314-453c257538c2", + "display": "Platelet mean volume [Entitic volume] in Blood by Automated count" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:4d822e68-e098-4850-a077-b831ecc3d65c", + "resource": { + "resourceType": "DiagnosticReport", + "id": "4d822e68-e098-4850-a077-b831ecc3d65c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTYtMDUtMTMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:2f447df9-c1c7-4184-8ed8-1b0d4c2722af", + "resource": { + "resourceType": "DocumentReference", + "id": "2f447df9-c1c7-4184-8ed8-1b0d4c2722af", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "4d822e68-e098-4850-a077-b831ecc3d65c" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2016-05-13T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTYtMDUtMTMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + } + ], + "period": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:98077579-ec65-48bd-b379-f58f1874f519", + "resource": { + "resourceType": "Claim", + "id": "98077579-ec65-48bd-b379-f58f1874f519", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:55:21-04:00" + }, + "created": "2016-05-13T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:c0a584b2-bfff-4ea0-bda2-af162d77b9cb" + } + } + ], + "procedure": [ + { + "sequence": 1, + "procedureReference": { + "reference": "urn:uuid:de09084a-8010-4dab-a509-8f5749c0c1f9" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + }, + { + "sequence": 3, + "procedureSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "net": { + "value": 952.76, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:4b3e25bf-5805-4361-9ece-4907fc3628c5", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "4b3e25bf-5805-4361-9ece-4907fc3628c5", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "98077579-ec65-48bd-b379-f58f1874f519" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2016-05-13T04:55:21-04:00", + "end": "2017-05-13T04:55:21-04:00" + }, + "created": "2016-05-13T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:98077579-ec65-48bd-b379-f58f1874f519" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + }, + { + "sequence": 3, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "servicedPeriod": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 952.76, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 190.55200000000002, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 762.2080000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 952.76, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 952.76, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 874.6240000000001, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8", + "resource": { + "resourceType": "Encounter", + "id": "8df28b50-9224-40fe-9ae5-3d93442c6de8", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "8df28b50-9224-40fe-9ae5-3d93442c6de8" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185345009", + "display": "Encounter for symptom" + } + ], + "text": "Encounter for symptom" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2016-10-05T04:25:21-04:00", + "end": "2016-10-05T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + } + ], + "period": { + "start": "2016-10-05T04:25:21-04:00", + "end": "2016-10-05T04:55:21-04:00" + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "195662009", + "display": "Acute viral pharyngitis (disorder)" + } + ] + } + ], + "location": [ + { + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:5b09357c-ee84-4488-8e37-9fc509f2626a", + "resource": { + "resourceType": "Condition", + "id": "5b09357c-ee84-4488-8e37-9fc509f2626a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition|3.1.1" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "resolved" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "195662009", + "display": "Acute viral pharyngitis (disorder)" + } + ], + "text": "Acute viral pharyngitis (disorder)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" + }, + "onsetDateTime": "2016-10-05T04:25:21-04:00", + "abatementDateTime": "2016-10-16T04:25:21-04:00", + "recordedDate": "2016-10-05T04:25:21-04:00" + }, + "request": { + "method": "POST", + "url": "Condition" + } + }, + { + "fullUrl": "urn:uuid:2e2a6efd-8836-4edb-8a1b-4411906dfa06", + "resource": { + "resourceType": "Observation", + "id": "2e2a6efd-8836-4edb-8a1b-4411906dfa06", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodytemp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8310-5", + "display": "Body temperature" + }, + { + "system": "http://loinc.org", + "code": "8331-1", + "display": "Oral temperature" + } + ], + "text": "Body temperature" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" + }, + "effectiveDateTime": "2016-10-05T04:25:21-04:00", + "issued": "2016-10-05T04:25:21.151-04:00", + "valueQuantity": { + "value": 37.102, + "unit": "Cel", + "system": "http://unitsofmeasure.org", + "code": "Cel" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:5605e654-548a-4a6f-b6e7-1d44acf833bf", + "resource": { + "resourceType": "Procedure", + "id": "5605e654-548a-4a6f-b6e7-1d44acf833bf", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "117015009", + "display": "Throat culture (procedure)" + } + ], + "text": "Throat culture (procedure)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" + }, + "performedPeriod": { + "start": "2016-10-05T04:25:21-04:00", + "end": "2016-10-05T04:40:21-04:00" + }, + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "reasonReference": [ + { + "reference": "urn:uuid:5b09357c-ee84-4488-8e37-9fc509f2626a", + "display": "Acute viral pharyngitis (disorder)" + } + ] + }, + "request": { + "method": "POST", + "url": "Procedure" + } + }, + { + "fullUrl": "urn:uuid:24d9d22e-fe26-4dd7-8f85-44da6ba12312", + "resource": { + "resourceType": "DiagnosticReport", + "id": "24d9d22e-fe26-4dd7-8f85-44da6ba12312", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" + }, + "effectiveDateTime": "2016-10-05T04:25:21-04:00", + "issued": "2016-10-05T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTYtMTAtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuClBhdGllbnQgaXMgcHJlc2VudGluZyB3aXRoIGFjdXRlIHZpcmFsIHBoYXJ5bmdpdGlzIChkaXNvcmRlcikuIAoKIyMgUGxhbgoKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIHRocm9hdCBjdWx0dXJlIChwcm9jZWR1cmUpCg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:21960643-d609-4531-9577-a78966cf5dfe", + "resource": { + "resourceType": "DocumentReference", + "id": "21960643-d609-4531-9577-a78966cf5dfe", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "24d9d22e-fe26-4dd7-8f85-44da6ba12312" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2016-10-05T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "custodian": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTYtMTAtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuClBhdGllbnQgaXMgcHJlc2VudGluZyB3aXRoIGFjdXRlIHZpcmFsIHBoYXJ5bmdpdGlzIChkaXNvcmRlcikuIAoKIyMgUGxhbgoKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIHRocm9hdCBjdWx0dXJlIChwcm9jZWR1cmUpCg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" + } + ], + "period": { + "start": "2016-10-05T04:25:21-04:00", + "end": "2016-10-05T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:01f46a34-c2f2-4b25-bee9-f2c86986b7e9", + "resource": { + "resourceType": "Claim", + "id": "01f46a34-c2f2-4b25-bee9-f2c86986b7e9", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2016-10-05T04:25:21-04:00", + "end": "2016-10-05T04:55:21-04:00" + }, + "created": "2016-10-05T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:5b09357c-ee84-4488-8e37-9fc509f2626a" + } + } + ], + "procedure": [ + { + "sequence": 1, + "procedureReference": { + "reference": "urn:uuid:5605e654-548a-4a6f-b6e7-1d44acf833bf" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185345009", + "display": "Encounter for symptom" + } + ], + "text": "Encounter for symptom" + }, + "encounter": [ + { + "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "195662009", + "display": "Acute viral pharyngitis (disorder)" + } + ], + "text": "Acute viral pharyngitis (disorder)" + } + }, + { + "sequence": 3, + "procedureSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "117015009", + "display": "Throat culture (procedure)" + } + ], + "text": "Throat culture (procedure)" + }, + "net": { + "value": 1941.03, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:7079afeb-d7ae-48d5-a523-b9c80c52b3a0", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "7079afeb-d7ae-48d5-a523-b9c80c52b3a0", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "NO_INSURANCE" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "NO_INSURANCE" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "01f46a34-c2f2-4b25-bee9-f2c86986b7e9" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2016-10-05T04:55:21-04:00", + "end": "2017-10-05T04:55:21-04:00" + }, + "created": "2016-10-05T04:55:21-04:00", + "insurer": { + "display": "NO_INSURANCE" + }, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "claim": { + "reference": "urn:uuid:01f46a34-c2f2-4b25-bee9-f2c86986b7e9" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:5b09357c-ee84-4488-8e37-9fc509f2626a" + }, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", + "code": "principal" + } + ] + } + ] + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185345009", + "display": "Encounter for symptom" + } + ], + "text": "Encounter for symptom" + }, + "servicedPeriod": { + "start": "2016-10-05T04:25:21-04:00", + "end": "2016-10-05T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "195662009", + "display": "Acute viral pharyngitis (disorder)" + } + ], + "text": "Acute viral pharyngitis (disorder)" + }, + "servicedPeriod": { + "start": "2016-10-05T04:25:21-04:00", + "end": "2016-10-05T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + } + }, + { + "sequence": 3, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "117015009", + "display": "Throat culture (procedure)" + } + ], + "text": "Throat culture (procedure)" + }, + "servicedPeriod": { + "start": "2016-10-05T04:25:21-04:00", + "end": "2016-10-05T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "net": { + "value": 1941.03, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 388.206, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 1552.824, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 1941.03, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 1941.03, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 1552.824, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be", + "resource": { + "resourceType": "Encounter", + "id": "2159ed82-7726-4e54-8108-be6ae398e4be", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "2159ed82-7726-4e54-8108-be6ae398e4be" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:592886be-d31e-4169-ad85-fe19be2f4f8a", + "resource": { + "resourceType": "Observation", + "id": "592886be-d31e-4169-ad85-fe19be2f4f8a", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:15bb9fb1-9f8a-4d9b-a1de-648d21ae98df", + "resource": { + "resourceType": "Observation", + "id": "15bb9fb1-9f8a-4d9b-a1de-648d21ae98df", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 1, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a860dc24-414a-4535-a0af-9b51061ff67c", + "resource": { + "resourceType": "Observation", + "id": "a860dc24-414a-4535-a0af-9b51061ff67c", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 85.3, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a5483d32-1e68-453e-ab0d-acf9b1934624", + "resource": { + "resourceType": "Observation", + "id": "a5483d32-1e68-453e-ab0d-acf9b1934624", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 27.36, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ddb674dc-4437-484f-b04e-b12cf41c8f2c", + "resource": { + "resourceType": "Observation", + "id": "ddb674dc-4437-484f-b04e-b12cf41c8f2c", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 75, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 108, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:2d7e2a12-b2a8-4ba6-bffe-275a0d23489f", + "resource": { + "resourceType": "Observation", + "id": "2d7e2a12-b2a8-4ba6-bffe-275a0d23489f", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 8E+1, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a22ee9a8-8b01-449e-a9b9-6738984bf592", + "resource": { + "resourceType": "Observation", + "id": "a22ee9a8-8b01-449e-a9b9-6738984bf592", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 15, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f5a86b3f-c902-45ae-ab2e-e9fa42d4abb3", + "resource": { + "resourceType": "Observation", + "id": "f5a86b3f-c902-45ae-ab2e-e9fa42d4abb3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 80.63, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f88d36d4-e2bc-443f-ba77-ce7849890d8e", + "resource": { + "resourceType": "Observation", + "id": "f88d36d4-e2bc-443f-ba77-ce7849890d8e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 19.67, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:0faa8bca-5f39-473e-90cb-cf3438350b8d", + "resource": { + "resourceType": "Observation", + "id": "0faa8bca-5f39-473e-90cb-cf3438350b8d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.04, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:10c4329c-8664-4561-b7c0-5cd935c4e9ba", + "resource": { + "resourceType": "Observation", + "id": "10c4329c-8664-4561-b7c0-5cd935c4e9ba", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 10.06, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:d46b61a7-272c-4773-9fe2-292192c53e51", + "resource": { + "resourceType": "Observation", + "id": "d46b61a7-272c-4773-9fe2-292192c53e51", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 143.91, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4c1fcff5-ecfe-4c09-a3fc-63768387cc7e", + "resource": { + "resourceType": "Observation", + "id": "4c1fcff5-ecfe-4c09-a3fc-63768387cc7e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.34, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:258b96ee-b0b7-4c23-9ce1-679183791d60", + "resource": { + "resourceType": "Observation", + "id": "258b96ee-b0b7-4c23-9ce1-679183791d60", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 105.9, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:af1dea09-d9d9-44bf-a9bf-5839246439b1", + "resource": { + "resourceType": "Observation", + "id": "af1dea09-d9d9-44bf-a9bf-5839246439b1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 28.05, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c8127202-2870-48fd-907d-6a6630219afb", + "resource": { + "resourceType": "Observation", + "id": "c8127202-2870-48fd-907d-6a6630219afb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:27638834-92a5-4ba7-a865-947e2f070044", + "resource": { + "resourceType": "Observation", + "id": "27638834-92a5-4ba7-a865-947e2f070044", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 6.1, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:5d417f37-4bc9-4d0a-baa4-a52e44dbe102", + "resource": { + "resourceType": "Procedure", + "id": "5d417f37-4bc9-4d0a-baa4-a52e44dbe102", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "performedPeriod": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:40:21-04:00" + }, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Procedure" + } + }, + { + "fullUrl": "urn:uuid:0e7ae71f-7d13-4984-b0f7-2b7d04a92935", + "resource": { + "resourceType": "MedicationRequest", + "id": "0e7ae71f-7d13-4984-b0f7-2b7d04a92935", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "authoredOn": "2017-05-19T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:9057196d-a979-4d0c-b55a-15542ce10f78", + "resource": { + "resourceType": "Claim", + "id": "9057196d-a979-4d0c-b55a-15542ce10f78", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:55:21-04:00" + }, + "created": "2017-05-19T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:0e7ae71f-7d13-4984-b0f7-2b7d04a92935" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:c8df444c-06f2-470b-98e5-f71f7a420ce6", + "resource": { + "resourceType": "Immunization", + "id": "c8df444c-06f2-470b-98e5-f71f7a420ce6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "occurrenceDateTime": "2017-05-19T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:01c18bb7-3fe8-43af-a187-6080fa2df2e4", + "resource": { + "resourceType": "DiagnosticReport", + "id": "01c18bb7-3fe8-43af-a187-6080fa2df2e4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:f5a86b3f-c902-45ae-ab2e-e9fa42d4abb3", + "display": "Glucose" + }, + { + "reference": "urn:uuid:f88d36d4-e2bc-443f-ba77-ce7849890d8e", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:0faa8bca-5f39-473e-90cb-cf3438350b8d", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:10c4329c-8664-4561-b7c0-5cd935c4e9ba", + "display": "Calcium" + }, + { + "reference": "urn:uuid:d46b61a7-272c-4773-9fe2-292192c53e51", + "display": "Sodium" + }, + { + "reference": "urn:uuid:4c1fcff5-ecfe-4c09-a3fc-63768387cc7e", + "display": "Potassium" + }, + { + "reference": "urn:uuid:258b96ee-b0b7-4c23-9ce1-679183791d60", + "display": "Chloride" + }, + { + "reference": "urn:uuid:af1dea09-d9d9-44bf-a9bf-5839246439b1", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:91089422-ae73-4418-ada4-b732957fb516", + "resource": { + "resourceType": "DiagnosticReport", + "id": "91089422-ae73-4418-ada4-b732957fb516", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTctMDUtMTkKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:0548a6a3-6787-4af5-9204-e5644b3ac085", + "resource": { + "resourceType": "DocumentReference", + "id": "0548a6a3-6787-4af5-9204-e5644b3ac085", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "91089422-ae73-4418-ada4-b732957fb516" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2017-05-19T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTctMDUtMTkKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + } + ], + "period": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:424bb4c3-5575-418b-9fc2-0dda1fac3c03", + "resource": { + "resourceType": "Claim", + "id": "424bb4c3-5575-418b-9fc2-0dda1fac3c03", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:55:21-04:00" + }, + "created": "2017-05-19T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:c8df444c-06f2-470b-98e5-f71f7a420ce6" + } + } + ], + "procedure": [ + { + "sequence": 1, + "procedureReference": { + "reference": "urn:uuid:5d417f37-4bc9-4d0a-baa4-a52e44dbe102" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + }, + { + "sequence": 3, + "procedureSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "net": { + "value": 556.22, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:dc5d7d94-a06c-406e-a9f1-caf6a8563502", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "dc5d7d94-a06c-406e-a9f1-caf6a8563502", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "424bb4c3-5575-418b-9fc2-0dda1fac3c03" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2017-05-19T04:55:21-04:00", + "end": "2018-05-19T04:55:21-04:00" + }, + "created": "2017-05-19T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:424bb4c3-5575-418b-9fc2-0dda1fac3c03" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + }, + { + "sequence": 3, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "servicedPeriod": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 556.22, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 111.24400000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 444.97600000000006, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 556.22, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 556.22, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 557.392, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49", + "resource": { + "resourceType": "Encounter", + "id": "3058c580-27db-4639-82cf-fda16a18bd49", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "3058c580-27db-4639-82cf-fda16a18bd49" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:5d9db7bf-5511-419c-bc58-fdb70ed28e37", + "resource": { + "resourceType": "Observation", + "id": "5d9db7bf-5511-419c-bc58-fdb70ed28e37", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:86a395bc-1fad-4a69-aa01-bb61adf7725c", + "resource": { + "resourceType": "Observation", + "id": "86a395bc-1fad-4a69-aa01-bb61adf7725c", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 1, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3bd26db8-4098-4d34-8ff4-928972f64662", + "resource": { + "resourceType": "Observation", + "id": "3bd26db8-4098-4d34-8ff4-928972f64662", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 87.7, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:9e56a891-9a23-4beb-966d-f9ac2df6c297", + "resource": { + "resourceType": "Observation", + "id": "9e56a891-9a23-4beb-966d-f9ac2df6c297", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 28.12, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:17716b12-d22c-4fb9-96b6-1ba9b963de42", + "resource": { + "resourceType": "Observation", + "id": "17716b12-d22c-4fb9-96b6-1ba9b963de42", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 78, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 1E+2, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3b19757e-89d7-4827-ae1e-ac82c7606d2a", + "resource": { + "resourceType": "Observation", + "id": "3b19757e-89d7-4827-ae1e-ac82c7606d2a", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 72, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:11280c85-e075-4052-89ce-71079b938d53", + "resource": { + "resourceType": "Observation", + "id": "11280c85-e075-4052-89ce-71079b938d53", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 15, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:66644441-ac77-4b8d-b2ac-14bbcec04053", + "resource": { + "resourceType": "Observation", + "id": "66644441-ac77-4b8d-b2ac-14bbcec04053", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 93.54, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:9290113c-a3c6-446d-ac0d-0d2a5be4f4e7", + "resource": { + "resourceType": "Observation", + "id": "9290113c-a3c6-446d-ac0d-0d2a5be4f4e7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 10.28, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:d6bacda8-7ea4-44de-88b8-f9daa4640598", + "resource": { + "resourceType": "Observation", + "id": "d6bacda8-7ea4-44de-88b8-f9daa4640598", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.06, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c9080612-2fbf-4fcd-86f9-e1fff14bec39", + "resource": { + "resourceType": "Observation", + "id": "c9080612-2fbf-4fcd-86f9-e1fff14bec39", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 8.66, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:2e911ab2-40a5-45cc-bf33-0947ab8153fe", + "resource": { + "resourceType": "Observation", + "id": "2e911ab2-40a5-45cc-bf33-0947ab8153fe", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 137.89, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fbf09b71-cf90-48ce-812c-2956c3dea698", + "resource": { + "resourceType": "Observation", + "id": "fbf09b71-cf90-48ce-812c-2956c3dea698", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.61, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c4d3c024-a1c6-47c2-bc75-ac0fca030ff5", + "resource": { + "resourceType": "Observation", + "id": "c4d3c024-a1c6-47c2-bc75-ac0fca030ff5", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 101.88, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a6f7388a-a584-4b75-8005-accd2d3522fe", + "resource": { + "resourceType": "Observation", + "id": "a6f7388a-a584-4b75-8005-accd2d3522fe", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 26.26, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:d9ea11ff-5101-4fba-a384-ac86b4bb1430", + "resource": { + "resourceType": "Observation", + "id": "d9ea11ff-5101-4fba-a384-ac86b4bb1430", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:d88c2f66-9e3d-4486-a242-e412a08b4490", + "resource": { + "resourceType": "Observation", + "id": "d88c2f66-9e3d-4486-a242-e412a08b4490", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 6.2, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:52d27283-7e29-486b-b03b-0fc929cf196c", + "resource": { + "resourceType": "Procedure", + "id": "52d27283-7e29-486b-b03b-0fc929cf196c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "performedPeriod": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:40:21-04:00" + }, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Procedure" + } + }, + { + "fullUrl": "urn:uuid:5af5857e-8f25-4729-a583-57ba2f81f967", + "resource": { + "resourceType": "MedicationRequest", + "id": "5af5857e-8f25-4729-a583-57ba2f81f967", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "authoredOn": "2018-05-25T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:875458b6-ca9f-4a87-807a-e556f6944a21", + "resource": { + "resourceType": "Claim", + "id": "875458b6-ca9f-4a87-807a-e556f6944a21", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:55:21-04:00" + }, + "created": "2018-05-25T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:5af5857e-8f25-4729-a583-57ba2f81f967" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:e55e4949-2d64-44db-9f61-30b216c13b7d", + "resource": { + "resourceType": "Immunization", + "id": "e55e4949-2d64-44db-9f61-30b216c13b7d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "occurrenceDateTime": "2018-05-25T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:20e9e65f-1d92-402a-9d62-69f29b503b8f", + "resource": { + "resourceType": "DiagnosticReport", + "id": "20e9e65f-1d92-402a-9d62-69f29b503b8f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:66644441-ac77-4b8d-b2ac-14bbcec04053", + "display": "Glucose" + }, + { + "reference": "urn:uuid:9290113c-a3c6-446d-ac0d-0d2a5be4f4e7", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:d6bacda8-7ea4-44de-88b8-f9daa4640598", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:c9080612-2fbf-4fcd-86f9-e1fff14bec39", + "display": "Calcium" + }, + { + "reference": "urn:uuid:2e911ab2-40a5-45cc-bf33-0947ab8153fe", + "display": "Sodium" + }, + { + "reference": "urn:uuid:fbf09b71-cf90-48ce-812c-2956c3dea698", + "display": "Potassium" + }, + { + "reference": "urn:uuid:c4d3c024-a1c6-47c2-bc75-ac0fca030ff5", + "display": "Chloride" + }, + { + "reference": "urn:uuid:a6f7388a-a584-4b75-8005-accd2d3522fe", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:5ce36665-e2de-4a18-b68e-4e71eecd468b", + "resource": { + "resourceType": "DiagnosticReport", + "id": "5ce36665-e2de-4a18-b68e-4e71eecd468b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTgtMDUtMjUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:c8706880-188d-4f7b-aca4-7179dab7ed4b", + "resource": { + "resourceType": "DocumentReference", + "id": "c8706880-188d-4f7b-aca4-7179dab7ed4b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "5ce36665-e2de-4a18-b68e-4e71eecd468b" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2018-05-25T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTgtMDUtMjUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + } + ], + "period": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:9b1d9bba-4bbb-4bda-9cf7-ac5b07611754", + "resource": { + "resourceType": "Claim", + "id": "9b1d9bba-4bbb-4bda-9cf7-ac5b07611754", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:55:21-04:00" + }, + "created": "2018-05-25T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:e55e4949-2d64-44db-9f61-30b216c13b7d" + } + } + ], + "procedure": [ + { + "sequence": 1, + "procedureReference": { + "reference": "urn:uuid:52d27283-7e29-486b-b03b-0fc929cf196c" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + }, + { + "sequence": 3, + "procedureSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "net": { + "value": 539.51, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:8b34476d-180c-407a-adc3-82aa7e4505b0", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "8b34476d-180c-407a-adc3-82aa7e4505b0", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "9b1d9bba-4bbb-4bda-9cf7-ac5b07611754" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2018-05-25T04:55:21-04:00", + "end": "2019-05-25T04:55:21-04:00" + }, + "created": "2018-05-25T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:9b1d9bba-4bbb-4bda-9cf7-ac5b07611754" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + }, + { + "sequence": 3, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "servicedPeriod": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 539.51, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 107.902, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 431.608, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 539.51, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 539.51, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 544.024, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc", + "resource": { + "resourceType": "Encounter", + "id": "a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:6689d45e-0f45-4ffe-b665-12dfc2cc03b5", + "resource": { + "resourceType": "Observation", + "id": "6689d45e-0f45-4ffe-b665-12dfc2cc03b5", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3313498c-44e7-447a-be10-fc408540ee4a", + "resource": { + "resourceType": "Observation", + "id": "3313498c-44e7-447a-be10-fc408540ee4a", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 1, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c4909481-052c-4375-9788-ae89037b4241", + "resource": { + "resourceType": "Observation", + "id": "c4909481-052c-4375-9788-ae89037b4241", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 90.1, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a9879bc0-0c50-486d-9881-e2088e226b5b", + "resource": { + "resourceType": "Observation", + "id": "a9879bc0-0c50-486d-9881-e2088e226b5b", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 28.89, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c0ee8845-d480-4a92-a596-564af06fd05c", + "resource": { + "resourceType": "Observation", + "id": "c0ee8845-d480-4a92-a596-564af06fd05c", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 87, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 118, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:1f8bb2b9-a180-41e1-97b4-5ce1c2260eb6", + "resource": { + "resourceType": "Observation", + "id": "1f8bb2b9-a180-41e1-97b4-5ce1c2260eb6", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 84, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:5444a546-530c-46bb-a743-48c991e65006", + "resource": { + "resourceType": "Observation", + "id": "5444a546-530c-46bb-a743-48c991e65006", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 12, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4a0e11d6-ea52-4f59-a211-fdb93cfff482", + "resource": { + "resourceType": "Observation", + "id": "4a0e11d6-ea52-4f59-a211-fdb93cfff482", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 86.88, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:852d9cbe-ee4d-459d-9fa1-69a32209851b", + "resource": { + "resourceType": "Observation", + "id": "852d9cbe-ee4d-459d-9fa1-69a32209851b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 13.39, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ba6ce35c-0035-4caf-9d80-7cd8a2adb1d8", + "resource": { + "resourceType": "Observation", + "id": "ba6ce35c-0035-4caf-9d80-7cd8a2adb1d8", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.07, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:04656ac4-4944-455f-878b-39ea949b4e5f", + "resource": { + "resourceType": "Observation", + "id": "04656ac4-4944-455f-878b-39ea949b4e5f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 9.37, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:244fa692-7776-43fd-932b-c1d12775da58", + "resource": { + "resourceType": "Observation", + "id": "244fa692-7776-43fd-932b-c1d12775da58", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 136.67, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:e9ee497a-9be1-441b-bd04-845f58da28e7", + "resource": { + "resourceType": "Observation", + "id": "e9ee497a-9be1-441b-bd04-845f58da28e7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.27, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:01cacb9c-fad4-4441-bee8-3b043c46d11f", + "resource": { + "resourceType": "Observation", + "id": "01cacb9c-fad4-4441-bee8-3b043c46d11f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 102.21, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:56be2677-c7c6-4b4e-8479-f559b4b32823", + "resource": { + "resourceType": "Observation", + "id": "56be2677-c7c6-4b4e-8479-f559b4b32823", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 23.03, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:0de94e85-3015-482e-b340-0e5df78ddaeb", + "resource": { + "resourceType": "Observation", + "id": "0de94e85-3015-482e-b340-0e5df78ddaeb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2093-3", + "display": "Total Cholesterol" + } + ], + "text": "Total Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 160.97, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ced86e98-7706-4f47-825c-ce79ecff348f", + "resource": { + "resourceType": "Observation", + "id": "ced86e98-7706-4f47-825c-ce79ecff348f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2571-8", + "display": "Triglycerides" + } + ], + "text": "Triglycerides" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 117.06, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:7b1158d8-d2a6-4027-9d0b-478dcba7818f", + "resource": { + "resourceType": "Observation", + "id": "7b1158d8-d2a6-4027-9d0b-478dcba7818f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "18262-6", + "display": "Low Density Lipoprotein Cholesterol" + } + ], + "text": "Low Density Lipoprotein Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 77.79, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:d6701c30-9e32-41a4-a508-e7b89d925c30", + "resource": { + "resourceType": "Observation", + "id": "d6701c30-9e32-41a4-a508-e7b89d925c30", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2085-9", + "display": "High Density Lipoprotein Cholesterol" + } + ], + "text": "High Density Lipoprotein Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 59.77, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:52893d6e-9bed-443f-8176-5444a57a1c84", + "resource": { + "resourceType": "Observation", + "id": "52893d6e-9bed-443f-8176-5444a57a1c84", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a405d702-2710-4bf0-9304-6872d44be7b3", + "resource": { + "resourceType": "Observation", + "id": "a405d702-2710-4bf0-9304-6872d44be7b3", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 6, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:49ddff02-26bf-465d-9fc9-dc00f0bfe5fd", + "resource": { + "resourceType": "Procedure", + "id": "49ddff02-26bf-465d-9fc9-dc00f0bfe5fd", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "performedPeriod": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:40:21-04:00" + }, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Procedure" + } + }, + { + "fullUrl": "urn:uuid:82fc90be-4c3d-4e04-9011-079ea1d32a70", + "resource": { + "resourceType": "MedicationRequest", + "id": "82fc90be-4c3d-4e04-9011-079ea1d32a70", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "authoredOn": "2019-05-31T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:6dc8a3d3-1ffa-4827-8a83-b6f56b3e87fb", + "resource": { + "resourceType": "Claim", + "id": "6dc8a3d3-1ffa-4827-8a83-b6f56b3e87fb", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:55:21-04:00" + }, + "created": "2019-05-31T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:82fc90be-4c3d-4e04-9011-079ea1d32a70" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:efd5f80d-3c04-44a5-bcc6-1a9858d8b2fd", + "resource": { + "resourceType": "Immunization", + "id": "efd5f80d-3c04-44a5-bcc6-1a9858d8b2fd", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "occurrenceDateTime": "2019-05-31T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:bba2d963-c2fd-43c8-a3a4-e7331119966a", + "resource": { + "resourceType": "DiagnosticReport", + "id": "bba2d963-c2fd-43c8-a3a4-e7331119966a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:4a0e11d6-ea52-4f59-a211-fdb93cfff482", + "display": "Glucose" + }, + { + "reference": "urn:uuid:852d9cbe-ee4d-459d-9fa1-69a32209851b", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:ba6ce35c-0035-4caf-9d80-7cd8a2adb1d8", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:04656ac4-4944-455f-878b-39ea949b4e5f", + "display": "Calcium" + }, + { + "reference": "urn:uuid:244fa692-7776-43fd-932b-c1d12775da58", + "display": "Sodium" + }, + { + "reference": "urn:uuid:e9ee497a-9be1-441b-bd04-845f58da28e7", + "display": "Potassium" + }, + { + "reference": "urn:uuid:01cacb9c-fad4-4441-bee8-3b043c46d11f", + "display": "Chloride" + }, + { + "reference": "urn:uuid:56be2677-c7c6-4b4e-8479-f559b4b32823", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:30d4f06d-d5a6-4833-8519-7d01923d2465", + "resource": { + "resourceType": "DiagnosticReport", + "id": "30d4f06d-d5a6-4833-8519-7d01923d2465", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "57698-3", + "display": "Lipid Panel" + } + ], + "text": "Lipid Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:0de94e85-3015-482e-b340-0e5df78ddaeb", + "display": "Total Cholesterol" + }, + { + "reference": "urn:uuid:ced86e98-7706-4f47-825c-ce79ecff348f", + "display": "Triglycerides" + }, + { + "reference": "urn:uuid:7b1158d8-d2a6-4027-9d0b-478dcba7818f", + "display": "Low Density Lipoprotein Cholesterol" + }, + { + "reference": "urn:uuid:d6701c30-9e32-41a4-a508-e7b89d925c30", + "display": "High Density Lipoprotein Cholesterol" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:5d6f244c-dc14-4d30-b585-d984885648dd", + "resource": { + "resourceType": "DiagnosticReport", + "id": "5d6f244c-dc14-4d30-b585-d984885648dd", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTktMDUtMzEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:dabb3861-b276-4f7f-80d1-990c1c8e92de", + "resource": { + "resourceType": "DocumentReference", + "id": "dabb3861-b276-4f7f-80d1-990c1c8e92de", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "5d6f244c-dc14-4d30-b585-d984885648dd" + } + ], + "status": "current", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2019-05-31T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTktMDUtMzEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + } + ], + "period": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:3af8a41e-da2f-4623-83e6-b448b6fa8a2e", + "resource": { + "resourceType": "Claim", + "id": "3af8a41e-da2f-4623-83e6-b448b6fa8a2e", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:55:21-04:00" + }, + "created": "2019-05-31T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:efd5f80d-3c04-44a5-bcc6-1a9858d8b2fd" + } + } + ], + "procedure": [ + { + "sequence": 1, + "procedureReference": { + "reference": "urn:uuid:49ddff02-26bf-465d-9fc9-dc00f0bfe5fd" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + }, + { + "sequence": 3, + "procedureSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "net": { + "value": 387.11, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:4a9fe7c8-a98b-4be2-9362-d0380c684c67", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "4a9fe7c8-a98b-4be2-9362-d0380c684c67", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "3af8a41e-da2f-4623-83e6-b448b6fa8a2e" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2019-05-31T04:55:21-04:00", + "end": "2020-05-31T04:55:21-04:00" + }, + "created": "2019-05-31T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:3af8a41e-da2f-4623-83e6-b448b6fa8a2e" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + }, + { + "sequence": 3, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "servicedPeriod": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 387.11, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 77.42200000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 309.68800000000005, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 387.11, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 387.11, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 422.10400000000004, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:434bce30-4f93-43a7-9289-4a4834191211", + "resource": { + "resourceType": "Provenance", + "id": "434bce30-4f93-43a7-9289-4a4834191211", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance|3.1.1" + ] + }, + "target": [ + { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e" + }, + { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6" + }, + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + { + "reference": "urn:uuid:ae434da0-4a91-4721-ac3e-6143dc46529d" + }, + { + "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + }, + { + "reference": "urn:uuid:7b707022-dbe7-44a4-8063-596558bd0459" + }, + { + "reference": "urn:uuid:a6a822c0-0b60-438a-940e-064c3fdfb456" + }, + { + "reference": "urn:uuid:8e840915-8adc-4920-837e-b77fbd0bc5bb" + }, + { + "reference": "urn:uuid:09669f57-56ef-4d38-a1f9-920b84900f1c" + }, + { + "reference": "urn:uuid:3288f528-675a-48a7-925a-db365aa7fedd" + }, + { + "reference": "urn:uuid:a8afae92-0db2-4379-ab05-2375d91bddbf" + }, + { + "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" + }, + { + "reference": "urn:uuid:dc9dd26e-8983-4bd4-abdc-9dbe5abdd581" + }, + { + "reference": "urn:uuid:4145178a-e267-4de8-a81b-d36c2da972af" + }, + { + "reference": "urn:uuid:c29e86ee-9abf-403d-a722-09291038da71" + }, + { + "reference": "urn:uuid:8ffa75ad-b7dc-4da3-bcb0-f73c2a25f2c6" + }, + { + "reference": "urn:uuid:7bc429fd-499d-404e-8353-dffe91ca3f79" + }, + { + "reference": "urn:uuid:8fb48e33-24c5-420a-8f4d-0aa26a343c44" + }, + { + "reference": "urn:uuid:5f92bc64-1cc5-4a94-b318-883a54331545" + }, + { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c" + }, + { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb" + }, + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + { + "reference": "urn:uuid:f33d551d-cbc4-4808-8f11-f42a17f275b6" + }, + { + "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" + }, + { + "reference": "urn:uuid:5a65adea-0cbc-429e-ae59-2b9e0ba98ebe" + }, + { + "reference": "urn:uuid:00b0a904-7f33-44ad-9ede-23c7f1a15f44" + }, + { + "reference": "urn:uuid:21560651-525c-4eb5-8d80-ae6a62cac8e0" + }, + { + "reference": "urn:uuid:4e0564e3-cd19-4cff-9658-f2751c891b38" + }, + { + "reference": "urn:uuid:03657b06-ab10-4268-9f98-9e0c9bdeaaec" + }, + { + "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" + }, + { + "reference": "urn:uuid:5610dfb1-315e-4a68-8599-68f9b3446e90" + }, + { + "reference": "urn:uuid:7af93122-0d5a-4100-b7c9-edc1b844b912" + }, + { + "reference": "urn:uuid:b61efb38-3b58-4b19-ace1-e0bdd22a7b3e" + }, + { + "reference": "urn:uuid:b454ced0-573d-4e61-8d52-91c286cd22fc" + }, + { + "reference": "urn:uuid:0a49f240-54e1-46ff-b8fd-962675304d76" + }, + { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233" + }, + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0" + }, + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + { + "reference": "urn:uuid:97d39e08-5aac-4dec-8add-474d16eba6c4" + }, + { + "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" + }, + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + }, + { + "reference": "urn:uuid:1079548d-b5e4-468e-a4dc-d7f30a87608d" + }, + { + "reference": "urn:uuid:f76c8a86-2731-45a8-a41d-f3739d5a9f9f" + }, + { + "reference": "urn:uuid:3ff6bc3c-e123-424f-a19b-8e46ea3b592a" + }, + { + "reference": "urn:uuid:a22344fd-f2d8-44c3-8a27-192ff2335d57" + }, + { + "reference": "urn:uuid:a4bb4455-c9ea-43b0-a158-f20104fe3b31" + }, + { + "reference": "urn:uuid:afa2cd14-9f05-47ba-a1f8-4b294ff3c1d3" + }, + { + "reference": "urn:uuid:babd4d54-5160-49c3-a48d-743bc18261b0" + }, + { + "reference": "urn:uuid:bbfd08e2-a360-4a69-ab18-47ecbd2a905f" + }, + { + "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" + }, + { + "reference": "urn:uuid:f48e166f-e816-4dd2-ae9a-f745c788b5dc" + }, + { + "reference": "urn:uuid:5a2fd146-bed1-4588-ad05-da3e0f2b839a" + }, + { + "reference": "urn:uuid:ce90da04-67b3-4bf8-b634-ad32231416e2" + }, + { + "reference": "urn:uuid:b350966e-2568-41e0-88a2-e9d5f4c809ef" + }, + { + "reference": "urn:uuid:444f7f44-2f77-4f02-88be-d9544bf3c631" + }, + { + "reference": "urn:uuid:0ef8e051-1fe0-43ba-a9de-3e168192361b" + }, + { + "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" + }, + { + "reference": "urn:uuid:01dc96f0-9960-468a-90ca-712762e05604" + }, + { + "reference": "urn:uuid:7d8373e5-41fe-44b4-963a-29e0634ba3ef" + }, + { + "reference": "urn:uuid:7f47ee0b-158c-44a9-82c5-6d1119de5fca" + }, + { + "reference": "urn:uuid:28c7e6cc-5db8-415c-9e5e-eb74ddd0a163" + }, + { + "reference": "urn:uuid:0f29c123-8355-4b9c-8bc2-f09991b7f642" + }, + { + "reference": "urn:uuid:01a531f8-8a5f-46e8-8484-9964ea6d5751" + }, + { + "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" + }, + { + "reference": "urn:uuid:9ec3f089-85d4-4859-9ab5-bb8486af95a7" + }, + { + "reference": "urn:uuid:90dfc8d5-4157-4430-86e7-493a9ab8dde8" + }, + { + "reference": "urn:uuid:f17db13f-0743-4fa4-90d8-1733c559a5c6" + }, + { + "reference": "urn:uuid:e3f1364c-0edc-49ed-875f-09115ac366f7" + }, + { + "reference": "urn:uuid:921df6c6-9262-4d06-9fd1-4626ca2904a5" + }, + { + "reference": "urn:uuid:7850fc54-4189-45c8-bdf4-a6f8b6b3119a" + }, + { + "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" + }, + { + "reference": "urn:uuid:36c176e3-5827-4ee1-8119-fd02558ebb86" + }, + { + "reference": "urn:uuid:e5accce6-ecbe-4232-9ac7-835bc6911f27" + }, + { + "reference": "urn:uuid:99c2bbb3-ab22-4e45-b30c-9565d584663c" + }, + { + "reference": "urn:uuid:a82b33b2-3e98-4014-ab04-a2a8d33f21ca" + }, + { + "reference": "urn:uuid:ae602309-d9dc-424a-aadc-8d02608be360" + }, + { + "reference": "urn:uuid:dffd219c-6d86-4813-a843-d83046b8a5df" + }, + { + "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" + }, + { + "reference": "urn:uuid:49890f9e-0c45-4242-8700-5dd9db1e691e" + }, + { + "reference": "urn:uuid:9d3741e1-b8ab-434e-8222-8130b06ce54e" + }, + { + "reference": "urn:uuid:6aaa38f3-9da8-456c-8e3e-401cca32fd02" + }, + { + "reference": "urn:uuid:02593c2f-a85b-4fb0-834e-52f927ec454e" + }, + { + "reference": "urn:uuid:4faf80e8-4ab1-45c6-aaa9-684a0fc3b6c0" + }, + { + "reference": "urn:uuid:5a1ca1d5-0fd0-4d77-b70c-3efaadbfd25a" + }, + { + "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" + }, + { + "reference": "urn:uuid:10e53d12-2a17-4a2e-afed-67a0337e429e" + }, + { + "reference": "urn:uuid:ea667003-44ed-47b6-890d-e50ebf6d109b" + }, + { + "reference": "urn:uuid:c1327a2a-37b0-4cda-bce4-8fd9774969c5" + }, + { + "reference": "urn:uuid:d55686db-2b30-4e27-a431-d444492a6c0b" + }, + { + "reference": "urn:uuid:bf009133-9c61-4431-9bcd-8b0e88c2b27d" + }, + { + "reference": "urn:uuid:89165033-b8e4-4325-a906-33f4665e588f" + }, + { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + }, + { + "reference": "urn:uuid:3d18b777-7c11-4c1f-88ec-0c385a2e70da" + }, + { + "reference": "urn:uuid:673b17bc-5467-4587-b95a-5538e5411bbb" + }, + { + "reference": "urn:uuid:615fcb6c-db2e-4f6a-be23-62dec27f1d8d" + }, + { + "reference": "urn:uuid:cccb1957-2a02-4bb7-ac4e-51488d6167f3" + }, + { + "reference": "urn:uuid:5b8ec926-7097-4d05-a79f-bccb435c1fd1" + }, + { + "reference": "urn:uuid:4ccea939-1dbc-4f1f-8e8f-5c3b65864407" + }, + { + "reference": "urn:uuid:c52ee846-a4e0-4036-a32e-4e6ae5a2b6df" + }, + { + "reference": "urn:uuid:994bd33c-f03d-4dd1-be77-b35d3e6ba44c" + }, + { + "reference": "urn:uuid:916308a4-0e0f-4fe1-9d17-95d528ed5edf" + }, + { + "reference": "urn:uuid:a9060b72-9c3b-4c98-9736-9eaa91bbb58b" + }, + { + "reference": "urn:uuid:21fefa4d-a65b-424e-a7e0-7aa47b0c4210" + }, + { + "reference": "urn:uuid:29737665-7ca5-41e4-8412-87fa3c4ad358" + }, + { + "reference": "urn:uuid:95d952c9-e7df-4e90-b71a-ea9c8e527dba" + }, + { + "reference": "urn:uuid:cb0bac77-1b37-4359-a026-59920f83a662" + }, + { + "reference": "urn:uuid:8399bc32-0cc9-4f41-91eb-d80b4949818e" + }, + { + "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" + }, + { + "reference": "urn:uuid:11cde837-0047-4725-935c-b7dac2ede4f7" + }, + { + "reference": "urn:uuid:92397156-789b-4251-b943-edefb5df3716" + }, + { + "reference": "urn:uuid:37c20bb4-d87c-4982-90c3-13d0c6875278" + }, + { + "reference": "urn:uuid:8c1f26a5-4185-4aec-9a75-8114d2a6c8da" + }, + { + "reference": "urn:uuid:95792510-794c-4d7e-955f-6239d6563dd7" + }, + { + "reference": "urn:uuid:4ff1bdc1-94bb-4cba-b066-3bc3ff0fa42e" + }, + { + "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" + }, + { + "reference": "urn:uuid:78d5fe12-273c-4942-a1c9-f6a7e094c9fc" + }, + { + "reference": "urn:uuid:19369ad1-87e4-4bc3-8b97-0820dfbb0b8d" + }, + { + "reference": "urn:uuid:6b5baec3-adb6-4d19-802b-1f7401cc73e1" + }, + { + "reference": "urn:uuid:15b79ff0-17f6-4901-be79-75f1d80b7389" + }, + { + "reference": "urn:uuid:149774ce-ea62-4c9e-bc30-693cfdd7b0c0" + }, + { + "reference": "urn:uuid:647401ef-7811-41fd-ab36-0d89e6423155" + }, + { + "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" + }, + { + "reference": "urn:uuid:6ce68ed7-e200-48f3-8c60-19ac17c4c7b7" + }, + { + "reference": "urn:uuid:b68c7063-6e12-43f1-85c7-d609fbef043e" + }, + { + "reference": "urn:uuid:6ce2aa93-90e9-4ca5-ac28-8052f67ffb26" + }, + { + "reference": "urn:uuid:7f5a7fe8-9a93-44fa-8ec2-0139891f2f69" + }, + { + "reference": "urn:uuid:c123985f-d9b3-4735-af70-5723109c8208" + }, + { + "reference": "urn:uuid:8fe349c9-993b-4ae5-8c2e-95c84929d4a1" + }, + { + "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" + }, + { + "reference": "urn:uuid:3c98fe7f-8444-4baf-9380-97f20df84834" + }, + { + "reference": "urn:uuid:6b53e08d-68f5-4cb9-82d5-c04e120643cb" + }, + { + "reference": "urn:uuid:5af8cb30-4f6b-457e-80b8-2c93b6ea0557" + }, + { + "reference": "urn:uuid:a4ada62e-0769-4791-9324-6568fec3ffb9" + }, + { + "reference": "urn:uuid:76dc7e4c-d77e-41d0-b6ce-eac1d055235b" + }, + { + "reference": "urn:uuid:16fc7b3a-10f6-44ea-bbf9-fe99a93502e9" + }, + { + "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" + }, + { + "reference": "urn:uuid:2d614b95-e3b2-4e71-8e1c-c0423a1c8d78" + }, + { + "reference": "urn:uuid:62cc7f2c-256e-4c06-8f15-a1e1f02c95cd" + }, + { + "reference": "urn:uuid:7da05a2e-e036-4bf0-aa1b-c7a50ccf8752" + }, + { + "reference": "urn:uuid:1ec8051b-d391-45bf-bf09-e9159c6e4ac4" + }, + { + "reference": "urn:uuid:1cb7432e-b5c5-418f-9dd4-a771f4269331" + }, + { + "reference": "urn:uuid:38f67e15-e709-4e4c-8062-a4de62d588f9" + }, + { + "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" + }, + { + "reference": "urn:uuid:856c42a4-15fa-4aa5-b126-b558c4b17b45" + }, + { + "reference": "urn:uuid:24474324-3c9e-43cb-8bfb-115790dc7cf2" + }, + { + "reference": "urn:uuid:afe41584-dfef-40b1-ac2c-d68fc9a488ea" + }, + { + "reference": "urn:uuid:d627bf22-24be-4d9d-980b-7ff24fd950f2" + }, + { + "reference": "urn:uuid:60481f1a-8683-4395-9767-cb4e8b54b2a4" + }, + { + "reference": "urn:uuid:990dd75e-dbd5-4651-aeda-1df12f60952c" + }, + { + "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" + }, + { + "reference": "urn:uuid:7e3a187e-0451-47a2-be53-a6a45d557166" + }, + { + "reference": "urn:uuid:4b146e00-adb8-47eb-b37f-007764100d3c" + }, + { + "reference": "urn:uuid:18b361f9-f0cb-4aeb-a345-ea01ff550c6d" + }, + { + "reference": "urn:uuid:dfc3abbe-854a-45ef-98b0-75ecd9ba2138" + }, + { + "reference": "urn:uuid:4d108606-7e3e-42e0-9091-8bd12b843e9b" + }, + { + "reference": "urn:uuid:f9ce85ba-eefe-491a-8d2b-9ae7fe042aca" + }, + { + "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" + }, + { + "reference": "urn:uuid:c071b5cc-745c-49a3-ae69-dcf6886cd5ba" + }, + { + "reference": "urn:uuid:b45e82b4-519c-46ea-b543-782494479074" + }, + { + "reference": "urn:uuid:3d6f0356-90f8-4386-b1da-e0062bdca6a0" + }, + { + "reference": "urn:uuid:4cdf3224-e174-462e-a9c4-c985edcdad1f" + }, + { + "reference": "urn:uuid:b74cdefb-14e1-43bc-ba96-642e7ce02fc0" + }, + { + "reference": "urn:uuid:4b7a09d6-df23-413f-8a01-15a175f03e49" + }, + { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + { + "reference": "urn:uuid:f042a475-82e7-4c1d-8a16-75599e15bc0b" + }, + { + "reference": "urn:uuid:0ff65a61-5ac5-4679-9f28-88fe0571b272" + }, + { + "reference": "urn:uuid:629a7e25-1e9c-40f9-9ae6-1436d734ca96" + }, + { + "reference": "urn:uuid:767029a4-839b-40a5-91f8-2c483c26a640" + }, + { + "reference": "urn:uuid:fc75badc-ba94-4044-a9b7-37015f37d0b8" + }, + { + "reference": "urn:uuid:75c85d5f-c1e1-465a-adeb-6eaf2106c3ee" + }, + { + "reference": "urn:uuid:06471e31-793b-4a09-a3ed-c9d69ec029a5" + }, + { + "reference": "urn:uuid:baf51c92-7a7b-4d60-b4ee-38fa99fdf8db" + }, + { + "reference": "urn:uuid:fd036fe1-3692-4d5a-bf3e-ccfb1f1b2dbc" + }, + { + "reference": "urn:uuid:6ae6faf8-ba30-42ee-b108-4e6039be3bf0" + }, + { + "reference": "urn:uuid:3aa15fdc-4965-440b-85a7-26bde99c948b" + }, + { + "reference": "urn:uuid:ce0ec83b-3e7d-4b3e-93d1-70b449f2393b" + }, + { + "reference": "urn:uuid:06214387-5440-4290-abaf-e436e5a2a3bb" + }, + { + "reference": "urn:uuid:702a35e1-6ead-4af5-ba50-94f875ddca96" + }, + { + "reference": "urn:uuid:5a60b57f-fc23-42aa-831f-3acc5e3619e6" + }, + { + "reference": "urn:uuid:667f4ca5-ed38-4aa1-93e4-17c0d9e1f2f3" + }, + { + "reference": "urn:uuid:60113cc3-3fee-48ec-a41c-1f5ae25e5b15" + }, + { + "reference": "urn:uuid:730b7adb-8506-4ccc-bde4-73532dac351d" + }, + { + "reference": "urn:uuid:b43802eb-cb9d-4feb-80a0-87c56b80e88e" + }, + { + "reference": "urn:uuid:4b002fb0-b658-4059-894d-bad679593ed6" + }, + { + "reference": "urn:uuid:2a1fbe91-6378-42dc-8157-1520224c44f9" + }, + { + "reference": "urn:uuid:24dbb5e6-56fe-4946-906b-a34b3ffbfd34" + }, + { + "reference": "urn:uuid:aaf2802c-4507-4fd7-9e46-5bfba585f220" + }, + { + "reference": "urn:uuid:a2a3cce0-a465-4246-9c57-142e894d4062" + }, + { + "reference": "urn:uuid:eda3d975-76b8-43c0-9f7c-7d2360782f1a" + }, + { + "reference": "urn:uuid:bd149371-9c51-466f-b7fb-8e23d2fa05f1" + }, + { + "reference": "urn:uuid:78396b5e-d62d-4fc5-b5dc-dba7ae491d26" + }, + { + "reference": "urn:uuid:b96faa39-0018-41cb-97eb-5ae28645d368" + }, + { + "reference": "urn:uuid:9285a728-042b-48da-84b3-b0b9d5b5a53f" + }, + { + "reference": "urn:uuid:e86988f7-63b6-4083-ae1f-98d2a7d6ba12" + }, + { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + { + "reference": "urn:uuid:a2a3ed5b-120d-4340-aa22-b3a9c8b37b60" + }, + { + "reference": "urn:uuid:da94f84f-6a92-46fa-8957-794febfa1a27" + }, + { + "reference": "urn:uuid:db710cae-5905-4f15-9984-9696255aa6ba" + }, + { + "reference": "urn:uuid:ab7f2fca-0191-44f2-9004-ab28d19cb575" + }, + { + "reference": "urn:uuid:890ab7b0-a169-4a45-9e1b-1e8d7ff7751c" + }, + { + "reference": "urn:uuid:08ffea64-2b0e-4796-bbd5-f9cc37755876" + }, + { + "reference": "urn:uuid:4c562f1f-8ec3-4b8c-a7fb-cf602e839329" + }, + { + "reference": "urn:uuid:9f156698-58a4-4203-9f9f-c5d00035be23" + }, + { + "reference": "urn:uuid:6531d108-0189-4da1-809b-18fb291b6e89" + }, + { + "reference": "urn:uuid:4587fb98-65c5-4f57-a053-aa96d0af11c5" + }, + { + "reference": "urn:uuid:34b455c2-58b2-44f4-89d4-ef13f9e9aa05" + }, + { + "reference": "urn:uuid:21999638-788b-4ed4-bf4f-c5bf3b717de3" + }, + { + "reference": "urn:uuid:a9f78ad2-f38c-4f8c-9e80-ad49a96950f9" + }, + { + "reference": "urn:uuid:881d4550-f693-42fd-9a40-b4c6aa664827" + }, + { + "reference": "urn:uuid:66b6b56d-1a4a-4f24-b822-f8f0af1f4d02" + }, + { + "reference": "urn:uuid:e6c79b32-d27e-4663-bcb0-df5ea3715aa7" + }, + { + "reference": "urn:uuid:376cb148-8086-4941-943c-949d957da9c6" + }, + { + "reference": "urn:uuid:9e569308-73a7-43f5-a111-caa1fb2eb015" + }, + { + "reference": "urn:uuid:8df45ef5-07df-4677-b5cb-36723f5e8c40" + }, + { + "reference": "urn:uuid:52d1b38a-4ab3-4000-855b-97c8701776ec" + }, + { + "reference": "urn:uuid:a587488a-07c3-47c1-a7a4-c2a0d2302abe" + }, + { + "reference": "urn:uuid:b4b3a065-ed04-4b16-9589-814466125664" + }, + { + "reference": "urn:uuid:ac5da61b-0f22-4cb0-a988-dc0a010f072e" + }, + { + "reference": "urn:uuid:6da08b20-da46-4c5a-bee4-cc8593403122" + }, + { + "reference": "urn:uuid:1818d919-78b1-4a8c-869f-5e8e4288667c" + }, + { + "reference": "urn:uuid:e5904667-c55e-4098-96d2-c81d7e7daf75" + }, + { + "reference": "urn:uuid:8128f819-48ad-472c-8329-0ac112b43058" + }, + { + "reference": "urn:uuid:888cbcdf-c076-49a9-a612-6470910b5274" + }, + { + "reference": "urn:uuid:afa46496-0646-42c7-a0d1-de5ee91f7346" + }, + { + "reference": "urn:uuid:eae2cc31-4700-4f2c-aa66-f911a51aef30" + }, + { + "reference": "urn:uuid:efe41301-cc37-47e3-bcf9-1059b9fa24de" + }, + { + "reference": "urn:uuid:fa6b7992-af2f-45d5-92db-432f48909897" + }, + { + "reference": "urn:uuid:61d29d7b-bf71-4f99-ab47-34ee53695a06" + }, + { + "reference": "urn:uuid:cefff05f-6251-4045-8f26-98f710d0d37e" + }, + { + "reference": "urn:uuid:a207ec95-2db6-4940-bf72-34b12d39c92d" + }, + { + "reference": "urn:uuid:bb1ac1f0-f634-4b16-9c10-75ffd54b2f7a" + }, + { + "reference": "urn:uuid:674a9fa8-d00a-41e9-a49d-7eb658123d73" + }, + { + "reference": "urn:uuid:cb7ff293-27ac-42bc-8380-4c192a1b2742" + }, + { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + { + "reference": "urn:uuid:4c131060-003c-44c2-ade1-8546b1167699" + }, + { + "reference": "urn:uuid:77b221fa-cdd9-4b4e-aff7-3baa21f89abf" + }, + { + "reference": "urn:uuid:f6081ea9-9ef6-49fe-a7d4-637d05849510" + }, + { + "reference": "urn:uuid:3237247a-5267-4660-b88f-a90ac5cf172b" + }, + { + "reference": "urn:uuid:a5655945-9d9e-485e-a060-1595fb21f903" + }, + { + "reference": "urn:uuid:ab29315d-0d89-4da3-b7c7-8eff6b6dca98" + }, + { + "reference": "urn:uuid:d92483b1-f30f-443e-8b1b-2f2ea8a629c1" + }, + { + "reference": "urn:uuid:c3b4ea3d-8ee6-4bba-b20e-7a675edfce1f" + }, + { + "reference": "urn:uuid:b2ede4c2-a035-430e-9ab3-41dede9cf93f" + }, + { + "reference": "urn:uuid:fe732b5a-ab89-401a-af62-86322ca9c912" + }, + { + "reference": "urn:uuid:9c928c11-5300-4426-b704-27cc9e8e4ac3" + }, + { + "reference": "urn:uuid:422c7f20-5b7c-4fa3-a256-6ba5e4f33f3b" + }, + { + "reference": "urn:uuid:15c553a2-5218-4ecb-a3ec-5fe37270c1eb" + }, + { + "reference": "urn:uuid:370237e5-4823-4c6b-a945-e11e7a5de49c" + }, + { + "reference": "urn:uuid:e62da0b8-d362-4bc4-b182-0b18dc3fb97d" + }, + { + "reference": "urn:uuid:6a117173-fd5e-4928-8f60-410814a15fa8" + }, + { + "reference": "urn:uuid:8194e9b8-c991-4506-923c-6f7b939af9b2" + }, + { + "reference": "urn:uuid:ae83e5ae-e34f-482f-b883-ce6cb9ac21c0" + }, + { + "reference": "urn:uuid:3a6b2e56-a04b-439f-ac1c-301c7a066369" + }, + { + "reference": "urn:uuid:4b8e1bca-ea79-40b2-9337-5cb699ec6944" + }, + { + "reference": "urn:uuid:5727335a-ae5b-46c0-8867-cd024621cda8" + }, + { + "reference": "urn:uuid:e483ebfe-775b-4a47-ab5a-66be5cb37268" + }, + { + "reference": "urn:uuid:69028bd1-849e-4955-9858-9c692016ede6" + }, + { + "reference": "urn:uuid:bf534a85-a451-4b81-b454-becd4025193f" + }, + { + "reference": "urn:uuid:96875074-9e97-4ea7-9311-d1f9065baeed" + }, + { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + { + "reference": "urn:uuid:bc5579b5-2ca3-4535-a9d6-951aac500a27" + }, + { + "reference": "urn:uuid:f11d0c63-92f3-4b0e-933a-a1a727465258" + }, + { + "reference": "urn:uuid:1681af37-ee93-49ff-b108-ead7689f6250" + }, + { + "reference": "urn:uuid:0e03d2c2-1ffa-4ebb-91bb-458b07dffd0a" + }, + { + "reference": "urn:uuid:db926460-0851-4148-a1c8-324c4a7c1ad2" + }, + { + "reference": "urn:uuid:41bcfaef-3971-430d-8386-e564da61f90d" + }, + { + "reference": "urn:uuid:e49b77c0-588f-4551-bca2-ea8f21664ba7" + }, + { + "reference": "urn:uuid:e2444317-5049-48c7-ac3d-6b30586890ab" + }, + { + "reference": "urn:uuid:ef97494d-9f95-40eb-9764-2f3d584db91f" + }, + { + "reference": "urn:uuid:b043c9e3-58c8-4c1e-902b-b61b4e606302" + }, + { + "reference": "urn:uuid:ebf8b1b7-318d-4b21-9a65-20132a6ed8da" + }, + { + "reference": "urn:uuid:a9c106a8-39f5-4808-8b63-3b92f5a2cd47" + }, + { + "reference": "urn:uuid:40609dd9-4e93-4760-9cf0-1343eb69b910" + }, + { + "reference": "urn:uuid:f009a6e4-02c3-4518-b7b2-faad9f4b12e1" + }, + { + "reference": "urn:uuid:f9e7be0a-2b59-4810-a304-d30ec2a5b0b9" + }, + { + "reference": "urn:uuid:a0347dcb-3901-4c64-97fa-d91547080902" + }, + { + "reference": "urn:uuid:1a381821-4247-412b-8e57-8e66506e0343" + }, + { + "reference": "urn:uuid:7bb7038c-4c56-4f79-9d29-c93b5ddfc3ed" + }, + { + "reference": "urn:uuid:fdb1cbc7-39fc-4a54-8796-6aa08c5b9dfb" + }, + { + "reference": "urn:uuid:4f939f5c-a598-4929-add3-cb86867996bc" + }, + { + "reference": "urn:uuid:4a4cd1fb-c0a8-4fa2-b53c-4f51bd336ed9" + }, + { + "reference": "urn:uuid:d5e276fb-c14e-4cb4-86d6-96dd6613308b" + }, + { + "reference": "urn:uuid:90e1d45a-c151-452c-9917-edb5e373da8c" + }, + { + "reference": "urn:uuid:ac50dcd3-3a90-42f3-ad5f-3022c481c5a0" + }, + { + "reference": "urn:uuid:b40367ac-3a3c-49db-ace4-5d10143433e0" + }, + { + "reference": "urn:uuid:b0776459-aacf-4429-8777-e9d9f6ac6356" + }, + { + "reference": "urn:uuid:384e02d7-2e91-4680-97e9-6af9b90497bc" + }, + { + "reference": "urn:uuid:54e1e43c-e24b-4e6f-8644-71da534d588d" + }, + { + "reference": "urn:uuid:65088070-ba9d-4963-9fda-889c9f8ac0cd" + }, + { + "reference": "urn:uuid:47d67403-5448-470c-807a-17fe4a1be47b" + }, + { + "reference": "urn:uuid:9365de57-307a-4de1-857f-29732b785c0c" + }, + { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + { + "reference": "urn:uuid:3fa50573-c2e4-4d7a-b1e7-570e90465117" + }, + { + "reference": "urn:uuid:6a092fd3-539c-4ae8-9741-99a65c40f24b" + }, + { + "reference": "urn:uuid:edaf7d2a-0037-4cc4-aab2-dd96ede72799" + }, + { + "reference": "urn:uuid:defca8cd-b980-483b-8b3d-5d673acbdbab" + }, + { + "reference": "urn:uuid:8dc70997-71e3-431d-87fe-8ff34cd63ba1" + }, + { + "reference": "urn:uuid:cb5a2bbc-de9d-4926-b1c3-c4dadd6f19c5" + }, + { + "reference": "urn:uuid:3bc7e770-582c-4d02-bd12-82f2eaad0806" + }, + { + "reference": "urn:uuid:3937a53f-0bc7-41ca-89e3-75e8359c513b" + }, + { + "reference": "urn:uuid:3ba5796c-4d7e-4034-a897-af99beeb6913" + }, + { + "reference": "urn:uuid:a3c7cad8-3976-4cca-af92-a4c642b1828d" + }, + { + "reference": "urn:uuid:248fa34e-e625-4393-806d-0a06d553d0ae" + }, + { + "reference": "urn:uuid:6ddf58ff-b453-4045-8ae8-f1cf34a61b05" + }, + { + "reference": "urn:uuid:8bbc3a39-8c8e-4ced-bdd2-1d3e4b6f29c2" + }, + { + "reference": "urn:uuid:e5ad2326-c9fc-4521-a4d0-f2a11a343f1f" + }, + { + "reference": "urn:uuid:23546ede-1dd0-4757-8d30-8b3b3182b2e6" + }, + { + "reference": "urn:uuid:957f679d-fa50-4a6c-9e87-164e8a974ed4" + }, + { + "reference": "urn:uuid:f1dd8bc1-a848-47fa-b7d6-63f9693ebf12" + }, + { + "reference": "urn:uuid:b399e705-b003-4c31-b1c2-9fee9552d487" + }, + { + "reference": "urn:uuid:5224e0ef-fba2-4e6a-a9b9-75b000f09aa7" + }, + { + "reference": "urn:uuid:dd529300-f00d-4179-a72a-64789b7f28bf" + }, + { + "reference": "urn:uuid:8a5cac6b-4ab1-4071-88ef-f05353cd51e1" + }, + { + "reference": "urn:uuid:b608e9ae-f41d-4e73-8c9f-7e73e7a54893" + }, + { + "reference": "urn:uuid:1a4b6041-3774-41e8-916f-4e23d9e0b85c" + }, + { + "reference": "urn:uuid:391b44d6-2795-4949-96be-c8bdd947f5a4" + }, + { + "reference": "urn:uuid:de8082de-e6bb-4050-afff-d267a1da6c0e" + }, + { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + { + "reference": "urn:uuid:5f3eba41-7b28-469b-9e85-48870c9424be" + }, + { + "reference": "urn:uuid:f90f27f8-c442-48d5-a76f-4d987b32a3aa" + }, + { + "reference": "urn:uuid:f3087323-9ad9-4513-bf48-a6686fc93949" + }, + { + "reference": "urn:uuid:446dd387-3847-4523-b1df-8c1f01eefa19" + }, + { + "reference": "urn:uuid:cbaeb79c-cbf0-40a7-a50c-729f8f4a0934" + }, + { + "reference": "urn:uuid:ed3aa6e1-d4a4-48ae-89d3-f9cb71d37647" + }, + { + "reference": "urn:uuid:3dda37ff-1a24-4de2-93a6-23eb6a6969e1" + }, + { + "reference": "urn:uuid:b9637bc3-1918-40fa-8ad8-a618752971a3" + }, + { + "reference": "urn:uuid:8d1d0bed-b36d-4a1a-8486-bea42e622de9" + }, + { + "reference": "urn:uuid:73b223fd-88c7-4610-b4d2-206f4143a3e7" + }, + { + "reference": "urn:uuid:451034d9-c038-4794-a4e4-b23ee7a94a78" + }, + { + "reference": "urn:uuid:400372d0-a7ea-4388-99d4-95ef1071a716" + }, + { + "reference": "urn:uuid:dc236191-55fa-4c96-8c48-1e003ebaa08c" + }, + { + "reference": "urn:uuid:c1f8b46f-18a8-47a6-a8b6-1ad3a52fa37e" + }, + { + "reference": "urn:uuid:4e05e810-afe3-4992-9f91-14c9d36db93a" + }, + { + "reference": "urn:uuid:201a28b3-77b3-4be6-8a0f-833003453de7" + }, + { + "reference": "urn:uuid:844c17d8-4a0c-4cf1-a8a6-4d5e18aa16d3" + }, + { + "reference": "urn:uuid:fbf2ea35-9545-44b4-9b7b-c49a1002f49c" + }, + { + "reference": "urn:uuid:d31f7fa4-e0ac-4b27-af28-71e7c41ada9c" + }, + { + "reference": "urn:uuid:d4172fc8-cd8d-4f40-863e-3ea2b5512239" + }, + { + "reference": "urn:uuid:e8c756c1-7fb6-4151-b801-29c1c5ec35b2" + }, + { + "reference": "urn:uuid:d1d7b306-3443-4331-9071-56e92432f950" + }, + { + "reference": "urn:uuid:6ed87cee-192a-4358-82d6-34ab2a7ce840" + }, + { + "reference": "urn:uuid:6a594c04-6751-4ccd-8cfc-d769fd3f125e" + }, + { + "reference": "urn:uuid:453cb389-8554-4d2b-be3a-16e894908c38" + }, + { + "reference": "urn:uuid:a18757d5-4ce1-480d-87c6-8a43520688d7" + }, + { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + { + "reference": "urn:uuid:a312b0aa-d47f-4bd8-8227-f336c5b86f99" + }, + { + "reference": "urn:uuid:809b7b2f-8412-407a-a084-3813822e75f4" + }, + { + "reference": "urn:uuid:fbba73a8-4f90-4107-b682-c031e93e50fc" + }, + { + "reference": "urn:uuid:47403a7d-213f-43e5-8485-ee10f3a7eec4" + }, + { + "reference": "urn:uuid:7ff80d1f-a390-41b7-94c0-c97608405a64" + }, + { + "reference": "urn:uuid:c46ac852-0c0c-43ae-be29-820018452a38" + }, + { + "reference": "urn:uuid:03207fb1-a550-42f6-8bd7-a2c1f3ac8ab7" + }, + { + "reference": "urn:uuid:aeaeffb6-c4d1-4275-8980-3bc5d3bb3d00" + }, + { + "reference": "urn:uuid:35032147-4d1d-4cbf-885b-9640ea563c4d" + }, + { + "reference": "urn:uuid:8025d499-1e4a-46f8-ad2e-1ee743bd9257" + }, + { + "reference": "urn:uuid:c533bc2f-7c54-4b99-8be8-6fdffef6e1ea" + }, + { + "reference": "urn:uuid:fc521c56-1e41-4036-8484-244c95325778" + }, + { + "reference": "urn:uuid:95670123-c09d-4884-97f2-c4b4b2b2b090" + }, + { + "reference": "urn:uuid:10ef92e8-18a0-4566-9e8a-f650c8e6f986" + }, + { + "reference": "urn:uuid:f5330a15-9570-4b36-9294-a51058d8d049" + }, + { + "reference": "urn:uuid:69d3a051-1788-45d6-ad85-c3488d7de7aa" + }, + { + "reference": "urn:uuid:a1baf5b3-93de-4d16-b7ad-180abfa48c79" + }, + { + "reference": "urn:uuid:63166ac7-b99e-4711-bcf1-bfefe0824c18" + }, + { + "reference": "urn:uuid:7909fefa-a64f-488b-8f11-d79aab728068" + }, + { + "reference": "urn:uuid:73b004c9-04c7-40f2-ad1f-553f7e71660f" + }, + { + "reference": "urn:uuid:d44f74eb-f859-4729-ad8b-dba6074f7a41" + }, + { + "reference": "urn:uuid:a39ba7d0-f20a-4344-8d86-67ba5231d162" + }, + { + "reference": "urn:uuid:2c33007d-47df-4c33-8a8f-10107713162e" + }, + { + "reference": "urn:uuid:70da1bdb-4f75-4d15-92d3-f3c858fe9b4a" + }, + { + "reference": "urn:uuid:3a5edd09-0f0d-4690-8f85-9d627e5a5121" + }, + { + "reference": "urn:uuid:e6455ae6-4852-4f7d-adf3-7a3bbff0ac95" + }, + { + "reference": "urn:uuid:dc7635f6-de33-4a2b-a42b-6b0dcdb48299" + }, + { + "reference": "urn:uuid:4f6911c1-ac5d-4fcd-ab79-9d68dc8bcfb0" + }, + { + "reference": "urn:uuid:a034f8ec-9f09-4f3d-a2cd-89f70e7f9ea2" + }, + { + "reference": "urn:uuid:fff28476-b3a3-4324-9314-453c257538c2" + }, + { + "reference": "urn:uuid:6e8c3d60-9166-4449-9c0f-a235bf3525d4" + }, + { + "reference": "urn:uuid:19584cf5-ca16-4b44-b284-887bc05ab9f9" + }, + { + "reference": "urn:uuid:de09084a-8010-4dab-a509-8f5749c0c1f9" + }, + { + "reference": "urn:uuid:849450f9-be1d-44a5-9640-b0d48ca95ac2" + }, + { + "reference": "urn:uuid:19f55536-11a8-4ae0-ab90-bb674d0e20c9" + }, + { + "reference": "urn:uuid:c0a584b2-bfff-4ea0-bda2-af162d77b9cb" + }, + { + "reference": "urn:uuid:ac9c74c9-a21e-42b9-bfab-f83b204ca193" + }, + { + "reference": "urn:uuid:cd619c20-fa5c-43bd-8472-7a51ea2fa4d2" + }, + { + "reference": "urn:uuid:9cab30d0-3f65-4ed2-8207-ddbe680fb817" + }, + { + "reference": "urn:uuid:4d822e68-e098-4850-a077-b831ecc3d65c" + }, + { + "reference": "urn:uuid:2f447df9-c1c7-4184-8ed8-1b0d4c2722af" + }, + { + "reference": "urn:uuid:98077579-ec65-48bd-b379-f58f1874f519" + }, + { + "reference": "urn:uuid:4b3e25bf-5805-4361-9ece-4907fc3628c5" + }, + { + "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" + }, + { + "reference": "urn:uuid:5b09357c-ee84-4488-8e37-9fc509f2626a" + }, + { + "reference": "urn:uuid:2e2a6efd-8836-4edb-8a1b-4411906dfa06" + }, + { + "reference": "urn:uuid:5605e654-548a-4a6f-b6e7-1d44acf833bf" + }, + { + "reference": "urn:uuid:24d9d22e-fe26-4dd7-8f85-44da6ba12312" + }, + { + "reference": "urn:uuid:21960643-d609-4531-9577-a78966cf5dfe" + }, + { + "reference": "urn:uuid:01f46a34-c2f2-4b25-bee9-f2c86986b7e9" + }, + { + "reference": "urn:uuid:7079afeb-d7ae-48d5-a523-b9c80c52b3a0" + }, + { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + { + "reference": "urn:uuid:592886be-d31e-4169-ad85-fe19be2f4f8a" + }, + { + "reference": "urn:uuid:15bb9fb1-9f8a-4d9b-a1de-648d21ae98df" + }, + { + "reference": "urn:uuid:a860dc24-414a-4535-a0af-9b51061ff67c" + }, + { + "reference": "urn:uuid:a5483d32-1e68-453e-ab0d-acf9b1934624" + }, + { + "reference": "urn:uuid:ddb674dc-4437-484f-b04e-b12cf41c8f2c" + }, + { + "reference": "urn:uuid:2d7e2a12-b2a8-4ba6-bffe-275a0d23489f" + }, + { + "reference": "urn:uuid:a22ee9a8-8b01-449e-a9b9-6738984bf592" + }, + { + "reference": "urn:uuid:f5a86b3f-c902-45ae-ab2e-e9fa42d4abb3" + }, + { + "reference": "urn:uuid:f88d36d4-e2bc-443f-ba77-ce7849890d8e" + }, + { + "reference": "urn:uuid:0faa8bca-5f39-473e-90cb-cf3438350b8d" + }, + { + "reference": "urn:uuid:10c4329c-8664-4561-b7c0-5cd935c4e9ba" + }, + { + "reference": "urn:uuid:d46b61a7-272c-4773-9fe2-292192c53e51" + }, + { + "reference": "urn:uuid:4c1fcff5-ecfe-4c09-a3fc-63768387cc7e" + }, + { + "reference": "urn:uuid:258b96ee-b0b7-4c23-9ce1-679183791d60" + }, + { + "reference": "urn:uuid:af1dea09-d9d9-44bf-a9bf-5839246439b1" + }, + { + "reference": "urn:uuid:c8127202-2870-48fd-907d-6a6630219afb" + }, + { + "reference": "urn:uuid:27638834-92a5-4ba7-a865-947e2f070044" + }, + { + "reference": "urn:uuid:5d417f37-4bc9-4d0a-baa4-a52e44dbe102" + }, + { + "reference": "urn:uuid:0e7ae71f-7d13-4984-b0f7-2b7d04a92935" + }, + { + "reference": "urn:uuid:9057196d-a979-4d0c-b55a-15542ce10f78" + }, + { + "reference": "urn:uuid:c8df444c-06f2-470b-98e5-f71f7a420ce6" + }, + { + "reference": "urn:uuid:01c18bb7-3fe8-43af-a187-6080fa2df2e4" + }, + { + "reference": "urn:uuid:91089422-ae73-4418-ada4-b732957fb516" + }, + { + "reference": "urn:uuid:0548a6a3-6787-4af5-9204-e5644b3ac085" + }, + { + "reference": "urn:uuid:424bb4c3-5575-418b-9fc2-0dda1fac3c03" + }, + { + "reference": "urn:uuid:dc5d7d94-a06c-406e-a9f1-caf6a8563502" + }, + { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + { + "reference": "urn:uuid:5d9db7bf-5511-419c-bc58-fdb70ed28e37" + }, + { + "reference": "urn:uuid:86a395bc-1fad-4a69-aa01-bb61adf7725c" + }, + { + "reference": "urn:uuid:3bd26db8-4098-4d34-8ff4-928972f64662" + }, + { + "reference": "urn:uuid:9e56a891-9a23-4beb-966d-f9ac2df6c297" + }, + { + "reference": "urn:uuid:17716b12-d22c-4fb9-96b6-1ba9b963de42" + }, + { + "reference": "urn:uuid:3b19757e-89d7-4827-ae1e-ac82c7606d2a" + }, + { + "reference": "urn:uuid:11280c85-e075-4052-89ce-71079b938d53" + }, + { + "reference": "urn:uuid:66644441-ac77-4b8d-b2ac-14bbcec04053" + }, + { + "reference": "urn:uuid:9290113c-a3c6-446d-ac0d-0d2a5be4f4e7" + }, + { + "reference": "urn:uuid:d6bacda8-7ea4-44de-88b8-f9daa4640598" + }, + { + "reference": "urn:uuid:c9080612-2fbf-4fcd-86f9-e1fff14bec39" + }, + { + "reference": "urn:uuid:2e911ab2-40a5-45cc-bf33-0947ab8153fe" + }, + { + "reference": "urn:uuid:fbf09b71-cf90-48ce-812c-2956c3dea698" + }, + { + "reference": "urn:uuid:c4d3c024-a1c6-47c2-bc75-ac0fca030ff5" + }, + { + "reference": "urn:uuid:a6f7388a-a584-4b75-8005-accd2d3522fe" + }, + { + "reference": "urn:uuid:d9ea11ff-5101-4fba-a384-ac86b4bb1430" + }, + { + "reference": "urn:uuid:d88c2f66-9e3d-4486-a242-e412a08b4490" + }, + { + "reference": "urn:uuid:52d27283-7e29-486b-b03b-0fc929cf196c" + }, + { + "reference": "urn:uuid:5af5857e-8f25-4729-a583-57ba2f81f967" + }, + { + "reference": "urn:uuid:875458b6-ca9f-4a87-807a-e556f6944a21" + }, + { + "reference": "urn:uuid:e55e4949-2d64-44db-9f61-30b216c13b7d" + }, + { + "reference": "urn:uuid:20e9e65f-1d92-402a-9d62-69f29b503b8f" + }, + { + "reference": "urn:uuid:5ce36665-e2de-4a18-b68e-4e71eecd468b" + }, + { + "reference": "urn:uuid:c8706880-188d-4f7b-aca4-7179dab7ed4b" + }, + { + "reference": "urn:uuid:9b1d9bba-4bbb-4bda-9cf7-ac5b07611754" + }, + { + "reference": "urn:uuid:8b34476d-180c-407a-adc3-82aa7e4505b0" + }, + { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + { + "reference": "urn:uuid:6689d45e-0f45-4ffe-b665-12dfc2cc03b5" + }, + { + "reference": "urn:uuid:3313498c-44e7-447a-be10-fc408540ee4a" + }, + { + "reference": "urn:uuid:c4909481-052c-4375-9788-ae89037b4241" + }, + { + "reference": "urn:uuid:a9879bc0-0c50-486d-9881-e2088e226b5b" + }, + { + "reference": "urn:uuid:c0ee8845-d480-4a92-a596-564af06fd05c" + }, + { + "reference": "urn:uuid:1f8bb2b9-a180-41e1-97b4-5ce1c2260eb6" + }, + { + "reference": "urn:uuid:5444a546-530c-46bb-a743-48c991e65006" + }, + { + "reference": "urn:uuid:4a0e11d6-ea52-4f59-a211-fdb93cfff482" + }, + { + "reference": "urn:uuid:852d9cbe-ee4d-459d-9fa1-69a32209851b" + }, + { + "reference": "urn:uuid:ba6ce35c-0035-4caf-9d80-7cd8a2adb1d8" + }, + { + "reference": "urn:uuid:04656ac4-4944-455f-878b-39ea949b4e5f" + }, + { + "reference": "urn:uuid:244fa692-7776-43fd-932b-c1d12775da58" + }, + { + "reference": "urn:uuid:e9ee497a-9be1-441b-bd04-845f58da28e7" + }, + { + "reference": "urn:uuid:01cacb9c-fad4-4441-bee8-3b043c46d11f" + }, + { + "reference": "urn:uuid:56be2677-c7c6-4b4e-8479-f559b4b32823" + }, + { + "reference": "urn:uuid:0de94e85-3015-482e-b340-0e5df78ddaeb" + }, + { + "reference": "urn:uuid:ced86e98-7706-4f47-825c-ce79ecff348f" + }, + { + "reference": "urn:uuid:7b1158d8-d2a6-4027-9d0b-478dcba7818f" + }, + { + "reference": "urn:uuid:d6701c30-9e32-41a4-a508-e7b89d925c30" + }, + { + "reference": "urn:uuid:52893d6e-9bed-443f-8176-5444a57a1c84" + }, + { + "reference": "urn:uuid:a405d702-2710-4bf0-9304-6872d44be7b3" + }, + { + "reference": "urn:uuid:49ddff02-26bf-465d-9fc9-dc00f0bfe5fd" + }, + { + "reference": "urn:uuid:82fc90be-4c3d-4e04-9011-079ea1d32a70" + }, + { + "reference": "urn:uuid:6dc8a3d3-1ffa-4827-8a83-b6f56b3e87fb" + }, + { + "reference": "urn:uuid:efd5f80d-3c04-44a5-bcc6-1a9858d8b2fd" + }, + { + "reference": "urn:uuid:bba2d963-c2fd-43c8-a3a4-e7331119966a" + }, + { + "reference": "urn:uuid:30d4f06d-d5a6-4833-8519-7d01923d2465" + }, + { + "reference": "urn:uuid:5d6f244c-dc14-4d30-b585-d984885648dd" + }, + { + "reference": "urn:uuid:dabb3861-b276-4f7f-80d1-990c1c8e92de" + }, + { + "reference": "urn:uuid:3af8a41e-da2f-4623-83e6-b448b6fa8a2e" + }, + { + "reference": "urn:uuid:4a9fe7c8-a98b-4be2-9362-d0380c684c67" + } + ], + "recorded": "2020-03-13T04:25:21.151-04:00", + "agent": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", + "code": "author", + "display": "Author" + } + ], + "text": "Author" + }, + "who": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "onBehalfOf": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + { + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type|3.1.1", + "code": "transmitter", + "display": "Transmitter" + } + ], + "text": "Transmitter" + }, + "who": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "onBehalfOf": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Provenance" + } + } + ] +} diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/tests/smoking.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/tests/smoking.json new file mode 100644 index 00000000000..590df2782db --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/tests/smoking.json @@ -0,0 +1,49 @@ +{ + "resourceType": "Observation", + "id": "52893d6e-9bed-443f-8176-5444a57a1c84", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/tests/us-core-careplan.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/tests/us-core-careplan.json new file mode 100644 index 00000000000..be13697ad53 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/tests/us-core-careplan.json @@ -0,0 +1,108 @@ +{ + "resourceType": "CarePlan", + "id": "a6a822c0-0b60-438a-940e-064c3fdfb456", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan|3.1.1" + ] + }, + "text": { + "status": "generated", + "div": "
Care Plan for Self-care interventions (procedure).
Activities:
  • Self-care interventions (procedure)
  • Self-care interventions (procedure)
  • Self-care interventions (procedure)
" + }, + "status": "active", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + }, + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "384758001", + "display": "Self-care interventions (procedure)" + } + ], + "text": "Self-care interventions (procedure)" + } + ], + "subject": { + "reference": "Patient/4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "Encounter/3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + }, + "period": { + "start": "1981-03-31T03:25:21-05:00" + }, + "careTeam": [ + { + "reference": "CareTeam/7b707022-dbe7-44a4-8063-596558bd0459" + } + ], + "activity": [ + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "409002", + "display": "Food allergy diet" + } + ], + "text": "Food allergy diet" + }, + "status": "in-progress", + "location": { + "reference": "Location/5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + }, + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "58332002", + "display": "Allergy education" + } + ], + "text": "Allergy education" + }, + "status": "in-progress", + "location": { + "reference": "Location/5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + }, + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "58332002", + "display": "Allergy education" + } + ], + "text": "Allergy education" + }, + "status": "in-progress", + "location": { + "reference": "Location/5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/us-core-patient-no-name-asserted.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/tests/us-core-patient-no-name-asserted.json similarity index 100% rename from conformance/fhir-ig-us-core/src/test/resources/JSON/us-core-patient-no-name-asserted.json rename to conformance/fhir-ig-us-core/src/test/resources/JSON/311/tests/us-core-patient-no-name-asserted.json diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/us-core-patient-no-name-not-asserted.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/tests/us-core-patient-no-name-not-asserted.json similarity index 100% rename from conformance/fhir-ig-us-core/src/test/resources/JSON/us-core-patient-no-name-not-asserted.json rename to conformance/fhir-ig-us-core/src/test/resources/JSON/311/tests/us-core-patient-no-name-not-asserted.json diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/us-core-patient.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/tests/us-core-patient.json similarity index 100% rename from conformance/fhir-ig-us-core/src/test/resources/JSON/us-core-patient.json rename to conformance/fhir-ig-us-core/src/test/resources/JSON/311/tests/us-core-patient.json diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/AllergyIntolerance-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/AllergyIntolerance-example.json new file mode 100644 index 00000000000..5d70750d662 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/AllergyIntolerance-example.json @@ -0,0 +1,74 @@ +{ + "resourceType": "AllergyIntolerance", + "id": "example", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "AllergyIntolerance Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a allergyintolerance example for the *US Core AllergyIntolerance Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

clinicalStatus: Active

verificationStatus: Confirmed

category: medication

criticality: high

code: sulfonamide antibacterial

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

Reactions

-ManifestationSeverity
*skin rashmild
" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "confirmed" + } + ] + }, + "category": [ + "medication" + ], + "criticality": "high", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "763875007", + "display": "Product containing sulfonamide (product)" + } + ], + "text": "sulfonamide antibacterial" + }, + "patient": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + }, + "reaction": [ + { + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "271807003", + "display": "skin rash" + } + ], + "text": "skin rash" + } + ], + "severity": "mild" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json new file mode 100644 index 00000000000..29c08caf7bf --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json @@ -0,0 +1,238 @@ +{ + "resourceType": "Bundle", + "id": "66c8856b-ba11-4876-8aa8-467aad8c11a2", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "PractitionerRole_Practitioner_Endpoint_Bundle_Example Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a PractitionerRole_Practitioner_Endpoint_Bundle_Example example for the *Bundle Profile*." + } + ] + }, + "type": "searchset", + "total": 1, + "link": [ + { + "relation": "self", + "url": "http://52.90.126.238:8080/fhir/baseDstu3/PractitionerRole?_id=PractitionerRole-1&_include=PractitionerRole%3Apractitioner&_include=PractitionerRole%3Aendpoint" + } + ], + "entry": [ + { + "fullUrl": "http://52.90.126.238:8080/fhir/baseDstu3/PractitionerRole/PractitionerRole-1", + "resource": { + "resourceType": "PractitionerRole", + "id": "PractitionerRole-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

practitioner: Brenda Jennings Richard MD. Generated Summary: id: 000001011 (OFFICIAL), id: 9999991011 (OFFICIAL), id: d46f70565a1042f6a6ece48dd81b408f (OFFICIAL); Brenda Jennings Richard ; Phone: 313-555-6868, Phone: 313-555-6443; gender: female; birthDate: 1976-11-15

organization: Acme Lab. Generated Summary: id: 1144221847, id: 12D4567890; active; Healthcare Provider; name: Acme Labs; Phone: (+1) 734-677-7777, hq@acme.org

code: Primary Care Clinic/Center

specialty: General Practice Physician

location: Health Level Seven International. Generated Summary: id: 29; status: active; name: Health Level Seven International - Amherst; description: HL7 Headquarters - East; Phone: (+1) 734-677-7777

endpoint:

" + }, + "practitioner": { + "reference": "Practitioner/Practitioner-1011", + "display": "Brenda Jennings Richard MD" + }, + "organization": { + "reference": "Organization/acme-lab", + "display": "Acme Lab" + }, + "code": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "261QP2300X", + "display": "Primary Care Clinic/Center" + } + ] + } + ], + "specialty": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "208D00000X", + "display": "General Practice Physician" + } + ] + } + ], + "location": [ + { + "reference": "Location/hl7east", + "display": "Health Level Seven International" + } + ], + "endpoint": [ + { + "reference": "Endpoint/71", + "display": "Westwood Physicians Organization ADT" + }, + { + "reference": "Endpoint/71", + "display": "Brenda.Jennings.Richard.MD@direct.example.org" + } + ] + }, + "search": { + "mode": "match" + } + }, + { + "fullUrl": "http://52.90.126.238:8080/fhir/baseDstu3/Practitioner/Practitioner-1011", + "resource": { + "resourceType": "Practitioner", + "id": "Practitioner-1011", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

identifier: id: 000001011 (OFFICIAL), id: 9999991011 (OFFICIAL), id: d46f70565a1042f6a6ece48dd81b408f (OFFICIAL)

name: Brenda Jennings Richard

telecom: ph: 313-555-6868(HOME), ph: 313-555-6443(WORK)

address: 346 W Plum Avenu Dearborn MI 48123

gender: female

birthDate: 1976-11-15

Qualifications

-IdentifierCodeIssuer
*Michigan Medical License: LARA-1011 (OFFICIAL)Medical DoctorMichigan Department of Licensing and Regulatory Affairs
" + }, + "identifier": [ + { + "use": "official", + "system": "http://hl7.org/fhir/sid/us-ssn", + "value": "000001011" + }, + { + "use": "official", + "system": "http://hl7.org/fhir/sid/us-npi", + "value": "9999991011" + }, + { + "use": "official", + "system": "http://mihin.org/fhir/cks", + "value": "d46f70565a1042f6a6ece48dd81b408f" + } + ], + "name": [ + { + "family": "Richard", + "given": [ + "Brenda", + "Jennings" + ], + "suffix": [ + "MD" + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "313-555-6868", + "use": "home" + }, + { + "system": "phone", + "value": "313-555-6443", + "use": "work" + } + ], + "address": [ + { + "text": "346 W Plum Avenu Dearborn MI 48123", + "line": [ + "346 W Plum Avenue" + ], + "city": "Dearborn", + "state": "MI", + "postalCode": "48126" + } + ], + "gender": "female", + "birthDate": "1976-11-15", + "qualification": [ + { + "identifier": [ + { + "use": "official", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MD", + "display": "Medical License number" + } + ], + "text": "Michigan Medical License" + }, + "system": "http://michigan.gov/fhir/medical-license", + "value": "LARA-1011", + "assigner": { + "display": "State of Michigan" + } + } + ], + "code": { + "coding": [ + { + "system": "http://michigan.gov/lara/license-type", + "code": "4305", + "display": "Medical Doctor" + } + ] + }, + "issuer": { + "display": "Michigan Department of Licensing and Regulatory Affairs" + } + } + + ] + }, + "search": { + "mode": "include" + } + }, + { + "fullUrl": "http://52.90.126.238:8080/fhir/baseDstu3/Endpoint/Endpoint-71", + "resource": { + "resourceType": "Endpoint", + "id": "71", + "text": { + "status": "generated", + "div": "

Generated Narrative

status: active

connectionType: Direct Project

name: Brenda.Jennings.Richard.MD@direct.example.org

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

payloadType: urn:hl7-org:sdwg:ccda-structuredBody:1.1

payloadMimeType: text/xml

address: Brenda.Jennings.Richard.MD@direct.example.org

" + }, + "status": "active", + "connectionType": { + "system": "http://terminology.hl7.org/CodeSystem/endpoint-connection-type", + "code": "direct-project" + }, + "name": "Brenda.Jennings.Richard.MD@direct.example.org", + "managingOrganization": { + "reference": "Organization/acme-lab" + }, + "payloadType": [ + { + "coding": [ + { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", + "code": "urn:hl7-org:sdwg:ccda-structuredBody:1.1" + } + ] + } + ], + "payloadMimeType": [ + "text/xml" + ], + "address": "mailto:Brenda.Jennings.Richard.MD@direct.example.org" + }, + "search": { + "mode": "include" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json new file mode 100644 index 00000000000..1980783824c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json @@ -0,0 +1,146 @@ +{ + "resourceType": "Bundle", + "id": "c887e62f-6166-419f-8268-b5ecd6c7b901", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "AllergyIntolerance Provenance Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a allergyintolerance provenance example for the *Bundle Profile*." + } + ], + "lastUpdated": "2019-07-09T18:49:01.235+00:00" + }, + "type": "searchset", + "total": 1, + "link": [ + { + "relation": "self", + "url": "http://example.org/fhir/AllergyIntolerance?_revinclude=Provenance%3Atarget&patient=Examples" + } + ], + "entry": [ + { + "fullUrl": "http://example.org/fhir/AllergyIntolerance/79613", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "79613", + "meta": { + "versionId": "1", + "lastUpdated": "2019-07-09T15:26:23.217+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

clinicalStatus: Active

verificationStatus: Confirmed

category: medication

criticality: high

code: Peanuts

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

onset: 2017-06-09

Reactions

-ManifestationOnset
*Hives2017-06-09
" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active", + "display": "Active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "confirmed", + "display": "Confirmed" + } + ] + }, + "category": [ + "medication" + ], + "criticality": "high", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "762952008", + "display": "Peanuts" + } + ], + "text": "Peanuts" + }, + "patient": { + "reference": "Patient/example" + }, + "onsetDateTime": "2017-06-09", + "reaction": [ + { + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "247472004", + "display": "Hives" + } + ] + } + ], + "onset": "2017-06-09" + } + ] + }, + "search": { + "mode": "match" + } + }, + { + "fullUrl": "http://example.org/fhir/Provenance/79614", + "resource": { + "resourceType": "Provenance", + "id": "79614", + "meta": { + "versionId": "1", + "lastUpdated": "2019-07-09T15:26:23.217+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "target": [ + { + "reference": "AllergyIntolerance/79613" + } + ], + "recorded": "2019-07-09T15:26:23.217+00:00", + "agent": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", + "code": "author", + "display": "Author" + } + ] + }, + "who": { + "reference": "Practitioner/practitioner-1" + }, + "onBehalfOf": { + "reference": "Organization/saint-luke-w-endpoint" + } + } + ] + }, + "search": { + "mode": "include" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Bundle-uscore-mo3.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Bundle-uscore-mo3.json new file mode 100644 index 00000000000..d3c38c68400 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Bundle-uscore-mo3.json @@ -0,0 +1,91 @@ +{ + "resourceType": "Bundle", + "id": "uscore-mo3", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Uscore MO3 Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a uscore mo3 example for the *Bundle Profile*." + } + ] + }, + "type": "searchset", + "total": 1, + "link": [ + { + "relation": "self", + "url": "http://test.fhir.org/r4/MedicationRequest?search-id=4085956e-63b8-402d-b181-325040fdb9&&_id=uscore%2Dmo3&_include=MedicationRequest%3Amedication&_sort=_id" + } + ], + "entry": [ + { + "fullUrl": "http://test.fhir.org/r4/MedicationRequest/uscore-mo3", + "resource": { + "resourceType": "MedicationRequest", + "id": "uscore-mo3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "active", + "intent": "order", + "medicationReference": { + "reference": "Medication/uscore-med2", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "authoredOn": "2008-04-05", + "requester": { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + } + }, + "search": { + "mode": "match" + } + }, + { + "fullUrl": "/Medication/uscore-med2", + "resource": { + "resourceType": "Medication", + "id": "uscore-med2", + "meta": { + "versionId": "1", + "lastUpdated": "2016-11-29T19:45:46Z", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

code: Nizatidine 15 MG/ML Oral Solution [Axid]

" + }, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + }, + "search": { + "mode": "include" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/CarePlan-colonoscopy.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/CarePlan-colonoscopy.json new file mode 100644 index 00000000000..26a4c91b1c4 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/CarePlan-colonoscopy.json @@ -0,0 +1,39 @@ +{ + "resourceType": "CarePlan", + "id": "colonoscopy", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Colonoscopy Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a colonoscopy example for the *US Core CarePlan Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + ] + }, + "text": { + "status": "additional", + "div": "
\n Assessment\n
    \n
  1. Recurrent GI bleed of unknown etiology; hypotension perhaps secondary to this but as likely secondary to polypharmacy.
  2. \n
  3. Acute on chronic anemia secondary to #1.
  4. \n
  5. Azotemia, acute renal failure with volume loss secondary to #1.
  6. \n
  7. Hyperkalemia secondary to #3 and on ACE and K+ supplement.
  8. \n
  9. Other chronic diagnoses as noted above, currently stable.
  10. \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
Planned ActivityPlanned Date
ColonoscopyApril 21, 2000
\n
" + }, + "status": "active", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + } + ], + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/CareTeam-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/CareTeam-example.json new file mode 100644 index 00000000000..c19e07c613b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/CareTeam-example.json @@ -0,0 +1,82 @@ +{ + "resourceType": "CareTeam", + "id": "example", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "CareTeam Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a careteam example for the *US Core CareTeam Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "active", + "name": "US-Core example CareTeam", + "subject": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + }, + "participant": [ + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "17561000", + "display": "Cardiologist" + } + ] + } + ], + "member": { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + } + }, + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "453231000124104", + "display": "Primary care provider" + } + ] + } + ], + "member": { + "reference": "Practitioner/practitioner-2", + "display": "Kathy Fielding, MD" + } + }, + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "116154003", + "display": "Patient (person)" + } + ] + } + ], + "member": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Condition-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Condition-example.json new file mode 100644 index 00000000000..d8bbe0581b3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Condition-example.json @@ -0,0 +1,70 @@ +{ + "resourceType": "Condition", + "id": "example", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Condition Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a condition example for the *US Core Condition Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

clinicalStatus: Active

verificationStatus: Confirmed

category: Problem

code: Single liveborn, born in hospital

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

onset: 2016-08-10

" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active", + "display": "Active" + } + ], + "text": "Active" + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem" + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "442311008", + "display": "Liveborn born in hospital" + } + ], + "text": "Single liveborn, born in hospital" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + }, + "onsetDateTime": "2016-08-10" +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Condition-hc1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Condition-hc1.json new file mode 100644 index 00000000000..aa694dbbc9f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Condition-hc1.json @@ -0,0 +1,70 @@ +{ + "resourceType": "Condition", + "id": "hc1", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "HC1 Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a hc1 example for the *US Core Condition Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

clinicalStatus: Active

verificationStatus: Confirmed

category: Health Concern

code: Fear of becoming fat

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

onset: 2007-12-14

" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active", + "display": "Active" + } + ], + "text": "Active" + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "code": "health-concern", + "display": "Health Concern" + } + ], + "text": "Health Concern" + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "247824007", + "display": "Fear of becoming fat" + } + ], + "text": "Fear of becoming fat" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "onsetDateTime": "2007-12-14" +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Device-udi-1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Device-udi-1.json new file mode 100644 index 00000000000..b29bd7c8a31 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Device-udi-1.json @@ -0,0 +1,46 @@ +{ + "resourceType": "Device", + "id": "udi-1", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "UDI 1 Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a UDI 1 example for the *US Core Implantable Device Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

UdiCarriers

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

status: active

expirationDate: 2014-11-20

lotNumber: 7654321D

serialNumber: 10987654d321

type: Coated femoral stem prosthesis, modular

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

" + }, + "udiCarrier": [ + { + "deviceIdentifier": "09504000059118", + "carrierHRF": "(01)09504000059118(17)141120(10)7654321D(21)10987654d321" + } + ], + "status": "active", + "expirationDate": "2014-11-20", + "lotNumber": "7654321D", + "serialNumber": "10987654d321", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "468063009", + "display": "Coated femoral stem prosthesis, modular" + } + ] + }, + "patient": { + "reference": "Patient/example", + "display": "Amy Shaw" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Device-udi-2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Device-udi-2.json new file mode 100644 index 00000000000..7228698ab77 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Device-udi-2.json @@ -0,0 +1,56 @@ +{ + "resourceType": "Device", + "id": "udi-2", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Device Defib Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a Device defib example for the *US Core Implantable Device Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

UdiCarriers

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

status: active

manufacturer: ACME Biomedical

expirationDate: 2022-01-01

lotNumber: M320

serialNumber: AC221

DeviceNames

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

modelNumber: 1.0

type: Implant

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

" + }, + "udiCarrier": [ + { + "deviceIdentifier": "99863313444316", + "carrierHRF": "(01)99863313444316(17)220101(10)M320(21)AC221", + "entryType": "rfid" + } + ], + "status": "active", + "manufacturer": "ACME Biomedical", + "expirationDate": "2022-01-01", + "lotNumber": "M320", + "serialNumber": "AC221", + "deviceName": [ + { + "name": "ACME Defibrillator Analyzer, with Transcutaneous Pacemaker Input", + "type": "udi-label-name" + } + ], + "modelNumber": "1.0", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "19257004", + "display": "Defibrillator, device" + } + ], + "text": "Implant" + }, + "patient": { + "reference": "Patient/example", + "display": "Amy Shaw" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Device-udi-3.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Device-udi-3.json new file mode 100644 index 00000000000..6c2b80a8ec7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Device-udi-3.json @@ -0,0 +1,59 @@ +{ + "resourceType": "Device", + "id": "udi-3", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Device Knee Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a Device knee example for the *US Core Implantable Device Profile*." + } + ], + "versionId": "2", + "lastUpdated": "2019-04-11T16:21:48.921+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

UdiCarriers

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

status: active

manufacturer: ACME Biomedical

manufactureDate: 2015-10-15

expirationDate: 2022-01-01

lotNumber: M320

serialNumber: AC221

DeviceNames

-NameType
*ACME Knee Replacement Deviceudi-label-name

modelNumber: 1.0

type: Knee joint prosthesis

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

" + }, + "udiCarrier": [ + { + "deviceIdentifier": "987979879879", + "carrierHRF": "(01)987979879879(11)191015(17)220101(10)M320(21)AC221", + "entryType": "rfid" + } + ], + "status": "active", + "manufacturer": "ACME Biomedical", + "manufactureDate": "2015-10-15", + "expirationDate": "2022-01-01", + "lotNumber": "M320", + "serialNumber": "AC221", + "deviceName": [ + { + "name": "ACME Knee Replacement Device", + "type": "udi-label-name" + } + ], + "modelNumber": "1.0", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "109228008", + "display": "Knee joint prosthesis" + } + ], + "text": "Knee joint prosthesis" + }, + "patient": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DiagnosticReport-cardiology-report.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DiagnosticReport-cardiology-report.json new file mode 100644 index 00000000000..fde8720d589 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DiagnosticReport-cardiology-report.json @@ -0,0 +1,57 @@ +{ + "resourceType": "DiagnosticReport", + "id": "cardiology-report", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "DiagnosticReport Cardiology Report Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a DiagnosticReport cardiology report example for the *US Core DiagnosticReport Note Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "text": { + "status": "generated", + "div": "

Cardiovascular physiologic and EKG assessment panel (Cardiology)

SubjectAmy V. Shaw 1987-02-20 ( Medical Record Number: 1032702 (USUAL))
When ForJan 1, 2011 9:39:30 PM

Report Details

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "LP29708-2", + "display": "Cardiology" + } + ], + "text": "Cardiology" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "45033-8", + "display": "Cardiovascular physiologic and EKG assessment panel" + } + ], + "text": "Cardiovascular physiologic and EKG assessment panel" + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2011-01-01T21:39:30.000Z", + "presentedForm": [ + { + "contentType": "application/pdf", + "url": "http://example.org/pdfdownloads/cardiopanel-report-123.pdf", + "hash": "RVFILy4uQWdNRQo=" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DiagnosticReport-cbc.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DiagnosticReport-cbc.json new file mode 100644 index 00000000000..abb4f9f8f9b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DiagnosticReport-cbc.json @@ -0,0 +1,74 @@ +{ + "resourceType": "DiagnosticReport", + "id": "cbc", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "CBC Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a CBC example for the *US Core DiagnosticReport Lab Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "text": { + "status": "generated", + "div": "

CBC panel - Blood by Automated count (Laboratory)

SubjectAmy V. Shaw 1987-02-20 ( Medical Record Number: 1032702 (USUAL))
When For2005-07-05
ReportedJul 6, 2005 12:45:33 AM

Report Details

CodeValueReference RangeWhen For
Neutrophils %40.0 %37.0 % - 67.0 % for Normal Range2005-07-05
MCHC RBC Auto-mCnc34.7 g/dL30.0 g/dL - 34.0 g/dL for Normal Range2005-07-05
Hgb Bld-mCnc17.0 g/dL16.5 g/dL - 21.5 g/dL for Normal Range2005-07-05
RBC # Bld Auto4.58 10*6/uL4.1 10*6/uL - 6.1 10*6/uL for Normal Range2005-07-05
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "58410-2", + "display": "CBC panel - Blood by Automated count" + } + ] + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "issued": "2005-07-06T11:45:33+11:00", + "performer": [ + { + "reference": "Organization/acme-lab", + "display": "Acme Laboratory, Inc" + } + ], + "result": [ + { + "reference": "Observation/neutrophils", + "display": "NEUTROPHILS" + }, + { + "reference": "Observation/mchc", + "display": "MCHC" + }, + { + "reference": "Observation/hemoglobin", + "display": "HEMOGLOBIN" + }, + { + "reference": "Observation/erythrocytes", + "display": "ERYTHROCYTES" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DiagnosticReport-chest-xray-report.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DiagnosticReport-chest-xray-report.json new file mode 100644 index 00000000000..a950fc87093 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DiagnosticReport-chest-xray-report.json @@ -0,0 +1,56 @@ +{ + "resourceType": "DiagnosticReport", + "id": "chest-xray-report", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "DiagnosticReport Chest Xray Report Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a DiagnosticReport chest xray report example for the *US Core DiagnosticReport Note Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "text": { + "status": "generated", + "div": "

Portable XR Chest Views (Radiology)

SubjectAmy V. Shaw 1987-02-20 ( Medical Record Number: 1032702 (USUAL))
When ForFeb 3, 2019 7:43:30 PM

Report Details

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "LP29684-5", + "display": "Radiology" + } + ], + "text": "Radiology" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "30746-2", + "display": "Portable XR Chest Views" + } + ], + "text": "Portable XR Chest Views" + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2019-02-03T19:43:30.000Z", + "presentedForm": [ + { + "contentType": "application/xhtml", + "data": "PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFsLy9FTiIgIkRURC94aHRtbDEtdHJhbnNpdGlvbmFsLmR0ZCI+CgkJPGh0bWwgeG1sOmxhbmc9ImVuIiBsYW5nPSJlbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiPgkJCiAgPGhlYWQ+CiAgICA8dGl0bGU+Q2hlc3QgUG9ydGFibGU8L3RpdGxlPgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxwPlJlc3VsdDwvcD4KICAgIDxici8+Q2hlc3QgUG9ydGFibGUgCiAgICAgIAogICAgICA8cD5JTkRJQ0FUSU9OL0NMSU5JQ0FMIFFVRVNUSU9OOiBGZXZlciAvIFBuZXVtb25pYTwvcD4KICAgICAgCiAgICAgIDxwPkNPTVBBUklTT046IE5vbmUuPC9wPgogICAgICAKICAgICAgPHA+RklORElOR1M6PC9wPgogICAgICAKICAgICAgPHA+TElORVMgQU5EIFRVQkVTOiBOb25lLjwvcD4KICAgICAgCiAgICAgIDxwPkxVTkdTIEFORCBQTEVVUkE6PC9wPgogICAgICA8YnIvPkNsZWFyIGx1bmdzLiBOb3JtYWwgcHVsbW9uYXJ5IHZhc2N1bGFyaXR5LgogICAgICA8YnIvPk5vIHBsZXVyYWwgZWZmdXNpb24uCiAgICAgIDxici8+Tm8gcG5ldW1vdGhvcmF4LgogICAgICAKICAgICAgPHA+SEVBUlQsIE1FRElBU1RJTlVNIEFORCBISUxBOjwvcD4KICAgICAgPGJyLz5IZWFydCBpcyBub3JtYWwgaW4gc2l6ZS4KICAgICAgPGJyLz5Ob3JtYWwgbWVkaWFzdGluYWwgYW5kIGhpbGFyIGNvbnRvdXIuCiAgICAgIAogICAgICA8cD5CT05FUyBBTkQgU09GVCBUSVNTVUVTOjwvcD4KICAgICAgPGJyLz5ObyBhY3V0ZSBhYm5vcm1hbGl0eS4KICAgICAgCiAgICAgIDxwPklNUFJFU1NJT046PC9wPgogICAgICA8YnIvPk5vIGFjdXRlIGFibm9ybWFsaXR5LgogICAgICAKICAgICAgPHA+V1NOOiBPMTlJQy1TQy0wMjExPC9wPgogICAgICAKICAgICAgPHA+RGljdGF0ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgRGljdGF0ZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQ0IHBtCiAgICAgICAgUmV2aWV3ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgU2lnbmVkIEJ5OiBDdXJlIE1ELCBDaHJpc3RpbmUgSgogICAgICAgIFNpZ25lZCBEYXRlL1RpbWU6IDAyLzAzLzE5IDc6NDQgcG0KICAgICAgICBUcmFuc2NyaWJlZCBCeTogQ1NCCiAgICAgICAgVHJhbnNjcmliZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQzIHBtPC9wPgogICAgICAKICAgICAgCiAgPC9ib2R5Pgo8L2h0bWw+Cg==" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DiagnosticReport-metabolic-panel.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DiagnosticReport-metabolic-panel.json new file mode 100644 index 00000000000..eea593e187a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DiagnosticReport-metabolic-panel.json @@ -0,0 +1,94 @@ +{ + "resourceType": "DiagnosticReport", + "id": "metabolic-panel", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Metabolic Panel Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a metabolic panel example for the *US Core DiagnosticReport Lab Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Comprehensive metabolic 2000 panel - Serum or Plasma (Laboratory)

SubjectAmy V. Shaw 1987-02-20 ( Medical Record Number: 1032702 (USUAL))
When For2005-07-04
ReportedJul 6, 2005 12:45:33 AM

Report Details

CodeValueReference RangeWhen For
Bilirub SerPl-mCnc8.6 mg/dL2.0 mg/dL - 7.0 mg/dL for Normal Range2005-07-07
Sodium SerPl-sCnc137.0 mmol/L135.0 mmol/L - 145.0 mmol/L for Normal Range2005-07-05
Potassium SerPl-sCnc5.4 mmol/L3.5 mmol/L - 5.5 mmol/L for Normal Range2005-07-05
Creat SerPl-mCnc1.0 mg/dL0.2 mg/dL - 0.6 mg/dL for Normal Range2005-07-05
CO2 SerPl-sCnc24.0 mmol/L22.0 mmol/L - 29.0 mmol/L for Normal Range2005-07-05
Chloride SerPl-sCnc105.0 mmol/L95.0 mmol/L - 105.0 mmol/L for Normal Range2005-07-05
Calcium SerPl-mCnc7.7 mg/dL8.5 mg/dL - 10.5 mg/dL for Normal Range2005-07-05
BUN SerPl-mCnc10.0 mg/dL5.0 mg/dL - 20.0 mg/dL for Normal Range2005-07-05
Glucose Bld-mCnc76.0 mg/dL40.0 mg/dL - 109.0 mg/dL for Normal Range2005-07-05
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "24323-8", + "display": "Comprehensive metabolic 2000 panel - Serum or Plasma" + } + ] + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-04", + "issued": "2005-07-06T11:45:33+11:00", + "performer": [ + { + "reference": "Organization/acme-lab", + "display": "Acme Laboratory, Inc" + } + ], + "result": [ + { + "reference": "Observation/serum-total-bilirubin", + "display": "TOTAL BILIRUBIN" + }, + { + "reference": "Observation/serum-sodium", + "display": "SODIUM" + }, + { + "reference": "Observation/serum-potassium", + "display": "Potassium" + }, + { + "reference": "Observation/serum-creatinine", + "display": "CREATININE" + }, + { + "reference": "Observation/serum-co2", + "display": "TOTAL CO2" + }, + { + "reference": "Observation/serum-chloride", + "display": "CHLORIDE" + }, + { + "reference": "Observation/serum-calcium", + "display": "CALCIUM" + }, + { + "reference": "Observation/bun", + "display": "BUN" + }, + { + "reference": "Observation/blood-glucose", + "display": "GLUCOSE" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DiagnosticReport-urinalysis.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DiagnosticReport-urinalysis.json new file mode 100644 index 00000000000..f520a68a4c3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DiagnosticReport-urinalysis.json @@ -0,0 +1,127 @@ +{ + "resourceType": "DiagnosticReport", + "id": "urinalysis", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urinalysis Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urinalysis example for the *US Core DiagnosticReport Lab Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Complete Urinalysis (Laboratory)

SubjectAmy V. Shaw 1987-02-20 ( Medical Record Number: 1032702 (USUAL))
When For2005-07-05
ReportedJul 6, 2005 12:45:33 AM

Report Details

CodeValueReference RangeWhen For
COLORYellowYellow2005-07-05
APPEARANCEHazyClear2005-07-05
GLUCOSENegativeNegative2005-07-05
BILIRUBINNegativeNegative2005-07-05
KETONENegativeNegative2005-07-05
SPEC GRAV1.017 {urine specific gravity}1.003 {urine specific gravity} - 1.035 {urine specific gravity}2005-07-05
PH6.0 (pH)5.0 (pH) - 8.0 (pH)2005-07-05
PROTEINNegativeNegative2005-07-05
UROBILINOGEN0.3 mg/dL0.1 mg/dL - 1.0 mg/dL2005-07-05
NITRITEPositiveNegative2005-07-05
BLOODTraceNegative2005-07-05
LEUK ESTERASE2+Negative2005-07-05
COMMENTRecommend Urine Culture2005-07-05
BACTERIA4+0-1+2005-07-05
EPITHELIAL CELLS1-5 cells/HPFNone Seen/HPF2005-07-05
WBC20-30 cells/HPFNone Seen/HPF2005-07-05
RBCOccasionalNone Seen/HPF2005-07-05
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "24356-8", + "display": "Urinalysis complete panel - Urine" + } + ], + "text": "Complete Urinalysis" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "issued": "2005-07-06T11:45:33+11:00", + "performer": [ + { + "reference": "Organization/acme-lab", + "display": "Acme Laboratory, Inc" + } + ], + "result": [ + { + "reference": "Observation/urine-color", + "display": "COLOR=Yellow" + }, + { + "reference": "Observation/urine-clarity", + "display": "APPEARANCE=Hazy" + }, + { + "reference": "Observation/urine-glucose", + "display": "GLUCOSE=Negative" + }, + { + "reference": "Observation/urine-bilirubin", + "display": "BILIRUBIN=Negative" + }, + { + "reference": "Observation/urine-ketone", + "display": "KETONE=Negative" + }, + { + "reference": "Observation/usg", + "display": "SPEC GRAV=1.017" + }, + { + "reference": "Observation/urine-ph", + "display": "PH=6 (pH)" + }, + { + "reference": "Observation/urine-protein", + "display": "PROTEIN=Negative" + }, + { + "reference": "Observation/urobilinogen", + "display": "UROBILINOGEN=0.3 mg/dL" + }, + { + "reference": "Observation/urine-nitrite", + "display": "NITRITE=Positive" + }, + { + "reference": "Observation/urine-hemoglobin", + "display": "BLOOD=Trace" + }, + { + "reference": "Observation/urine-leukocyte-esterase", + "display": "LEUK ESTERASE=2+e" + }, + { + "reference": "Observation/urine-sediment", + "display": "COMMENT=Recommend Urine Culture" + }, + { + "reference": "Observation/urine-bacteria", + "display": "BACTERIA=4+" + }, + { + "reference": "Observation/urine-epi-cells", + "display": "EPITHELIAL CELLS=1-5 cells/HPF" + }, + { + "reference": "Observation/urine-wbcs", + "display": "WBC=20-30 cells/HPF" + }, + { + "reference": "Observation/urine-rbcs", + "display": "RBC=Occasional cells/HPF" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DocumentReference-episode-summary.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DocumentReference-episode-summary.json new file mode 100644 index 00000000000..13e1b02a2f5 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/DocumentReference-episode-summary.json @@ -0,0 +1,84 @@ +{ + "resourceType": "DocumentReference", + "id": "episode-summary", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Episode Summary Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a episode summary example for the *US Core DocumentReference Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

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: Medical Record Number: 1032702 (USUAL); active; Amy V. Shaw , Amy V. Baxter ; Phone: 555-555-5555, amy.shaw@example.com; gender: female; birthDate: 1987-02-20

date: Mar 9, 2016 3:29:46 PM

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

description: Pulmonology clinic acute visit

content

format: Documents following C-CDA constraints using a structured body

Contexts

-Period
*Dec 22, 2004 9:00:00 PM --> Dec 22, 2004 9:01:00 PM
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.19.5.99999.1" + } + ], + "status": "current", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34133-9", + "display": "Summary of episode note" + } + ], + "text": "CCD Document" + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ], + "text": "Clinical Note" + } + ], + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "date": "2016-03-09T15:29:46Z", + "author": [ + { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + } + ], + "description": "Pulmonology clinic acute visit", + "content": [ + { + "attachment": { + "contentType": "text/plain", + "url": "/Binary/1-note", + "title": "Uri where the data can be found: [base]/Binary/1-note" + }, + "format": { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", + "code": "urn:hl7-org:sdwg:ccda-structuredBody:2.1", + "display": "Documents following C-CDA constraints using a structured body" + } + } + ], + "context": { + "period": { + "start": "2004-12-23T08:00:00+11:00", + "end": "2004-12-23T08:01:00+11:00" + } + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Encounter-1036.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Encounter-1036.json new file mode 100644 index 00000000000..87c3acfaf93 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Encounter-1036.json @@ -0,0 +1,44 @@ +{ + "resourceType": "Encounter", + "id": "1036", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Encounter 1036 Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a encounter 1036 example for the *Encounter Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "in-progress", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "IMP", + "display": "inpatient encounter" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "261665006", + "display": "Unknown (qualifier value)" + } + ], + "text": "Unknown (qualifier value)" + } + ], + "subject": { + "reference": "Patient/example" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Encounter-example-1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Encounter-example-1.json new file mode 100644 index 00000000000..1c442a28923 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Encounter-example-1.json @@ -0,0 +1,48 @@ +{ + "resourceType": "Encounter", + "id": "example-1", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Encounter 1 Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a encounter 1 example for the *US Core Encounter Profile*." + } + ], + "lastUpdated": "2017-05-26T11:56:57.250-04:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

status: finished

class: ambulatory

type: Office Visit

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

period: Nov 1, 2015 10:00:14 PM --> Nov 1, 2015 11:00:14 PM

" + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB", + "display": "ambulatory" + }, + "type": [ + { + "coding": [ + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "99201" + } + ], + "text": "Office Visit" + } + ], + "subject": { + "reference": "Patient/example" + }, + "period": { + "start": "2015-11-01T17:00:14-05:00", + "end": "2015-11-01T18:00:14-05:00" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Goal-goal-1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Goal-goal-1.json new file mode 100644 index 00000000000..b10495a50ba --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Goal-goal-1.json @@ -0,0 +1,36 @@ +{ + "resourceType": "Goal", + "id": "goal-1", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Goal 1 Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a goal 1 example for the *US Core Goal Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

lifecycleStatus: active

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

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

Targets

-Due[x]
*2016-04-05
" + }, + "lifecycleStatus": "active", + "description": { + "text": "Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "target": [ + { + "dueDate": "2016-04-05" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Immunization-imm-1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Immunization-imm-1.json new file mode 100644 index 00000000000..299db6690e8 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Immunization-imm-1.json @@ -0,0 +1,44 @@ +{ + "resourceType": "Immunization", + "id": "imm-1", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Imm 1 Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a imm 1 example for the *US Core Immunization Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

status: completed

vaccineCode: influenza, injectable, quadrivalent, contains preservative

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

occurrence: Nov 19, 2020 8:46:57 PM

primarySource: false

" + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "158", + "display": "influenza, injectable, quadrivalent, contains preservative" + }, + { + "system": "http://hl7.org/fhir/sid/ndc", + "code": "49281-0633-15", + "display": "FLUZONE QUADRIVALENT (Sanofi Pasteur Inc.)" + } + ] + }, + "patient": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "occurrenceDateTime": "2020-11-19T12:46:57-08:00", + "primarySource": false +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Location-hl7east.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Location-hl7east.json new file mode 100644 index 00000000000..b260dbe0e2f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Location-hl7east.json @@ -0,0 +1,54 @@ +{ + "resourceType": "Location", + "id": "hl7east", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "HL7East Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a HL7East example for the *US Core Location Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

identifier: id: 29

status: active

name: Health Level Seven International - Amherst

description: HL7 Headquarters - East

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

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

Positions

-LongitudeLatitude
*-72.51985442.373222

managingOrganization: Health Level Seven International

" + }, + "identifier": [ + { + "system": "http://www.acme.org/location", + "value": "29" + } + ], + "status": "active", + "name": "Health Level Seven International - Amherst", + "description": "HL7 Headquarters - East", + "telecom": [ + { + "system": "phone", + "value": "(+1) 734-677-7777" + } + ], + "address": { + "line": [ + "3300 Washtenaw Avenue, Suite 227" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002", + "country": "USA" + }, + "position": { + "longitude": -72.519854, + "latitude": 42.373222 + }, + "managingOrganization": { + "display": "Health Level Seven International" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Medication-uscore-med1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Medication-uscore-med1.json new file mode 100644 index 00000000000..5e25905bbe8 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Medication-uscore-med1.json @@ -0,0 +1,33 @@ +{ + "resourceType": "Medication", + "id": "uscore-med1", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Uscore Med1 Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a uscore med1 example for the *US Core Medication Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

code: lisinopril oral 10 mg

" + }, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "206765", + "display": "Prinivil 10 MG Oral Tablet" + } + ], + "text": "lisinopril oral 10 mg" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Medication-uscore-med2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Medication-uscore-med2.json new file mode 100644 index 00000000000..bec8ffab16a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Medication-uscore-med2.json @@ -0,0 +1,33 @@ +{ + "resourceType": "Medication", + "id": "uscore-med2", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Uscore Med2 Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a uscore med2 example for the *US Core Medication Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

code: Nizatidine 15 MG/ML Oral Solution [Axid]

" + }, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/MedicationRequest-self-tylenol.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/MedicationRequest-self-tylenol.json new file mode 100644 index 00000000000..fdfddae4337 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/MedicationRequest-self-tylenol.json @@ -0,0 +1,61 @@ +{ + "resourceType": "MedicationRequest", + "id": "self-tylenol", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Self Tylenol Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a self tylenol example for the *MedicationRequest Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "identifier": [ + { + "use": "official", + "system": "http://acme.org/prescriptions", + "value": "12345689" + } + ], + "status": "active", + "intent": "plan", + "reportedBoolean": true, + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "1187314", + "display": "Tylenol PM Pill" + } + ], + "text": "Tylenol PM Pill" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + }, + "encounter": { + "reference": "Encounter/example-1", + "display": "Office Visit" + }, + "authoredOn": "2019-06-24", + "requester": { + "reference": "Patient/example", + "display": "**self-prescribed**" + }, + "dosageInstruction": [ + { + "text": "Takes 1-2 tablets once daily at bedtime as needed for restless legs" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/MedicationRequest-uscore-mo1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/MedicationRequest-uscore-mo1.json new file mode 100644 index 00000000000..436c3b6fedc --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/MedicationRequest-uscore-mo1.json @@ -0,0 +1,71 @@ +{ + "resourceType": "MedicationRequest", + "id": "uscore-mo1", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Uscore MO1 Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a uscore mo1 example for the *US Core MedicationRequest Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

status: active

intent: order

medication: Nizatidine 15 MG/ML Oral Solution [Axid]

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

authoredOn: 2008-04-05

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

dispenseRequest

numberOfRepeatsAllowed: 1

quantity: 480 mL

" + }, + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "authoredOn": "2008-04-05", + "requester": { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + }, + "dosageInstruction": [ + { + "text": "10 mL bid", + "timing": { + "repeat": { + "boundsPeriod": { + "start": "2008-04-05" + } + } + } + } + ], + "dispenseRequest": { + "numberOfRepeatsAllowed": 1, + "quantity": { + "value": 480, + "unit": "mL", + "system": "http://unitsofmeasure.org", + "code": "mL" + }, + "expectedSupplyDuration": { + "value": 30, + "unit": "days", + "system": "http://unitsofmeasure.org", + "code": "d" + } + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/MedicationRequest-uscore-mo2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/MedicationRequest-uscore-mo2.json new file mode 100644 index 00000000000..b2be735d0f9 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/MedicationRequest-uscore-mo2.json @@ -0,0 +1,81 @@ +{ + "resourceType": "MedicationRequest", + "id": "uscore-mo2", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Uscore MO2 Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a uscore MO2 example for the *US Core MedicationRequest Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

status: active

intent: order

medication:

code: Nizatidine 15 MG/ML Oral Solution [Axid]

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

authoredOn: 2008-04-05

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

dispenseRequest

numberOfRepeatsAllowed: 1

quantity: 480 mL

" + }, + "contained": [ + { + "resourceType": "Medication", + "id": "med2", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + } + ], + "status": "active", + "intent": "order", + "medicationReference": { + "reference": "#med2", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "authoredOn": "2008-04-05", + "requester": { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + }, + "dosageInstruction": [ + { + "text": "10 mL bid", + "timing": { + "repeat": { + "boundsPeriod": { + "start": "2008-04-05" + } + } + } + } + ], + "dispenseRequest": { + "numberOfRepeatsAllowed": 1, + "quantity": { + "value": 480, + "unit": "mL", + "system": "http://unitsofmeasure.org", + "code": "mL" + }, + "expectedSupplyDuration": { + "value": 30, + "unit": "days", + "system": "http://unitsofmeasure.org", + "code": "d" + } + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-blood-glucose.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-blood-glucose.json new file mode 100644 index 00000000000..ac8ec45e196 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-blood-glucose.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "blood-glucose", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Blood Glucose Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a blood glucose example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "1165", + "lastUpdated": "2016-03-09T15:29:58.328+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: Glucose Bld-mCnc

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

effective: 2005-07-05

value: 76.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*40.0 mg/dL109.0 mg/dLNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose Bld-mCnc" + } + ], + "text": "Glucose Bld-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 76.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 40.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 109.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-blood-pressure.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-blood-pressure.json new file mode 100644 index 00000000000..32bae45a104 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-blood-pressure.json @@ -0,0 +1,92 @@ +{ + "resourceType": "Observation", + "id": "blood-pressure", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Blood Pressure Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a blood pressure example for the *Vitalsigns Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Vital Signs

code: Blood pressure systolic and diastolic

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

encounter: GP Visit

effective: 1999-07-02

component

code: Systolic blood pressure

value: 109 mmHg

component

code: Diastolic blood pressure

value: 44 mmHg

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood pressure panel with all children optional" + } + ], + "text": "Blood pressure systolic and diastolic" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic blood pressure" + } + ], + "text": "Systolic blood pressure" + }, + "valueQuantity": { + "value": 109, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic blood pressure" + } + ], + "text": "Diastolic blood pressure" + }, + "valueQuantity": { + "value": 44, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-bmi.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-bmi.json new file mode 100644 index 00000000000..eeff5e17d34 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-bmi.json @@ -0,0 +1,60 @@ +{ + "resourceType": "Observation", + "id": "bmi", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "BMI Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a BMI example for the *Vitalsigns Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body mass index (BMI) [Ratio]" + } + ], + "text": "BMI" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 16.2, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-bp-data-absent.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-bp-data-absent.json new file mode 100644 index 00000000000..a634fb59458 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-bp-data-absent.json @@ -0,0 +1,96 @@ +{ + "resourceType": "Observation", + "id": "bp-data-absent", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "BP Data Absent Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a bp data absent example for the *Vitalsigns Profile* showing how to reprsesent blood pressure with a missing diastolic measurement." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Vital Signs

code: Blood pressure systolic and diastolic

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

encounter: Generated Summary: status: in-progress; inpatient encounter; Unknown (qualifier value)

effective: 1999-07-02

component

code: Systolic blood pressure

value: 109 mmHg

component

code: Diastolic blood pressure

dataAbsentReason: Unknown

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood pressure panel with all children optional" + } + ], + "text": "Blood pressure systolic and diastolic" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "reference": "Encounter/1036" + }, + "effectiveDateTime": "1999-07-02", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic blood pressure" + } + ], + "text": "Systolic blood pressure" + }, + "valueQuantity": { + "value": 109, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic blood pressure" + } + ], + "text": "Diastolic blood pressure" + }, + "dataAbsentReason": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "unknown", + "display": "Unknown" + } + ], + "text": "Unknown" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-bun.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-bun.json new file mode 100644 index 00000000000..57299813196 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-bun.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "bun", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "BUN Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a BUN example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "1237", + "lastUpdated": "2016-03-09T15:29:58.597+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: BUN SerPl-mCnc

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

effective: 2005-07-05

value: 10.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*5.0 mg/dL20.0 mg/dLNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3094-0", + "display": "BUN SerPl-mCnc" + } + ], + "text": "BUN SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 10.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 5.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 20.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-erythrocytes.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-erythrocytes.json new file mode 100644 index 00000000000..10d4a54ba52 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-erythrocytes.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "erythrocytes", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Erythrocytes Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a erythrocytes example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "1189", + "lastUpdated": "2016-03-09T15:29:58.419+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: RBC # Bld Auto

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

effective: 2005-07-05

value: 4.58 10*6/uL

ReferenceRanges

-LowHighAppliesTo
*4.1 10*6/uL6.1 10*6/uLNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "789-8", + "display": "RBC # Bld Auto" + } + ], + "text": "RBC # Bld Auto" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 4.58, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 4.1, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org", + "code": "10*6/uL" + }, + "high": { + "value": 6.1, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org", + "code": "10*6/uL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-head-circumference.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-head-circumference.json new file mode 100644 index 00000000000..593ebcaa32b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-head-circumference.json @@ -0,0 +1,56 @@ +{ + "resourceType": "Observation", + "id": "head-circumference", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Head Circumference Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a head circumference example for the *US Core Head Circumference Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Vital Signs

code: Head Circumference

subject: Generated Summary: Medical Record Number: 1032703 (USUAL); active; Infant Example ; Phone: 555-555-5555; gender: male; birthDate: 2020-06-02

effective: Nov 19, 2020 12:19:31 AM

value: 51.2 cm

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9843-4", + "display": "Head Occipital-frontal circumference" + } + ], + "text": "Head Circumference" + }, + "subject": { + "reference": "Patient/infant-example" + }, + "effectiveDateTime": "2020-11-18T16:19:31-08:00", + "valueQuantity": { + "value": 51.2, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-heart-rate.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-heart-rate.json new file mode 100644 index 00000000000..7da156e3188 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-heart-rate.json @@ -0,0 +1,60 @@ +{ + "resourceType": "Observation", + "id": "heart-rate", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Heart Rate Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a heart rate example for the *Vitalsigns Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Vital Signs

code: heart_rate

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

encounter: GP Visit

effective: 1999-07-02

value: 44.0 beats/min

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart Rate" + } + ], + "text": "heart_rate" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 44.0, + "unit": "beats/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-height.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-height.json new file mode 100644 index 00000000000..ff3c8e52eff --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-height.json @@ -0,0 +1,60 @@ +{ + "resourceType": "Observation", + "id": "height", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Height Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a height example for the *Vitalsigns Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body height" + } + ], + "text": "height" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 111.506, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-hemoglobin.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-hemoglobin.json new file mode 100644 index 00000000000..642a19edf94 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-hemoglobin.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "hemoglobin", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Hemoglobin Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a hemoglobin example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "1046", + "lastUpdated": "2016-03-09T15:29:57.818+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: Hgb Bld-mCnc

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

effective: 2005-07-05

value: 17.0 g/dL

ReferenceRanges

-LowHighAppliesTo
*16.5 g/dL21.5 g/dLNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "718-7", + "display": "Hgb Bld-mCnc" + } + ], + "text": "Hgb Bld-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 17.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 16.5, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "high": { + "value": 21.5, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-length.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-length.json new file mode 100644 index 00000000000..24a77f0b726 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-length.json @@ -0,0 +1,65 @@ +{ + "resourceType": "Observation", + "id": "length", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Length Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a length example for the *Vitalsigns Profile* which shows how body length (typically used for infants) is represented using 8306-3 -*Body height - lying* as an additional observation code." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8306-3", + "display": "Body height --lying" + }, + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body height" + } + ], + "text": "length" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 25, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-mchc.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-mchc.json new file mode 100644 index 00000000000..dab1844ee38 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-mchc.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "mchc", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "MCHC Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a MCHC example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "879", + "lastUpdated": "2016-03-09T15:29:57.124+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: MCHC RBC Auto-mCnc

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

effective: 2005-07-05

value: 34.7 g/dL

ReferenceRanges

-LowHighAppliesTo
*30.0 g/dL34.0 g/dLNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "786-4", + "display": "MCHC RBC Auto-mCnc" + } + ], + "text": "MCHC RBC Auto-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 34.7, + "unit": "g/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 30.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "high": { + "value": 34.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-neutrophils.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-neutrophils.json new file mode 100644 index 00000000000..72838ea4a90 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-neutrophils.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "neutrophils", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Neutrophils Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a neutrophils example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "1106", + "lastUpdated": "2016-03-09T15:29:58.052+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: Neutrophils %

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

effective: 2005-07-05

value: 40.0 %

ReferenceRanges

-LowHighAppliesTo
*37.0 %67.0 %Normal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "770-8", + "display": "Neutrophils/100 leukocytes in Blood by Automated count" + } + ], + "text": "Neutrophils %" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 40.0, + "unit": "%", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 37.0, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "high": { + "value": 67.0, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-ofc-percentile.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-ofc-percentile.json new file mode 100644 index 00000000000..7cefea83907 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-ofc-percentile.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Observation", + "id": "ofc-percentile", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "OFC Percentile Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a OFC percentile example for the *Head Occipital Frontal Circumference Percentile Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Vital Signs

code: Head Occipital-frontal circumference Percentile

subject: Infant Example. Generated Summary: Medical Record Number: 1032703 (USUAL); active; Infant Example ; Phone: 555-555-5555; gender: male; birthDate: 2020-06-02

effective: 2020-07-01

value: 82 %

note: WHO Males, 0-2 years Chart

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8289-1", + "display": "Head Occipital-frontal circumference Percentile" + } + ], + "text": "Head Occipital-frontal circumference Percentile" + }, + "subject": { + "reference": "Patient/infant-example", + "display": "Infant Example" + }, + "effectiveDateTime": "2020-07-01", + "valueQuantity": { + "value": 82, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "note": [ + { + "text": "WHO Males, 0-2 years Chart" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-oxygen-saturation.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-oxygen-saturation.json new file mode 100644 index 00000000000..06d85cce6ef --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-oxygen-saturation.json @@ -0,0 +1,65 @@ +{ + "resourceType": "Observation", + "id": "oxygen-saturation", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Oxygen Saturation Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a typical oxygen saturation example for the *US Core Pulse Oximetry Profile* on room air where no oxygen concentration is recorded." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Vital Signs

code: oxygen_saturation

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

encounter: GP Visit

effective: 1999-07-02

value: 99.0 %O2

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2708-6", + "display": "Oxygen saturation in Arterial blood" + }, + { + "system": "http://loinc.org", + "code": "59408-5", + "display": "Oxygen saturation in Arterial blood by Pulse oximetry" + } + ], + "text": "oxygen_saturation" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 99.0, + "unit": "%O2", + "system": "http://unitsofmeasure.org", + "code": "%" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-pediatric-bmi-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-pediatric-bmi-example.json new file mode 100644 index 00000000000..e596107f732 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-pediatric-bmi-example.json @@ -0,0 +1,65 @@ +{ + "resourceType": "Observation", + "id": "pediatric-bmi-example", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Pediatric BMI Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a pediatric BMI example for the *Pediatric BMI For Age Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Vital Signs

code: BMI

subject: Child Example. Generated Summary: Medical Record Number: 1032704 (USUAL); active; Child Example ; Phone: 555-555-5555; gender: male; birthDate: 2016-01-15

encounter: GP Visit

effective: May 4, 2019 7:12:29 PM

value: 65 %

note: CDC Males, 2-20 years Chart

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59576-9", + "display": "Body mass index (BMI) [Percentile] Per age and sex" + } + ], + "text": "BMI" + }, + "subject": { + "reference": "Patient/child-example", + "display": "Child Example" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "2019-05-04T12:12:29-07:00", + "valueQuantity": { + "value": 65, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "note": [ + { + "text": "CDC Males, 2-20 years Chart" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-pediatric-wt-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-pediatric-wt-example.json new file mode 100644 index 00000000000..3aeaa071ca9 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-pediatric-wt-example.json @@ -0,0 +1,65 @@ +{ + "resourceType": "Observation", + "id": "pediatric-wt-example", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Pediatric Wt Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a pediatric wt example for the *Pediatric Weight For Height Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Vital Signs

code: BMI

subject: Infant Example. Generated Summary: Medical Record Number: 1032703 (USUAL); active; Infant Example ; Phone: 555-555-5555; gender: male; birthDate: 2020-06-02

encounter: GP Visit

effective: 2020-07-02

value: 65 %

note: WHO Males, 0-2 years Chart

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "77606-2", + "display": "Weight-for-length Per age and sex" + } + ], + "text": "BMI" + }, + "subject": { + "reference": "Patient/infant-example", + "display": "Infant Example" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "2020-07-02", + "valueQuantity": { + "value": 65, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "note": [ + { + "text": "WHO Males, 0-2 years Chart" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-respiratory-rate.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-respiratory-rate.json new file mode 100644 index 00000000000..fa96c07ce88 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-respiratory-rate.json @@ -0,0 +1,60 @@ +{ + "resourceType": "Observation", + "id": "respiratory-rate", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Respiratory Rate Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a respiratory rate example for the *Vitalsigns Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Vital Signs

code: respiratory_rate

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

encounter: GP Visit

effective: 1999-07-02

value: 26.0 breaths per minute

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "respiratory_rate" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 26.0, + "unit": "breaths per minute", + "system": "http://unitsofmeasure.org", + "code": "/min" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-satO2-fiO2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-satO2-fiO2.json new file mode 100644 index 00000000000..927d7441ae4 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-satO2-fiO2.json @@ -0,0 +1,122 @@ +{ + "resourceType": "Observation", + "id": "satO2-fiO2", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Observation SatO2 FiO2 Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a observation satO2 fiO2 example for the *US Core Pulse Oximetry Profile* representing a spO2 value with a for a patient on 6 l/min of O2 suppplemental oxygen." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

identifier: id: o1223435-10

category: Vital Signs

code: Oxygen saturation in Arterial blood

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

effective: Dec 5, 2014 8:30:10 AM

value: 95 %

interpretation: Normal (applies to non-numeric results)

device: Acme Pulse Oximeter 2000

ReferenceRanges

-LowHigh
*90 %99 %

Components

-CodeValue[x]
*Inhaled oxygen flow rate6 liters/min
" + }, + "identifier": [ + { + "system": "http://goodcare.org/observation/id", + "value": "o1223435-10" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2708-6", + "display": "Oxygen saturation in Arterial blood" + }, + { + "system": "http://loinc.org", + "code": "59408-5", + "display": "Oxygen saturation in Arterial blood by Pulse oximetry" + }, + { + "system": "urn:iso:std:iso:11073:10101", + "code": "150456", + "display": "MDC_PULS_OXIM_SAT_O2" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2014-12-05T09:30:10+01:00", + "valueQuantity": { + "value": 95, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "N", + "display": "Normal" + } + ], + "text": "Normal (applies to non-numeric results)" + } + ], + "device": { + "display": "Acme Pulse Oximeter 2000" + }, + "referenceRange": [ + { + "low": { + "value": 90, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "high": { + "value": 99, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + } + ], + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3151-8", + "display": "Inhaled oxygen flow rate" + } + ], + "text": "Inhaled oxygen flow rate" + }, + "valueQuantity": { + "value": 6, + "unit": "liters/min", + "system": "http://unitsofmeasure.org", + "code": "L/min" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-calcium.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-calcium.json new file mode 100644 index 00000000000..41448efc582 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-calcium.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "serum-calcium", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Serum Calcium Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a serum calcium example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "902", + "lastUpdated": "2016-03-09T15:29:57.227+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: Calcium SerPl-mCnc

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

effective: 2005-07-05

value: 7.7 mg/dL

ReferenceRanges

-LowHighAppliesTo
*8.5 mg/dL10.5 mg/dLNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "17861-6", + "display": "Calcium SerPl-mCnc" + } + ], + "text": "Calcium SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 7.7, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 8.5, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 10.5, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-chloride.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-chloride.json new file mode 100644 index 00000000000..423ceba6c8e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-chloride.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "serum-chloride", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Serum Chloride Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a serum chloride example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "950", + "lastUpdated": "2016-03-09T15:29:57.427+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: Chloride SerPl-sCnc

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

effective: 2005-07-05

value: 105.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*95.0 mmol/L105.0 mmol/LNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2075-0", + "display": "Chloride SerPl-sCnc" + } + ], + "text": "Chloride SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 105.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 95.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 105.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-co2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-co2.json new file mode 100644 index 00000000000..293021a162d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-co2.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "serum-co2", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Serum CO2 Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a serum CO2 example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "962", + "lastUpdated": "2016-03-09T15:29:57.477+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: CO2 SerPl-sCnc

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

effective: 2005-07-05

value: 24.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*22.0 mmol/L29.0 mmol/LNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2028-9", + "display": "CO2 SerPl-sCnc" + } + ], + "text": "CO2 SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 24.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 22.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 29.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-creatinine.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-creatinine.json new file mode 100644 index 00000000000..49d492770bc --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-creatinine.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "serum-creatinine", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Serum Creatinine Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a serum creatinine example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "926", + "lastUpdated": "2016-03-09T15:29:57.327+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: Creat SerPl-mCnc

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

effective: 2005-07-05

value: 1.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*0.2 mg/dL0.6 mg/dLNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2160-0", + "display": "Creat SerPl-mCnc" + } + ], + "text": "Creat SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 1.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 0.2, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 0.6, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-potassium.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-potassium.json new file mode 100644 index 00000000000..98bf5dd1924 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-potassium.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "serum-potassium", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Serum Potassium Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a serum potassium example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "938", + "lastUpdated": "2016-03-09T15:29:57.376+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: Potassium SerPl-sCnc

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

effective: 2005-07-05

value: 5.4 mmol/L

ReferenceRanges

-LowHighAppliesTo
*3.5 mmol/L5.5 mmol/LNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2823-3", + "display": "Potassium SerPl-sCnc" + } + ], + "text": "Potassium SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 5.4, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 3.5, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 5.5, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-sodium.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-sodium.json new file mode 100644 index 00000000000..fe9cd4021b3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-sodium.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "serum-sodium", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Serum Sodium Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a serum sodium example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "914", + "lastUpdated": "2016-03-09T15:29:57.277+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: Sodium SerPl-sCnc

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

effective: 2005-07-05

value: 137.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*135.0 mmol/L145.0 mmol/LNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2951-2", + "display": "Sodium SerPl-sCnc" + } + ], + "text": "Sodium SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 137.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 135.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 145.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-total-bilirubin.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-total-bilirubin.json new file mode 100644 index 00000000000..bd165ce6c15 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-serum-total-bilirubin.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "serum-total-bilirubin", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Serum Total Bilirubin Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a serum total bilirubin example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "1364", + "lastUpdated": "2016-03-09T15:29:59.089+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: Bilirub SerPl-mCnc

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

effective: 2005-07-07

value: 8.6 mg/dL

ReferenceRanges

-LowHighAppliesTo
*2.0 mg/dL7.0 mg/dLNormal Range
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "1975-2", + "display": "Bilirub SerPl-mCnc" + } + ], + "text": "Bilirub SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-07", + "valueQuantity": { + "value": 8.6, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 2.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 7.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-some-day-smoker.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-some-day-smoker.json new file mode 100644 index 00000000000..4dc8a4b2c40 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-some-day-smoker.json @@ -0,0 +1,60 @@ +{ + "resourceType": "Observation", + "id": "some-day-smoker", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Some Day Smoker Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a some day smoker example for the *US Core Smokingstatus Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Social History

code: Tobacco smoking status

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

effective: Mar 18, 2016 5:27:04 AM

value: Current some day smoker

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "Social History" + } + ], + "text": "Social History" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status" + } + ], + "text": "Tobacco smoking status" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2016-03-18T05:27:04Z", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "428041000124106" + } + ], + "text": "Current some day smoker" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-temperature.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-temperature.json new file mode 100644 index 00000000000..56d4fccb88f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-temperature.json @@ -0,0 +1,60 @@ +{ + "resourceType": "Observation", + "id": "temperature", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Temperature Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a temperature example for the *Vitalsigns Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Vital Signs

code: temperature

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

encounter: GP Visit

effective: 1999-07-02

value: 36.55556 Cel

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8310-5", + "display": "Body temperature" + } + ], + "text": "temperature" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 36.55556, + "unit": "Cel", + "system": "http://unitsofmeasure.org", + "code": "Cel" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-bacteria.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-bacteria.json new file mode 100644 index 00000000000..e3f36f24aa7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-bacteria.json @@ -0,0 +1,68 @@ +{ + "resourceType": "Observation", + "id": "urine-bacteria", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urine Bacteria Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urine bacteria example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206540", + "lastUpdated": "2016-04-18T03:56:41.250+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "25145-4", + "display": "Bacteria [Presence] in Urine sediment by Light microscopy" + } + ], + "text": "BACTERIA" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260350009", + "display": "++++" + } + ], + "text": "4+" + }, + "referenceRange": [ + { + "text": "0-1+" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-bilirubin.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-bilirubin.json new file mode 100644 index 00000000000..1a36a7ccf85 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-bilirubin.json @@ -0,0 +1,68 @@ +{ + "resourceType": "Observation", + "id": "urine-bilirubin", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urine Bilirubin Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urine bilirubin example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206456", + "lastUpdated": "2016-04-18T03:37:21.259+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: BILIRUBIN

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

effective: 2005-07-05

value: Negative

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5770-3", + "display": "Bilirubin.total [Presence] in Urine by Test strip" + } + ], + "text": "BILIRUBIN" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-cells.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-cells.json new file mode 100644 index 00000000000..34160502181 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-cells.json @@ -0,0 +1,72 @@ +{ + "resourceType": "Observation", + "id": "urine-cells", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urine Cells Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urine cells example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206624", + "lastUpdated": "2016-04-18T04:23:12.123+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: EPITHELIAL CELLS

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

effective: 2005-07-05

value: 1-5 cells/HPF

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5787-7", + "display": "Epithelial cells [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "EPITHELIAL CELLS" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueRange": { + "low": { + "value": 1, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + }, + "high": { + "value": 5, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + } + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-clarity.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-clarity.json new file mode 100644 index 00000000000..5553929ee65 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-clarity.json @@ -0,0 +1,68 @@ +{ + "resourceType": "Observation", + "id": "urine-clarity", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urine Clarity Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urine clarity example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206432", + "lastUpdated": "2016-04-18T03:33:00.502+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "32167-9", + "display": "Clarity of Urine" + } + ], + "text": "APPEARANCE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "81858005", + "display": "Cloudy" + } + ], + "text": "Hazy" + }, + "referenceRange": [ + { + "text": "Clear" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-color.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-color.json new file mode 100644 index 00000000000..d606c0df6ae --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-color.json @@ -0,0 +1,68 @@ +{ + "resourceType": "Observation", + "id": "urine-color", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urine Color Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urine color example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206419", + "lastUpdated": "2016-04-18T03:27:43.203+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5778-6", + "display": "Color of Urine" + } + ], + "text": "COLOR" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "371244009", + "display": "Yellow" + } + ], + "text": "Yellow" + }, + "referenceRange": [ + { + "text": "Yellow" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-epi-cells.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-epi-cells.json new file mode 100644 index 00000000000..7b35c82849e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-epi-cells.json @@ -0,0 +1,72 @@ +{ + "resourceType": "Observation", + "id": "urine-epi-cells", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urine Epi Cells Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urine epi cells example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206624", + "lastUpdated": "2016-04-18T04:23:12.123+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: EPITHELIAL CELLS

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

effective: 2005-07-05

value: 1-5 cells/HPF

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5787-7", + "display": "Epithelial cells [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "EPITHELIAL CELLS" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueRange": { + "low": { + "value": 1, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + }, + "high": { + "value": 5, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + } + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-glucose.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-glucose.json new file mode 100644 index 00000000000..8b676d4538c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-glucose.json @@ -0,0 +1,68 @@ +{ + "resourceType": "Observation", + "id": "urine-glucose", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urine Glucose Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urine glucose example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206444", + "lastUpdated": "2016-04-18T03:35:42.751+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: GLUCOSE

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

effective: 2005-07-05

value: Negative

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "25428-4", + "display": "Glucose [Presence] in Urine by Test strip" + } + ], + "text": "GLUCOSE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-hemoglobin.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-hemoglobin.json new file mode 100644 index 00000000000..a846e8f4936 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-hemoglobin.json @@ -0,0 +1,68 @@ +{ + "resourceType": "Observation", + "id": "urine-hemoglobin", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urine Hemoglobin Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urine hemoglobin example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206504", + "lastUpdated": "2016-04-18T03:45:25.300+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5794-3", + "display": "Hemoglobin [Presence] in Urine by Test strip" + } + ], + "text": "BLOOD" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260405006", + "display": "Trace" + } + ], + "text": "Trace" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-ketone.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-ketone.json new file mode 100644 index 00000000000..acf5b4dee84 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-ketone.json @@ -0,0 +1,68 @@ +{ + "resourceType": "Observation", + "id": "urine-ketone", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urine Ketone Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urine ketone example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206468", + "lastUpdated": "2016-04-18T03:39:00.812+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: KETONE

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

effective: 2005-07-05

value: Negative

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2514-8", + "display": "Ketones [Presence] in Urine by Test strip" + } + ], + "text": "KETONE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-leukocyte-esterase.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-leukocyte-esterase.json new file mode 100644 index 00000000000..105aa31c778 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-leukocyte-esterase.json @@ -0,0 +1,68 @@ +{ + "resourceType": "Observation", + "id": "urine-leukocyte-esterase", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urine Leukocyte Esterase Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urine leukocyte esterase example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206552", + "lastUpdated": "2016-04-18T03:58:45.747+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: LEUK ESTERASE

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

effective: 2005-07-05

value: 2+

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5799-2", + "display": "Leukocyte esterase [Presence] in Urine by Test strip" + } + ], + "text": "LEUK ESTERASE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260348001", + "display": "++" + } + ], + "text": "2+" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-nitrite.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-nitrite.json new file mode 100644 index 00000000000..14bc005fe83 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-nitrite.json @@ -0,0 +1,68 @@ +{ + "resourceType": "Observation", + "id": "urine-nitrite", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urine Nitrite Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urine nitrite example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206492", + "lastUpdated": "2016-04-18T03:42:34.440+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: NITRITE

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

effective: 2005-07-05

value: Positive

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5802-4", + "display": "Nitrite [Presence] in Urine by Test strip" + } + ], + "text": "NITRITE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "10828004", + "display": "Positive" + } + ], + "text": "Positive" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-ph.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-ph.json new file mode 100644 index 00000000000..c5172b77dac --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-ph.json @@ -0,0 +1,75 @@ +{ + "resourceType": "Observation", + "id": "urine-ph", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urine pH Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urine pH example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206600", + "lastUpdated": "2016-04-18T04:12:25.425+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: PH

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

effective: 2005-07-05

value: 6.0 (pH)

ReferenceRanges

-LowHigh
*5.0 (pH)8.0 (pH)
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5803-2", + "display": "pH of Urine by Test strip" + } + ], + "text": "PH" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 6.0, + "unit": "(pH)", + "system": "http://unitsofmeasure.org", + "code": "[pH]" + }, + "referenceRange": [ + { + "low": { + "value": 5.0, + "unit": "(pH)", + "system": "http://unitsofmeasure.org", + "code": "[pH]" + }, + "high": { + "value": 8.0, + "unit": "(pH)", + "system": "http://unitsofmeasure.org", + "code": "[pH]" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-protein.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-protein.json new file mode 100644 index 00000000000..b06aa93f275 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-protein.json @@ -0,0 +1,68 @@ +{ + "resourceType": "Observation", + "id": "urine-protein", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urine Protein Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urine protein example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206480", + "lastUpdated": "2016-04-18T03:40:36.404+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: PROTEIN

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

effective: 2005-07-05

value: Negative

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20454-5", + "display": "Protein [Presence] in Urine by Test strip" + } + ], + "text": "PROTEIN" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-rbcs.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-rbcs.json new file mode 100644 index 00000000000..b85ed17ee21 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-rbcs.json @@ -0,0 +1,68 @@ +{ + "resourceType": "Observation", + "id": "urine-rbcs", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urine RBCsExample" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urine RBCsexample for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206565", + "lastUpdated": "2016-04-18T04:00:52.434+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: RBC

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

effective: 2005-07-05

value: Occasional

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "13945-1", + "display": "Erythrocytes [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "RBC" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "84638005", + "display": "Occasional" + } + ], + "text": "Occasional" + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-sediment.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-sediment.json new file mode 100644 index 00000000000..676bb71533a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-sediment.json @@ -0,0 +1,54 @@ +{ + "resourceType": "Observation", + "id": "urine-sediment", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urine Sediment Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urine sediment example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206577", + "lastUpdated": "2016-04-18T04:07:12.383+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11279-7", + "display": "Urine sediment comments by Light microscopy Narrative" + } + ], + "text": "COMMENT" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueString": "Recommend Urine Culture" +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-wbcs.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-wbcs.json new file mode 100644 index 00000000000..85943e91713 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urine-wbcs.json @@ -0,0 +1,72 @@ +{ + "resourceType": "Observation", + "id": "urine-wbcs", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urine WBCsExample" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urine WBCsexample for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206635", + "lastUpdated": "2016-04-18T04:25:02.064+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: WBC

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

effective: 2005-07-05

value: 20-30 cells/HPF

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5821-4", + "display": "Leukocytes [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "WBC" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueRange": { + "low": { + "value": 20, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + }, + "high": { + "value": 30, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + } + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urobilinogen.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urobilinogen.json new file mode 100644 index 00000000000..e9f9313a114 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-urobilinogen.json @@ -0,0 +1,75 @@ +{ + "resourceType": "Observation", + "id": "urobilinogen", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Urobilinogen Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a urobilinogen example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206612", + "lastUpdated": "2016-04-18T04:20:46.618+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: UROBILINOGEN

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

effective: 2005-07-05

value: 0.3 mg/dL

ReferenceRanges

-LowHigh
*0.1 mg/dL1.0 mg/dL
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20405-7", + "display": "Urobilinogen [Mass/volume] in Urine by Test strip" + } + ], + "text": "UROBILINOGEN" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 0.3, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "referenceRange": [ + { + "low": { + "value": 0.1, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 1.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-usg.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-usg.json new file mode 100644 index 00000000000..4f0994b3308 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-usg.json @@ -0,0 +1,72 @@ +{ + "resourceType": "Observation", + "id": "usg", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "USG Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a USG example for the *US Core Observation Lab Profile*." + } + ], + "versionId": "206588", + "lastUpdated": "2016-04-18T04:10:12.426+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

category: Laboratory

code: SPEC GRAV

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

effective: 2005-07-05

value: 1.017 {urine specific gravity}

ReferenceRanges

-LowHigh
*1.003 {urine specific gravity}1.035 {urine specific gravity}
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5811-5", + "display": "Specific gravity of Urine by Test strip" + } + ], + "text": "SPEC GRAV" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 1.017, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + }, + "referenceRange": [ + { + "low": { + "value": 1.003, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + }, + "high": { + "value": 1.035, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-weight.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-weight.json new file mode 100644 index 00000000000..e33bb7f2b83 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Observation-weight.json @@ -0,0 +1,60 @@ +{ + "resourceType": "Observation", + "id": "weight", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Weight Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a weight example for the *Vitalsigns Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "weight" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 20.09414, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Organization-acme-lab.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Organization-acme-lab.json new file mode 100644 index 00000000000..69e2c0cbf5e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Organization-acme-lab.json @@ -0,0 +1,67 @@ +{ + "resourceType": "Organization", + "id": "acme-lab", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Acme Lab Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a acme lab example for the *US Core Organization Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

identifier: id: 1144221847, id: 12D4567890

active: true

type: Healthcare Provider

name: Acme Labs

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

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

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "1144221847" + }, + { + "system": "urn:oid:2.16.840.1.113883.4.7", + "value": "12D4567890" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/organization-type", + "code": "prov", + "display": "Healthcare Provider" + } + ] + } + ], + "name": "Acme Labs", + "telecom": [ + { + "system": "phone", + "value": "(+1) 734-677-7777" + }, + { + "system": "email", + "value": "hq@acme.org" + } + ], + "address": [ + { + "line": [ + "3300 Washtenaw Avenue, Suite 227" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002", + "country": "USA" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Organization-example-organization-2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Organization-example-organization-2.json new file mode 100644 index 00000000000..11c2748b9e2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Organization-example-organization-2.json @@ -0,0 +1,67 @@ +{ + "resourceType": "Organization", + "id": "example-organization-2", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Organization 2 Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a organization 2 example for the *US Core Organization Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

identifier: id: 1407071236, id: 121111111

active: true

type: Healthcare Provider

name: Acme Clinic

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

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

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "1407071236" + }, + { + "system": "http://example.org/fhir/sid/us-tin", + "value": "121111111" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/organization-type", + "code": "prov", + "display": "Healthcare Provider" + } + ] + } + ], + "name": "Acme Clinic", + "telecom": [ + { + "system": "phone", + "value": "(+1) 734-677-7777" + }, + { + "system": "email", + "value": "customer-service@acme-clinic.org" + } + ], + "address": [ + { + "line": [ + "3300 Washtenaw Avenue, Suite 227" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002", + "country": "USA" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Organization-saint-luke-w-endpoint.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Organization-saint-luke-w-endpoint.json new file mode 100644 index 00000000000..1c59fc4be0d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Organization-saint-luke-w-endpoint.json @@ -0,0 +1,92 @@ +{ + "resourceType": "Organization", + "id": "saint-luke-w-endpoint", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Saint Luke W Endpoint Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a saint luke w endpoint example for the *US Core Organization Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "text": { + "status": "generated", + "div": "
\n

Organization

\n
\n

ID: 393872

\n

Name: Saint Luke's Hospital of Kansas City

\n

NPI: 1063494177

\n

Phone:(816)932-2000

\n

Address:4401 Wornall Rd,, MO, 64111

\n
\n
" + }, + "contained": [ + { + "resourceType": "Endpoint", + "id": "75", + "status": "active", + "connectionType": { + "system": "http://terminology.hl7.org/CodeSystem/endpoint-connection-type", + "code": "direct-project" + }, + "name": "Dr. Ronald Bone Direct Address", + "managingOrganization": { + "reference": "Organization/example-organization-2" + }, + "payloadType": [ + { + "coding": [ + { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", + "code": "urn:hl7-org:sdwg:ccda-structuredBody:1.1" + } + ] + } + ], + "payloadMimeType": [ + "text/xml" + ], + "address": "mailto:Interoperability@DirectAddress.com" + } + ], + "identifier": [ + { + "system": "http://example.org/fhir/sid/us-npi", + "value": "1063494177" + }, + { + "system": "http://example.org/fhir/us/argo/sid/us-ein", + "value": "00-0000000" + } + ], + "active": true, + "name": "Saint Luke's Hospital of Kansas City", + "telecom": [ + { + "system": "phone", + "value": "(816)932-2000", + "use": "work" + }, + { + "system": "other", + "value": "http://www.saintlukeshealthsystem.org/locations/saint-lukes-hospital-kansas-city", + "use": "work" + } + ], + "address": [ + { + "text": "3300 Washtenaw Avenue, Suite 227 Amherst MA 01002", + "line": [ + "4401 Wornall Rd," + ], + "city": "Amherst", + "state": "MA", + "postalCode": "64111" + } + ], + "endpoint": [ + { + "reference": "#75" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Patient-child-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Patient-child-example.json new file mode 100644 index 00000000000..9de0db61357 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Patient-child-example.json @@ -0,0 +1,109 @@ +{ + "resourceType": "Patient", + "id": "child-example", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Patient Child Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a patient child example for the *US Core Patient Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + }, + "text": { + "status": "extensions", + "div": "

Generated Narrative

US Core Race Extension

value: Asian

value: Asian

US Core Ethnicity Extension

value: Not Hispanic or Latino

value: Not Hispanic or Latino

US Core Birth Sex Extension: M

identifier: Medical Record Number: 1032704 (USUAL)

active: true

name: Child Example

telecom: ph: 555-555-5555(HOME)

gender: male

birthDate: 2016-01-15

address: 49 Meadow St Mounds OK 74047 US

" + }, + "extension": [ + { + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2028-9", + "display": "Asian" + } + }, + { + "url": "text", + "valueString": "Asian" + } + ], + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" + }, + { + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2186-5", + "display": "Not Hispanic or Latino" + } + }, + { + "url": "text", + "valueString": "Not Hispanic or Latino" + } + ], + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "valueCode": "M" + } + ], + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR", + "display": "Medical Record Number" + } + ], + "text": "Medical Record Number" + }, + "system": "http://hospital.smarthealthit.org", + "value": "1032704" + } + ], + "active": true, + "name": [ + { + "family": "Example", + "given": [ + "Child" + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "555-555-5555", + "use": "home" + } + ], + "gender": "male", + "birthDate": "2016-01-15", + "address": [ + { + "line": [ + "49 Meadow St" + ], + "city": "Mounds", + "state": "OK", + "postalCode": "74047", + "country": "US" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Patient-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Patient-example.json new file mode 100644 index 00000000000..477d2a84f36 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Patient-example.json @@ -0,0 +1,195 @@ +{ + "resourceType": "Patient", + "id": "example", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Patient Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a patient example for the *US Core Patient Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + }, + "text": { + "status": "extensions", + "div": "

Generated Narrative

US Core Race Extension

value: White

value: American Indian or Alaska Native

value: Asian

value: Shoshone

value: Filipino

value: Mixed

US Core Ethnicity Extension

value: Hispanic or Latino

value: Dominican

value: Mexican

value: Hispanic or Latino

US Core Birth Sex Extension: F

identifier: Medical Record Number: 1032702 (USUAL)

active: true

name: Amy V. Shaw , Amy V. Baxter

telecom: ph: 555-555-5555(HOME), amy.shaw@example.com

gender: female

birthDate: 1987-02-20

address:

  • 49 Meadow St Mounds OK 74047 US
  • 183 Mountain View St Mounds OK 74048 US
" + }, + "extension": [ + { + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2106-3", + "display": "White" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "1002-5", + "display": "American Indian or Alaska Native" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2028-9", + "display": "Asian" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "1586-7", + "display": "Shoshone" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2036-2", + "display": "Filipino" + } + }, + { + "url": "text", + "valueString": "Mixed" + } + ], + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" + }, + { + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2135-2", + "display": "Hispanic or Latino" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2184-0", + "display": "Dominican" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2148-5", + "display": "Mexican" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ], + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "valueCode": "F" + } + ], + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR", + "display": "Medical Record Number" + } + ], + "text": "Medical Record Number" + }, + "system": "http://hospital.smarthealthit.org", + "value": "1032702" + } + ], + "active": true, + "name": [ + { + "family": "Shaw", + "given": [ + "Amy", + "V." + ], + "period": { + "start": "2016-12-06", + "end": "2020-07-22" + } + }, + { + "family": "Baxter", + "given": [ + "Amy", + "V." + ], + "suffix": [ + "PharmD" + ], + "period": { + "start": "2020-07-22" + } + } + ], + "telecom": [ + { + "system": "phone", + "value": "555-555-5555", + "use": "home" + }, + { + "system": "email", + "value": "amy.shaw@example.com" + } + ], + "gender": "female", + "birthDate": "1987-02-20", + "address": [ + { + "line": [ + "49 Meadow St" + ], + "city": "Mounds", + "state": "OK", + "postalCode": "74047", + "country": "US", + "period": { + "start": "2016-12-06", + "end": "2020-07-22" + } + }, + { + "line": [ + "183 Mountain View St" + ], + "city": "Mounds", + "state": "OK", + "postalCode": "74048", + "country": "US", + "period": { + "start": "2020-07-22" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Patient-infant-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Patient-infant-example.json new file mode 100644 index 00000000000..9065e267b6d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Patient-infant-example.json @@ -0,0 +1,109 @@ +{ + "resourceType": "Patient", + "id": "infant-example", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Patient Infant Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a patient infant example for the *US Core Patient Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + }, + "text": { + "status": "extensions", + "div": "

Generated Narrative

US Core Race Extension

value: Asian

value: Asian

US Core Ethnicity Extension

value: Not Hispanic or Latino

value: Not Hispanic or Latino

US Core Birth Sex Extension: M

identifier: Medical Record Number: 1032703 (USUAL)

active: true

name: Infant Example

telecom: ph: 555-555-5555(HOME)

gender: male

birthDate: 2020-06-02

address: 49 Meadow St Mounds OK 74047 US

" + }, + "extension": [ + { + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2028-9", + "display": "Asian" + } + }, + { + "url": "text", + "valueString": "Asian" + } + ], + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" + }, + { + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2186-5", + "display": "Not Hispanic or Latino" + } + }, + { + "url": "text", + "valueString": "Not Hispanic or Latino" + } + ], + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "valueCode": "M" + } + ], + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR", + "display": "Medical Record Number" + } + ], + "text": "Medical Record Number" + }, + "system": "http://hospital.smarthealthit.org", + "value": "1032703" + } + ], + "active": true, + "name": [ + { + "family": "Example", + "given": [ + "Infant" + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "555-555-5555", + "use": "home" + } + ], + "gender": "male", + "birthDate": "2020-06-02", + "address": [ + { + "line": [ + "49 Meadow St" + ], + "city": "Mounds", + "state": "OK", + "postalCode": "74047", + "country": "US" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Practitioner-practitioner-1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Practitioner-practitioner-1.json new file mode 100644 index 00000000000..19608e1a32d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Practitioner-practitioner-1.json @@ -0,0 +1,55 @@ +{ + "resourceType": "Practitioner", + "id": "practitioner-1", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Practitioner 1 Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a practitioner 1 example for the *US Core Practitioner Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

identifier: id: 9941339108, id: 25456

name: Ronald Bone

address: 1003 Healthcare Drive Amherst MA 01002 (HOME)

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "9941339108" + }, + { + "system": "http://www.acme.org/practitioners", + "value": "25456" + } + ], + "name": [ + { + "family": "Bone", + "given": [ + "Ronald" + ], + "prefix": [ + "Dr" + ] + } + ], + "address": [ + { + "use": "home", + "line": [ + "1003 Healthcare Drive" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Practitioner-practitioner-2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Practitioner-practitioner-2.json new file mode 100644 index 00000000000..de4b0e50809 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Practitioner-practitioner-2.json @@ -0,0 +1,68 @@ +{ + "resourceType": "Practitioner", + "id": "practitioner-2", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Practitioner 2 Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a practitioner 2 example for the *US Core Practitioner Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

identifier: id: 1245319599, id: 456789

name: Fielding Kathy

telecom: Kathy.Fielding@direct.ExampleMedicalPractice.net

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

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "1245319599" + }, + { + "system": "http://www.acme.org/practitioners", + "value": "456789" + } + ], + "name": [ + { + "family": "Kathy", + "given": [ + "Fielding" + ], + "prefix": [ + "Dr" + ] + } + ], + "telecom": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "valueBoolean": true + } + ], + "system": "email", + "value": "Kathy.Fielding@direct.ExampleMedicalPractice.net", + "use": "work" + } + ], + "address": [ + { + "use": "work", + "line": [ + "1080 FIRST COLONIAL RD" + ], + "city": "Virginia Beach", + "state": "VA", + "postalCode": "21454-2406" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Procedure-defib-implant.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Procedure-defib-implant.json new file mode 100644 index 00000000000..8355dade039 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Procedure-defib-implant.json @@ -0,0 +1,60 @@ +{ + "resourceType": "Procedure", + "id": "defib-implant", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Procedure R4 Defib Implant Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a Procedure R4 defib implant example for the *US Core Procedure Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative

identifier: id: urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff

status: completed

code: Insertion or replacement of permanent implantable defibrillator system with transvenous lead(s), single or dual chamber

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

performed: Mar 26, 2019 7:55:26 PM --> Mar 26, 2019 8:25:26 PM

Performers

-Actor
*Generated Summary: id: 9941339108, id: 25456; Ronald Bone

FocalDevices

-Manipulated
*Generated Summary: status: active; manufacturer: ACME Biomedical; expirationDate: 2022-01-01; lotNumber: M320; serialNumber: AC221; modelNumber: 1.0; Implant
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff" + } + ], + "status": "completed", + "code": { + "coding": [ + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "33249" + } + ], + "text": "Insertion or replacement of permanent implantable defibrillator system with transvenous lead(s), single or dual chamber" + }, + "subject": { + "reference": "Patient/example" + }, + "performedPeriod": { + "start": "2019-03-26T12:55:26-07:00", + "end": "2019-03-26T13:25:26-07:00" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/practitioner-1" + } + } + ], + "focalDevice": [ + { + "manipulated": { + "reference": "Device/udi-2" + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Procedure-rehab.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Procedure-rehab.json new file mode 100644 index 00000000000..ae9389c4319 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/Procedure-rehab.json @@ -0,0 +1,44 @@ +{ + "resourceType": "Procedure", + "id": "rehab", + "meta": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-name", + "valueString": "Rehab Example" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/instance-description", + "valueMarkdown": "This is a rehab example for the *US Core Procedure Profile*." + } + ], + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "24165007", + "display": "Alcoholism counseling" + }, + { + "system": "http://www.cms.gov/Medicare/Coding/ICD10", + "code": "HZ30ZZZ", + "display": "Individual Counseling for Substance Abuse Treatment, Cognitive" + } + ], + "text": "Alcohol rehabilitation" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "performedDateTime": "2002-05-23" +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/index.txt b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/index.txt new file mode 100644 index 00000000000..9882e6068b8 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/index.txt @@ -0,0 +1,84 @@ +./src/test/resources/JSON/400/AllergyIntolerance-example.json +./src/test/resources/JSON/400/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json +./src/test/resources/JSON/400/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json +./src/test/resources/JSON/400/Bundle-uscore-mo3.json +./src/test/resources/JSON/400/CarePlan-colonoscopy.json +./src/test/resources/JSON/400/CareTeam-example.json +./src/test/resources/JSON/400/Condition-example.json +./src/test/resources/JSON/400/Condition-hc1.json +./src/test/resources/JSON/400/Device-udi-1.json +./src/test/resources/JSON/400/Device-udi-2.json +./src/test/resources/JSON/400/Device-udi-3.json +./src/test/resources/JSON/400/DiagnosticReport-cardiology-report.json +./src/test/resources/JSON/400/DiagnosticReport-cbc.json +./src/test/resources/JSON/400/DiagnosticReport-chest-xray-report.json +./src/test/resources/JSON/400/DiagnosticReport-metabolic-panel.json +./src/test/resources/JSON/400/DiagnosticReport-urinalysis.json +./src/test/resources/JSON/400/DocumentReference-episode-summary.json +./src/test/resources/JSON/400/Encounter-1036.json +./src/test/resources/JSON/400/Encounter-example-1.json +./src/test/resources/JSON/400/Goal-goal-1.json +./src/test/resources/JSON/400/Immunization-imm-1.json +./src/test/resources/JSON/400/Location-hl7east.json +./src/test/resources/JSON/400/Medication-uscore-med1.json +./src/test/resources/JSON/400/Medication-uscore-med2.json +./src/test/resources/JSON/400/MedicationRequest-self-tylenol.json +./src/test/resources/JSON/400/MedicationRequest-uscore-mo1.json +./src/test/resources/JSON/400/MedicationRequest-uscore-mo2.json +./src/test/resources/JSON/400/Observation-blood-glucose.json +./src/test/resources/JSON/400/Observation-blood-pressure.json +./src/test/resources/JSON/400/Observation-bmi.json +./src/test/resources/JSON/400/Observation-bp-data-absent.json +./src/test/resources/JSON/400/Observation-bun.json +./src/test/resources/JSON/400/Observation-erythrocytes.json +./src/test/resources/JSON/400/Observation-head-circumference.json +./src/test/resources/JSON/400/Observation-heart-rate.json +./src/test/resources/JSON/400/Observation-height.json +./src/test/resources/JSON/400/Observation-hemoglobin.json +./src/test/resources/JSON/400/Observation-length.json +./src/test/resources/JSON/400/Observation-mchc.json +./src/test/resources/JSON/400/Observation-neutrophils.json +./src/test/resources/JSON/400/Observation-ofc-percentile.json +./src/test/resources/JSON/400/Observation-oxygen-saturation.json +./src/test/resources/JSON/400/Observation-pediatric-bmi-example.json +./src/test/resources/JSON/400/Observation-pediatric-wt-example.json +./src/test/resources/JSON/400/Observation-respiratory-rate.json +./src/test/resources/JSON/400/Observation-satO2-fiO2.json +./src/test/resources/JSON/400/Observation-serum-calcium.json +./src/test/resources/JSON/400/Observation-serum-chloride.json +./src/test/resources/JSON/400/Observation-serum-co2.json +./src/test/resources/JSON/400/Observation-serum-creatinine.json +./src/test/resources/JSON/400/Observation-serum-potassium.json +./src/test/resources/JSON/400/Observation-serum-sodium.json +./src/test/resources/JSON/400/Observation-serum-total-bilirubin.json +./src/test/resources/JSON/400/Observation-some-day-smoker.json +./src/test/resources/JSON/400/Observation-temperature.json +./src/test/resources/JSON/400/Observation-urine-bacteria.json +./src/test/resources/JSON/400/Observation-urine-bilirubin.json +./src/test/resources/JSON/400/Observation-urine-cells.json +./src/test/resources/JSON/400/Observation-urine-clarity.json +./src/test/resources/JSON/400/Observation-urine-color.json +./src/test/resources/JSON/400/Observation-urine-epi-cells.json +./src/test/resources/JSON/400/Observation-urine-glucose.json +./src/test/resources/JSON/400/Observation-urine-hemoglobin.json +./src/test/resources/JSON/400/Observation-urine-ketone.json +./src/test/resources/JSON/400/Observation-urine-leukocyte-esterase.json +./src/test/resources/JSON/400/Observation-urine-nitrite.json +./src/test/resources/JSON/400/Observation-urine-ph.json +./src/test/resources/JSON/400/Observation-urine-protein.json +./src/test/resources/JSON/400/Observation-urine-rbcs.json +./src/test/resources/JSON/400/Observation-urine-sediment.json +./src/test/resources/JSON/400/Observation-urine-wbcs.json +./src/test/resources/JSON/400/Observation-urobilinogen.json +./src/test/resources/JSON/400/Observation-usg.json +./src/test/resources/JSON/400/Observation-weight.json +./src/test/resources/JSON/400/Organization-acme-lab.json +./src/test/resources/JSON/400/Organization-example-organization-2.json +./src/test/resources/JSON/400/Organization-saint-luke-w-endpoint.json +./src/test/resources/JSON/400/Patient-child-example.json +./src/test/resources/JSON/400/Patient-example.json +./src/test/resources/JSON/400/Patient-infant-example.json +./src/test/resources/JSON/400/Practitioner-practitioner-1.json +./src/test/resources/JSON/400/Practitioner-practitioner-2.json +./src/test/resources/JSON/400/Procedure-defib-implant.json +./src/test/resources/JSON/400/Procedure-rehab.json \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/1.json new file mode 100644 index 00000000000..0fda0258146 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/1.json @@ -0,0 +1,66 @@ +{ + "id": "99274e87-db14-43fa-9ada-2fcb6c1d68a6", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalspanel", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc", + "code": "85353-1", + "display": "Vital signs, weight, height, head circumference, oxygen saturation and BMI panel" + } + ], + "text": "Vital signs, weight, height, head circumference, oxygen saturation and BMI panel" + }, + "subject": { + "reference": "urn:uuid:9b3f6160-285d-4319-8d15-ac07ee3d3a8e" + }, + "encounter": { + "reference": "urn:uuid:bca861e1-0519-46f1-b71c-e8690d5ace99" + }, + "effectiveDateTime": "1939-06-02T19:11:47-04:00", + "issued": "1939-06-02T19:11:47.969-04:00", + "hasMember": [ + { + "reference": "urn:uuid:85e12b36-8409-465e-afa5-cfef461870c0", + "display": "Body Height" + }, + { + "reference": "urn:uuid:b470f98f-a956-4437-b31f-c0ffbee9f724", + "display": "Body Weight" + }, + { + "reference": "urn:uuid:95330314-db42-4292-925b-18107a4acafe", + "display": "Head Occipital-frontal circumference" + }, + { + "reference": "urn:uuid:e9ddb88c-f9aa-4395-a182-21a061a97d82", + "display": "Blood Pressure" + }, + { + "reference": "urn:uuid:398aa985-2783-44f6-aefd-24cdd9974341", + "display": "Heart rate" + }, + { + "reference": "urn:uuid:e14b1c26-e6ae-4eaf-8518-3464225237ea", + "display": "Respiratory rate" + } + ], + "resourceType": "Observation" +} diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/Pamela954_Johns824_4818eca9-c6d2-4fa0-a234-7244e620391e.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/Pamela954_Johns824_4818eca9-c6d2-4fa0-a234-7244e620391e.json new file mode 100644 index 00000000000..43893852379 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/Pamela954_Johns824_4818eca9-c6d2-4fa0-a234-7244e620391e.json @@ -0,0 +1,39777 @@ +{ + "resourceType": "Bundle", + "type": "transaction", + "entry": [ + { + "fullUrl": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "resource": { + "resourceType": "Patient", + "id": "4818eca9-c6d2-4fa0-a234-7244e620391e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + }, + "text": { + "status": "generated", + "div": "
Generated by Synthea.Version identifier: v2.5.0-235-gbd15da38\n . Person seed: -3566243377172859107 Population seed: 3
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2106-3", + "display": "White" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2135-2", + "display": "Hispanic or Latino" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Tomasa683 Nicolas769" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "valueCode": "F" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "city": "Marlborough", + "state": "Massachusetts", + "country": "US" + } + }, + { + "url": "http://synthetichealth.github.io/synthea/disability-adjusted-life-years", + "valueDecimal": 9.479601931502765 + }, + { + "url": "http://synthetichealth.github.io/synthea/quality-adjusted-life-years", + "valueDecimal": 30.520398068497236 + } + ], + "identifier": [ + { + "system": "https://github.com/synthetichealth/synthea", + "value": "4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR", + "display": "Medical Record Number" + } + ], + "text": "Medical Record Number" + }, + "system": "http://hospital.smarthealthit.org", + "value": "4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "SS", + "display": "Social Security Number" + } + ], + "text": "Social Security Number" + }, + "system": "http://hl7.org/fhir/sid/us-ssn", + "value": "999-96-6923" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "DL", + "display": "Driver's License" + } + ], + "text": "Driver's License" + }, + "system": "urn:oid:2.16.840.1.113883.4.3.25", + "value": "S99969076" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "PPN", + "display": "Passport Number" + } + ], + "text": "Passport Number" + }, + "system": "http://standardhealthrecord.org/fhir/StructureDefinition/passportNumber", + "value": "X44312104X" + } + ], + "name": [ + { + "use": "official", + "family": "Johns824", + "given": [ + "Pamela954" + ], + "prefix": [ + "Mrs." + ] + }, + { + "use": "maiden", + "family": "Bauch723", + "given": [ + "Pamela954" + ], + "prefix": [ + "Mrs." + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "555-881-1882", + "use": "home" + } + ], + "gender": "female", + "birthDate": "1979-12-07", + "address": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/geolocation", + "extension": [ + { + "url": "latitude", + "valueDecimal": 42.32202219649107 + }, + { + "url": "longitude", + "valueDecimal": -71.10775062651211 + } + ] + } + ], + "line": [ + "525 Schultz Track Unit 94" + ], + "city": "Boston", + "state": "MA", + "postalCode": "02127", + "country": "US" + } + ], + "maritalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", + "code": "M", + "display": "M" + } + ], + "text": "M" + }, + "multipleBirthBoolean": false, + "communication": [ + { + "language": { + "coding": [ + { + "system": "urn:ietf:bcp:47", + "code": "en-US", + "display": "English" + } + ], + "text": "English" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Patient" + } + }, + { + "fullUrl": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "resource": { + "resourceType": "Location", + "id": "5650caeb-a0bc-4f54-810a-84f030826e8e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + ] + }, + "status": "active", + "name": "CAMBRIDGE HEALTH ALLIANCE", + "telecom": [ + { + "system": "phone", + "value": "6176652300" + } + ], + "address": { + "line": [ + "1493 CAMBRIDGE STREET" + ], + "city": "CAMBRIDGE", + "state": "MA", + "postalCode": "02138", + "country": "US" + }, + "position": { + "longitude": -71.118275, + "latitude": 42.375967 + }, + "managingOrganization": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + }, + "request": { + "method": "POST", + "url": "Location" + } + }, + { + "fullUrl": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "resource": { + "resourceType": "Organization", + "id": "e002090d-4e92-300e-b41e-7d1f21dee4c6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "identifier": [ + { + "system": "https://github.com/synthetichealth/synthea", + "value": "e002090d-4e92-300e-b41e-7d1f21dee4c6" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/organization-type", + "code": "prov", + "display": "Healthcare Provider" + } + ], + "text": "Healthcare Provider" + } + ], + "name": "CAMBRIDGE HEALTH ALLIANCE", + "telecom": [ + { + "system": "phone", + "value": "6176652300" + } + ], + "address": [ + { + "line": [ + "1493 CAMBRIDGE STREET" + ], + "city": "CAMBRIDGE", + "state": "MA", + "postalCode": "02138", + "country": "US" + } + ] + }, + "request": { + "method": "POST", + "url": "Organization" + } + }, + { + "fullUrl": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "resource": { + "resourceType": "Practitioner", + "id": "5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "identifier": [ + { + "system": "http://hl7.org/fhir/sid/us-npi", + "value": "9999999959" + } + ], + "active": true, + "name": [ + { + "family": "Ebert178", + "given": [ + "Wen848" + ], + "prefix": [ + "Dr." + ] + } + ], + "telecom": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "valueBoolean": true + } + ], + "system": "email", + "value": "Wen848.Ebert178@example.com", + "use": "work" + } + ], + "address": [ + { + "line": [ + "1493 CAMBRIDGE STREET" + ], + "city": "CAMBRIDGE", + "state": "MA", + "postalCode": "02138", + "country": "US" + } + ], + "gender": "female" + }, + "request": { + "method": "POST", + "url": "Practitioner" + } + }, + { + "fullUrl": "urn:uuid:ae434da0-4a91-4721-ac3e-6143dc46529d", + "resource": { + "resourceType": "PractitionerRole", + "id": "ae434da0-4a91-4721-ac3e-6143dc46529d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + ] + }, + "practitioner": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + }, + "organization": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "code": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "208D00000X", + "display": "General Practice" + } + ], + "text": "General Practice" + } + ], + "specialty": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "208D00000X", + "display": "General Practice" + } + ], + "text": "General Practice" + } + ], + "location": [ + { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + ], + "telecom": [ + { + "system": "phone", + "value": "6176652300" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "valueBoolean": true + } + ], + "system": "email", + "value": "Wen848.Ebert178@example.com", + "use": "work" + } + ] + }, + "request": { + "method": "POST", + "url": "PractitionerRole" + } + }, + { + "fullUrl": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa", + "resource": { + "resourceType": "Encounter", + "id": "3ce65ce5-899f-4aa6-a810-92c0dc45deaa", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "1981-03-31T03:25:21-05:00", + "end": "1981-03-31T03:40:21-05:00" + }, + "individual": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + } + ], + "period": { + "start": "1981-03-31T03:25:21-05:00", + "end": "1981-03-31T03:40:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:7b707022-dbe7-44a4-8063-596558bd0459", + "resource": { + "resourceType": "CareTeam", + "id": "7b707022-dbe7-44a4-8063-596558bd0459", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + ] + }, + "status": "active", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + }, + "period": { + "start": "1981-03-31T03:25:21-05:00" + }, + "participant": [ + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "116153009", + "display": "Patient" + } + ], + "text": "Patient" + } + ], + "member": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + } + }, + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "223366009", + "display": "Healthcare professional (occupation)" + } + ], + "text": "Healthcare professional (occupation)" + } + ], + "member": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + }, + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "224891009", + "display": "Healthcare services (qualifier value)" + } + ], + "text": "Healthcare services (qualifier value)" + } + ], + "member": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + ], + "managingOrganization": [ + { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + ] + }, + "request": { + "method": "POST", + "url": "CareTeam" + } + }, + { + "fullUrl": "urn:uuid:a6a822c0-0b60-438a-940e-064c3fdfb456", + "resource": { + "resourceType": "CarePlan", + "id": "a6a822c0-0b60-438a-940e-064c3fdfb456", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + ] + }, + "text": { + "status": "generated", + "div": "
Care Plan for Self-care interventions (procedure).
Activities:
  • Self-care interventions (procedure)
  • Self-care interventions (procedure)
  • Self-care interventions (procedure)
" + }, + "status": "active", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + }, + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "384758001", + "display": "Self-care interventions (procedure)" + } + ], + "text": "Self-care interventions (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + }, + "period": { + "start": "1981-03-31T03:25:21-05:00" + }, + "careTeam": [ + { + "reference": "urn:uuid:7b707022-dbe7-44a4-8063-596558bd0459" + } + ], + "activity": [ + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "409002", + "display": "Food allergy diet" + } + ], + "text": "Food allergy diet" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + }, + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "58332002", + "display": "Allergy education" + } + ], + "text": "Allergy education" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + }, + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "58332002", + "display": "Allergy education" + } + ], + "text": "Allergy education" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + } + ] + }, + "request": { + "method": "POST", + "url": "CarePlan" + } + }, + { + "fullUrl": "urn:uuid:8e840915-8adc-4920-837e-b77fbd0bc5bb", + "resource": { + "resourceType": "DiagnosticReport", + "id": "8e840915-8adc-4920-837e-b77fbd0bc5bb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + }, + "effectiveDateTime": "1981-03-31T03:25:21-05:00", + "issued": "1981-03-31T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjE5ODEtMDMtMzEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEgeWVhci1vbGQgbm9uLWhpc3BhbmljIHdoaXRlIGZlbWFsZS4KCiMgU29jaWFsIEhpc3RvcnkKIFBhdGllbnQgaGFzIG5ldmVyIHNtb2tlZCBhbmQgaXMgYW4gYWxjb2hvbGljLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKTm8gQWN0aXZlIE1lZGljYXRpb25zLgoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHBsYWNlZCBvbiBhIGNhcmVwbGFuOgotIHNlbGYtY2FyZSBpbnRlcnZlbnRpb25zIChwcm9jZWR1cmUpCg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:09669f57-56ef-4d38-a1f9-920b84900f1c", + "resource": { + "resourceType": "DocumentReference", + "id": "09669f57-56ef-4d38-a1f9-920b84900f1c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "8e840915-8adc-4920-837e-b77fbd0bc5bb" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "1981-03-31T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "custodian": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjE5ODEtMDMtMzEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEgeWVhci1vbGQgbm9uLWhpc3BhbmljIHdoaXRlIGZlbWFsZS4KCiMgU29jaWFsIEhpc3RvcnkKIFBhdGllbnQgaGFzIG5ldmVyIHNtb2tlZCBhbmQgaXMgYW4gYWxjb2hvbGljLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKTm8gQWN0aXZlIE1lZGljYXRpb25zLgoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHBsYWNlZCBvbiBhIGNhcmVwbGFuOgotIHNlbGYtY2FyZSBpbnRlcnZlbnRpb25zIChwcm9jZWR1cmUpCg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + } + ], + "period": { + "start": "1981-03-31T03:25:21-05:00", + "end": "1981-03-31T03:40:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:3288f528-675a-48a7-925a-db365aa7fedd", + "resource": { + "resourceType": "Claim", + "id": "3288f528-675a-48a7-925a-db365aa7fedd", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "1981-03-31T03:25:21-05:00", + "end": "1981-03-31T03:40:21-05:00" + }, + "created": "1981-03-31T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + }, + "encounter": [ + { + "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:a8afae92-0db2-4379-ab05-2375d91bddbf", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "a8afae92-0db2-4379-ab05-2375d91bddbf", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "3288f528-675a-48a7-925a-db365aa7fedd" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1981-03-31T03:40:21-05:00", + "end": "1982-03-31T03:40:21-05:00" + }, + "created": "1981-03-31T03:40:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "claim": { + "reference": "urn:uuid:3288f528-675a-48a7-925a-db365aa7fedd" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + }, + "servicedPeriod": { + "start": "1981-03-31T03:25:21-05:00", + "end": "1981-03-31T03:40:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923", + "resource": { + "resourceType": "Encounter", + "id": "d117d0f3-70e3-4f7c-be75-808aa3039923", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "d117d0f3-70e3-4f7c-be75-808aa3039923" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "1981-04-11T03:25:21-05:00", + "end": "1981-04-11T04:17:21-05:00" + }, + "individual": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + } + ], + "period": { + "start": "1981-04-11T03:25:21-05:00", + "end": "1981-04-11T04:17:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:dc9dd26e-8983-4bd4-abdc-9dbe5abdd581", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "dc9dd26e-8983-4bd4-abdc-9dbe5abdd581", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "confirmed" + } + ] + }, + "type": "allergy", + "category": [ + "food" + ], + "criticality": "low", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "91935009", + "display": "Allergy to peanuts" + } + ], + "text": "Allergy to peanuts" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "recordedDate": "1981-04-11T03:25:21-05:00" + }, + "request": { + "method": "POST", + "url": "AllergyIntolerance" + } + }, + { + "fullUrl": "urn:uuid:4145178a-e267-4de8-a81b-d36c2da972af", + "resource": { + "resourceType": "MedicationRequest", + "id": "4145178a-e267-4de8-a81b-d36c2da972af", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "197378", + "display": "Astemizole 10 MG Oral Tablet" + } + ], + "text": "Astemizole 10 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" + }, + "authoredOn": "1981-04-11T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + }, + "dosageInstruction": [ + { + "sequence": 1, + "text": "Take as needed.", + "asNeededBoolean": true + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:c29e86ee-9abf-403d-a722-09291038da71", + "resource": { + "resourceType": "Claim", + "id": "c29e86ee-9abf-403d-a722-09291038da71", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1981-04-11T03:25:21-05:00", + "end": "1981-04-11T04:17:21-05:00" + }, + "created": "1981-04-11T04:17:21-05:00", + "provider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:4145178a-e267-4de8-a81b-d36c2da972af" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + }, + "encounter": [ + { + "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" + } + ] + } + ], + "total": { + "value": 11.5, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:8ffa75ad-b7dc-4da3-bcb0-f73c2a25f2c6", + "resource": { + "resourceType": "DiagnosticReport", + "id": "8ffa75ad-b7dc-4da3-bcb0-f73c2a25f2c6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" + }, + "effectiveDateTime": "1981-04-11T03:25:21-05:00", + "issued": "1981-04-11T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjE5ODEtMDQtMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEgeWVhci1vbGQgbm9uLWhpc3BhbmljIHdoaXRlIGZlbWFsZS4KCiMgU29jaWFsIEhpc3RvcnkKIFBhdGllbnQgaGFzIG5ldmVyIHNtb2tlZCBhbmQgaXMgYW4gYWxjb2hvbGljLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKTm8gQWN0aXZlIE1lZGljYXRpb25zLgoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuClBhdGllbnQgaXMgcHJlc2VudGluZyB3aXRoIGFsbGVyZ3kgdG8gcGVhbnV0cy4gCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGFzdGVtaXpvbGUgMTAgbWcgb3JhbCB0YWJsZXQK" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:7bc429fd-499d-404e-8353-dffe91ca3f79", + "resource": { + "resourceType": "DocumentReference", + "id": "7bc429fd-499d-404e-8353-dffe91ca3f79", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "8ffa75ad-b7dc-4da3-bcb0-f73c2a25f2c6" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "1981-04-11T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "custodian": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjE5ODEtMDQtMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEgeWVhci1vbGQgbm9uLWhpc3BhbmljIHdoaXRlIGZlbWFsZS4KCiMgU29jaWFsIEhpc3RvcnkKIFBhdGllbnQgaGFzIG5ldmVyIHNtb2tlZCBhbmQgaXMgYW4gYWxjb2hvbGljLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKTm8gQWN0aXZlIE1lZGljYXRpb25zLgoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuClBhdGllbnQgaXMgcHJlc2VudGluZyB3aXRoIGFsbGVyZ3kgdG8gcGVhbnV0cy4gCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGFzdGVtaXpvbGUgMTAgbWcgb3JhbCB0YWJsZXQK" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" + } + ], + "period": { + "start": "1981-04-11T03:25:21-05:00", + "end": "1981-04-11T04:17:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:8fb48e33-24c5-420a-8f4d-0aa26a343c44", + "resource": { + "resourceType": "Claim", + "id": "8fb48e33-24c5-420a-8f4d-0aa26a343c44", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "1981-04-11T03:25:21-05:00", + "end": "1981-04-11T04:17:21-05:00" + }, + "created": "1981-04-11T04:17:21-05:00", + "provider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + }, + "encounter": [ + { + "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:5f92bc64-1cc5-4a94-b318-883a54331545", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "5f92bc64-1cc5-4a94-b318-883a54331545", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "8fb48e33-24c5-420a-8f4d-0aa26a343c44" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1981-04-11T04:17:21-05:00", + "end": "1982-04-11T04:17:21-05:00" + }, + "created": "1981-04-11T04:17:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "claim": { + "reference": "urn:uuid:8fb48e33-24c5-420a-8f4d-0aa26a343c44" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + }, + "servicedPeriod": { + "start": "1981-04-11T03:25:21-05:00", + "end": "1981-04-11T04:17:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "resource": { + "resourceType": "Location", + "id": "4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + ] + }, + "status": "active", + "name": "MOUNT AUBURN HOSPITAL", + "telecom": [ + { + "system": "phone", + "value": "6174923500" + } + ], + "address": { + "line": [ + "330 MOUNT AUBURN STREET" + ], + "city": "CAMBRIDGE", + "state": "MA", + "postalCode": "02138", + "country": "US" + }, + "position": { + "longitude": -71.118275, + "latitude": 42.375967 + }, + "managingOrganization": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + } + }, + "request": { + "method": "POST", + "url": "Location" + } + }, + { + "fullUrl": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "resource": { + "resourceType": "Organization", + "id": "69176529-fd1f-3b3f-abce-a0a3626769eb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "identifier": [ + { + "system": "https://github.com/synthetichealth/synthea", + "value": "69176529-fd1f-3b3f-abce-a0a3626769eb" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/organization-type", + "code": "prov", + "display": "Healthcare Provider" + } + ], + "text": "Healthcare Provider" + } + ], + "name": "MOUNT AUBURN HOSPITAL", + "telecom": [ + { + "system": "phone", + "value": "6174923500" + } + ], + "address": [ + { + "line": [ + "330 MOUNT AUBURN STREET" + ], + "city": "CAMBRIDGE", + "state": "MA", + "postalCode": "02138", + "country": "US" + } + ] + }, + "request": { + "method": "POST", + "url": "Organization" + } + }, + { + "fullUrl": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "resource": { + "resourceType": "Practitioner", + "id": "5eddc110-d05c-3e3d-b717-2ba27e784fba", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "identifier": [ + { + "system": "http://hl7.org/fhir/sid/us-npi", + "value": "9999999989" + } + ], + "active": true, + "name": [ + { + "family": "Hoppe518", + "given": [ + "Mathew182" + ], + "prefix": [ + "Dr." + ] + } + ], + "telecom": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "valueBoolean": true + } + ], + "system": "email", + "value": "Mathew182.Hoppe518@example.com", + "use": "work" + } + ], + "address": [ + { + "line": [ + "330 MOUNT AUBURN STREET" + ], + "city": "CAMBRIDGE", + "state": "MA", + "postalCode": "02138", + "country": "US" + } + ], + "gender": "male" + }, + "request": { + "method": "POST", + "url": "Practitioner" + } + }, + { + "fullUrl": "urn:uuid:f33d551d-cbc4-4808-8f11-f42a17f275b6", + "resource": { + "resourceType": "PractitionerRole", + "id": "f33d551d-cbc4-4808-8f11-f42a17f275b6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + ] + }, + "practitioner": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + }, + "organization": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "code": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "208D00000X", + "display": "General Practice" + } + ], + "text": "General Practice" + } + ], + "specialty": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "208D00000X", + "display": "General Practice" + } + ], + "text": "General Practice" + } + ], + "location": [ + { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + } + ], + "telecom": [ + { + "system": "phone", + "value": "6174923500" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "valueBoolean": true + } + ], + "system": "email", + "value": "Mathew182.Hoppe518@example.com", + "use": "work" + } + ] + }, + "request": { + "method": "POST", + "url": "PractitionerRole" + } + }, + { + "fullUrl": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f", + "resource": { + "resourceType": "Encounter", + "id": "f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "EMER" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "50849002", + "display": "Emergency Room Admission" + } + ], + "text": "Emergency Room Admission" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-04T04:25:21-05:00" + }, + "individual": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + } + ], + "period": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-04T04:25:21-05:00" + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "74400008", + "display": "Appendicitis" + } + ] + } + ], + "location": [ + { + "location": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:5a65adea-0cbc-429e-ae59-2b9e0ba98ebe", + "resource": { + "resourceType": "Condition", + "id": "5a65adea-0cbc-429e-ae59-2b9e0ba98ebe", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "74400008", + "display": "Appendicitis" + } + ], + "text": "Appendicitis" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" + }, + "onsetDateTime": "1993-12-04T03:25:21-05:00", + "recordedDate": "1993-12-04T03:25:21-05:00" + }, + "request": { + "method": "POST", + "url": "Condition" + } + }, + { + "fullUrl": "urn:uuid:00b0a904-7f33-44ad-9ede-23c7f1a15f44", + "resource": { + "resourceType": "DiagnosticReport", + "id": "00b0a904-7f33-44ad-9ede-23c7f1a15f44", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" + }, + "effectiveDateTime": "1993-12-04T03:25:21-05:00", + "issued": "1993-12-04T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjE5OTMtMTItMDQKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGhhcyBuZXZlciBzbW9rZWQgYW5kIGlzIGFuIGFsY29ob2xpYy4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgY3VycmVudGx5IGhhcyBDaWduYSBIZWFsdGguCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCk5vIEFjdGl2ZSBNZWRpY2F0aW9ucy4KCiMgQXNzZXNzbWVudCBhbmQgUGxhbgpQYXRpZW50IGlzIHByZXNlbnRpbmcgd2l0aCBhcHBlbmRpY2l0aXMuIAoKIyMgUGxhbgoK" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:21560651-525c-4eb5-8d80-ae6a62cac8e0", + "resource": { + "resourceType": "DocumentReference", + "id": "21560651-525c-4eb5-8d80-ae6a62cac8e0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "00b0a904-7f33-44ad-9ede-23c7f1a15f44" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "1993-12-04T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "custodian": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjE5OTMtMTItMDQKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGhhcyBuZXZlciBzbW9rZWQgYW5kIGlzIGFuIGFsY29ob2xpYy4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgY3VycmVudGx5IGhhcyBDaWduYSBIZWFsdGguCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCk5vIEFjdGl2ZSBNZWRpY2F0aW9ucy4KCiMgQXNzZXNzbWVudCBhbmQgUGxhbgpQYXRpZW50IGlzIHByZXNlbnRpbmcgd2l0aCBhcHBlbmRpY2l0aXMuIAoKIyMgUGxhbgoK" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" + } + ], + "period": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-04T04:25:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:4e0564e3-cd19-4cff-9658-f2751c891b38", + "resource": { + "resourceType": "Claim", + "id": "4e0564e3-cd19-4cff-9658-f2751c891b38", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-04T04:25:21-05:00" + }, + "created": "1993-12-04T04:25:21-05:00", + "provider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:5a65adea-0cbc-429e-ae59-2b9e0ba98ebe" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "50849002", + "display": "Emergency Room Admission" + } + ], + "text": "Emergency Room Admission" + }, + "encounter": [ + { + "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "74400008", + "display": "Appendicitis" + } + ], + "text": "Appendicitis" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:03657b06-ab10-4268-9f98-9e0c9bdeaaec", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "03657b06-ab10-4268-9f98-9e0c9bdeaaec", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "4e0564e3-cd19-4cff-9658-f2751c891b38" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1993-12-04T04:25:21-05:00", + "end": "1994-12-04T04:25:21-05:00" + }, + "created": "1993-12-04T04:25:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "claim": { + "reference": "urn:uuid:4e0564e3-cd19-4cff-9658-f2751c891b38" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:5a65adea-0cbc-429e-ae59-2b9e0ba98ebe" + }, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", + "code": "principal" + } + ] + } + ] + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "50849002", + "display": "Emergency Room Admission" + } + ], + "text": "Emergency Room Admission" + }, + "servicedPeriod": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-04T04:25:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "20", + "display": "Urgent Care Facility" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "74400008", + "display": "Appendicitis" + } + ], + "text": "Appendicitis" + }, + "servicedPeriod": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-04T04:25:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "20", + "display": "Urgent Care Facility" + } + ] + } + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd", + "resource": { + "resourceType": "Encounter", + "id": "1b1a63a7-7260-4eaf-b029-d4b264c62dcd", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "1b1a63a7-7260-4eaf-b029-d4b264c62dcd" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "IMP" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "183452005", + "display": "Encounter Inpatient" + } + ], + "text": "Encounter Inpatient" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-08T04:06:21-05:00" + }, + "individual": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + } + ], + "period": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-08T04:06:21-05:00" + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "74400008", + "display": "Appendicitis" + } + ] + } + ], + "hospitalization": { + "dischargeDisposition": { + "coding": [ + { + "system": "http://www.nubc.org/patient-discharge", + "code": "01", + "display": "Discharged to home care or self care (routine discharge)" + } + ], + "text": "Discharged to home care or self care (routine discharge)" + } + }, + "location": [ + { + "location": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:5610dfb1-315e-4a68-8599-68f9b3446e90", + "resource": { + "resourceType": "Condition", + "id": "5610dfb1-315e-4a68-8599-68f9b3446e90", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "428251008", + "display": "History of appendectomy" + } + ], + "text": "History of appendectomy" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" + }, + "onsetDateTime": "1993-12-04T03:25:21-05:00", + "recordedDate": "1993-12-04T03:25:21-05:00" + }, + "request": { + "method": "POST", + "url": "Condition" + } + }, + { + "fullUrl": "urn:uuid:7af93122-0d5a-4100-b7c9-edc1b844b912", + "resource": { + "resourceType": "DiagnosticReport", + "id": "7af93122-0d5a-4100-b7c9-edc1b844b912", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" + }, + "effectiveDateTime": "1993-12-04T03:25:21-05:00", + "issued": "1993-12-04T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjE5OTMtMTItMDQKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGhhcyBuZXZlciBzbW9rZWQgYW5kIGlzIGFuIGFsY29ob2xpYy4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgY3VycmVudGx5IGhhcyBDaWduYSBIZWFsdGguCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCk5vIEFjdGl2ZSBNZWRpY2F0aW9ucy4KCiMgQXNzZXNzbWVudCBhbmQgUGxhbgpQYXRpZW50IGlzIHByZXNlbnRpbmcgd2l0aCBoaXN0b3J5IG9mIGFwcGVuZGVjdG9teS4gCgojIyBQbGFuCgo=" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:b61efb38-3b58-4b19-ace1-e0bdd22a7b3e", + "resource": { + "resourceType": "DocumentReference", + "id": "b61efb38-3b58-4b19-ace1-e0bdd22a7b3e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "7af93122-0d5a-4100-b7c9-edc1b844b912" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "1993-12-04T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "custodian": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjE5OTMtMTItMDQKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGhhcyBuZXZlciBzbW9rZWQgYW5kIGlzIGFuIGFsY29ob2xpYy4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgY3VycmVudGx5IGhhcyBDaWduYSBIZWFsdGguCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCk5vIEFjdGl2ZSBNZWRpY2F0aW9ucy4KCiMgQXNzZXNzbWVudCBhbmQgUGxhbgpQYXRpZW50IGlzIHByZXNlbnRpbmcgd2l0aCBoaXN0b3J5IG9mIGFwcGVuZGVjdG9teS4gCgojIyBQbGFuCgo=" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" + } + ], + "period": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-08T04:06:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:b454ced0-573d-4e61-8d52-91c286cd22fc", + "resource": { + "resourceType": "Claim", + "id": "b454ced0-573d-4e61-8d52-91c286cd22fc", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-08T04:06:21-05:00" + }, + "created": "1993-12-08T04:06:21-05:00", + "provider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:5610dfb1-315e-4a68-8599-68f9b3446e90" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "183452005", + "display": "Encounter Inpatient" + } + ], + "text": "Encounter Inpatient" + }, + "encounter": [ + { + "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "428251008", + "display": "History of appendectomy" + } + ], + "text": "History of appendectomy" + } + } + ], + "total": { + "value": 77.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:0a49f240-54e1-46ff-b8fd-962675304d76", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "0a49f240-54e1-46ff-b8fd-962675304d76", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "b454ced0-573d-4e61-8d52-91c286cd22fc" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1993-12-08T04:06:21-05:00", + "end": "1994-12-08T04:06:21-05:00" + }, + "created": "1993-12-08T04:06:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "claim": { + "reference": "urn:uuid:b454ced0-573d-4e61-8d52-91c286cd22fc" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:5610dfb1-315e-4a68-8599-68f9b3446e90" + }, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", + "code": "principal" + } + ] + } + ] + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "183452005", + "display": "Encounter Inpatient" + } + ], + "text": "Encounter Inpatient" + }, + "servicedPeriod": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-08T04:06:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "428251008", + "display": "History of appendectomy" + } + ], + "text": "History of appendectomy" + }, + "servicedPeriod": { + "start": "1993-12-04T03:25:21-05:00", + "end": "1993-12-08T04:06:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + } + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 77.49, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "resource": { + "resourceType": "Location", + "id": "c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + ] + }, + "status": "active", + "name": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC", + "telecom": [ + { + "system": "phone", + "value": "617-739-0245" + } + ], + "address": { + "line": [ + "1 BROOKLINE PL" + ], + "city": "BROOKLINE", + "state": "MA", + "postalCode": "02445-7277", + "country": "US" + }, + "position": { + "longitude": -71.142003, + "latitude": 42.323853 + }, + "managingOrganization": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Location" + } + }, + { + "fullUrl": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "resource": { + "resourceType": "Organization", + "id": "b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "identifier": [ + { + "system": "https://github.com/synthetichealth/synthea", + "value": "b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/organization-type", + "code": "prov", + "display": "Healthcare Provider" + } + ], + "text": "Healthcare Provider" + } + ], + "name": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC", + "telecom": [ + { + "system": "phone", + "value": "617-739-0245" + } + ], + "address": [ + { + "line": [ + "1 BROOKLINE PL" + ], + "city": "BROOKLINE", + "state": "MA", + "postalCode": "02445-7277", + "country": "US" + } + ] + }, + "request": { + "method": "POST", + "url": "Organization" + } + }, + { + "fullUrl": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "resource": { + "resourceType": "Practitioner", + "id": "697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "identifier": [ + { + "system": "http://hl7.org/fhir/sid/us-npi", + "value": "9999997789" + } + ], + "active": true, + "name": [ + { + "family": "Huel628", + "given": [ + "Brendon298" + ], + "prefix": [ + "Dr." + ] + } + ], + "telecom": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "valueBoolean": true + } + ], + "system": "email", + "value": "Brendon298.Huel628@example.com", + "use": "work" + } + ], + "address": [ + { + "line": [ + "1 BROOKLINE PL" + ], + "city": "BROOKLINE", + "state": "MA", + "postalCode": "02445-7277", + "country": "US" + } + ], + "gender": "male" + }, + "request": { + "method": "POST", + "url": "Practitioner" + } + }, + { + "fullUrl": "urn:uuid:97d39e08-5aac-4dec-8add-474d16eba6c4", + "resource": { + "resourceType": "PractitionerRole", + "id": "97d39e08-5aac-4dec-8add-474d16eba6c4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + ] + }, + "practitioner": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "organization": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "code": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "208D00000X", + "display": "General Practice" + } + ], + "text": "General Practice" + } + ], + "specialty": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "208D00000X", + "display": "General Practice" + } + ], + "text": "General Practice" + } + ], + "location": [ + { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "telecom": [ + { + "system": "phone", + "value": "617-739-0245" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "valueBoolean": true + } + ], + "system": "email", + "value": "Brendon298.Huel628@example.com", + "use": "work" + } + ] + }, + "request": { + "method": "POST", + "url": "PractitionerRole" + } + }, + { + "fullUrl": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa", + "resource": { + "resourceType": "Encounter", + "id": "6d721a06-2e4f-40d9-a109-a77df52918fa", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "6d721a06-2e4f-40d9-a109-a77df52918fa" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "1998-01-30T03:25:21-05:00", + "end": "1998-01-30T03:40:21-05:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "1998-01-30T03:25:21-05:00", + "end": "1998-01-30T03:40:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344", + "resource": { + "resourceType": "Condition", + "id": "6fcef45f-c022-4a43-a026-491b9e8ab344", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "59621000", + "display": "Hypertension" + } + ], + "text": "Hypertension" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" + }, + "onsetDateTime": "1998-01-30T03:25:21-05:00", + "recordedDate": "1998-01-30T03:25:21-05:00" + }, + "request": { + "method": "POST", + "url": "Condition" + } + }, + { + "fullUrl": "urn:uuid:1079548d-b5e4-468e-a4dc-d7f30a87608d", + "resource": { + "resourceType": "CareTeam", + "id": "1079548d-b5e4-468e-a4dc-d7f30a87608d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + ] + }, + "status": "active", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" + }, + "period": { + "start": "1998-01-30T03:25:21-05:00" + }, + "participant": [ + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "116153009", + "display": "Patient" + } + ], + "text": "Patient" + } + ], + "member": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + } + }, + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "223366009", + "display": "Healthcare professional (occupation)" + } + ], + "text": "Healthcare professional (occupation)" + } + ], + "member": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + }, + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "224891009", + "display": "Healthcare services (qualifier value)" + } + ], + "text": "Healthcare services (qualifier value)" + } + ], + "member": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "59621000", + "display": "Hypertension" + } + ], + "text": "Hypertension" + } + ], + "managingOrganization": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ] + }, + "request": { + "method": "POST", + "url": "CareTeam" + } + }, + { + "fullUrl": "urn:uuid:f76c8a86-2731-45a8-a41d-f3739d5a9f9f", + "resource": { + "resourceType": "Goal", + "id": "f76c8a86-2731-45a8-a41d-f3739d5a9f9f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "lifecycleStatus": "accepted", + "achievementStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", + "code": "in-progress" + } + ] + }, + "description": { + "text": "Maintain blood pressure below 140/90 mm[Hg]" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "target": [ + { + "measure": { + "text": "Maintain blood pressure below 140/90 mm[Hg]" + }, + "dueDate": "1998-03-01" + } + ] + }, + "request": { + "method": "POST", + "url": "Goal" + } + }, + { + "fullUrl": "urn:uuid:3ff6bc3c-e123-424f-a19b-8e46ea3b592a", + "resource": { + "resourceType": "Goal", + "id": "3ff6bc3c-e123-424f-a19b-8e46ea3b592a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "lifecycleStatus": "accepted", + "achievementStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", + "code": "in-progress" + } + ] + }, + "description": { + "text": "Reduce sodium intake to no more than 2,400 mg/day" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "target": [ + { + "measure": { + "text": "Reduce sodium intake to no more than 2,400 mg/day" + }, + "dueDate": "1998-03-01" + } + ] + }, + "request": { + "method": "POST", + "url": "Goal" + } + }, + { + "fullUrl": "urn:uuid:a22344fd-f2d8-44c3-8a27-192ff2335d57", + "resource": { + "resourceType": "CarePlan", + "id": "a22344fd-f2d8-44c3-8a27-192ff2335d57", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + ] + }, + "text": { + "status": "generated", + "div": "
Care Plan for Lifestyle education regarding hypertension.
Activities:
  • Lifestyle education regarding hypertension
  • Lifestyle education regarding hypertension
  • Lifestyle education regarding hypertension
  • Lifestyle education regarding hypertension

Care plan is meant to treat Hypertension.
" + }, + "status": "active", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + }, + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "443402002", + "display": "Lifestyle education regarding hypertension" + } + ], + "text": "Lifestyle education regarding hypertension" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" + }, + "period": { + "start": "1998-01-30T03:25:21-05:00" + }, + "careTeam": [ + { + "reference": "urn:uuid:1079548d-b5e4-468e-a4dc-d7f30a87608d" + } + ], + "addresses": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "goal": [ + { + "reference": "urn:uuid:f76c8a86-2731-45a8-a41d-f3739d5a9f9f" + }, + { + "reference": "urn:uuid:3ff6bc3c-e123-424f-a19b-8e46ea3b592a" + } + ], + "activity": [ + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "386463000", + "display": "Prescribed activity/exercise education" + } + ], + "text": "Prescribed activity/exercise education" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + }, + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "413473000", + "display": "Counseling about alcohol consumption" + } + ], + "text": "Counseling about alcohol consumption" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + }, + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1151000175103", + "display": "Dietary approaches to stop hypertension diet" + } + ], + "text": "Dietary approaches to stop hypertension diet" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + }, + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "225323000", + "display": "Smoking cessation education" + } + ], + "text": "Smoking cessation education" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + } + ] + }, + "request": { + "method": "POST", + "url": "CarePlan" + } + }, + { + "fullUrl": "urn:uuid:a4bb4455-c9ea-43b0-a158-f20104fe3b31", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a4bb4455-c9ea-43b0-a158-f20104fe3b31", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" + }, + "effectiveDateTime": "1998-01-30T03:25:21-05:00", + "issued": "1998-01-30T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjE5OTgtMDEtMzAKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGlzIGFuIGFjdGl2ZSBzbW9rZXIgYW5kIGlzIGFuIGFsY29ob2xpYy4gUGF0aWVudCBpZGVudGlmaWVzIGFzIGhldGVyb3NleHVhbC4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgaGFzIGEgaGlnaCBzY2hvb2wgZWR1Y2F0aW9uLiBQYXRpZW50IGN1cnJlbnRseSBoYXMgQ2lnbmEgSGVhbHRoLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwpObyBBY3RpdmUgTWVkaWNhdGlvbnMuCgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KUGF0aWVudCBpcyBwcmVzZW50aW5nIHdpdGggaHlwZXJ0ZW5zaW9uLiAKCiMjIFBsYW4KClRoZSBwYXRpZW50IHdhcyBwbGFjZWQgb24gYSBjYXJlcGxhbjoKLSBsaWZlc3R5bGUgZWR1Y2F0aW9uIHJlZ2FyZGluZyBoeXBlcnRlbnNpb24K" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:afa2cd14-9f05-47ba-a1f8-4b294ff3c1d3", + "resource": { + "resourceType": "DocumentReference", + "id": "afa2cd14-9f05-47ba-a1f8-4b294ff3c1d3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "a4bb4455-c9ea-43b0-a158-f20104fe3b31" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "1998-01-30T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjE5OTgtMDEtMzAKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGlzIGFuIGFjdGl2ZSBzbW9rZXIgYW5kIGlzIGFuIGFsY29ob2xpYy4gUGF0aWVudCBpZGVudGlmaWVzIGFzIGhldGVyb3NleHVhbC4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgaGFzIGEgaGlnaCBzY2hvb2wgZWR1Y2F0aW9uLiBQYXRpZW50IGN1cnJlbnRseSBoYXMgQ2lnbmEgSGVhbHRoLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwpObyBBY3RpdmUgTWVkaWNhdGlvbnMuCgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KUGF0aWVudCBpcyBwcmVzZW50aW5nIHdpdGggaHlwZXJ0ZW5zaW9uLiAKCiMjIFBsYW4KClRoZSBwYXRpZW50IHdhcyBwbGFjZWQgb24gYSBjYXJlcGxhbjoKLSBsaWZlc3R5bGUgZWR1Y2F0aW9uIHJlZ2FyZGluZyBoeXBlcnRlbnNpb24K" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" + } + ], + "period": { + "start": "1998-01-30T03:25:21-05:00", + "end": "1998-01-30T03:40:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:babd4d54-5160-49c3-a48d-743bc18261b0", + "resource": { + "resourceType": "Claim", + "id": "babd4d54-5160-49c3-a48d-743bc18261b0", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "1998-01-30T03:25:21-05:00", + "end": "1998-01-30T03:40:21-05:00" + }, + "created": "1998-01-30T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "59621000", + "display": "Hypertension" + } + ], + "text": "Hypertension" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:bbfd08e2-a360-4a69-ab18-47ecbd2a905f", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "bbfd08e2-a360-4a69-ab18-47ecbd2a905f", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "babd4d54-5160-49c3-a48d-743bc18261b0" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1998-01-30T03:40:21-05:00", + "end": "1999-01-30T03:40:21-05:00" + }, + "created": "1998-01-30T03:40:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:babd4d54-5160-49c3-a48d-743bc18261b0" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + }, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", + "code": "principal" + } + ] + } + ] + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "1998-01-30T03:25:21-05:00", + "end": "1998-01-30T03:40:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "59621000", + "display": "Hypertension" + } + ], + "text": "Hypertension" + }, + "servicedPeriod": { + "start": "1998-01-30T03:25:21-05:00", + "end": "1998-01-30T03:40:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + } + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff", + "resource": { + "resourceType": "Encounter", + "id": "48c605b5-a3bd-4d10-a03c-68b92abeedff", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "48c605b5-a3bd-4d10-a03c-68b92abeedff" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "390906007", + "display": "Hypertension follow-up encounter" + } + ], + "text": "Hypertension follow-up encounter" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "1998-03-01T03:25:21-05:00", + "end": "1998-03-01T03:40:21-05:00" + }, + "individual": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + } + ], + "period": { + "start": "1998-03-01T03:25:21-05:00", + "end": "1998-03-01T03:40:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:f48e166f-e816-4dd2-ae9a-f745c788b5dc", + "resource": { + "resourceType": "MedicationRequest", + "id": "f48e166f-e816-4dd2-ae9a-f745c788b5dc", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" + }, + "authoredOn": "1998-03-01T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:5a2fd146-bed1-4588-ad05-da3e0f2b839a", + "resource": { + "resourceType": "Claim", + "id": "5a2fd146-bed1-4588-ad05-da3e0f2b839a", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1998-03-01T03:25:21-05:00", + "end": "1998-03-01T03:40:21-05:00" + }, + "created": "1998-03-01T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:f48e166f-e816-4dd2-ae9a-f745c788b5dc" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "390906007", + "display": "Hypertension follow-up encounter" + } + ], + "text": "Hypertension follow-up encounter" + }, + "encounter": [ + { + "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:ce90da04-67b3-4bf8-b634-ad32231416e2", + "resource": { + "resourceType": "DiagnosticReport", + "id": "ce90da04-67b3-4bf8-b634-ad32231416e2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" + }, + "effectiveDateTime": "1998-03-01T03:25:21-05:00", + "issued": "1998-03-01T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjE5OTgtMDMtMDEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGlzIGFuIGFjdGl2ZSBzbW9rZXIgYW5kIGlzIGFuIGFsY29ob2xpYy4gUGF0aWVudCBpZGVudGlmaWVzIGFzIGhldGVyb3NleHVhbC4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgaGFzIGEgaGlnaCBzY2hvb2wgZWR1Y2F0aW9uLiBQYXRpZW50IGN1cnJlbnRseSBoYXMgQ2lnbmEgSGVhbHRoLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwpObyBBY3RpdmUgTWVkaWNhdGlvbnMuCgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQK" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:b350966e-2568-41e0-88a2-e9d5f4c809ef", + "resource": { + "resourceType": "DocumentReference", + "id": "b350966e-2568-41e0-88a2-e9d5f4c809ef", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "ce90da04-67b3-4bf8-b634-ad32231416e2" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "1998-03-01T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "custodian": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjE5OTgtMDMtMDEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGlzIGFuIGFjdGl2ZSBzbW9rZXIgYW5kIGlzIGFuIGFsY29ob2xpYy4gUGF0aWVudCBpZGVudGlmaWVzIGFzIGhldGVyb3NleHVhbC4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgaGFzIGEgaGlnaCBzY2hvb2wgZWR1Y2F0aW9uLiBQYXRpZW50IGN1cnJlbnRseSBoYXMgQ2lnbmEgSGVhbHRoLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwpObyBBY3RpdmUgTWVkaWNhdGlvbnMuCgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQK" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" + } + ], + "period": { + "start": "1998-03-01T03:25:21-05:00", + "end": "1998-03-01T03:40:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:444f7f44-2f77-4f02-88be-d9544bf3c631", + "resource": { + "resourceType": "Claim", + "id": "444f7f44-2f77-4f02-88be-d9544bf3c631", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "1998-03-01T03:25:21-05:00", + "end": "1998-03-01T03:40:21-05:00" + }, + "created": "1998-03-01T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "390906007", + "display": "Hypertension follow-up encounter" + } + ], + "text": "Hypertension follow-up encounter" + }, + "encounter": [ + { + "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:0ef8e051-1fe0-43ba-a9de-3e168192361b", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "0ef8e051-1fe0-43ba-a9de-3e168192361b", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "444f7f44-2f77-4f02-88be-d9544bf3c631" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1998-03-01T03:40:21-05:00", + "end": "1999-03-01T03:40:21-05:00" + }, + "created": "1998-03-01T03:40:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "claim": { + "reference": "urn:uuid:444f7f44-2f77-4f02-88be-d9544bf3c631" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "390906007", + "display": "Hypertension follow-up encounter" + } + ], + "text": "Hypertension follow-up encounter" + }, + "servicedPeriod": { + "start": "1998-03-01T03:25:21-05:00", + "end": "1998-03-01T03:40:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079", + "resource": { + "resourceType": "Encounter", + "id": "7f6a08e7-8b72-40c3-941b-306f60f41079", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "7f6a08e7-8b72-40c3-941b-306f60f41079" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "1999-02-05T03:25:21-05:00", + "end": "1999-02-05T03:55:21-05:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "1999-02-05T03:25:21-05:00", + "end": "1999-02-05T03:55:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:01dc96f0-9960-468a-90ca-712762e05604", + "resource": { + "resourceType": "MedicationRequest", + "id": "01dc96f0-9960-468a-90ca-712762e05604", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" + }, + "authoredOn": "1999-02-05T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:7d8373e5-41fe-44b4-963a-29e0634ba3ef", + "resource": { + "resourceType": "Claim", + "id": "7d8373e5-41fe-44b4-963a-29e0634ba3ef", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1999-02-05T03:25:21-05:00", + "end": "1999-02-05T03:55:21-05:00" + }, + "created": "1999-02-05T03:55:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:01dc96f0-9960-468a-90ca-712762e05604" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:7f47ee0b-158c-44a9-82c5-6d1119de5fca", + "resource": { + "resourceType": "DiagnosticReport", + "id": "7f47ee0b-158c-44a9-82c5-6d1119de5fca", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" + }, + "effectiveDateTime": "1999-02-05T03:25:21-05:00", + "issued": "1999-02-05T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjE5OTktMDItMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:28c7e6cc-5db8-415c-9e5e-eb74ddd0a163", + "resource": { + "resourceType": "DocumentReference", + "id": "28c7e6cc-5db8-415c-9e5e-eb74ddd0a163", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "7f47ee0b-158c-44a9-82c5-6d1119de5fca" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "1999-02-05T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjE5OTktMDItMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" + } + ], + "period": { + "start": "1999-02-05T03:25:21-05:00", + "end": "1999-02-05T03:55:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:0f29c123-8355-4b9c-8bc2-f09991b7f642", + "resource": { + "resourceType": "Claim", + "id": "0f29c123-8355-4b9c-8bc2-f09991b7f642", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "1999-02-05T03:25:21-05:00", + "end": "1999-02-05T03:55:21-05:00" + }, + "created": "1999-02-05T03:55:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:01a531f8-8a5f-46e8-8484-9964ea6d5751", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "01a531f8-8a5f-46e8-8484-9964ea6d5751", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "0f29c123-8355-4b9c-8bc2-f09991b7f642" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "1999-02-05T03:55:21-05:00", + "end": "2000-02-05T03:55:21-05:00" + }, + "created": "1999-02-05T03:55:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:0f29c123-8355-4b9c-8bc2-f09991b7f642" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "1999-02-05T03:25:21-05:00", + "end": "1999-02-05T03:55:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b", + "resource": { + "resourceType": "Encounter", + "id": "4614e2b1-54b4-4d01-a257-90c98eea733b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "4614e2b1-54b4-4d01-a257-90c98eea733b" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2000-02-11T03:25:21-05:00", + "end": "2000-02-11T03:40:21-05:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2000-02-11T03:25:21-05:00", + "end": "2000-02-11T03:40:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:9ec3f089-85d4-4859-9ab5-bb8486af95a7", + "resource": { + "resourceType": "MedicationRequest", + "id": "9ec3f089-85d4-4859-9ab5-bb8486af95a7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" + }, + "authoredOn": "2000-02-11T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:90dfc8d5-4157-4430-86e7-493a9ab8dde8", + "resource": { + "resourceType": "Claim", + "id": "90dfc8d5-4157-4430-86e7-493a9ab8dde8", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2000-02-11T03:25:21-05:00", + "end": "2000-02-11T03:40:21-05:00" + }, + "created": "2000-02-11T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:9ec3f089-85d4-4859-9ab5-bb8486af95a7" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:f17db13f-0743-4fa4-90d8-1733c559a5c6", + "resource": { + "resourceType": "DiagnosticReport", + "id": "f17db13f-0743-4fa4-90d8-1733c559a5c6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" + }, + "effectiveDateTime": "2000-02-11T03:25:21-05:00", + "issued": "2000-02-11T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDAtMDItMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIwIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:e3f1364c-0edc-49ed-875f-09115ac366f7", + "resource": { + "resourceType": "DocumentReference", + "id": "e3f1364c-0edc-49ed-875f-09115ac366f7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "f17db13f-0743-4fa4-90d8-1733c559a5c6" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2000-02-11T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDAtMDItMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIwIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" + } + ], + "period": { + "start": "2000-02-11T03:25:21-05:00", + "end": "2000-02-11T03:40:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:921df6c6-9262-4d06-9fd1-4626ca2904a5", + "resource": { + "resourceType": "Claim", + "id": "921df6c6-9262-4d06-9fd1-4626ca2904a5", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2000-02-11T03:25:21-05:00", + "end": "2000-02-11T03:40:21-05:00" + }, + "created": "2000-02-11T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:7850fc54-4189-45c8-bdf4-a6f8b6b3119a", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "7850fc54-4189-45c8-bdf4-a6f8b6b3119a", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "921df6c6-9262-4d06-9fd1-4626ca2904a5" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2000-02-11T03:40:21-05:00", + "end": "2001-02-11T03:40:21-05:00" + }, + "created": "2000-02-11T03:40:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:921df6c6-9262-4d06-9fd1-4626ca2904a5" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2000-02-11T03:25:21-05:00", + "end": "2000-02-11T03:40:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2", + "resource": { + "resourceType": "Encounter", + "id": "885c8502-5dbc-421f-9cd6-160ff5c635a2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "885c8502-5dbc-421f-9cd6-160ff5c635a2" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "308335008", + "display": "Patient encounter procedure" + } + ], + "text": "Patient encounter procedure" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2001-02-16T03:25:21-05:00", + "end": "2001-02-16T03:59:21-05:00" + }, + "individual": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + } + ], + "period": { + "start": "2001-02-16T03:25:21-05:00", + "end": "2001-02-16T03:59:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:36c176e3-5827-4ee1-8119-fd02558ebb86", + "resource": { + "resourceType": "MedicationRequest", + "id": "36c176e3-5827-4ee1-8119-fd02558ebb86", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" + }, + "authoredOn": "2001-02-16T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:e5accce6-ecbe-4232-9ac7-835bc6911f27", + "resource": { + "resourceType": "Claim", + "id": "e5accce6-ecbe-4232-9ac7-835bc6911f27", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2001-02-16T03:25:21-05:00", + "end": "2001-02-16T03:59:21-05:00" + }, + "created": "2001-02-16T03:59:21-05:00", + "provider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:36c176e3-5827-4ee1-8119-fd02558ebb86" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "308335008", + "display": "Patient encounter procedure" + } + ], + "text": "Patient encounter procedure" + }, + "encounter": [ + { + "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:99c2bbb3-ab22-4e45-b30c-9565d584663c", + "resource": { + "resourceType": "DiagnosticReport", + "id": "99c2bbb3-ab22-4e45-b30c-9565d584663c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" + }, + "effectiveDateTime": "2001-02-16T03:25:21-05:00", + "issued": "2001-02-16T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDEtMDItMTYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIxIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:a82b33b2-3e98-4014-ab04-a2a8d33f21ca", + "resource": { + "resourceType": "DocumentReference", + "id": "a82b33b2-3e98-4014-ab04-a2a8d33f21ca", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "99c2bbb3-ab22-4e45-b30c-9565d584663c" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2001-02-16T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "custodian": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDEtMDItMTYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIxIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" + } + ], + "period": { + "start": "2001-02-16T03:25:21-05:00", + "end": "2001-02-16T03:59:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:ae602309-d9dc-424a-aadc-8d02608be360", + "resource": { + "resourceType": "Claim", + "id": "ae602309-d9dc-424a-aadc-8d02608be360", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2001-02-16T03:25:21-05:00", + "end": "2001-02-16T03:59:21-05:00" + }, + "created": "2001-02-16T03:59:21-05:00", + "provider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "308335008", + "display": "Patient encounter procedure" + } + ], + "text": "Patient encounter procedure" + }, + "encounter": [ + { + "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:dffd219c-6d86-4813-a843-d83046b8a5df", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "dffd219c-6d86-4813-a843-d83046b8a5df", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "NO_INSURANCE" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "NO_INSURANCE" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "ae602309-d9dc-424a-aadc-8d02608be360" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2001-02-16T03:59:21-05:00", + "end": "2002-02-16T03:59:21-05:00" + }, + "created": "2001-02-16T03:59:21-05:00", + "insurer": { + "display": "NO_INSURANCE" + }, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "claim": { + "reference": "urn:uuid:ae602309-d9dc-424a-aadc-8d02608be360" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "308335008", + "display": "Patient encounter procedure" + } + ], + "text": "Patient encounter procedure" + }, + "servicedPeriod": { + "start": "2001-02-16T03:25:21-05:00", + "end": "2001-02-16T03:59:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f", + "resource": { + "resourceType": "Encounter", + "id": "1ab1c91b-f11a-4792-82dd-3a39a96d6c5f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2002-02-22T03:25:21-05:00", + "end": "2002-02-22T03:55:21-05:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2002-02-22T03:25:21-05:00", + "end": "2002-02-22T03:55:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:49890f9e-0c45-4242-8700-5dd9db1e691e", + "resource": { + "resourceType": "MedicationRequest", + "id": "49890f9e-0c45-4242-8700-5dd9db1e691e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" + }, + "authoredOn": "2002-02-22T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:9d3741e1-b8ab-434e-8222-8130b06ce54e", + "resource": { + "resourceType": "Claim", + "id": "9d3741e1-b8ab-434e-8222-8130b06ce54e", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2002-02-22T03:25:21-05:00", + "end": "2002-02-22T03:55:21-05:00" + }, + "created": "2002-02-22T03:55:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:49890f9e-0c45-4242-8700-5dd9db1e691e" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:6aaa38f3-9da8-456c-8e3e-401cca32fd02", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6aaa38f3-9da8-456c-8e3e-401cca32fd02", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" + }, + "effectiveDateTime": "2002-02-22T03:25:21-05:00", + "issued": "2002-02-22T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDItMDItMjIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIyIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:02593c2f-a85b-4fb0-834e-52f927ec454e", + "resource": { + "resourceType": "DocumentReference", + "id": "02593c2f-a85b-4fb0-834e-52f927ec454e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "6aaa38f3-9da8-456c-8e3e-401cca32fd02" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2002-02-22T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDItMDItMjIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIyIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" + } + ], + "period": { + "start": "2002-02-22T03:25:21-05:00", + "end": "2002-02-22T03:55:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:4faf80e8-4ab1-45c6-aaa9-684a0fc3b6c0", + "resource": { + "resourceType": "Claim", + "id": "4faf80e8-4ab1-45c6-aaa9-684a0fc3b6c0", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2002-02-22T03:25:21-05:00", + "end": "2002-02-22T03:55:21-05:00" + }, + "created": "2002-02-22T03:55:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:5a1ca1d5-0fd0-4d77-b70c-3efaadbfd25a", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "5a1ca1d5-0fd0-4d77-b70c-3efaadbfd25a", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "4faf80e8-4ab1-45c6-aaa9-684a0fc3b6c0" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2002-02-22T03:55:21-05:00", + "end": "2003-02-22T03:55:21-05:00" + }, + "created": "2002-02-22T03:55:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:4faf80e8-4ab1-45c6-aaa9-684a0fc3b6c0" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2002-02-22T03:25:21-05:00", + "end": "2002-02-22T03:55:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f", + "resource": { + "resourceType": "Encounter", + "id": "0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2003-02-28T03:25:21-05:00", + "end": "2003-02-28T03:40:21-05:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2003-02-28T03:25:21-05:00", + "end": "2003-02-28T03:40:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:10e53d12-2a17-4a2e-afed-67a0337e429e", + "resource": { + "resourceType": "MedicationRequest", + "id": "10e53d12-2a17-4a2e-afed-67a0337e429e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" + }, + "authoredOn": "2003-02-28T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:ea667003-44ed-47b6-890d-e50ebf6d109b", + "resource": { + "resourceType": "Claim", + "id": "ea667003-44ed-47b6-890d-e50ebf6d109b", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2003-02-28T03:25:21-05:00", + "end": "2003-02-28T03:40:21-05:00" + }, + "created": "2003-02-28T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:10e53d12-2a17-4a2e-afed-67a0337e429e" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:c1327a2a-37b0-4cda-bce4-8fd9774969c5", + "resource": { + "resourceType": "DiagnosticReport", + "id": "c1327a2a-37b0-4cda-bce4-8fd9774969c5", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" + }, + "effectiveDateTime": "2003-02-28T03:25:21-05:00", + "issued": "2003-02-28T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDMtMDItMjgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:d55686db-2b30-4e27-a431-d444492a6c0b", + "resource": { + "resourceType": "DocumentReference", + "id": "d55686db-2b30-4e27-a431-d444492a6c0b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "c1327a2a-37b0-4cda-bce4-8fd9774969c5" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2003-02-28T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDMtMDItMjgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" + } + ], + "period": { + "start": "2003-02-28T03:25:21-05:00", + "end": "2003-02-28T03:40:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:bf009133-9c61-4431-9bcd-8b0e88c2b27d", + "resource": { + "resourceType": "Claim", + "id": "bf009133-9c61-4431-9bcd-8b0e88c2b27d", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2003-02-28T03:25:21-05:00", + "end": "2003-02-28T03:40:21-05:00" + }, + "created": "2003-02-28T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:89165033-b8e4-4325-a906-33f4665e588f", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "89165033-b8e4-4325-a906-33f4665e588f", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Cigna Health" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Cigna Health" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "bf009133-9c61-4431-9bcd-8b0e88c2b27d" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2003-02-28T03:40:21-05:00", + "end": "2004-02-28T03:40:21-05:00" + }, + "created": "2003-02-28T03:40:21-05:00", + "insurer": { + "display": "Cigna Health" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:bf009133-9c61-4431-9bcd-8b0e88c2b27d" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Cigna Health" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2003-02-28T03:25:21-05:00", + "end": "2003-02-28T03:40:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc", + "resource": { + "resourceType": "Encounter", + "id": "12163eb5-768d-487c-b350-aad7122743bc", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "12163eb5-768d-487c-b350-aad7122743bc" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T03:55:21-05:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T03:55:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:3d18b777-7c11-4c1f-88ec-0c385a2e70da", + "resource": { + "resourceType": "Condition", + "id": "3d18b777-7c11-4c1f-88ec-0c385a2e70da", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "15777000", + "display": "Prediabetes" + } + ], + "text": "Prediabetes" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + }, + "onsetDateTime": "2004-03-05T03:25:21-05:00", + "recordedDate": "2004-03-05T03:25:21-05:00" + }, + "request": { + "method": "POST", + "url": "Condition" + } + }, + { + "fullUrl": "urn:uuid:673b17bc-5467-4587-b95a-5538e5411bbb", + "resource": { + "resourceType": "Condition", + "id": "673b17bc-5467-4587-b95a-5538e5411bbb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "271737000", + "display": "Anemia (disorder)" + } + ], + "text": "Anemia (disorder)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + }, + "onsetDateTime": "2004-03-05T03:25:21-05:00", + "recordedDate": "2004-03-05T03:25:21-05:00" + }, + "request": { + "method": "POST", + "url": "Condition" + } + }, + { + "fullUrl": "urn:uuid:615fcb6c-db2e-4f6a-be23-62dec27f1d8d", + "resource": { + "resourceType": "MedicationRequest", + "id": "615fcb6c-db2e-4f6a-be23-62dec27f1d8d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + }, + "authoredOn": "2004-03-05T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:cccb1957-2a02-4bb7-ac4e-51488d6167f3", + "resource": { + "resourceType": "Claim", + "id": "cccb1957-2a02-4bb7-ac4e-51488d6167f3", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T03:55:21-05:00" + }, + "created": "2004-03-05T03:55:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:615fcb6c-db2e-4f6a-be23-62dec27f1d8d" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Medicaid" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:5b8ec926-7097-4d05-a79f-bccb435c1fd1", + "resource": { + "resourceType": "CareTeam", + "id": "5b8ec926-7097-4d05-a79f-bccb435c1fd1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + ] + }, + "status": "active", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + }, + "period": { + "start": "2004-03-05T03:25:21-05:00" + }, + "participant": [ + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "116153009", + "display": "Patient" + } + ], + "text": "Patient" + } + ], + "member": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + } + }, + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "223366009", + "display": "Healthcare professional (occupation)" + } + ], + "text": "Healthcare professional (occupation)" + } + ], + "member": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + }, + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "224891009", + "display": "Healthcare services (qualifier value)" + } + ], + "text": "Healthcare services (qualifier value)" + } + ], + "member": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "15777000", + "display": "Prediabetes" + } + ], + "text": "Prediabetes" + } + ], + "managingOrganization": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ] + }, + "request": { + "method": "POST", + "url": "CareTeam" + } + }, + { + "fullUrl": "urn:uuid:4ccea939-1dbc-4f1f-8e8f-5c3b65864407", + "resource": { + "resourceType": "Goal", + "id": "4ccea939-1dbc-4f1f-8e8f-5c3b65864407", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "lifecycleStatus": "accepted", + "achievementStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", + "code": "in-progress" + } + ] + }, + "description": { + "text": "Hemoglobin A1c total in Blood < 7.0" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "target": [ + { + "measure": { + "text": "Hemoglobin A1c total in Blood < 7.0" + }, + "dueDate": "2004-04-04" + } + ] + }, + "request": { + "method": "POST", + "url": "Goal" + } + }, + { + "fullUrl": "urn:uuid:c52ee846-a4e0-4036-a32e-4e6ae5a2b6df", + "resource": { + "resourceType": "Goal", + "id": "c52ee846-a4e0-4036-a32e-4e6ae5a2b6df", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "lifecycleStatus": "accepted", + "achievementStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", + "code": "in-progress" + } + ] + }, + "description": { + "text": "Glucose [Mass/volume] in Blood < 108" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "target": [ + { + "measure": { + "text": "Glucose [Mass/volume] in Blood < 108" + }, + "dueDate": "2004-04-04" + } + ] + }, + "request": { + "method": "POST", + "url": "Goal" + } + }, + { + "fullUrl": "urn:uuid:994bd33c-f03d-4dd1-be77-b35d3e6ba44c", + "resource": { + "resourceType": "Goal", + "id": "994bd33c-f03d-4dd1-be77-b35d3e6ba44c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "lifecycleStatus": "accepted", + "achievementStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", + "code": "in-progress" + } + ] + }, + "description": { + "text": "Maintain blood pressure below 140/90 mmHg" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "target": [ + { + "measure": { + "text": "Maintain blood pressure below 140/90 mmHg" + }, + "dueDate": "2004-04-04" + } + ] + }, + "request": { + "method": "POST", + "url": "Goal" + } + }, + { + "fullUrl": "urn:uuid:916308a4-0e0f-4fe1-9d17-95d528ed5edf", + "resource": { + "resourceType": "Goal", + "id": "916308a4-0e0f-4fe1-9d17-95d528ed5edf", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "lifecycleStatus": "accepted", + "achievementStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", + "code": "in-progress" + } + ] + }, + "description": { + "text": "Improve and maintenance of optimal foot health: aim at early detection of peripheral vascular problems and neuropathy presumed due to diabetes; and prevention of diabetic foot ulcer, gangrene" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "target": [ + { + "measure": { + "text": "Improve and maintenance of optimal foot health: aim at early detection of peripheral vascular problems and neuropathy presumed due to diabetes; and prevention of diabetic foot ulcer, gangrene" + }, + "dueDate": "2004-04-04" + } + ] + }, + "request": { + "method": "POST", + "url": "Goal" + } + }, + { + "fullUrl": "urn:uuid:a9060b72-9c3b-4c98-9736-9eaa91bbb58b", + "resource": { + "resourceType": "Goal", + "id": "a9060b72-9c3b-4c98-9736-9eaa91bbb58b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "lifecycleStatus": "accepted", + "achievementStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", + "code": "in-progress" + } + ] + }, + "description": { + "text": "Address patient knowledge deficit on diabetic self-care" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "target": [ + { + "measure": { + "text": "Address patient knowledge deficit on diabetic self-care" + }, + "dueDate": "2004-04-04" + } + ] + }, + "request": { + "method": "POST", + "url": "Goal" + } + }, + { + "fullUrl": "urn:uuid:21fefa4d-a65b-424e-a7e0-7aa47b0c4210", + "resource": { + "resourceType": "CarePlan", + "id": "21fefa4d-a65b-424e-a7e0-7aa47b0c4210", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + ] + }, + "text": { + "status": "generated", + "div": "
Care Plan for Diabetes self management plan.
Activities:
  • Diabetes self management plan
  • Diabetes self management plan

Care plan is meant to treat Prediabetes.
" + }, + "status": "active", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + }, + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "698360004", + "display": "Diabetes self management plan" + } + ], + "text": "Diabetes self management plan" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + }, + "period": { + "start": "2004-03-05T03:25:21-05:00" + }, + "careTeam": [ + { + "reference": "urn:uuid:5b8ec926-7097-4d05-a79f-bccb435c1fd1" + } + ], + "addresses": [ + { + "reference": "urn:uuid:3d18b777-7c11-4c1f-88ec-0c385a2e70da" + } + ], + "goal": [ + { + "reference": "urn:uuid:4ccea939-1dbc-4f1f-8e8f-5c3b65864407" + }, + { + "reference": "urn:uuid:c52ee846-a4e0-4036-a32e-4e6ae5a2b6df" + }, + { + "reference": "urn:uuid:994bd33c-f03d-4dd1-be77-b35d3e6ba44c" + }, + { + "reference": "urn:uuid:916308a4-0e0f-4fe1-9d17-95d528ed5edf" + }, + { + "reference": "urn:uuid:a9060b72-9c3b-4c98-9736-9eaa91bbb58b" + } + ], + "activity": [ + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "160670007", + "display": "Diabetic diet" + } + ], + "text": "Diabetic diet" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + }, + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "229065009", + "display": "Exercise therapy" + } + ], + "text": "Exercise therapy" + }, + "status": "in-progress", + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + } + ] + }, + "request": { + "method": "POST", + "url": "CarePlan" + } + }, + { + "fullUrl": "urn:uuid:29737665-7ca5-41e4-8412-87fa3c4ad358", + "resource": { + "resourceType": "DiagnosticReport", + "id": "29737665-7ca5-41e4-8412-87fa3c4ad358", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + }, + "effectiveDateTime": "2004-03-05T03:25:21-05:00", + "issued": "2004-03-05T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDQtMDMtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIE1lZGljYWlkLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwphdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0CgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KUGF0aWVudCBpcyBwcmVzZW50aW5nIHdpdGggcHJlZGlhYmV0ZXMsIGFuZW1pYSAoZGlzb3JkZXIpLiAKCiMjIFBsYW4KClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldApUaGUgcGF0aWVudCB3YXMgcGxhY2VkIG9uIGEgY2FyZXBsYW46Ci0gZGlhYmV0ZXMgc2VsZiBtYW5hZ2VtZW50IHBsYW4K" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:95d952c9-e7df-4e90-b71a-ea9c8e527dba", + "resource": { + "resourceType": "DocumentReference", + "id": "95d952c9-e7df-4e90-b71a-ea9c8e527dba", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "29737665-7ca5-41e4-8412-87fa3c4ad358" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2004-03-05T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDQtMDMtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIE1lZGljYWlkLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwphdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0CgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KUGF0aWVudCBpcyBwcmVzZW50aW5nIHdpdGggcHJlZGlhYmV0ZXMsIGFuZW1pYSAoZGlzb3JkZXIpLiAKCiMjIFBsYW4KClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldApUaGUgcGF0aWVudCB3YXMgcGxhY2VkIG9uIGEgY2FyZXBsYW46Ci0gZGlhYmV0ZXMgc2VsZiBtYW5hZ2VtZW50IHBsYW4K" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + } + ], + "period": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T03:55:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:cb0bac77-1b37-4359-a026-59920f83a662", + "resource": { + "resourceType": "Claim", + "id": "cb0bac77-1b37-4359-a026-59920f83a662", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T03:55:21-05:00" + }, + "created": "2004-03-05T03:55:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:3d18b777-7c11-4c1f-88ec-0c385a2e70da" + } + }, + { + "sequence": 2, + "diagnosisReference": { + "reference": "urn:uuid:673b17bc-5467-4587-b95a-5538e5411bbb" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Medicaid" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "15777000", + "display": "Prediabetes" + } + ], + "text": "Prediabetes" + } + }, + { + "sequence": 3, + "diagnosisSequence": [ + 2 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "271737000", + "display": "Anemia (disorder)" + } + ], + "text": "Anemia (disorder)" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:8399bc32-0cc9-4f41-91eb-d80b4949818e", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "8399bc32-0cc9-4f41-91eb-d80b4949818e", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Medicaid" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Medicaid" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "cb0bac77-1b37-4359-a026-59920f83a662" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2004-03-05T03:55:21-05:00", + "end": "2005-03-05T03:55:21-05:00" + }, + "created": "2004-03-05T03:55:21-05:00", + "insurer": { + "display": "Medicaid" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:cb0bac77-1b37-4359-a026-59920f83a662" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:3d18b777-7c11-4c1f-88ec-0c385a2e70da" + }, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", + "code": "principal" + } + ] + } + ] + }, + { + "sequence": 2, + "diagnosisReference": { + "reference": "urn:uuid:673b17bc-5467-4587-b95a-5538e5411bbb" + }, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", + "code": "principal" + } + ] + } + ] + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Medicaid" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T03:55:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "15777000", + "display": "Prediabetes" + } + ], + "text": "Prediabetes" + }, + "servicedPeriod": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T03:55:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + } + }, + { + "sequence": 3, + "diagnosisSequence": [ + 2 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "271737000", + "display": "Anemia (disorder)" + } + ], + "text": "Anemia (disorder)" + }, + "servicedPeriod": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T03:55:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + } + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509", + "resource": { + "resourceType": "Encounter", + "id": "074e9ad3-624e-4a70-bf25-26cbef9a6509", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "074e9ad3-624e-4a70-bf25-26cbef9a6509" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T04:48:21-05:00" + }, + "individual": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + } + ], + "period": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T04:48:21-05:00" + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "271737000", + "display": "Anemia (disorder)" + } + ] + } + ], + "location": [ + { + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:11cde837-0047-4725-935c-b7dac2ede4f7", + "resource": { + "resourceType": "MedicationRequest", + "id": "11cde837-0047-4725-935c-b7dac2ede4f7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" + }, + "authoredOn": "2004-03-05T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:92397156-789b-4251-b943-edefb5df3716", + "resource": { + "resourceType": "Claim", + "id": "92397156-789b-4251-b943-edefb5df3716", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T04:48:21-05:00" + }, + "created": "2004-03-05T04:48:21-05:00", + "provider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:11cde837-0047-4725-935c-b7dac2ede4f7" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Medicaid" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + }, + "encounter": [ + { + "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:37c20bb4-d87c-4982-90c3-13d0c6875278", + "resource": { + "resourceType": "DiagnosticReport", + "id": "37c20bb4-d87c-4982-90c3-13d0c6875278", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" + }, + "effectiveDateTime": "2004-03-05T03:25:21-05:00", + "issued": "2004-03-05T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDQtMDMtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIE1lZGljYWlkLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwphdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0CgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQK" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:8c1f26a5-4185-4aec-9a75-8114d2a6c8da", + "resource": { + "resourceType": "DocumentReference", + "id": "8c1f26a5-4185-4aec-9a75-8114d2a6c8da", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "37c20bb4-d87c-4982-90c3-13d0c6875278" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2004-03-05T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "custodian": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDQtMDMtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIE1lZGljYWlkLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwphdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0CgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQK" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" + } + ], + "period": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T04:48:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:95792510-794c-4d7e-955f-6239d6563dd7", + "resource": { + "resourceType": "Claim", + "id": "95792510-794c-4d7e-955f-6239d6563dd7", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T04:48:21-05:00" + }, + "created": "2004-03-05T04:48:21-05:00", + "provider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Medicaid" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + }, + "encounter": [ + { + "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:4ff1bdc1-94bb-4cba-b066-3bc3ff0fa42e", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "4ff1bdc1-94bb-4cba-b066-3bc3ff0fa42e", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Medicaid" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Medicaid" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "95792510-794c-4d7e-955f-6239d6563dd7" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2004-03-05T04:48:21-05:00", + "end": "2005-03-05T04:48:21-05:00" + }, + "created": "2004-03-05T04:48:21-05:00", + "insurer": { + "display": "Medicaid" + }, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "claim": { + "reference": "urn:uuid:95792510-794c-4d7e-955f-6239d6563dd7" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Medicaid" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185347001", + "display": "Encounter for problem" + } + ], + "text": "Encounter for problem" + }, + "servicedPeriod": { + "start": "2004-03-05T03:25:21-05:00", + "end": "2004-03-05T04:48:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6", + "resource": { + "resourceType": "Encounter", + "id": "813ff96f-ac2e-4b11-884f-8d99d0ea8ad6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2005-03-11T03:25:21-05:00", + "end": "2005-03-11T03:40:21-05:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2005-03-11T03:25:21-05:00", + "end": "2005-03-11T03:40:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:78d5fe12-273c-4942-a1c9-f6a7e094c9fc", + "resource": { + "resourceType": "MedicationRequest", + "id": "78d5fe12-273c-4942-a1c9-f6a7e094c9fc", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" + }, + "authoredOn": "2005-03-11T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:19369ad1-87e4-4bc3-8b97-0820dfbb0b8d", + "resource": { + "resourceType": "Claim", + "id": "19369ad1-87e4-4bc3-8b97-0820dfbb0b8d", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2005-03-11T03:25:21-05:00", + "end": "2005-03-11T03:40:21-05:00" + }, + "created": "2005-03-11T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:78d5fe12-273c-4942-a1c9-f6a7e094c9fc" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:6b5baec3-adb6-4d19-802b-1f7401cc73e1", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b5baec3-adb6-4d19-802b-1f7401cc73e1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" + }, + "effectiveDateTime": "2005-03-11T03:25:21-05:00", + "issued": "2005-03-11T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDUtMDMtMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI1IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:15b79ff0-17f6-4901-be79-75f1d80b7389", + "resource": { + "resourceType": "DocumentReference", + "id": "15b79ff0-17f6-4901-be79-75f1d80b7389", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "6b5baec3-adb6-4d19-802b-1f7401cc73e1" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2005-03-11T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDUtMDMtMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI1IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" + } + ], + "period": { + "start": "2005-03-11T03:25:21-05:00", + "end": "2005-03-11T03:40:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:149774ce-ea62-4c9e-bc30-693cfdd7b0c0", + "resource": { + "resourceType": "Claim", + "id": "149774ce-ea62-4c9e-bc30-693cfdd7b0c0", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2005-03-11T03:25:21-05:00", + "end": "2005-03-11T03:40:21-05:00" + }, + "created": "2005-03-11T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:647401ef-7811-41fd-ab36-0d89e6423155", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "647401ef-7811-41fd-ab36-0d89e6423155", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "149774ce-ea62-4c9e-bc30-693cfdd7b0c0" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2005-03-11T03:40:21-05:00", + "end": "2006-03-11T03:40:21-05:00" + }, + "created": "2005-03-11T03:40:21-05:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:149774ce-ea62-4c9e-bc30-693cfdd7b0c0" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2005-03-11T03:25:21-05:00", + "end": "2005-03-11T03:40:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3", + "resource": { + "resourceType": "Encounter", + "id": "6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2006-03-17T03:25:21-05:00", + "end": "2006-03-17T03:55:21-05:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2006-03-17T03:25:21-05:00", + "end": "2006-03-17T03:55:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:6ce68ed7-e200-48f3-8c60-19ac17c4c7b7", + "resource": { + "resourceType": "MedicationRequest", + "id": "6ce68ed7-e200-48f3-8c60-19ac17c4c7b7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" + }, + "authoredOn": "2006-03-17T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:b68c7063-6e12-43f1-85c7-d609fbef043e", + "resource": { + "resourceType": "Claim", + "id": "b68c7063-6e12-43f1-85c7-d609fbef043e", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2006-03-17T03:25:21-05:00", + "end": "2006-03-17T03:55:21-05:00" + }, + "created": "2006-03-17T03:55:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:6ce68ed7-e200-48f3-8c60-19ac17c4c7b7" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:6ce2aa93-90e9-4ca5-ac28-8052f67ffb26", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6ce2aa93-90e9-4ca5-ac28-8052f67ffb26", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" + }, + "effectiveDateTime": "2006-03-17T03:25:21-05:00", + "issued": "2006-03-17T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDYtMDMtMTcKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:7f5a7fe8-9a93-44fa-8ec2-0139891f2f69", + "resource": { + "resourceType": "DocumentReference", + "id": "7f5a7fe8-9a93-44fa-8ec2-0139891f2f69", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "6ce2aa93-90e9-4ca5-ac28-8052f67ffb26" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2006-03-17T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDYtMDMtMTcKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" + } + ], + "period": { + "start": "2006-03-17T03:25:21-05:00", + "end": "2006-03-17T03:55:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:c123985f-d9b3-4735-af70-5723109c8208", + "resource": { + "resourceType": "Claim", + "id": "c123985f-d9b3-4735-af70-5723109c8208", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2006-03-17T03:25:21-05:00", + "end": "2006-03-17T03:55:21-05:00" + }, + "created": "2006-03-17T03:55:21-05:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:8fe349c9-993b-4ae5-8c2e-95c84929d4a1", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "8fe349c9-993b-4ae5-8c2e-95c84929d4a1", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "c123985f-d9b3-4735-af70-5723109c8208" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2006-03-17T03:55:21-05:00", + "end": "2007-03-17T03:55:21-04:00" + }, + "created": "2006-03-17T03:55:21-05:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:c123985f-d9b3-4735-af70-5723109c8208" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2006-03-17T03:25:21-05:00", + "end": "2006-03-17T03:55:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d", + "resource": { + "resourceType": "Encounter", + "id": "5648dd27-2049-45e6-aa83-aca90e70a25d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "5648dd27-2049-45e6-aa83-aca90e70a25d" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2007-03-23T04:25:21-04:00", + "end": "2007-03-23T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2007-03-23T04:25:21-04:00", + "end": "2007-03-23T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:3c98fe7f-8444-4baf-9380-97f20df84834", + "resource": { + "resourceType": "MedicationRequest", + "id": "3c98fe7f-8444-4baf-9380-97f20df84834", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" + }, + "authoredOn": "2007-03-23T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:6b53e08d-68f5-4cb9-82d5-c04e120643cb", + "resource": { + "resourceType": "Claim", + "id": "6b53e08d-68f5-4cb9-82d5-c04e120643cb", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2007-03-23T04:25:21-04:00", + "end": "2007-03-23T04:55:21-04:00" + }, + "created": "2007-03-23T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:3c98fe7f-8444-4baf-9380-97f20df84834" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:5af8cb30-4f6b-457e-80b8-2c93b6ea0557", + "resource": { + "resourceType": "DiagnosticReport", + "id": "5af8cb30-4f6b-457e-80b8-2c93b6ea0557", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" + }, + "effectiveDateTime": "2007-03-23T04:25:21-04:00", + "issued": "2007-03-23T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDctMDMtMjMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:a4ada62e-0769-4791-9324-6568fec3ffb9", + "resource": { + "resourceType": "DocumentReference", + "id": "a4ada62e-0769-4791-9324-6568fec3ffb9", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "5af8cb30-4f6b-457e-80b8-2c93b6ea0557" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2007-03-23T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDctMDMtMjMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" + } + ], + "period": { + "start": "2007-03-23T04:25:21-04:00", + "end": "2007-03-23T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:76dc7e4c-d77e-41d0-b6ce-eac1d055235b", + "resource": { + "resourceType": "Claim", + "id": "76dc7e4c-d77e-41d0-b6ce-eac1d055235b", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2007-03-23T04:25:21-04:00", + "end": "2007-03-23T04:55:21-04:00" + }, + "created": "2007-03-23T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:16fc7b3a-10f6-44ea-bbf9-fe99a93502e9", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "16fc7b3a-10f6-44ea-bbf9-fe99a93502e9", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "76dc7e4c-d77e-41d0-b6ce-eac1d055235b" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2007-03-23T04:55:21-04:00", + "end": "2008-03-23T04:55:21-04:00" + }, + "created": "2007-03-23T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:76dc7e4c-d77e-41d0-b6ce-eac1d055235b" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2007-03-23T04:25:21-04:00", + "end": "2007-03-23T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59", + "resource": { + "resourceType": "Encounter", + "id": "5542db51-6721-42ac-8d3d-6adb2031ee59", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "5542db51-6721-42ac-8d3d-6adb2031ee59" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185349003", + "display": "Encounter for check up (procedure)" + } + ], + "text": "Encounter for check up (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2007-11-16T03:25:21-05:00", + "end": "2007-11-16T03:40:21-05:00" + }, + "individual": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + } + ], + "period": { + "start": "2007-11-16T03:25:21-05:00", + "end": "2007-11-16T03:40:21-05:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:2d614b95-e3b2-4e71-8e1c-c0423a1c8d78", + "resource": { + "resourceType": "MedicationRequest", + "id": "2d614b95-e3b2-4e71-8e1c-c0423a1c8d78", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" + }, + "authoredOn": "2007-11-16T03:25:21-05:00", + "requester": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:62cc7f2c-256e-4c06-8f15-a1e1f02c95cd", + "resource": { + "resourceType": "Claim", + "id": "62cc7f2c-256e-4c06-8f15-a1e1f02c95cd", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2007-11-16T03:25:21-05:00", + "end": "2007-11-16T03:40:21-05:00" + }, + "created": "2007-11-16T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:2d614b95-e3b2-4e71-8e1c-c0423a1c8d78" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185349003", + "display": "Encounter for check up (procedure)" + } + ], + "text": "Encounter for check up (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:7da05a2e-e036-4bf0-aa1b-c7a50ccf8752", + "resource": { + "resourceType": "DiagnosticReport", + "id": "7da05a2e-e036-4bf0-aa1b-c7a50ccf8752", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" + }, + "effectiveDateTime": "2007-11-16T03:25:21-05:00", + "issued": "2007-11-16T03:25:21.151-05:00", + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDctMTEtMTYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:1ec8051b-d391-45bf-bf09-e9159c6e4ac4", + "resource": { + "resourceType": "DocumentReference", + "id": "1ec8051b-d391-45bf-bf09-e9159c6e4ac4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "7da05a2e-e036-4bf0-aa1b-c7a50ccf8752" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2007-11-16T03:25:21.151-05:00", + "author": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "custodian": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDctMTEtMTYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" + } + ], + "period": { + "start": "2007-11-16T03:25:21-05:00", + "end": "2007-11-16T03:40:21-05:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:1cb7432e-b5c5-418f-9dd4-a771f4269331", + "resource": { + "resourceType": "Claim", + "id": "1cb7432e-b5c5-418f-9dd4-a771f4269331", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2007-11-16T03:25:21-05:00", + "end": "2007-11-16T03:40:21-05:00" + }, + "created": "2007-11-16T03:40:21-05:00", + "provider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185349003", + "display": "Encounter for check up (procedure)" + } + ], + "text": "Encounter for check up (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:38f67e15-e709-4e4c-8062-a4de62d588f9", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "38f67e15-e709-4e4c-8062-a4de62d588f9", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "NO_INSURANCE" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "NO_INSURANCE" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "1cb7432e-b5c5-418f-9dd4-a771f4269331" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2007-11-16T03:40:21-05:00", + "end": "2008-11-16T03:40:21-05:00" + }, + "created": "2007-11-16T03:40:21-05:00", + "insurer": { + "display": "NO_INSURANCE" + }, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "claim": { + "reference": "urn:uuid:1cb7432e-b5c5-418f-9dd4-a771f4269331" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185349003", + "display": "Encounter for check up (procedure)" + } + ], + "text": "Encounter for check up (procedure)" + }, + "servicedPeriod": { + "start": "2007-11-16T03:25:21-05:00", + "end": "2007-11-16T03:40:21-05:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf", + "resource": { + "resourceType": "Encounter", + "id": "3f7dc0b0-c2c0-4bb7-8995-735884f51adf", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "3f7dc0b0-c2c0-4bb7-8995-735884f51adf" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2008-03-28T04:25:21-04:00", + "end": "2008-03-28T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2008-03-28T04:25:21-04:00", + "end": "2008-03-28T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:856c42a4-15fa-4aa5-b126-b558c4b17b45", + "resource": { + "resourceType": "MedicationRequest", + "id": "856c42a4-15fa-4aa5-b126-b558c4b17b45", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" + }, + "authoredOn": "2008-03-28T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:24474324-3c9e-43cb-8bfb-115790dc7cf2", + "resource": { + "resourceType": "Claim", + "id": "24474324-3c9e-43cb-8bfb-115790dc7cf2", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2008-03-28T04:25:21-04:00", + "end": "2008-03-28T04:55:21-04:00" + }, + "created": "2008-03-28T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:856c42a4-15fa-4aa5-b126-b558c4b17b45" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:afe41584-dfef-40b1-ac2c-d68fc9a488ea", + "resource": { + "resourceType": "DiagnosticReport", + "id": "afe41584-dfef-40b1-ac2c-d68fc9a488ea", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" + }, + "effectiveDateTime": "2008-03-28T04:25:21-04:00", + "issued": "2008-03-28T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDgtMDMtMjgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:d627bf22-24be-4d9d-980b-7ff24fd950f2", + "resource": { + "resourceType": "DocumentReference", + "id": "d627bf22-24be-4d9d-980b-7ff24fd950f2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "afe41584-dfef-40b1-ac2c-d68fc9a488ea" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2008-03-28T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDgtMDMtMjgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" + } + ], + "period": { + "start": "2008-03-28T04:25:21-04:00", + "end": "2008-03-28T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:60481f1a-8683-4395-9767-cb4e8b54b2a4", + "resource": { + "resourceType": "Claim", + "id": "60481f1a-8683-4395-9767-cb4e8b54b2a4", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2008-03-28T04:25:21-04:00", + "end": "2008-03-28T04:55:21-04:00" + }, + "created": "2008-03-28T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:990dd75e-dbd5-4651-aeda-1df12f60952c", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "990dd75e-dbd5-4651-aeda-1df12f60952c", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "60481f1a-8683-4395-9767-cb4e8b54b2a4" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2008-03-28T04:55:21-04:00", + "end": "2009-03-28T04:55:21-04:00" + }, + "created": "2008-03-28T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:60481f1a-8683-4395-9767-cb4e8b54b2a4" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2008-03-28T04:25:21-04:00", + "end": "2008-03-28T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa", + "resource": { + "resourceType": "Encounter", + "id": "0d6e8c95-315b-4f01-a61d-92e76b01c3fa", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "0d6e8c95-315b-4f01-a61d-92e76b01c3fa" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2009-04-03T04:25:21-04:00", + "end": "2009-04-03T04:40:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2009-04-03T04:25:21-04:00", + "end": "2009-04-03T04:40:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:7e3a187e-0451-47a2-be53-a6a45d557166", + "resource": { + "resourceType": "MedicationRequest", + "id": "7e3a187e-0451-47a2-be53-a6a45d557166", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" + }, + "authoredOn": "2009-04-03T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:4b146e00-adb8-47eb-b37f-007764100d3c", + "resource": { + "resourceType": "Claim", + "id": "4b146e00-adb8-47eb-b37f-007764100d3c", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2009-04-03T04:25:21-04:00", + "end": "2009-04-03T04:40:21-04:00" + }, + "created": "2009-04-03T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:7e3a187e-0451-47a2-be53-a6a45d557166" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:18b361f9-f0cb-4aeb-a345-ea01ff550c6d", + "resource": { + "resourceType": "DiagnosticReport", + "id": "18b361f9-f0cb-4aeb-a345-ea01ff550c6d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" + }, + "effectiveDateTime": "2009-04-03T04:25:21-04:00", + "issued": "2009-04-03T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDktMDQtMDMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:dfc3abbe-854a-45ef-98b0-75ecd9ba2138", + "resource": { + "resourceType": "DocumentReference", + "id": "dfc3abbe-854a-45ef-98b0-75ecd9ba2138", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "18b361f9-f0cb-4aeb-a345-ea01ff550c6d" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2009-04-03T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDktMDQtMDMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" + } + ], + "period": { + "start": "2009-04-03T04:25:21-04:00", + "end": "2009-04-03T04:40:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:4d108606-7e3e-42e0-9091-8bd12b843e9b", + "resource": { + "resourceType": "Claim", + "id": "4d108606-7e3e-42e0-9091-8bd12b843e9b", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2009-04-03T04:25:21-04:00", + "end": "2009-04-03T04:40:21-04:00" + }, + "created": "2009-04-03T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:f9ce85ba-eefe-491a-8d2b-9ae7fe042aca", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "f9ce85ba-eefe-491a-8d2b-9ae7fe042aca", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "4d108606-7e3e-42e0-9091-8bd12b843e9b" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2009-04-03T04:40:21-04:00", + "end": "2010-04-03T04:40:21-04:00" + }, + "created": "2009-04-03T04:40:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:4d108606-7e3e-42e0-9091-8bd12b843e9b" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2009-04-03T04:25:21-04:00", + "end": "2009-04-03T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8", + "resource": { + "resourceType": "Encounter", + "id": "15714ab3-2a92-4b66-8394-5783026bafa8", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "15714ab3-2a92-4b66-8394-5783026bafa8" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185349003", + "display": "Encounter for check up (procedure)" + } + ], + "text": "Encounter for check up (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2009-06-12T04:25:21-04:00", + "end": "2009-06-12T04:40:21-04:00" + }, + "individual": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + } + ], + "period": { + "start": "2009-06-12T04:25:21-04:00", + "end": "2009-06-12T04:40:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:c071b5cc-745c-49a3-ae69-dcf6886cd5ba", + "resource": { + "resourceType": "MedicationRequest", + "id": "c071b5cc-745c-49a3-ae69-dcf6886cd5ba", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" + }, + "authoredOn": "2009-06-12T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:b45e82b4-519c-46ea-b543-782494479074", + "resource": { + "resourceType": "Claim", + "id": "b45e82b4-519c-46ea-b543-782494479074", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2009-06-12T04:25:21-04:00", + "end": "2009-06-12T04:40:21-04:00" + }, + "created": "2009-06-12T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:c071b5cc-745c-49a3-ae69-dcf6886cd5ba" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185349003", + "display": "Encounter for check up (procedure)" + } + ], + "text": "Encounter for check up (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:3d6f0356-90f8-4386-b1da-e0062bdca6a0", + "resource": { + "resourceType": "DiagnosticReport", + "id": "3d6f0356-90f8-4386-b1da-e0062bdca6a0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" + }, + "effectiveDateTime": "2009-06-12T04:25:21-04:00", + "issued": "2009-06-12T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMDktMDYtMTIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:4cdf3224-e174-462e-a9c4-c985edcdad1f", + "resource": { + "resourceType": "DocumentReference", + "id": "4cdf3224-e174-462e-a9c4-c985edcdad1f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "3d6f0356-90f8-4386-b1da-e0062bdca6a0" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2009-06-12T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", + "display": "Dr. Mathew182 Hoppe518" + } + ], + "custodian": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMDktMDYtMTIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" + } + ], + "period": { + "start": "2009-06-12T04:25:21-04:00", + "end": "2009-06-12T04:40:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:b74cdefb-14e1-43bc-ba96-642e7ce02fc0", + "resource": { + "resourceType": "Claim", + "id": "b74cdefb-14e1-43bc-ba96-642e7ce02fc0", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2009-06-12T04:25:21-04:00", + "end": "2009-06-12T04:40:21-04:00" + }, + "created": "2009-06-12T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", + "display": "MOUNT AUBURN HOSPITAL" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185349003", + "display": "Encounter for check up (procedure)" + } + ], + "text": "Encounter for check up (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" + } + ] + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:4b7a09d6-df23-413f-8a01-15a175f03e49", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "4b7a09d6-df23-413f-8a01-15a175f03e49", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "performer": [ + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "NO_INSURANCE" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "NO_INSURANCE" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "b74cdefb-14e1-43bc-ba96-642e7ce02fc0" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2009-06-12T04:40:21-04:00", + "end": "2010-06-12T04:40:21-04:00" + }, + "created": "2009-06-12T04:40:21-04:00", + "insurer": { + "display": "NO_INSURANCE" + }, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", + "display": "MOUNT AUBURN HOSPITAL" + }, + "claim": { + "reference": "urn:uuid:b74cdefb-14e1-43bc-ba96-642e7ce02fc0" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185349003", + "display": "Encounter for check up (procedure)" + } + ], + "text": "Encounter for check up (procedure)" + }, + "servicedPeriod": { + "start": "2009-06-12T04:25:21-04:00", + "end": "2009-06-12T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 0.0, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1", + "resource": { + "resourceType": "Encounter", + "id": "220669b7-6b53-413d-b6f2-501636bb4dc1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "220669b7-6b53-413d-b6f2-501636bb4dc1" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2010-04-09T04:25:21-04:00", + "end": "2010-04-09T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2010-04-09T04:25:21-04:00", + "end": "2010-04-09T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:f042a475-82e7-4c1d-8a16-75599e15bc0b", + "resource": { + "resourceType": "Observation", + "id": "f042a475-82e7-4c1d-8a16-75599e15bc0b", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:0ff65a61-5ac5-4679-9f28-88fe0571b272", + "resource": { + "resourceType": "Observation", + "id": "0ff65a61-5ac5-4679-9f28-88fe0571b272", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 3, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:629a7e25-1e9c-40f9-9ae6-1436d734ca96", + "resource": { + "resourceType": "Observation", + "id": "629a7e25-1e9c-40f9-9ae6-1436d734ca96", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 92.2, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:767029a4-839b-40a5-91f8-2c483c26a640", + "resource": { + "resourceType": "Observation", + "id": "767029a4-839b-40a5-91f8-2c483c26a640", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 29.58, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fc75badc-ba94-4044-a9b7-37015f37d0b8", + "resource": { + "resourceType": "Observation", + "id": "fc75badc-ba94-4044-a9b7-37015f37d0b8", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 81, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 115, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:75c85d5f-c1e1-465a-adeb-6eaf2106c3ee", + "resource": { + "resourceType": "Observation", + "id": "75c85d5f-c1e1-465a-adeb-6eaf2106c3ee", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 85, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:06471e31-793b-4a09-a3ed-c9d69ec029a5", + "resource": { + "resourceType": "Observation", + "id": "06471e31-793b-4a09-a3ed-c9d69ec029a5", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 16, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:baf51c92-7a7b-4d60-b4ee-38fa99fdf8db", + "resource": { + "resourceType": "Observation", + "id": "baf51c92-7a7b-4d60-b4ee-38fa99fdf8db", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 74.86, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fd036fe1-3692-4d5a-bf3e-ccfb1f1b2dbc", + "resource": { + "resourceType": "Observation", + "id": "fd036fe1-3692-4d5a-bf3e-ccfb1f1b2dbc", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 8.79, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:6ae6faf8-ba30-42ee-b108-4e6039be3bf0", + "resource": { + "resourceType": "Observation", + "id": "6ae6faf8-ba30-42ee-b108-4e6039be3bf0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.2, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3aa15fdc-4965-440b-85a7-26bde99c948b", + "resource": { + "resourceType": "Observation", + "id": "3aa15fdc-4965-440b-85a7-26bde99c948b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 8.88, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ce0ec83b-3e7d-4b3e-93d1-70b449f2393b", + "resource": { + "resourceType": "Observation", + "id": "ce0ec83b-3e7d-4b3e-93d1-70b449f2393b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 140.31, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:06214387-5440-4290-abaf-e436e5a2a3bb", + "resource": { + "resourceType": "Observation", + "id": "06214387-5440-4290-abaf-e436e5a2a3bb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 3.88, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:702a35e1-6ead-4af5-ba50-94f875ddca96", + "resource": { + "resourceType": "Observation", + "id": "702a35e1-6ead-4af5-ba50-94f875ddca96", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 103.15, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:5a60b57f-fc23-42aa-831f-3acc5e3619e6", + "resource": { + "resourceType": "Observation", + "id": "5a60b57f-fc23-42aa-831f-3acc5e3619e6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 27.79, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:667f4ca5-ed38-4aa1-93e4-17c0d9e1f2f3", + "resource": { + "resourceType": "Observation", + "id": "667f4ca5-ed38-4aa1-93e4-17c0d9e1f2f3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2093-3", + "display": "Total Cholesterol" + } + ], + "text": "Total Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 198.91, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:60113cc3-3fee-48ec-a41c-1f5ae25e5b15", + "resource": { + "resourceType": "Observation", + "id": "60113cc3-3fee-48ec-a41c-1f5ae25e5b15", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2571-8", + "display": "Triglycerides" + } + ], + "text": "Triglycerides" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 149.45, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:730b7adb-8506-4ccc-bde4-73532dac351d", + "resource": { + "resourceType": "Observation", + "id": "730b7adb-8506-4ccc-bde4-73532dac351d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "18262-6", + "display": "Low Density Lipoprotein Cholesterol" + } + ], + "text": "Low Density Lipoprotein Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 94.5, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:b43802eb-cb9d-4feb-80a0-87c56b80e88e", + "resource": { + "resourceType": "Observation", + "id": "b43802eb-cb9d-4feb-80a0-87c56b80e88e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2085-9", + "display": "High Density Lipoprotein Cholesterol" + } + ], + "text": "High Density Lipoprotein Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 74.52, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4b002fb0-b658-4059-894d-bad679593ed6", + "resource": { + "resourceType": "Observation", + "id": "4b002fb0-b658-4059-894d-bad679593ed6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:2a1fbe91-6378-42dc-8157-1520224c44f9", + "resource": { + "resourceType": "Observation", + "id": "2a1fbe91-6378-42dc-8157-1520224c44f9", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "valueQuantity": { + "value": 6.24, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:24dbb5e6-56fe-4946-906b-a34b3ffbfd34", + "resource": { + "resourceType": "Procedure", + "id": "24dbb5e6-56fe-4946-906b-a34b3ffbfd34", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "performedPeriod": { + "start": "2010-04-09T04:25:21-04:00", + "end": "2010-04-09T04:40:21-04:00" + }, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Procedure" + } + }, + { + "fullUrl": "urn:uuid:aaf2802c-4507-4fd7-9e46-5bfba585f220", + "resource": { + "resourceType": "MedicationRequest", + "id": "aaf2802c-4507-4fd7-9e46-5bfba585f220", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "authoredOn": "2010-04-09T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:a2a3cce0-a465-4246-9c57-142e894d4062", + "resource": { + "resourceType": "Claim", + "id": "a2a3cce0-a465-4246-9c57-142e894d4062", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2010-04-09T04:25:21-04:00", + "end": "2010-04-09T04:55:21-04:00" + }, + "created": "2010-04-09T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:aaf2802c-4507-4fd7-9e46-5bfba585f220" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:eda3d975-76b8-43c0-9f7c-7d2360782f1a", + "resource": { + "resourceType": "DiagnosticReport", + "id": "eda3d975-76b8-43c0-9f7c-7d2360782f1a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:baf51c92-7a7b-4d60-b4ee-38fa99fdf8db", + "display": "Glucose" + }, + { + "reference": "urn:uuid:fd036fe1-3692-4d5a-bf3e-ccfb1f1b2dbc", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:6ae6faf8-ba30-42ee-b108-4e6039be3bf0", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:3aa15fdc-4965-440b-85a7-26bde99c948b", + "display": "Calcium" + }, + { + "reference": "urn:uuid:ce0ec83b-3e7d-4b3e-93d1-70b449f2393b", + "display": "Sodium" + }, + { + "reference": "urn:uuid:06214387-5440-4290-abaf-e436e5a2a3bb", + "display": "Potassium" + }, + { + "reference": "urn:uuid:702a35e1-6ead-4af5-ba50-94f875ddca96", + "display": "Chloride" + }, + { + "reference": "urn:uuid:5a60b57f-fc23-42aa-831f-3acc5e3619e6", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:bd149371-9c51-466f-b7fb-8e23d2fa05f1", + "resource": { + "resourceType": "DiagnosticReport", + "id": "bd149371-9c51-466f-b7fb-8e23d2fa05f1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "57698-3", + "display": "Lipid Panel" + } + ], + "text": "Lipid Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:667f4ca5-ed38-4aa1-93e4-17c0d9e1f2f3", + "display": "Total Cholesterol" + }, + { + "reference": "urn:uuid:60113cc3-3fee-48ec-a41c-1f5ae25e5b15", + "display": "Triglycerides" + }, + { + "reference": "urn:uuid:730b7adb-8506-4ccc-bde4-73532dac351d", + "display": "Low Density Lipoprotein Cholesterol" + }, + { + "reference": "urn:uuid:b43802eb-cb9d-4feb-80a0-87c56b80e88e", + "display": "High Density Lipoprotein Cholesterol" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:78396b5e-d62d-4fc5-b5dc-dba7ae491d26", + "resource": { + "resourceType": "DiagnosticReport", + "id": "78396b5e-d62d-4fc5-b5dc-dba7ae491d26", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + "effectiveDateTime": "2010-04-09T04:25:21-04:00", + "issued": "2010-04-09T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTAtMDQtMDkKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMwIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:b96faa39-0018-41cb-97eb-5ae28645d368", + "resource": { + "resourceType": "DocumentReference", + "id": "b96faa39-0018-41cb-97eb-5ae28645d368", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "78396b5e-d62d-4fc5-b5dc-dba7ae491d26" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2010-04-09T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTAtMDQtMDkKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMwIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + } + ], + "period": { + "start": "2010-04-09T04:25:21-04:00", + "end": "2010-04-09T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:9285a728-042b-48da-84b3-b0b9d5b5a53f", + "resource": { + "resourceType": "Claim", + "id": "9285a728-042b-48da-84b3-b0b9d5b5a53f", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2010-04-09T04:25:21-04:00", + "end": "2010-04-09T04:55:21-04:00" + }, + "created": "2010-04-09T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "procedure": [ + { + "sequence": 1, + "procedureReference": { + "reference": "urn:uuid:24dbb5e6-56fe-4946-906b-a34b3ffbfd34" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + } + ] + }, + { + "sequence": 2, + "procedureSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "net": { + "value": 420.67, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:e86988f7-63b6-4083-ae1f-98d2a7d6ba12", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "e86988f7-63b6-4083-ae1f-98d2a7d6ba12", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "9285a728-042b-48da-84b3-b0b9d5b5a53f" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2010-04-09T04:55:21-04:00", + "end": "2011-04-09T04:55:21-04:00" + }, + "created": "2010-04-09T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:9285a728-042b-48da-84b3-b0b9d5b5a53f" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2010-04-09T04:25:21-04:00", + "end": "2010-04-09T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + } + ] + }, + { + "sequence": 2, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "servicedPeriod": { + "start": "2010-04-09T04:25:21-04:00", + "end": "2010-04-09T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 420.67, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 84.13400000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 336.53600000000006, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 420.67, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 420.67, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 336.53600000000006, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec", + "resource": { + "resourceType": "Encounter", + "id": "c3f0b252-3440-48a5-8377-a286da0844ec", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "c3f0b252-3440-48a5-8377-a286da0844ec" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2011-04-15T04:25:21-04:00", + "end": "2011-04-15T04:40:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2011-04-15T04:25:21-04:00", + "end": "2011-04-15T04:40:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:a2a3ed5b-120d-4340-aa22-b3a9c8b37b60", + "resource": { + "resourceType": "Observation", + "id": "a2a3ed5b-120d-4340-aa22-b3a9c8b37b60", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:da94f84f-6a92-46fa-8957-794febfa1a27", + "resource": { + "resourceType": "Observation", + "id": "da94f84f-6a92-46fa-8957-794febfa1a27", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 2, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:db710cae-5905-4f15-9984-9696255aa6ba", + "resource": { + "resourceType": "Observation", + "id": "db710cae-5905-4f15-9984-9696255aa6ba", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 91.3, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ab7f2fca-0191-44f2-9004-ab28d19cb575", + "resource": { + "resourceType": "Observation", + "id": "ab7f2fca-0191-44f2-9004-ab28d19cb575", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 29.27, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:890ab7b0-a169-4a45-9e1b-1e8d7ff7751c", + "resource": { + "resourceType": "Observation", + "id": "890ab7b0-a169-4a45-9e1b-1e8d7ff7751c", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 78, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 117, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:08ffea64-2b0e-4796-bbd5-f9cc37755876", + "resource": { + "resourceType": "Observation", + "id": "08ffea64-2b0e-4796-bbd5-f9cc37755876", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 71, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4c562f1f-8ec3-4b8c-a7fb-cf602e839329", + "resource": { + "resourceType": "Observation", + "id": "4c562f1f-8ec3-4b8c-a7fb-cf602e839329", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 16, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:9f156698-58a4-4203-9f9f-c5d00035be23", + "resource": { + "resourceType": "Observation", + "id": "9f156698-58a4-4203-9f9f-c5d00035be23", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 98.36, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:6531d108-0189-4da1-809b-18fb291b6e89", + "resource": { + "resourceType": "Observation", + "id": "6531d108-0189-4da1-809b-18fb291b6e89", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 7.64, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4587fb98-65c5-4f57-a053-aa96d0af11c5", + "resource": { + "resourceType": "Observation", + "id": "4587fb98-65c5-4f57-a053-aa96d0af11c5", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.18, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:34b455c2-58b2-44f4-89d4-ef13f9e9aa05", + "resource": { + "resourceType": "Observation", + "id": "34b455c2-58b2-44f4-89d4-ef13f9e9aa05", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 8.96, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:21999638-788b-4ed4-bf4f-c5bf3b717de3", + "resource": { + "resourceType": "Observation", + "id": "21999638-788b-4ed4-bf4f-c5bf3b717de3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 139.75, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a9f78ad2-f38c-4f8c-9e80-ad49a96950f9", + "resource": { + "resourceType": "Observation", + "id": "a9f78ad2-f38c-4f8c-9e80-ad49a96950f9", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.87, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:881d4550-f693-42fd-9a40-b4c6aa664827", + "resource": { + "resourceType": "Observation", + "id": "881d4550-f693-42fd-9a40-b4c6aa664827", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 109.4, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:66b6b56d-1a4a-4f24-b822-f8f0af1f4d02", + "resource": { + "resourceType": "Observation", + "id": "66b6b56d-1a4a-4f24-b822-f8f0af1f4d02", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 26.32, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:e6c79b32-d27e-4663-bcb0-df5ea3715aa7", + "resource": { + "resourceType": "Observation", + "id": "e6c79b32-d27e-4663-bcb0-df5ea3715aa7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6690-2", + "display": "Leukocytes [#/volume] in Blood by Automated count" + } + ], + "text": "Leukocytes [#/volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.0736, + "unit": "10*3/uL", + "system": "http://unitsofmeasure.org", + "code": "10*3/uL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:376cb148-8086-4941-943c-949d957da9c6", + "resource": { + "resourceType": "Observation", + "id": "376cb148-8086-4941-943c-949d957da9c6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "789-8", + "display": "Erythrocytes [#/volume] in Blood by Automated count" + } + ], + "text": "Erythrocytes [#/volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.1602, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org", + "code": "10*6/uL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:9e569308-73a7-43f5-a111-caa1fb2eb015", + "resource": { + "resourceType": "Observation", + "id": "9e569308-73a7-43f5-a111-caa1fb2eb015", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "718-7", + "display": "Hemoglobin [Mass/volume] in Blood" + } + ], + "text": "Hemoglobin [Mass/volume] in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 14.892, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:8df45ef5-07df-4677-b5cb-36723f5e8c40", + "resource": { + "resourceType": "Observation", + "id": "8df45ef5-07df-4677-b5cb-36723f5e8c40", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4544-3", + "display": "Hematocrit [Volume Fraction] of Blood by Automated count" + } + ], + "text": "Hematocrit [Volume Fraction] of Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 44.197, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:52d1b38a-4ab3-4000-855b-97c8701776ec", + "resource": { + "resourceType": "Observation", + "id": "52d1b38a-4ab3-4000-855b-97c8701776ec", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "787-2", + "display": "MCV [Entitic volume] by Automated count" + } + ], + "text": "MCV [Entitic volume] by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 82.927, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a587488a-07c3-47c1-a7a4-c2a0d2302abe", + "resource": { + "resourceType": "Observation", + "id": "a587488a-07c3-47c1-a7a4-c2a0d2302abe", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "785-6", + "display": "MCH [Entitic mass] by Automated count" + } + ], + "text": "MCH [Entitic mass] by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 30.54, + "unit": "pg", + "system": "http://unitsofmeasure.org", + "code": "pg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:b4b3a065-ed04-4b16-9589-814466125664", + "resource": { + "resourceType": "Observation", + "id": "b4b3a065-ed04-4b16-9589-814466125664", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "786-4", + "display": "MCHC [Mass/volume] by Automated count" + } + ], + "text": "MCHC [Mass/volume] by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 33.117, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ac5da61b-0f22-4cb0-a988-dc0a010f072e", + "resource": { + "resourceType": "Observation", + "id": "ac5da61b-0f22-4cb0-a988-dc0a010f072e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "21000-5", + "display": "Erythrocyte distribution width [Entitic volume] by Automated count" + } + ], + "text": "Erythrocyte distribution width [Entitic volume] by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 40.24, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:6da08b20-da46-4c5a-bee4-cc8593403122", + "resource": { + "resourceType": "Observation", + "id": "6da08b20-da46-4c5a-bee4-cc8593403122", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "777-3", + "display": "Platelets [#/volume] in Blood by Automated count" + } + ], + "text": "Platelets [#/volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 307.97, + "unit": "10*3/uL", + "system": "http://unitsofmeasure.org", + "code": "10*3/uL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:1818d919-78b1-4a8c-869f-5e8e4288667c", + "resource": { + "resourceType": "Observation", + "id": "1818d919-78b1-4a8c-869f-5e8e4288667c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "32207-3", + "display": "Platelet distribution width [Entitic volume] in Blood by Automated count" + } + ], + "text": "Platelet distribution width [Entitic volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 392.63, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:e5904667-c55e-4098-96d2-c81d7e7daf75", + "resource": { + "resourceType": "Observation", + "id": "e5904667-c55e-4098-96d2-c81d7e7daf75", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "32623-1", + "display": "Platelet mean volume [Entitic volume] in Blood by Automated count" + } + ], + "text": "Platelet mean volume [Entitic volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 11.152, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:8128f819-48ad-472c-8329-0ac112b43058", + "resource": { + "resourceType": "Observation", + "id": "8128f819-48ad-472c-8329-0ac112b43058", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:888cbcdf-c076-49a9-a612-6470910b5274", + "resource": { + "resourceType": "Observation", + "id": "888cbcdf-c076-49a9-a612-6470910b5274", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "valueQuantity": { + "value": 6.19, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:afa46496-0646-42c7-a0d1-de5ee91f7346", + "resource": { + "resourceType": "MedicationRequest", + "id": "afa46496-0646-42c7-a0d1-de5ee91f7346", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "authoredOn": "2011-04-15T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:eae2cc31-4700-4f2c-aa66-f911a51aef30", + "resource": { + "resourceType": "Claim", + "id": "eae2cc31-4700-4f2c-aa66-f911a51aef30", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2011-04-15T04:25:21-04:00", + "end": "2011-04-15T04:40:21-04:00" + }, + "created": "2011-04-15T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:afa46496-0646-42c7-a0d1-de5ee91f7346" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:efe41301-cc37-47e3-bcf9-1059b9fa24de", + "resource": { + "resourceType": "Immunization", + "id": "efe41301-cc37-47e3-bcf9-1059b9fa24de", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "occurrenceDateTime": "2011-04-15T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:fa6b7992-af2f-45d5-92db-432f48909897", + "resource": { + "resourceType": "Immunization", + "id": "fa6b7992-af2f-45d5-92db-432f48909897", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "113", + "display": "Td (adult) preservative free" + } + ], + "text": "Td (adult) preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "occurrenceDateTime": "2011-04-15T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:61d29d7b-bf71-4f99-ab47-34ee53695a06", + "resource": { + "resourceType": "DiagnosticReport", + "id": "61d29d7b-bf71-4f99-ab47-34ee53695a06", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:9f156698-58a4-4203-9f9f-c5d00035be23", + "display": "Glucose" + }, + { + "reference": "urn:uuid:6531d108-0189-4da1-809b-18fb291b6e89", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:4587fb98-65c5-4f57-a053-aa96d0af11c5", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:34b455c2-58b2-44f4-89d4-ef13f9e9aa05", + "display": "Calcium" + }, + { + "reference": "urn:uuid:21999638-788b-4ed4-bf4f-c5bf3b717de3", + "display": "Sodium" + }, + { + "reference": "urn:uuid:a9f78ad2-f38c-4f8c-9e80-ad49a96950f9", + "display": "Potassium" + }, + { + "reference": "urn:uuid:881d4550-f693-42fd-9a40-b4c6aa664827", + "display": "Chloride" + }, + { + "reference": "urn:uuid:66b6b56d-1a4a-4f24-b822-f8f0af1f4d02", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:cefff05f-6251-4045-8f26-98f710d0d37e", + "resource": { + "resourceType": "DiagnosticReport", + "id": "cefff05f-6251-4045-8f26-98f710d0d37e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "58410-2", + "display": "Complete blood count (hemogram) panel - Blood by Automated count" + } + ], + "text": "Complete blood count (hemogram) panel - Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:e6c79b32-d27e-4663-bcb0-df5ea3715aa7", + "display": "Leukocytes [#/volume] in Blood by Automated count" + }, + { + "reference": "urn:uuid:376cb148-8086-4941-943c-949d957da9c6", + "display": "Erythrocytes [#/volume] in Blood by Automated count" + }, + { + "reference": "urn:uuid:9e569308-73a7-43f5-a111-caa1fb2eb015", + "display": "Hemoglobin [Mass/volume] in Blood" + }, + { + "reference": "urn:uuid:8df45ef5-07df-4677-b5cb-36723f5e8c40", + "display": "Hematocrit [Volume Fraction] of Blood by Automated count" + }, + { + "reference": "urn:uuid:52d1b38a-4ab3-4000-855b-97c8701776ec", + "display": "MCV [Entitic volume] by Automated count" + }, + { + "reference": "urn:uuid:a587488a-07c3-47c1-a7a4-c2a0d2302abe", + "display": "MCH [Entitic mass] by Automated count" + }, + { + "reference": "urn:uuid:b4b3a065-ed04-4b16-9589-814466125664", + "display": "MCHC [Mass/volume] by Automated count" + }, + { + "reference": "urn:uuid:ac5da61b-0f22-4cb0-a988-dc0a010f072e", + "display": "Erythrocyte distribution width [Entitic volume] by Automated count" + }, + { + "reference": "urn:uuid:6da08b20-da46-4c5a-bee4-cc8593403122", + "display": "Platelets [#/volume] in Blood by Automated count" + }, + { + "reference": "urn:uuid:1818d919-78b1-4a8c-869f-5e8e4288667c", + "display": "Platelet distribution width [Entitic volume] in Blood by Automated count" + }, + { + "reference": "urn:uuid:e5904667-c55e-4098-96d2-c81d7e7daf75", + "display": "Platelet mean volume [Entitic volume] in Blood by Automated count" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:a207ec95-2db6-4940-bf72-34b12d39c92d", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a207ec95-2db6-4940-bf72-34b12d39c92d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + "effectiveDateTime": "2011-04-15T04:25:21-04:00", + "issued": "2011-04-15T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTEtMDQtMTUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMxIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLCB0ZCAoYWR1bHQpIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:bb1ac1f0-f634-4b16-9c10-75ffd54b2f7a", + "resource": { + "resourceType": "DocumentReference", + "id": "bb1ac1f0-f634-4b16-9c10-75ffd54b2f7a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "a207ec95-2db6-4940-bf72-34b12d39c92d" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2011-04-15T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTEtMDQtMTUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMxIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLCB0ZCAoYWR1bHQpIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + } + ], + "period": { + "start": "2011-04-15T04:25:21-04:00", + "end": "2011-04-15T04:40:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:674a9fa8-d00a-41e9-a49d-7eb658123d73", + "resource": { + "resourceType": "Claim", + "id": "674a9fa8-d00a-41e9-a49d-7eb658123d73", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2011-04-15T04:25:21-04:00", + "end": "2011-04-15T04:40:21-04:00" + }, + "created": "2011-04-15T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:efe41301-cc37-47e3-bcf9-1059b9fa24de" + } + }, + { + "sequence": 2, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:fa6b7992-af2f-45d5-92db-432f48909897" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + }, + { + "sequence": 3, + "informationSequence": [ + 2 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "113", + "display": "Td (adult) preservative free" + } + ], + "text": "Td (adult) preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:cb7ff293-27ac-42bc-8380-4c192a1b2742", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "cb7ff293-27ac-42bc-8380-4c192a1b2742", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "674a9fa8-d00a-41e9-a49d-7eb658123d73" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2011-04-15T04:40:21-04:00", + "end": "2012-04-15T04:40:21-04:00" + }, + "created": "2011-04-15T04:40:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:674a9fa8-d00a-41e9-a49d-7eb658123d73" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2011-04-15T04:25:21-04:00", + "end": "2011-04-15T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2011-04-15T04:25:21-04:00", + "end": "2011-04-15T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + }, + { + "sequence": 3, + "informationSequence": [ + 2 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "113", + "display": "Td (adult) preservative free" + } + ], + "text": "Td (adult) preservative free" + }, + "servicedPeriod": { + "start": "2011-04-15T04:25:21-04:00", + "end": "2011-04-15T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 224.83200000000002, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68", + "resource": { + "resourceType": "Encounter", + "id": "598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2012-04-20T04:25:21-04:00", + "end": "2012-04-20T04:40:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2012-04-20T04:25:21-04:00", + "end": "2012-04-20T04:40:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:4c131060-003c-44c2-ade1-8546b1167699", + "resource": { + "resourceType": "Observation", + "id": "4c131060-003c-44c2-ade1-8546b1167699", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:77b221fa-cdd9-4b4e-aff7-3baa21f89abf", + "resource": { + "resourceType": "Observation", + "id": "77b221fa-cdd9-4b4e-aff7-3baa21f89abf", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 1, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f6081ea9-9ef6-49fe-a7d4-637d05849510", + "resource": { + "resourceType": "Observation", + "id": "f6081ea9-9ef6-49fe-a7d4-637d05849510", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 87.2, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3237247a-5267-4660-b88f-a90ac5cf172b", + "resource": { + "resourceType": "Observation", + "id": "3237247a-5267-4660-b88f-a90ac5cf172b", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 27.96, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a5655945-9d9e-485e-a060-1595fb21f903", + "resource": { + "resourceType": "Observation", + "id": "a5655945-9d9e-485e-a060-1595fb21f903", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 82, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 128, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ab29315d-0d89-4da3-b7c7-8eff6b6dca98", + "resource": { + "resourceType": "Observation", + "id": "ab29315d-0d89-4da3-b7c7-8eff6b6dca98", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 94, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:d92483b1-f30f-443e-8b1b-2f2ea8a629c1", + "resource": { + "resourceType": "Observation", + "id": "d92483b1-f30f-443e-8b1b-2f2ea8a629c1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 14, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c3b4ea3d-8ee6-4bba-b20e-7a675edfce1f", + "resource": { + "resourceType": "Observation", + "id": "c3b4ea3d-8ee6-4bba-b20e-7a675edfce1f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 69.85, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:b2ede4c2-a035-430e-9ab3-41dede9cf93f", + "resource": { + "resourceType": "Observation", + "id": "b2ede4c2-a035-430e-9ab3-41dede9cf93f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 17.05, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fe732b5a-ab89-401a-af62-86322ca9c912", + "resource": { + "resourceType": "Observation", + "id": "fe732b5a-ab89-401a-af62-86322ca9c912", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.72, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:9c928c11-5300-4426-b704-27cc9e8e4ac3", + "resource": { + "resourceType": "Observation", + "id": "9c928c11-5300-4426-b704-27cc9e8e4ac3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 9.68, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:422c7f20-5b7c-4fa3-a256-6ba5e4f33f3b", + "resource": { + "resourceType": "Observation", + "id": "422c7f20-5b7c-4fa3-a256-6ba5e4f33f3b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 141.1, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:15c553a2-5218-4ecb-a3ec-5fe37270c1eb", + "resource": { + "resourceType": "Observation", + "id": "15c553a2-5218-4ecb-a3ec-5fe37270c1eb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.15, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:370237e5-4823-4c6b-a945-e11e7a5de49c", + "resource": { + "resourceType": "Observation", + "id": "370237e5-4823-4c6b-a945-e11e7a5de49c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 105.38, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:e62da0b8-d362-4bc4-b182-0b18dc3fb97d", + "resource": { + "resourceType": "Observation", + "id": "e62da0b8-d362-4bc4-b182-0b18dc3fb97d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 21, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:6a117173-fd5e-4928-8f60-410814a15fa8", + "resource": { + "resourceType": "Observation", + "id": "6a117173-fd5e-4928-8f60-410814a15fa8", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:8194e9b8-c991-4506-923c-6f7b939af9b2", + "resource": { + "resourceType": "Observation", + "id": "8194e9b8-c991-4506-923c-6f7b939af9b2", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "valueQuantity": { + "value": 5.81, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ae83e5ae-e34f-482f-b883-ce6cb9ac21c0", + "resource": { + "resourceType": "MedicationRequest", + "id": "ae83e5ae-e34f-482f-b883-ce6cb9ac21c0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "authoredOn": "2012-04-20T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:3a6b2e56-a04b-439f-ac1c-301c7a066369", + "resource": { + "resourceType": "Claim", + "id": "3a6b2e56-a04b-439f-ac1c-301c7a066369", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2012-04-20T04:25:21-04:00", + "end": "2012-04-20T04:40:21-04:00" + }, + "created": "2012-04-20T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:ae83e5ae-e34f-482f-b883-ce6cb9ac21c0" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:4b8e1bca-ea79-40b2-9337-5cb699ec6944", + "resource": { + "resourceType": "Immunization", + "id": "4b8e1bca-ea79-40b2-9337-5cb699ec6944", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "occurrenceDateTime": "2012-04-20T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:5727335a-ae5b-46c0-8867-cd024621cda8", + "resource": { + "resourceType": "DiagnosticReport", + "id": "5727335a-ae5b-46c0-8867-cd024621cda8", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:c3b4ea3d-8ee6-4bba-b20e-7a675edfce1f", + "display": "Glucose" + }, + { + "reference": "urn:uuid:b2ede4c2-a035-430e-9ab3-41dede9cf93f", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:fe732b5a-ab89-401a-af62-86322ca9c912", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:9c928c11-5300-4426-b704-27cc9e8e4ac3", + "display": "Calcium" + }, + { + "reference": "urn:uuid:422c7f20-5b7c-4fa3-a256-6ba5e4f33f3b", + "display": "Sodium" + }, + { + "reference": "urn:uuid:15c553a2-5218-4ecb-a3ec-5fe37270c1eb", + "display": "Potassium" + }, + { + "reference": "urn:uuid:370237e5-4823-4c6b-a945-e11e7a5de49c", + "display": "Chloride" + }, + { + "reference": "urn:uuid:e62da0b8-d362-4bc4-b182-0b18dc3fb97d", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:e483ebfe-775b-4a47-ab5a-66be5cb37268", + "resource": { + "resourceType": "DiagnosticReport", + "id": "e483ebfe-775b-4a47-ab5a-66be5cb37268", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + "effectiveDateTime": "2012-04-20T04:25:21-04:00", + "issued": "2012-04-20T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTItMDQtMjAKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMyIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:69028bd1-849e-4955-9858-9c692016ede6", + "resource": { + "resourceType": "DocumentReference", + "id": "69028bd1-849e-4955-9858-9c692016ede6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "e483ebfe-775b-4a47-ab5a-66be5cb37268" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2012-04-20T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTItMDQtMjAKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMyIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + } + ], + "period": { + "start": "2012-04-20T04:25:21-04:00", + "end": "2012-04-20T04:40:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:bf534a85-a451-4b81-b454-becd4025193f", + "resource": { + "resourceType": "Claim", + "id": "bf534a85-a451-4b81-b454-becd4025193f", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2012-04-20T04:25:21-04:00", + "end": "2012-04-20T04:40:21-04:00" + }, + "created": "2012-04-20T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:4b8e1bca-ea79-40b2-9337-5cb699ec6944" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:96875074-9e97-4ea7-9311-d1f9065baeed", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "96875074-9e97-4ea7-9311-d1f9065baeed", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "bf534a85-a451-4b81-b454-becd4025193f" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2012-04-20T04:40:21-04:00", + "end": "2013-04-20T04:40:21-04:00" + }, + "created": "2012-04-20T04:40:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:bf534a85-a451-4b81-b454-becd4025193f" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2012-04-20T04:25:21-04:00", + "end": "2012-04-20T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2012-04-20T04:25:21-04:00", + "end": "2012-04-20T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3", + "resource": { + "resourceType": "Encounter", + "id": "26565133-56db-4371-a5e1-3abce33c37f3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "26565133-56db-4371-a5e1-3abce33c37f3" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:bc5579b5-2ca3-4535-a9d6-951aac500a27", + "resource": { + "resourceType": "Observation", + "id": "bc5579b5-2ca3-4535-a9d6-951aac500a27", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f11d0c63-92f3-4b0e-933a-a1a727465258", + "resource": { + "resourceType": "Observation", + "id": "f11d0c63-92f3-4b0e-933a-a1a727465258", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 1, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:1681af37-ee93-49ff-b108-ead7689f6250", + "resource": { + "resourceType": "Observation", + "id": "1681af37-ee93-49ff-b108-ead7689f6250", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 89.1, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:0e03d2c2-1ffa-4ebb-91bb-458b07dffd0a", + "resource": { + "resourceType": "Observation", + "id": "0e03d2c2-1ffa-4ebb-91bb-458b07dffd0a", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 28.55, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:db926460-0851-4148-a1c8-324c4a7c1ad2", + "resource": { + "resourceType": "Observation", + "id": "db926460-0851-4148-a1c8-324c4a7c1ad2", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 78, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 112, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:41bcfaef-3971-430d-8386-e564da61f90d", + "resource": { + "resourceType": "Observation", + "id": "41bcfaef-3971-430d-8386-e564da61f90d", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 85, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:e49b77c0-588f-4551-bca2-ea8f21664ba7", + "resource": { + "resourceType": "Observation", + "id": "e49b77c0-588f-4551-bca2-ea8f21664ba7", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 13, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:e2444317-5049-48c7-ac3d-6b30586890ab", + "resource": { + "resourceType": "Observation", + "id": "e2444317-5049-48c7-ac3d-6b30586890ab", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 77.77, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ef97494d-9f95-40eb-9764-2f3d584db91f", + "resource": { + "resourceType": "Observation", + "id": "ef97494d-9f95-40eb-9764-2f3d584db91f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 7.14, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:b043c9e3-58c8-4c1e-902b-b61b4e606302", + "resource": { + "resourceType": "Observation", + "id": "b043c9e3-58c8-4c1e-902b-b61b4e606302", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.12, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ebf8b1b7-318d-4b21-9a65-20132a6ed8da", + "resource": { + "resourceType": "Observation", + "id": "ebf8b1b7-318d-4b21-9a65-20132a6ed8da", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 9.52, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a9c106a8-39f5-4808-8b63-3b92f5a2cd47", + "resource": { + "resourceType": "Observation", + "id": "a9c106a8-39f5-4808-8b63-3b92f5a2cd47", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 137.42, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:40609dd9-4e93-4760-9cf0-1343eb69b910", + "resource": { + "resourceType": "Observation", + "id": "40609dd9-4e93-4760-9cf0-1343eb69b910", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.68, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f009a6e4-02c3-4518-b7b2-faad9f4b12e1", + "resource": { + "resourceType": "Observation", + "id": "f009a6e4-02c3-4518-b7b2-faad9f4b12e1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 103.16, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f9e7be0a-2b59-4810-a304-d30ec2a5b0b9", + "resource": { + "resourceType": "Observation", + "id": "f9e7be0a-2b59-4810-a304-d30ec2a5b0b9", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 23.84, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a0347dcb-3901-4c64-97fa-d91547080902", + "resource": { + "resourceType": "Observation", + "id": "a0347dcb-3901-4c64-97fa-d91547080902", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2093-3", + "display": "Total Cholesterol" + } + ], + "text": "Total Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 185.44, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:1a381821-4247-412b-8e57-8e66506e0343", + "resource": { + "resourceType": "Observation", + "id": "1a381821-4247-412b-8e57-8e66506e0343", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2571-8", + "display": "Triglycerides" + } + ], + "text": "Triglycerides" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 145.83, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:7bb7038c-4c56-4f79-9d29-c93b5ddfc3ed", + "resource": { + "resourceType": "Observation", + "id": "7bb7038c-4c56-4f79-9d29-c93b5ddfc3ed", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "18262-6", + "display": "Low Density Lipoprotein Cholesterol" + } + ], + "text": "Low Density Lipoprotein Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 81.61, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fdb1cbc7-39fc-4a54-8796-6aa08c5b9dfb", + "resource": { + "resourceType": "Observation", + "id": "fdb1cbc7-39fc-4a54-8796-6aa08c5b9dfb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2085-9", + "display": "High Density Lipoprotein Cholesterol" + } + ], + "text": "High Density Lipoprotein Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 74.67, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4f939f5c-a598-4929-add3-cb86867996bc", + "resource": { + "resourceType": "Observation", + "id": "4f939f5c-a598-4929-add3-cb86867996bc", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4a4cd1fb-c0a8-4fa2-b53c-4f51bd336ed9", + "resource": { + "resourceType": "Observation", + "id": "4a4cd1fb-c0a8-4fa2-b53c-4f51bd336ed9", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "valueQuantity": { + "value": 6.35, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:d5e276fb-c14e-4cb4-86d6-96dd6613308b", + "resource": { + "resourceType": "Procedure", + "id": "d5e276fb-c14e-4cb4-86d6-96dd6613308b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "performedPeriod": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:40:21-04:00" + }, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Procedure" + } + }, + { + "fullUrl": "urn:uuid:90e1d45a-c151-452c-9917-edb5e373da8c", + "resource": { + "resourceType": "MedicationRequest", + "id": "90e1d45a-c151-452c-9917-edb5e373da8c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "authoredOn": "2013-04-26T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:ac50dcd3-3a90-42f3-ad5f-3022c481c5a0", + "resource": { + "resourceType": "Claim", + "id": "ac50dcd3-3a90-42f3-ad5f-3022c481c5a0", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:55:21-04:00" + }, + "created": "2013-04-26T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:90e1d45a-c151-452c-9917-edb5e373da8c" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:b40367ac-3a3c-49db-ace4-5d10143433e0", + "resource": { + "resourceType": "Immunization", + "id": "b40367ac-3a3c-49db-ace4-5d10143433e0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "occurrenceDateTime": "2013-04-26T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:b0776459-aacf-4429-8777-e9d9f6ac6356", + "resource": { + "resourceType": "DiagnosticReport", + "id": "b0776459-aacf-4429-8777-e9d9f6ac6356", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:e2444317-5049-48c7-ac3d-6b30586890ab", + "display": "Glucose" + }, + { + "reference": "urn:uuid:ef97494d-9f95-40eb-9764-2f3d584db91f", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:b043c9e3-58c8-4c1e-902b-b61b4e606302", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:ebf8b1b7-318d-4b21-9a65-20132a6ed8da", + "display": "Calcium" + }, + { + "reference": "urn:uuid:a9c106a8-39f5-4808-8b63-3b92f5a2cd47", + "display": "Sodium" + }, + { + "reference": "urn:uuid:40609dd9-4e93-4760-9cf0-1343eb69b910", + "display": "Potassium" + }, + { + "reference": "urn:uuid:f009a6e4-02c3-4518-b7b2-faad9f4b12e1", + "display": "Chloride" + }, + { + "reference": "urn:uuid:f9e7be0a-2b59-4810-a304-d30ec2a5b0b9", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:384e02d7-2e91-4680-97e9-6af9b90497bc", + "resource": { + "resourceType": "DiagnosticReport", + "id": "384e02d7-2e91-4680-97e9-6af9b90497bc", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "57698-3", + "display": "Lipid Panel" + } + ], + "text": "Lipid Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:a0347dcb-3901-4c64-97fa-d91547080902", + "display": "Total Cholesterol" + }, + { + "reference": "urn:uuid:1a381821-4247-412b-8e57-8e66506e0343", + "display": "Triglycerides" + }, + { + "reference": "urn:uuid:7bb7038c-4c56-4f79-9d29-c93b5ddfc3ed", + "display": "Low Density Lipoprotein Cholesterol" + }, + { + "reference": "urn:uuid:fdb1cbc7-39fc-4a54-8796-6aa08c5b9dfb", + "display": "High Density Lipoprotein Cholesterol" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:54e1e43c-e24b-4e6f-8644-71da534d588d", + "resource": { + "resourceType": "DiagnosticReport", + "id": "54e1e43c-e24b-4e6f-8644-71da534d588d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + "effectiveDateTime": "2013-04-26T04:25:21-04:00", + "issued": "2013-04-26T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTMtMDQtMjYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:65088070-ba9d-4963-9fda-889c9f8ac0cd", + "resource": { + "resourceType": "DocumentReference", + "id": "65088070-ba9d-4963-9fda-889c9f8ac0cd", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "54e1e43c-e24b-4e6f-8644-71da534d588d" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2013-04-26T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTMtMDQtMjYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + } + ], + "period": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:47d67403-5448-470c-807a-17fe4a1be47b", + "resource": { + "resourceType": "Claim", + "id": "47d67403-5448-470c-807a-17fe4a1be47b", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:55:21-04:00" + }, + "created": "2013-04-26T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:b40367ac-3a3c-49db-ace4-5d10143433e0" + } + } + ], + "procedure": [ + { + "sequence": 1, + "procedureReference": { + "reference": "urn:uuid:d5e276fb-c14e-4cb4-86d6-96dd6613308b" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + }, + { + "sequence": 3, + "procedureSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "net": { + "value": 649.08, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:9365de57-307a-4de1-857f-29732b785c0c", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "9365de57-307a-4de1-857f-29732b785c0c", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "47d67403-5448-470c-807a-17fe4a1be47b" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2013-04-26T04:55:21-04:00", + "end": "2014-04-26T04:55:21-04:00" + }, + "created": "2013-04-26T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:47d67403-5448-470c-807a-17fe4a1be47b" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + }, + { + "sequence": 3, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "servicedPeriod": { + "start": "2013-04-26T04:25:21-04:00", + "end": "2013-04-26T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 649.08, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 129.816, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 519.264, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 649.08, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 649.08, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 631.6800000000001, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126", + "resource": { + "resourceType": "Encounter", + "id": "ff2fbf2f-34d5-47ed-8c13-d86652dd7126", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2014-05-02T04:25:21-04:00", + "end": "2014-05-02T04:40:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2014-05-02T04:25:21-04:00", + "end": "2014-05-02T04:40:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:3fa50573-c2e4-4d7a-b1e7-570e90465117", + "resource": { + "resourceType": "Observation", + "id": "3fa50573-c2e4-4d7a-b1e7-570e90465117", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:6a092fd3-539c-4ae8-9741-99a65c40f24b", + "resource": { + "resourceType": "Observation", + "id": "6a092fd3-539c-4ae8-9741-99a65c40f24b", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 0, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:edaf7d2a-0037-4cc4-aab2-dd96ede72799", + "resource": { + "resourceType": "Observation", + "id": "edaf7d2a-0037-4cc4-aab2-dd96ede72799", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 90.9, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:defca8cd-b980-483b-8b3d-5d673acbdbab", + "resource": { + "resourceType": "Observation", + "id": "defca8cd-b980-483b-8b3d-5d673acbdbab", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 29.14, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:8dc70997-71e3-431d-87fe-8ff34cd63ba1", + "resource": { + "resourceType": "Observation", + "id": "8dc70997-71e3-431d-87fe-8ff34cd63ba1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 84, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 105, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:cb5a2bbc-de9d-4926-b1c3-c4dadd6f19c5", + "resource": { + "resourceType": "Observation", + "id": "cb5a2bbc-de9d-4926-b1c3-c4dadd6f19c5", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 84, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3bc7e770-582c-4d02-bd12-82f2eaad0806", + "resource": { + "resourceType": "Observation", + "id": "3bc7e770-582c-4d02-bd12-82f2eaad0806", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 16, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3937a53f-0bc7-41ca-89e3-75e8359c513b", + "resource": { + "resourceType": "Observation", + "id": "3937a53f-0bc7-41ca-89e3-75e8359c513b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 87.17, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3ba5796c-4d7e-4034-a897-af99beeb6913", + "resource": { + "resourceType": "Observation", + "id": "3ba5796c-4d7e-4034-a897-af99beeb6913", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 10.38, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a3c7cad8-3976-4cca-af92-a4c642b1828d", + "resource": { + "resourceType": "Observation", + "id": "a3c7cad8-3976-4cca-af92-a4c642b1828d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.14, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:248fa34e-e625-4393-806d-0a06d553d0ae", + "resource": { + "resourceType": "Observation", + "id": "248fa34e-e625-4393-806d-0a06d553d0ae", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 9.22, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:6ddf58ff-b453-4045-8ae8-f1cf34a61b05", + "resource": { + "resourceType": "Observation", + "id": "6ddf58ff-b453-4045-8ae8-f1cf34a61b05", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 143.8, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:8bbc3a39-8c8e-4ced-bdd2-1d3e4b6f29c2", + "resource": { + "resourceType": "Observation", + "id": "8bbc3a39-8c8e-4ced-bdd2-1d3e4b6f29c2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.92, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:e5ad2326-c9fc-4521-a4d0-f2a11a343f1f", + "resource": { + "resourceType": "Observation", + "id": "e5ad2326-c9fc-4521-a4d0-f2a11a343f1f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 102.47, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:23546ede-1dd0-4757-8d30-8b3b3182b2e6", + "resource": { + "resourceType": "Observation", + "id": "23546ede-1dd0-4757-8d30-8b3b3182b2e6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 24.86, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:957f679d-fa50-4a6c-9e87-164e8a974ed4", + "resource": { + "resourceType": "Observation", + "id": "957f679d-fa50-4a6c-9e87-164e8a974ed4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f1dd8bc1-a848-47fa-b7d6-63f9693ebf12", + "resource": { + "resourceType": "Observation", + "id": "f1dd8bc1-a848-47fa-b7d6-63f9693ebf12", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "valueQuantity": { + "value": 6.37, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:b399e705-b003-4c31-b1c2-9fee9552d487", + "resource": { + "resourceType": "MedicationRequest", + "id": "b399e705-b003-4c31-b1c2-9fee9552d487", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "authoredOn": "2014-05-02T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:5224e0ef-fba2-4e6a-a9b9-75b000f09aa7", + "resource": { + "resourceType": "Claim", + "id": "5224e0ef-fba2-4e6a-a9b9-75b000f09aa7", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2014-05-02T04:25:21-04:00", + "end": "2014-05-02T04:40:21-04:00" + }, + "created": "2014-05-02T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:b399e705-b003-4c31-b1c2-9fee9552d487" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:dd529300-f00d-4179-a72a-64789b7f28bf", + "resource": { + "resourceType": "Immunization", + "id": "dd529300-f00d-4179-a72a-64789b7f28bf", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "occurrenceDateTime": "2014-05-02T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:8a5cac6b-4ab1-4071-88ef-f05353cd51e1", + "resource": { + "resourceType": "DiagnosticReport", + "id": "8a5cac6b-4ab1-4071-88ef-f05353cd51e1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:3937a53f-0bc7-41ca-89e3-75e8359c513b", + "display": "Glucose" + }, + { + "reference": "urn:uuid:3ba5796c-4d7e-4034-a897-af99beeb6913", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:a3c7cad8-3976-4cca-af92-a4c642b1828d", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:248fa34e-e625-4393-806d-0a06d553d0ae", + "display": "Calcium" + }, + { + "reference": "urn:uuid:6ddf58ff-b453-4045-8ae8-f1cf34a61b05", + "display": "Sodium" + }, + { + "reference": "urn:uuid:8bbc3a39-8c8e-4ced-bdd2-1d3e4b6f29c2", + "display": "Potassium" + }, + { + "reference": "urn:uuid:e5ad2326-c9fc-4521-a4d0-f2a11a343f1f", + "display": "Chloride" + }, + { + "reference": "urn:uuid:23546ede-1dd0-4757-8d30-8b3b3182b2e6", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:b608e9ae-f41d-4e73-8c9f-7e73e7a54893", + "resource": { + "resourceType": "DiagnosticReport", + "id": "b608e9ae-f41d-4e73-8c9f-7e73e7a54893", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + "effectiveDateTime": "2014-05-02T04:25:21-04:00", + "issued": "2014-05-02T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTQtMDUtMDIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:1a4b6041-3774-41e8-916f-4e23d9e0b85c", + "resource": { + "resourceType": "DocumentReference", + "id": "1a4b6041-3774-41e8-916f-4e23d9e0b85c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "b608e9ae-f41d-4e73-8c9f-7e73e7a54893" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2014-05-02T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTQtMDUtMDIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + } + ], + "period": { + "start": "2014-05-02T04:25:21-04:00", + "end": "2014-05-02T04:40:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:391b44d6-2795-4949-96be-c8bdd947f5a4", + "resource": { + "resourceType": "Claim", + "id": "391b44d6-2795-4949-96be-c8bdd947f5a4", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2014-05-02T04:25:21-04:00", + "end": "2014-05-02T04:40:21-04:00" + }, + "created": "2014-05-02T04:40:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:dd529300-f00d-4179-a72a-64789b7f28bf" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:de8082de-e6bb-4050-afff-d267a1da6c0e", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "de8082de-e6bb-4050-afff-d267a1da6c0e", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "391b44d6-2795-4949-96be-c8bdd947f5a4" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2014-05-02T04:40:21-04:00", + "end": "2015-05-02T04:40:21-04:00" + }, + "created": "2014-05-02T04:40:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:391b44d6-2795-4949-96be-c8bdd947f5a4" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2014-05-02T04:25:21-04:00", + "end": "2014-05-02T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2014-05-02T04:25:21-04:00", + "end": "2014-05-02T04:40:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce", + "resource": { + "resourceType": "Encounter", + "id": "4460bb89-0fc9-4f97-a497-dd99dc1dfcce", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:5f3eba41-7b28-469b-9e85-48870c9424be", + "resource": { + "resourceType": "Observation", + "id": "5f3eba41-7b28-469b-9e85-48870c9424be", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f90f27f8-c442-48d5-a76f-4d987b32a3aa", + "resource": { + "resourceType": "Observation", + "id": "f90f27f8-c442-48d5-a76f-4d987b32a3aa", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 4, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f3087323-9ad9-4513-bf48-a6686fc93949", + "resource": { + "resourceType": "Observation", + "id": "f3087323-9ad9-4513-bf48-a6686fc93949", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 92.7, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:446dd387-3847-4523-b1df-8c1f01eefa19", + "resource": { + "resourceType": "Observation", + "id": "446dd387-3847-4523-b1df-8c1f01eefa19", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 29.73, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:cbaeb79c-cbf0-40a7-a50c-729f8f4a0934", + "resource": { + "resourceType": "Observation", + "id": "cbaeb79c-cbf0-40a7-a50c-729f8f4a0934", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 87, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 124, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ed3aa6e1-d4a4-48ae-89d3-f9cb71d37647", + "resource": { + "resourceType": "Observation", + "id": "ed3aa6e1-d4a4-48ae-89d3-f9cb71d37647", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 79, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3dda37ff-1a24-4de2-93a6-23eb6a6969e1", + "resource": { + "resourceType": "Observation", + "id": "3dda37ff-1a24-4de2-93a6-23eb6a6969e1", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 15, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:b9637bc3-1918-40fa-8ad8-a618752971a3", + "resource": { + "resourceType": "Observation", + "id": "b9637bc3-1918-40fa-8ad8-a618752971a3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 77.29, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:8d1d0bed-b36d-4a1a-8486-bea42e622de9", + "resource": { + "resourceType": "Observation", + "id": "8d1d0bed-b36d-4a1a-8486-bea42e622de9", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 9.13, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:73b223fd-88c7-4610-b4d2-206f4143a3e7", + "resource": { + "resourceType": "Observation", + "id": "73b223fd-88c7-4610-b4d2-206f4143a3e7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.15, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:451034d9-c038-4794-a4e4-b23ee7a94a78", + "resource": { + "resourceType": "Observation", + "id": "451034d9-c038-4794-a4e4-b23ee7a94a78", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 10.15, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:400372d0-a7ea-4388-99d4-95ef1071a716", + "resource": { + "resourceType": "Observation", + "id": "400372d0-a7ea-4388-99d4-95ef1071a716", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 141.98, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:dc236191-55fa-4c96-8c48-1e003ebaa08c", + "resource": { + "resourceType": "Observation", + "id": "dc236191-55fa-4c96-8c48-1e003ebaa08c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.11, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c1f8b46f-18a8-47a6-a8b6-1ad3a52fa37e", + "resource": { + "resourceType": "Observation", + "id": "c1f8b46f-18a8-47a6-a8b6-1ad3a52fa37e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 102.53, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4e05e810-afe3-4992-9f91-14c9d36db93a", + "resource": { + "resourceType": "Observation", + "id": "4e05e810-afe3-4992-9f91-14c9d36db93a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 25.29, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:201a28b3-77b3-4be6-8a0f-833003453de7", + "resource": { + "resourceType": "Observation", + "id": "201a28b3-77b3-4be6-8a0f-833003453de7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:844c17d8-4a0c-4cf1-a8a6-4d5e18aa16d3", + "resource": { + "resourceType": "Observation", + "id": "844c17d8-4a0c-4cf1-a8a6-4d5e18aa16d3", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "valueQuantity": { + "value": 6.25, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fbf2ea35-9545-44b4-9b7b-c49a1002f49c", + "resource": { + "resourceType": "Procedure", + "id": "fbf2ea35-9545-44b4-9b7b-c49a1002f49c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "performedPeriod": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:40:21-04:00" + }, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Procedure" + } + }, + { + "fullUrl": "urn:uuid:d31f7fa4-e0ac-4b27-af28-71e7c41ada9c", + "resource": { + "resourceType": "MedicationRequest", + "id": "d31f7fa4-e0ac-4b27-af28-71e7c41ada9c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "authoredOn": "2015-05-08T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:d4172fc8-cd8d-4f40-863e-3ea2b5512239", + "resource": { + "resourceType": "Claim", + "id": "d4172fc8-cd8d-4f40-863e-3ea2b5512239", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:55:21-04:00" + }, + "created": "2015-05-08T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:d31f7fa4-e0ac-4b27-af28-71e7c41ada9c" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:e8c756c1-7fb6-4151-b801-29c1c5ec35b2", + "resource": { + "resourceType": "Immunization", + "id": "e8c756c1-7fb6-4151-b801-29c1c5ec35b2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "occurrenceDateTime": "2015-05-08T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:d1d7b306-3443-4331-9071-56e92432f950", + "resource": { + "resourceType": "DiagnosticReport", + "id": "d1d7b306-3443-4331-9071-56e92432f950", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:b9637bc3-1918-40fa-8ad8-a618752971a3", + "display": "Glucose" + }, + { + "reference": "urn:uuid:8d1d0bed-b36d-4a1a-8486-bea42e622de9", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:73b223fd-88c7-4610-b4d2-206f4143a3e7", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:451034d9-c038-4794-a4e4-b23ee7a94a78", + "display": "Calcium" + }, + { + "reference": "urn:uuid:400372d0-a7ea-4388-99d4-95ef1071a716", + "display": "Sodium" + }, + { + "reference": "urn:uuid:dc236191-55fa-4c96-8c48-1e003ebaa08c", + "display": "Potassium" + }, + { + "reference": "urn:uuid:c1f8b46f-18a8-47a6-a8b6-1ad3a52fa37e", + "display": "Chloride" + }, + { + "reference": "urn:uuid:4e05e810-afe3-4992-9f91-14c9d36db93a", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:6ed87cee-192a-4358-82d6-34ab2a7ce840", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6ed87cee-192a-4358-82d6-34ab2a7ce840", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + "effectiveDateTime": "2015-05-08T04:25:21-04:00", + "issued": "2015-05-08T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTUtMDUtMDgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM1IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:6a594c04-6751-4ccd-8cfc-d769fd3f125e", + "resource": { + "resourceType": "DocumentReference", + "id": "6a594c04-6751-4ccd-8cfc-d769fd3f125e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "6ed87cee-192a-4358-82d6-34ab2a7ce840" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2015-05-08T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTUtMDUtMDgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM1IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + } + ], + "period": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:453cb389-8554-4d2b-be3a-16e894908c38", + "resource": { + "resourceType": "Claim", + "id": "453cb389-8554-4d2b-be3a-16e894908c38", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:55:21-04:00" + }, + "created": "2015-05-08T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:e8c756c1-7fb6-4151-b801-29c1c5ec35b2" + } + } + ], + "procedure": [ + { + "sequence": 1, + "procedureReference": { + "reference": "urn:uuid:fbf2ea35-9545-44b4-9b7b-c49a1002f49c" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + }, + { + "sequence": 3, + "procedureSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "net": { + "value": 485.01, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:a18757d5-4ce1-480d-87c6-8a43520688d7", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "a18757d5-4ce1-480d-87c6-8a43520688d7", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "453cb389-8554-4d2b-be3a-16e894908c38" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2015-05-08T04:55:21-04:00", + "end": "2016-05-08T04:55:21-04:00" + }, + "created": "2015-05-08T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:453cb389-8554-4d2b-be3a-16e894908c38" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + }, + { + "sequence": 3, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "servicedPeriod": { + "start": "2015-05-08T04:25:21-04:00", + "end": "2015-05-08T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 485.01, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 97.00200000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 388.00800000000004, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 485.01, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 485.01, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 500.42400000000004, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54", + "resource": { + "resourceType": "Encounter", + "id": "78707346-d73c-4a18-b6fc-0b16bc6c6e54", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "78707346-d73c-4a18-b6fc-0b16bc6c6e54" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:a312b0aa-d47f-4bd8-8227-f336c5b86f99", + "resource": { + "resourceType": "Observation", + "id": "a312b0aa-d47f-4bd8-8227-f336c5b86f99", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:809b7b2f-8412-407a-a084-3813822e75f4", + "resource": { + "resourceType": "Observation", + "id": "809b7b2f-8412-407a-a084-3813822e75f4", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 4, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fbba73a8-4f90-4107-b682-c031e93e50fc", + "resource": { + "resourceType": "Observation", + "id": "fbba73a8-4f90-4107-b682-c031e93e50fc", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 90.4, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:47403a7d-213f-43e5-8485-ee10f3a7eec4", + "resource": { + "resourceType": "Observation", + "id": "47403a7d-213f-43e5-8485-ee10f3a7eec4", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 28.98, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:7ff80d1f-a390-41b7-94c0-c97608405a64", + "resource": { + "resourceType": "Observation", + "id": "7ff80d1f-a390-41b7-94c0-c97608405a64", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 84, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 1.3E+2, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c46ac852-0c0c-43ae-be29-820018452a38", + "resource": { + "resourceType": "Observation", + "id": "c46ac852-0c0c-43ae-be29-820018452a38", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 79, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:03207fb1-a550-42f6-8bd7-a2c1f3ac8ab7", + "resource": { + "resourceType": "Observation", + "id": "03207fb1-a550-42f6-8bd7-a2c1f3ac8ab7", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 14, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:aeaeffb6-c4d1-4275-8980-3bc5d3bb3d00", + "resource": { + "resourceType": "Observation", + "id": "aeaeffb6-c4d1-4275-8980-3bc5d3bb3d00", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 98.58, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:35032147-4d1d-4cbf-885b-9640ea563c4d", + "resource": { + "resourceType": "Observation", + "id": "35032147-4d1d-4cbf-885b-9640ea563c4d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 17.32, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:8025d499-1e4a-46f8-ad2e-1ee743bd9257", + "resource": { + "resourceType": "Observation", + "id": "8025d499-1e4a-46f8-ad2e-1ee743bd9257", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.38, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c533bc2f-7c54-4b99-8be8-6fdffef6e1ea", + "resource": { + "resourceType": "Observation", + "id": "c533bc2f-7c54-4b99-8be8-6fdffef6e1ea", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 8.97, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fc521c56-1e41-4036-8484-244c95325778", + "resource": { + "resourceType": "Observation", + "id": "fc521c56-1e41-4036-8484-244c95325778", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 138.75, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:95670123-c09d-4884-97f2-c4b4b2b2b090", + "resource": { + "resourceType": "Observation", + "id": "95670123-c09d-4884-97f2-c4b4b2b2b090", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 5.14, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:10ef92e8-18a0-4566-9e8a-f650c8e6f986", + "resource": { + "resourceType": "Observation", + "id": "10ef92e8-18a0-4566-9e8a-f650c8e6f986", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 107.58, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f5330a15-9570-4b36-9294-a51058d8d049", + "resource": { + "resourceType": "Observation", + "id": "f5330a15-9570-4b36-9294-a51058d8d049", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 24.92, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:69d3a051-1788-45d6-ad85-c3488d7de7aa", + "resource": { + "resourceType": "Observation", + "id": "69d3a051-1788-45d6-ad85-c3488d7de7aa", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2093-3", + "display": "Total Cholesterol" + } + ], + "text": "Total Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 193.45, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a1baf5b3-93de-4d16-b7ad-180abfa48c79", + "resource": { + "resourceType": "Observation", + "id": "a1baf5b3-93de-4d16-b7ad-180abfa48c79", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2571-8", + "display": "Triglycerides" + } + ], + "text": "Triglycerides" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 135.84, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:63166ac7-b99e-4711-bcf1-bfefe0824c18", + "resource": { + "resourceType": "Observation", + "id": "63166ac7-b99e-4711-bcf1-bfefe0824c18", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "18262-6", + "display": "Low Density Lipoprotein Cholesterol" + } + ], + "text": "Low Density Lipoprotein Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 86.87, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:7909fefa-a64f-488b-8f11-d79aab728068", + "resource": { + "resourceType": "Observation", + "id": "7909fefa-a64f-488b-8f11-d79aab728068", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2085-9", + "display": "High Density Lipoprotein Cholesterol" + } + ], + "text": "High Density Lipoprotein Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 79.42, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:73b004c9-04c7-40f2-ad1f-553f7e71660f", + "resource": { + "resourceType": "Observation", + "id": "73b004c9-04c7-40f2-ad1f-553f7e71660f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6690-2", + "display": "Leukocytes [#/volume] in Blood by Automated count" + } + ], + "text": "Leukocytes [#/volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 8.373, + "unit": "10*3/uL", + "system": "http://unitsofmeasure.org", + "code": "10*3/uL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:d44f74eb-f859-4729-ad8b-dba6074f7a41", + "resource": { + "resourceType": "Observation", + "id": "d44f74eb-f859-4729-ad8b-dba6074f7a41", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "789-8", + "display": "Erythrocytes [#/volume] in Blood by Automated count" + } + ], + "text": "Erythrocytes [#/volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.4389, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org", + "code": "10*6/uL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a39ba7d0-f20a-4344-8d86-67ba5231d162", + "resource": { + "resourceType": "Observation", + "id": "a39ba7d0-f20a-4344-8d86-67ba5231d162", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "718-7", + "display": "Hemoglobin [Mass/volume] in Blood" + } + ], + "text": "Hemoglobin [Mass/volume] in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 15.852, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:2c33007d-47df-4c33-8a8f-10107713162e", + "resource": { + "resourceType": "Observation", + "id": "2c33007d-47df-4c33-8a8f-10107713162e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4544-3", + "display": "Hematocrit [Volume Fraction] of Blood by Automated count" + } + ], + "text": "Hematocrit [Volume Fraction] of Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 47.227, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:70da1bdb-4f75-4d15-92d3-f3c858fe9b4a", + "resource": { + "resourceType": "Observation", + "id": "70da1bdb-4f75-4d15-92d3-f3c858fe9b4a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "787-2", + "display": "MCV [Entitic volume] by Automated count" + } + ], + "text": "MCV [Entitic volume] by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 90.562, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3a5edd09-0f0d-4690-8f85-9d627e5a5121", + "resource": { + "resourceType": "Observation", + "id": "3a5edd09-0f0d-4690-8f85-9d627e5a5121", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "785-6", + "display": "MCH [Entitic mass] by Automated count" + } + ], + "text": "MCH [Entitic mass] by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 31.323, + "unit": "pg", + "system": "http://unitsofmeasure.org", + "code": "pg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:e6455ae6-4852-4f7d-adf3-7a3bbff0ac95", + "resource": { + "resourceType": "Observation", + "id": "e6455ae6-4852-4f7d-adf3-7a3bbff0ac95", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "786-4", + "display": "MCHC [Mass/volume] by Automated count" + } + ], + "text": "MCHC [Mass/volume] by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 33.031, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:dc7635f6-de33-4a2b-a42b-6b0dcdb48299", + "resource": { + "resourceType": "Observation", + "id": "dc7635f6-de33-4a2b-a42b-6b0dcdb48299", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "21000-5", + "display": "Erythrocyte distribution width [Entitic volume] by Automated count" + } + ], + "text": "Erythrocyte distribution width [Entitic volume] by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 45.168, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4f6911c1-ac5d-4fcd-ab79-9d68dc8bcfb0", + "resource": { + "resourceType": "Observation", + "id": "4f6911c1-ac5d-4fcd-ab79-9d68dc8bcfb0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "777-3", + "display": "Platelets [#/volume] in Blood by Automated count" + } + ], + "text": "Platelets [#/volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 293.53, + "unit": "10*3/uL", + "system": "http://unitsofmeasure.org", + "code": "10*3/uL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a034f8ec-9f09-4f3d-a2cd-89f70e7f9ea2", + "resource": { + "resourceType": "Observation", + "id": "a034f8ec-9f09-4f3d-a2cd-89f70e7f9ea2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "32207-3", + "display": "Platelet distribution width [Entitic volume] in Blood by Automated count" + } + ], + "text": "Platelet distribution width [Entitic volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 218.43, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fff28476-b3a3-4324-9314-453c257538c2", + "resource": { + "resourceType": "Observation", + "id": "fff28476-b3a3-4324-9314-453c257538c2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "32623-1", + "display": "Platelet mean volume [Entitic volume] in Blood by Automated count" + } + ], + "text": "Platelet mean volume [Entitic volume] in Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 10.831, + "unit": "fL", + "system": "http://unitsofmeasure.org", + "code": "fL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:6e8c3d60-9166-4449-9c0f-a235bf3525d4", + "resource": { + "resourceType": "Observation", + "id": "6e8c3d60-9166-4449-9c0f-a235bf3525d4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:19584cf5-ca16-4b44-b284-887bc05ab9f9", + "resource": { + "resourceType": "Observation", + "id": "19584cf5-ca16-4b44-b284-887bc05ab9f9", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "valueQuantity": { + "value": 5.91, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:de09084a-8010-4dab-a509-8f5749c0c1f9", + "resource": { + "resourceType": "Procedure", + "id": "de09084a-8010-4dab-a509-8f5749c0c1f9", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "performedPeriod": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:40:21-04:00" + }, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Procedure" + } + }, + { + "fullUrl": "urn:uuid:849450f9-be1d-44a5-9640-b0d48ca95ac2", + "resource": { + "resourceType": "MedicationRequest", + "id": "849450f9-be1d-44a5-9640-b0d48ca95ac2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "authoredOn": "2016-05-13T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:19f55536-11a8-4ae0-ab90-bb674d0e20c9", + "resource": { + "resourceType": "Claim", + "id": "19f55536-11a8-4ae0-ab90-bb674d0e20c9", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:55:21-04:00" + }, + "created": "2016-05-13T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:849450f9-be1d-44a5-9640-b0d48ca95ac2" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:c0a584b2-bfff-4ea0-bda2-af162d77b9cb", + "resource": { + "resourceType": "Immunization", + "id": "c0a584b2-bfff-4ea0-bda2-af162d77b9cb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "occurrenceDateTime": "2016-05-13T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:ac9c74c9-a21e-42b9-bfab-f83b204ca193", + "resource": { + "resourceType": "DiagnosticReport", + "id": "ac9c74c9-a21e-42b9-bfab-f83b204ca193", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:aeaeffb6-c4d1-4275-8980-3bc5d3bb3d00", + "display": "Glucose" + }, + { + "reference": "urn:uuid:35032147-4d1d-4cbf-885b-9640ea563c4d", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:8025d499-1e4a-46f8-ad2e-1ee743bd9257", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:c533bc2f-7c54-4b99-8be8-6fdffef6e1ea", + "display": "Calcium" + }, + { + "reference": "urn:uuid:fc521c56-1e41-4036-8484-244c95325778", + "display": "Sodium" + }, + { + "reference": "urn:uuid:95670123-c09d-4884-97f2-c4b4b2b2b090", + "display": "Potassium" + }, + { + "reference": "urn:uuid:10ef92e8-18a0-4566-9e8a-f650c8e6f986", + "display": "Chloride" + }, + { + "reference": "urn:uuid:f5330a15-9570-4b36-9294-a51058d8d049", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:cd619c20-fa5c-43bd-8472-7a51ea2fa4d2", + "resource": { + "resourceType": "DiagnosticReport", + "id": "cd619c20-fa5c-43bd-8472-7a51ea2fa4d2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "57698-3", + "display": "Lipid Panel" + } + ], + "text": "Lipid Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:69d3a051-1788-45d6-ad85-c3488d7de7aa", + "display": "Total Cholesterol" + }, + { + "reference": "urn:uuid:a1baf5b3-93de-4d16-b7ad-180abfa48c79", + "display": "Triglycerides" + }, + { + "reference": "urn:uuid:63166ac7-b99e-4711-bcf1-bfefe0824c18", + "display": "Low Density Lipoprotein Cholesterol" + }, + { + "reference": "urn:uuid:7909fefa-a64f-488b-8f11-d79aab728068", + "display": "High Density Lipoprotein Cholesterol" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:9cab30d0-3f65-4ed2-8207-ddbe680fb817", + "resource": { + "resourceType": "DiagnosticReport", + "id": "9cab30d0-3f65-4ed2-8207-ddbe680fb817", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "58410-2", + "display": "Complete blood count (hemogram) panel - Blood by Automated count" + } + ], + "text": "Complete blood count (hemogram) panel - Blood by Automated count" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:73b004c9-04c7-40f2-ad1f-553f7e71660f", + "display": "Leukocytes [#/volume] in Blood by Automated count" + }, + { + "reference": "urn:uuid:d44f74eb-f859-4729-ad8b-dba6074f7a41", + "display": "Erythrocytes [#/volume] in Blood by Automated count" + }, + { + "reference": "urn:uuid:a39ba7d0-f20a-4344-8d86-67ba5231d162", + "display": "Hemoglobin [Mass/volume] in Blood" + }, + { + "reference": "urn:uuid:2c33007d-47df-4c33-8a8f-10107713162e", + "display": "Hematocrit [Volume Fraction] of Blood by Automated count" + }, + { + "reference": "urn:uuid:70da1bdb-4f75-4d15-92d3-f3c858fe9b4a", + "display": "MCV [Entitic volume] by Automated count" + }, + { + "reference": "urn:uuid:3a5edd09-0f0d-4690-8f85-9d627e5a5121", + "display": "MCH [Entitic mass] by Automated count" + }, + { + "reference": "urn:uuid:e6455ae6-4852-4f7d-adf3-7a3bbff0ac95", + "display": "MCHC [Mass/volume] by Automated count" + }, + { + "reference": "urn:uuid:dc7635f6-de33-4a2b-a42b-6b0dcdb48299", + "display": "Erythrocyte distribution width [Entitic volume] by Automated count" + }, + { + "reference": "urn:uuid:4f6911c1-ac5d-4fcd-ab79-9d68dc8bcfb0", + "display": "Platelets [#/volume] in Blood by Automated count" + }, + { + "reference": "urn:uuid:a034f8ec-9f09-4f3d-a2cd-89f70e7f9ea2", + "display": "Platelet distribution width [Entitic volume] in Blood by Automated count" + }, + { + "reference": "urn:uuid:fff28476-b3a3-4324-9314-453c257538c2", + "display": "Platelet mean volume [Entitic volume] in Blood by Automated count" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:4d822e68-e098-4850-a077-b831ecc3d65c", + "resource": { + "resourceType": "DiagnosticReport", + "id": "4d822e68-e098-4850-a077-b831ecc3d65c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + "effectiveDateTime": "2016-05-13T04:25:21-04:00", + "issued": "2016-05-13T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTYtMDUtMTMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:2f447df9-c1c7-4184-8ed8-1b0d4c2722af", + "resource": { + "resourceType": "DocumentReference", + "id": "2f447df9-c1c7-4184-8ed8-1b0d4c2722af", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "4d822e68-e098-4850-a077-b831ecc3d65c" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2016-05-13T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTYtMDUtMTMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + } + ], + "period": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:98077579-ec65-48bd-b379-f58f1874f519", + "resource": { + "resourceType": "Claim", + "id": "98077579-ec65-48bd-b379-f58f1874f519", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:55:21-04:00" + }, + "created": "2016-05-13T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:c0a584b2-bfff-4ea0-bda2-af162d77b9cb" + } + } + ], + "procedure": [ + { + "sequence": 1, + "procedureReference": { + "reference": "urn:uuid:de09084a-8010-4dab-a509-8f5749c0c1f9" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + }, + { + "sequence": 3, + "procedureSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "net": { + "value": 952.76, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:4b3e25bf-5805-4361-9ece-4907fc3628c5", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "4b3e25bf-5805-4361-9ece-4907fc3628c5", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "98077579-ec65-48bd-b379-f58f1874f519" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2016-05-13T04:55:21-04:00", + "end": "2017-05-13T04:55:21-04:00" + }, + "created": "2016-05-13T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:98077579-ec65-48bd-b379-f58f1874f519" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + }, + { + "sequence": 3, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "servicedPeriod": { + "start": "2016-05-13T04:25:21-04:00", + "end": "2016-05-13T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 952.76, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 190.55200000000002, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 762.2080000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 952.76, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 952.76, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 874.6240000000001, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8", + "resource": { + "resourceType": "Encounter", + "id": "8df28b50-9224-40fe-9ae5-3d93442c6de8", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "8df28b50-9224-40fe-9ae5-3d93442c6de8" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185345009", + "display": "Encounter for symptom" + } + ], + "text": "Encounter for symptom" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2016-10-05T04:25:21-04:00", + "end": "2016-10-05T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + } + ], + "period": { + "start": "2016-10-05T04:25:21-04:00", + "end": "2016-10-05T04:55:21-04:00" + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "195662009", + "display": "Acute viral pharyngitis (disorder)" + } + ] + } + ], + "location": [ + { + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:5b09357c-ee84-4488-8e37-9fc509f2626a", + "resource": { + "resourceType": "Condition", + "id": "5b09357c-ee84-4488-8e37-9fc509f2626a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "resolved" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "195662009", + "display": "Acute viral pharyngitis (disorder)" + } + ], + "text": "Acute viral pharyngitis (disorder)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" + }, + "onsetDateTime": "2016-10-05T04:25:21-04:00", + "abatementDateTime": "2016-10-16T04:25:21-04:00", + "recordedDate": "2016-10-05T04:25:21-04:00" + }, + "request": { + "method": "POST", + "url": "Condition" + } + }, + { + "fullUrl": "urn:uuid:2e2a6efd-8836-4edb-8a1b-4411906dfa06", + "resource": { + "resourceType": "Observation", + "id": "2e2a6efd-8836-4edb-8a1b-4411906dfa06", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodytemp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8310-5", + "display": "Body temperature" + }, + { + "system": "http://loinc.org", + "code": "8331-1", + "display": "Oral temperature" + } + ], + "text": "Body temperature" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" + }, + "effectiveDateTime": "2016-10-05T04:25:21-04:00", + "issued": "2016-10-05T04:25:21.151-04:00", + "valueQuantity": { + "value": 37.102, + "unit": "Cel", + "system": "http://unitsofmeasure.org", + "code": "Cel" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:5605e654-548a-4a6f-b6e7-1d44acf833bf", + "resource": { + "resourceType": "Procedure", + "id": "5605e654-548a-4a6f-b6e7-1d44acf833bf", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "117015009", + "display": "Throat culture (procedure)" + } + ], + "text": "Throat culture (procedure)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" + }, + "performedPeriod": { + "start": "2016-10-05T04:25:21-04:00", + "end": "2016-10-05T04:40:21-04:00" + }, + "location": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "reasonReference": [ + { + "reference": "urn:uuid:5b09357c-ee84-4488-8e37-9fc509f2626a", + "display": "Acute viral pharyngitis (disorder)" + } + ] + }, + "request": { + "method": "POST", + "url": "Procedure" + } + }, + { + "fullUrl": "urn:uuid:24d9d22e-fe26-4dd7-8f85-44da6ba12312", + "resource": { + "resourceType": "DiagnosticReport", + "id": "24d9d22e-fe26-4dd7-8f85-44da6ba12312", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" + }, + "effectiveDateTime": "2016-10-05T04:25:21-04:00", + "issued": "2016-10-05T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTYtMTAtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuClBhdGllbnQgaXMgcHJlc2VudGluZyB3aXRoIGFjdXRlIHZpcmFsIHBoYXJ5bmdpdGlzIChkaXNvcmRlcikuIAoKIyMgUGxhbgoKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIHRocm9hdCBjdWx0dXJlIChwcm9jZWR1cmUpCg==" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:21960643-d609-4531-9577-a78966cf5dfe", + "resource": { + "resourceType": "DocumentReference", + "id": "21960643-d609-4531-9577-a78966cf5dfe", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "24d9d22e-fe26-4dd7-8f85-44da6ba12312" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2016-10-05T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", + "display": "Dr. Wen848 Ebert178" + } + ], + "custodian": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTYtMTAtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuClBhdGllbnQgaXMgcHJlc2VudGluZyB3aXRoIGFjdXRlIHZpcmFsIHBoYXJ5bmdpdGlzIChkaXNvcmRlcikuIAoKIyMgUGxhbgoKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIHRocm9hdCBjdWx0dXJlIChwcm9jZWR1cmUpCg==" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" + } + ], + "period": { + "start": "2016-10-05T04:25:21-04:00", + "end": "2016-10-05T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:01f46a34-c2f2-4b25-bee9-f2c86986b7e9", + "resource": { + "resourceType": "Claim", + "id": "01f46a34-c2f2-4b25-bee9-f2c86986b7e9", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2016-10-05T04:25:21-04:00", + "end": "2016-10-05T04:55:21-04:00" + }, + "created": "2016-10-05T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:5b09357c-ee84-4488-8e37-9fc509f2626a" + } + } + ], + "procedure": [ + { + "sequence": 1, + "procedureReference": { + "reference": "urn:uuid:5605e654-548a-4a6f-b6e7-1d44acf833bf" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185345009", + "display": "Encounter for symptom" + } + ], + "text": "Encounter for symptom" + }, + "encounter": [ + { + "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "195662009", + "display": "Acute viral pharyngitis (disorder)" + } + ], + "text": "Acute viral pharyngitis (disorder)" + } + }, + { + "sequence": 3, + "procedureSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "117015009", + "display": "Throat culture (procedure)" + } + ], + "text": "Throat culture (procedure)" + }, + "net": { + "value": 1941.03, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:7079afeb-d7ae-48d5-a523-b9c80c52b3a0", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "7079afeb-d7ae-48d5-a523-b9c80c52b3a0", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "performer": [ + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "NO_INSURANCE" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "NO_INSURANCE" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "01f46a34-c2f2-4b25-bee9-f2c86986b7e9" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2016-10-05T04:55:21-04:00", + "end": "2017-10-05T04:55:21-04:00" + }, + "created": "2016-10-05T04:55:21-04:00", + "insurer": { + "display": "NO_INSURANCE" + }, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + }, + "claim": { + "reference": "urn:uuid:01f46a34-c2f2-4b25-bee9-f2c86986b7e9" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "diagnosis": [ + { + "sequence": 1, + "diagnosisReference": { + "reference": "urn:uuid:5b09357c-ee84-4488-8e37-9fc509f2626a" + }, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", + "code": "principal" + } + ] + } + ] + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "185345009", + "display": "Encounter for symptom" + } + ], + "text": "Encounter for symptom" + }, + "servicedPeriod": { + "start": "2016-10-05T04:25:21-04:00", + "end": "2016-10-05T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" + } + ] + }, + { + "sequence": 2, + "diagnosisSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "195662009", + "display": "Acute viral pharyngitis (disorder)" + } + ], + "text": "Acute viral pharyngitis (disorder)" + }, + "servicedPeriod": { + "start": "2016-10-05T04:25:21-04:00", + "end": "2016-10-05T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + } + }, + { + "sequence": 3, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "117015009", + "display": "Throat culture (procedure)" + } + ], + "text": "Throat culture (procedure)" + }, + "servicedPeriod": { + "start": "2016-10-05T04:25:21-04:00", + "end": "2016-10-05T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "21", + "display": "Inpatient Hospital" + } + ] + }, + "net": { + "value": 1941.03, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 388.206, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 1552.824, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 1941.03, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 1941.03, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 1552.824, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be", + "resource": { + "resourceType": "Encounter", + "id": "2159ed82-7726-4e54-8108-be6ae398e4be", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "2159ed82-7726-4e54-8108-be6ae398e4be" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:592886be-d31e-4169-ad85-fe19be2f4f8a", + "resource": { + "resourceType": "Observation", + "id": "592886be-d31e-4169-ad85-fe19be2f4f8a", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:15bb9fb1-9f8a-4d9b-a1de-648d21ae98df", + "resource": { + "resourceType": "Observation", + "id": "15bb9fb1-9f8a-4d9b-a1de-648d21ae98df", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 1, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a860dc24-414a-4535-a0af-9b51061ff67c", + "resource": { + "resourceType": "Observation", + "id": "a860dc24-414a-4535-a0af-9b51061ff67c", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 85.3, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a5483d32-1e68-453e-ab0d-acf9b1934624", + "resource": { + "resourceType": "Observation", + "id": "a5483d32-1e68-453e-ab0d-acf9b1934624", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 27.36, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ddb674dc-4437-484f-b04e-b12cf41c8f2c", + "resource": { + "resourceType": "Observation", + "id": "ddb674dc-4437-484f-b04e-b12cf41c8f2c", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 75, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 108, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:2d7e2a12-b2a8-4ba6-bffe-275a0d23489f", + "resource": { + "resourceType": "Observation", + "id": "2d7e2a12-b2a8-4ba6-bffe-275a0d23489f", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 8E+1, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a22ee9a8-8b01-449e-a9b9-6738984bf592", + "resource": { + "resourceType": "Observation", + "id": "a22ee9a8-8b01-449e-a9b9-6738984bf592", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 15, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f5a86b3f-c902-45ae-ab2e-e9fa42d4abb3", + "resource": { + "resourceType": "Observation", + "id": "f5a86b3f-c902-45ae-ab2e-e9fa42d4abb3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 80.63, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:f88d36d4-e2bc-443f-ba77-ce7849890d8e", + "resource": { + "resourceType": "Observation", + "id": "f88d36d4-e2bc-443f-ba77-ce7849890d8e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 19.67, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:0faa8bca-5f39-473e-90cb-cf3438350b8d", + "resource": { + "resourceType": "Observation", + "id": "0faa8bca-5f39-473e-90cb-cf3438350b8d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.04, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:10c4329c-8664-4561-b7c0-5cd935c4e9ba", + "resource": { + "resourceType": "Observation", + "id": "10c4329c-8664-4561-b7c0-5cd935c4e9ba", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 10.06, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:d46b61a7-272c-4773-9fe2-292192c53e51", + "resource": { + "resourceType": "Observation", + "id": "d46b61a7-272c-4773-9fe2-292192c53e51", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 143.91, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4c1fcff5-ecfe-4c09-a3fc-63768387cc7e", + "resource": { + "resourceType": "Observation", + "id": "4c1fcff5-ecfe-4c09-a3fc-63768387cc7e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.34, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:258b96ee-b0b7-4c23-9ce1-679183791d60", + "resource": { + "resourceType": "Observation", + "id": "258b96ee-b0b7-4c23-9ce1-679183791d60", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 105.9, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:af1dea09-d9d9-44bf-a9bf-5839246439b1", + "resource": { + "resourceType": "Observation", + "id": "af1dea09-d9d9-44bf-a9bf-5839246439b1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 28.05, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c8127202-2870-48fd-907d-6a6630219afb", + "resource": { + "resourceType": "Observation", + "id": "c8127202-2870-48fd-907d-6a6630219afb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:27638834-92a5-4ba7-a865-947e2f070044", + "resource": { + "resourceType": "Observation", + "id": "27638834-92a5-4ba7-a865-947e2f070044", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "valueQuantity": { + "value": 6.1, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:5d417f37-4bc9-4d0a-baa4-a52e44dbe102", + "resource": { + "resourceType": "Procedure", + "id": "5d417f37-4bc9-4d0a-baa4-a52e44dbe102", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "performedPeriod": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:40:21-04:00" + }, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Procedure" + } + }, + { + "fullUrl": "urn:uuid:0e7ae71f-7d13-4984-b0f7-2b7d04a92935", + "resource": { + "resourceType": "MedicationRequest", + "id": "0e7ae71f-7d13-4984-b0f7-2b7d04a92935", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "authoredOn": "2017-05-19T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:9057196d-a979-4d0c-b55a-15542ce10f78", + "resource": { + "resourceType": "Claim", + "id": "9057196d-a979-4d0c-b55a-15542ce10f78", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:55:21-04:00" + }, + "created": "2017-05-19T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:0e7ae71f-7d13-4984-b0f7-2b7d04a92935" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:c8df444c-06f2-470b-98e5-f71f7a420ce6", + "resource": { + "resourceType": "Immunization", + "id": "c8df444c-06f2-470b-98e5-f71f7a420ce6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "occurrenceDateTime": "2017-05-19T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:01c18bb7-3fe8-43af-a187-6080fa2df2e4", + "resource": { + "resourceType": "DiagnosticReport", + "id": "01c18bb7-3fe8-43af-a187-6080fa2df2e4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:f5a86b3f-c902-45ae-ab2e-e9fa42d4abb3", + "display": "Glucose" + }, + { + "reference": "urn:uuid:f88d36d4-e2bc-443f-ba77-ce7849890d8e", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:0faa8bca-5f39-473e-90cb-cf3438350b8d", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:10c4329c-8664-4561-b7c0-5cd935c4e9ba", + "display": "Calcium" + }, + { + "reference": "urn:uuid:d46b61a7-272c-4773-9fe2-292192c53e51", + "display": "Sodium" + }, + { + "reference": "urn:uuid:4c1fcff5-ecfe-4c09-a3fc-63768387cc7e", + "display": "Potassium" + }, + { + "reference": "urn:uuid:258b96ee-b0b7-4c23-9ce1-679183791d60", + "display": "Chloride" + }, + { + "reference": "urn:uuid:af1dea09-d9d9-44bf-a9bf-5839246439b1", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:91089422-ae73-4418-ada4-b732957fb516", + "resource": { + "resourceType": "DiagnosticReport", + "id": "91089422-ae73-4418-ada4-b732957fb516", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + "effectiveDateTime": "2017-05-19T04:25:21-04:00", + "issued": "2017-05-19T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTctMDUtMTkKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:0548a6a3-6787-4af5-9204-e5644b3ac085", + "resource": { + "resourceType": "DocumentReference", + "id": "0548a6a3-6787-4af5-9204-e5644b3ac085", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "91089422-ae73-4418-ada4-b732957fb516" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2017-05-19T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTctMDUtMTkKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + } + ], + "period": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:424bb4c3-5575-418b-9fc2-0dda1fac3c03", + "resource": { + "resourceType": "Claim", + "id": "424bb4c3-5575-418b-9fc2-0dda1fac3c03", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:55:21-04:00" + }, + "created": "2017-05-19T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:c8df444c-06f2-470b-98e5-f71f7a420ce6" + } + } + ], + "procedure": [ + { + "sequence": 1, + "procedureReference": { + "reference": "urn:uuid:5d417f37-4bc9-4d0a-baa4-a52e44dbe102" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + }, + { + "sequence": 3, + "procedureSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "net": { + "value": 556.22, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:dc5d7d94-a06c-406e-a9f1-caf6a8563502", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "dc5d7d94-a06c-406e-a9f1-caf6a8563502", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "424bb4c3-5575-418b-9fc2-0dda1fac3c03" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2017-05-19T04:55:21-04:00", + "end": "2018-05-19T04:55:21-04:00" + }, + "created": "2017-05-19T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:424bb4c3-5575-418b-9fc2-0dda1fac3c03" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + }, + { + "sequence": 3, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "servicedPeriod": { + "start": "2017-05-19T04:25:21-04:00", + "end": "2017-05-19T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 556.22, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 111.24400000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 444.97600000000006, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 556.22, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 556.22, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 557.392, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49", + "resource": { + "resourceType": "Encounter", + "id": "3058c580-27db-4639-82cf-fda16a18bd49", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "3058c580-27db-4639-82cf-fda16a18bd49" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:5d9db7bf-5511-419c-bc58-fdb70ed28e37", + "resource": { + "resourceType": "Observation", + "id": "5d9db7bf-5511-419c-bc58-fdb70ed28e37", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:86a395bc-1fad-4a69-aa01-bb61adf7725c", + "resource": { + "resourceType": "Observation", + "id": "86a395bc-1fad-4a69-aa01-bb61adf7725c", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 1, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3bd26db8-4098-4d34-8ff4-928972f64662", + "resource": { + "resourceType": "Observation", + "id": "3bd26db8-4098-4d34-8ff4-928972f64662", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 87.7, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:9e56a891-9a23-4beb-966d-f9ac2df6c297", + "resource": { + "resourceType": "Observation", + "id": "9e56a891-9a23-4beb-966d-f9ac2df6c297", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 28.12, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:17716b12-d22c-4fb9-96b6-1ba9b963de42", + "resource": { + "resourceType": "Observation", + "id": "17716b12-d22c-4fb9-96b6-1ba9b963de42", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 78, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 1E+2, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3b19757e-89d7-4827-ae1e-ac82c7606d2a", + "resource": { + "resourceType": "Observation", + "id": "3b19757e-89d7-4827-ae1e-ac82c7606d2a", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 72, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:11280c85-e075-4052-89ce-71079b938d53", + "resource": { + "resourceType": "Observation", + "id": "11280c85-e075-4052-89ce-71079b938d53", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 15, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:66644441-ac77-4b8d-b2ac-14bbcec04053", + "resource": { + "resourceType": "Observation", + "id": "66644441-ac77-4b8d-b2ac-14bbcec04053", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 93.54, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:9290113c-a3c6-446d-ac0d-0d2a5be4f4e7", + "resource": { + "resourceType": "Observation", + "id": "9290113c-a3c6-446d-ac0d-0d2a5be4f4e7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 10.28, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:d6bacda8-7ea4-44de-88b8-f9daa4640598", + "resource": { + "resourceType": "Observation", + "id": "d6bacda8-7ea4-44de-88b8-f9daa4640598", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.06, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c9080612-2fbf-4fcd-86f9-e1fff14bec39", + "resource": { + "resourceType": "Observation", + "id": "c9080612-2fbf-4fcd-86f9-e1fff14bec39", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 8.66, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:2e911ab2-40a5-45cc-bf33-0947ab8153fe", + "resource": { + "resourceType": "Observation", + "id": "2e911ab2-40a5-45cc-bf33-0947ab8153fe", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 137.89, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:fbf09b71-cf90-48ce-812c-2956c3dea698", + "resource": { + "resourceType": "Observation", + "id": "fbf09b71-cf90-48ce-812c-2956c3dea698", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.61, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c4d3c024-a1c6-47c2-bc75-ac0fca030ff5", + "resource": { + "resourceType": "Observation", + "id": "c4d3c024-a1c6-47c2-bc75-ac0fca030ff5", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 101.88, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a6f7388a-a584-4b75-8005-accd2d3522fe", + "resource": { + "resourceType": "Observation", + "id": "a6f7388a-a584-4b75-8005-accd2d3522fe", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 26.26, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:d9ea11ff-5101-4fba-a384-ac86b4bb1430", + "resource": { + "resourceType": "Observation", + "id": "d9ea11ff-5101-4fba-a384-ac86b4bb1430", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:d88c2f66-9e3d-4486-a242-e412a08b4490", + "resource": { + "resourceType": "Observation", + "id": "d88c2f66-9e3d-4486-a242-e412a08b4490", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "valueQuantity": { + "value": 6.2, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:52d27283-7e29-486b-b03b-0fc929cf196c", + "resource": { + "resourceType": "Procedure", + "id": "52d27283-7e29-486b-b03b-0fc929cf196c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "performedPeriod": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:40:21-04:00" + }, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Procedure" + } + }, + { + "fullUrl": "urn:uuid:5af5857e-8f25-4729-a583-57ba2f81f967", + "resource": { + "resourceType": "MedicationRequest", + "id": "5af5857e-8f25-4729-a583-57ba2f81f967", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "stopped", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "authoredOn": "2018-05-25T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:875458b6-ca9f-4a87-807a-e556f6944a21", + "resource": { + "resourceType": "Claim", + "id": "875458b6-ca9f-4a87-807a-e556f6944a21", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:55:21-04:00" + }, + "created": "2018-05-25T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:5af5857e-8f25-4729-a583-57ba2f81f967" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "NO_INSURANCE" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:e55e4949-2d64-44db-9f61-30b216c13b7d", + "resource": { + "resourceType": "Immunization", + "id": "e55e4949-2d64-44db-9f61-30b216c13b7d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "occurrenceDateTime": "2018-05-25T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:20e9e65f-1d92-402a-9d62-69f29b503b8f", + "resource": { + "resourceType": "DiagnosticReport", + "id": "20e9e65f-1d92-402a-9d62-69f29b503b8f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:66644441-ac77-4b8d-b2ac-14bbcec04053", + "display": "Glucose" + }, + { + "reference": "urn:uuid:9290113c-a3c6-446d-ac0d-0d2a5be4f4e7", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:d6bacda8-7ea4-44de-88b8-f9daa4640598", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:c9080612-2fbf-4fcd-86f9-e1fff14bec39", + "display": "Calcium" + }, + { + "reference": "urn:uuid:2e911ab2-40a5-45cc-bf33-0947ab8153fe", + "display": "Sodium" + }, + { + "reference": "urn:uuid:fbf09b71-cf90-48ce-812c-2956c3dea698", + "display": "Potassium" + }, + { + "reference": "urn:uuid:c4d3c024-a1c6-47c2-bc75-ac0fca030ff5", + "display": "Chloride" + }, + { + "reference": "urn:uuid:a6f7388a-a584-4b75-8005-accd2d3522fe", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:5ce36665-e2de-4a18-b68e-4e71eecd468b", + "resource": { + "resourceType": "DiagnosticReport", + "id": "5ce36665-e2de-4a18-b68e-4e71eecd468b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + "effectiveDateTime": "2018-05-25T04:25:21-04:00", + "issued": "2018-05-25T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTgtMDUtMjUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:c8706880-188d-4f7b-aca4-7179dab7ed4b", + "resource": { + "resourceType": "DocumentReference", + "id": "c8706880-188d-4f7b-aca4-7179dab7ed4b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "5ce36665-e2de-4a18-b68e-4e71eecd468b" + } + ], + "status": "superseded", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2018-05-25T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTgtMDUtMjUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + } + ], + "period": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:9b1d9bba-4bbb-4bda-9cf7-ac5b07611754", + "resource": { + "resourceType": "Claim", + "id": "9b1d9bba-4bbb-4bda-9cf7-ac5b07611754", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:55:21-04:00" + }, + "created": "2018-05-25T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:e55e4949-2d64-44db-9f61-30b216c13b7d" + } + } + ], + "procedure": [ + { + "sequence": 1, + "procedureReference": { + "reference": "urn:uuid:52d27283-7e29-486b-b03b-0fc929cf196c" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + }, + { + "sequence": 3, + "procedureSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "net": { + "value": 539.51, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:8b34476d-180c-407a-adc3-82aa7e4505b0", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "8b34476d-180c-407a-adc3-82aa7e4505b0", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "9b1d9bba-4bbb-4bda-9cf7-ac5b07611754" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2018-05-25T04:55:21-04:00", + "end": "2019-05-25T04:55:21-04:00" + }, + "created": "2018-05-25T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:9b1d9bba-4bbb-4bda-9cf7-ac5b07611754" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + }, + { + "sequence": 3, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "servicedPeriod": { + "start": "2018-05-25T04:25:21-04:00", + "end": "2018-05-25T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 539.51, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 107.902, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 431.608, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 539.51, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 539.51, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 544.024, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc", + "resource": { + "resourceType": "Encounter", + "id": "a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "identifier": [ + { + "use": "official", + "system": "https://github.com/synthetichealth/synthea", + "value": "a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + } + ], + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Mrs. Pamela954 Johns824" + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PPRF", + "display": "primary performer" + } + ], + "text": "primary performer" + } + ], + "period": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:55:21-04:00" + }, + "individual": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + } + ], + "period": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:55:21-04:00" + }, + "location": [ + { + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ], + "serviceProvider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Encounter" + } + }, + { + "fullUrl": "urn:uuid:6689d45e-0f45-4ffe-b665-12dfc2cc03b5", + "resource": { + "resourceType": "Observation", + "id": "6689d45e-0f45-4ffe-b665-12dfc2cc03b5", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyheight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body Height" + } + ], + "text": "Body Height" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 176.6, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:3313498c-44e7-447a-be10-fc408540ee4a", + "resource": { + "resourceType": "Observation", + "id": "3313498c-44e7-447a-be10-fc408540ee4a", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72514-3", + "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + } + ], + "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 1, + "unit": "{score}", + "system": "http://unitsofmeasure.org", + "code": "{score}" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c4909481-052c-4375-9788-ae89037b4241", + "resource": { + "resourceType": "Observation", + "id": "c4909481-052c-4375-9788-ae89037b4241", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bodyweight", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "Body Weight" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 90.1, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a9879bc0-0c50-486d-9881-e2088e226b5b", + "resource": { + "resourceType": "Observation", + "id": "a9879bc0-0c50-486d-9881-e2088e226b5b", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bmi", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body Mass Index" + } + ], + "text": "Body Mass Index" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 28.89, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:c0ee8845-d480-4a92-a596-564af06fd05c", + "resource": { + "resourceType": "Observation", + "id": "c0ee8845-d480-4a92-a596-564af06fd05c", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/bp", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood Pressure" + } + ], + "text": "Blood Pressure" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic Blood Pressure" + } + ], + "text": "Diastolic Blood Pressure" + }, + "valueQuantity": { + "value": 87, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic Blood Pressure" + } + ], + "text": "Systolic Blood Pressure" + }, + "valueQuantity": { + "value": 118, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:1f8bb2b9-a180-41e1-97b4-5ce1c2260eb6", + "resource": { + "resourceType": "Observation", + "id": "1f8bb2b9-a180-41e1-97b4-5ce1c2260eb6", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/heartrate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Heart rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 84, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:5444a546-530c-46bb-a743-48c991e65006", + "resource": { + "resourceType": "Observation", + "id": "5444a546-530c-46bb-a743-48c991e65006", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/resprate", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "vital-signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "Respiratory rate" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 12, + "unit": "/min", + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:4a0e11d6-ea52-4f59-a211-fdb93cfff482", + "resource": { + "resourceType": "Observation", + "id": "4a0e11d6-ea52-4f59-a211-fdb93cfff482", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose" + } + ], + "text": "Glucose" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 86.88, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:852d9cbe-ee4d-459d-9fa1-69a32209851b", + "resource": { + "resourceType": "Observation", + "id": "852d9cbe-ee4d-459d-9fa1-69a32209851b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6299-2", + "display": "Urea Nitrogen" + } + ], + "text": "Urea Nitrogen" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 13.39, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ba6ce35c-0035-4caf-9d80-7cd8a2adb1d8", + "resource": { + "resourceType": "Observation", + "id": "ba6ce35c-0035-4caf-9d80-7cd8a2adb1d8", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38483-4", + "display": "Creatinine" + } + ], + "text": "Creatinine" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 1.07, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:04656ac4-4944-455f-878b-39ea949b4e5f", + "resource": { + "resourceType": "Observation", + "id": "04656ac4-4944-455f-878b-39ea949b4e5f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "49765-1", + "display": "Calcium" + } + ], + "text": "Calcium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 9.37, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:244fa692-7776-43fd-932b-c1d12775da58", + "resource": { + "resourceType": "Observation", + "id": "244fa692-7776-43fd-932b-c1d12775da58", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2947-0", + "display": "Sodium" + } + ], + "text": "Sodium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 136.67, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:e9ee497a-9be1-441b-bd04-845f58da28e7", + "resource": { + "resourceType": "Observation", + "id": "e9ee497a-9be1-441b-bd04-845f58da28e7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "6298-4", + "display": "Potassium" + } + ], + "text": "Potassium" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 4.27, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:01cacb9c-fad4-4441-bee8-3b043c46d11f", + "resource": { + "resourceType": "Observation", + "id": "01cacb9c-fad4-4441-bee8-3b043c46d11f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2069-3", + "display": "Chloride" + } + ], + "text": "Chloride" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 102.21, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:56be2677-c7c6-4b4e-8479-f559b4b32823", + "resource": { + "resourceType": "Observation", + "id": "56be2677-c7c6-4b4e-8479-f559b4b32823", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20565-8", + "display": "Carbon Dioxide" + } + ], + "text": "Carbon Dioxide" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 23.03, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:0de94e85-3015-482e-b340-0e5df78ddaeb", + "resource": { + "resourceType": "Observation", + "id": "0de94e85-3015-482e-b340-0e5df78ddaeb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2093-3", + "display": "Total Cholesterol" + } + ], + "text": "Total Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 160.97, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:ced86e98-7706-4f47-825c-ce79ecff348f", + "resource": { + "resourceType": "Observation", + "id": "ced86e98-7706-4f47-825c-ce79ecff348f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2571-8", + "display": "Triglycerides" + } + ], + "text": "Triglycerides" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 117.06, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:7b1158d8-d2a6-4027-9d0b-478dcba7818f", + "resource": { + "resourceType": "Observation", + "id": "7b1158d8-d2a6-4027-9d0b-478dcba7818f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "18262-6", + "display": "Low Density Lipoprotein Cholesterol" + } + ], + "text": "Low Density Lipoprotein Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 77.79, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:d6701c30-9e32-41a4-a508-e7b89d925c30", + "resource": { + "resourceType": "Observation", + "id": "d6701c30-9e32-41a4-a508-e7b89d925c30", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2085-9", + "display": "High Density Lipoprotein Cholesterol" + } + ], + "text": "High Density Lipoprotein Cholesterol" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 59.77, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:52893d6e-9bed-443f-8176-5444a57a1c84", + "resource": { + "resourceType": "Observation", + "id": "52893d6e-9bed-443f-8176-5444a57a1c84", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "social-history" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "266919005", + "display": "Never smoker" + } + ], + "text": "Never smoker" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:a405d702-2710-4bf0-9304-6872d44be7b3", + "resource": { + "resourceType": "Observation", + "id": "a405d702-2710-4bf0-9304-6872d44be7b3", + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "4548-4", + "display": "Hemoglobin A1c/Hemoglobin.total in Blood" + } + ], + "text": "Hemoglobin A1c/Hemoglobin.total in Blood" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "valueQuantity": { + "value": 6, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "urn:uuid:49ddff02-26bf-465d-9fc9-dc00f0bfe5fd", + "resource": { + "resourceType": "Procedure", + "id": "49ddff02-26bf-465d-9fc9-dc00f0bfe5fd", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "performedPeriod": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:40:21-04:00" + }, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Procedure" + } + }, + { + "fullUrl": "urn:uuid:82fc90be-4c3d-4e04-9011-079ea1d32a70", + "resource": { + "resourceType": "MedicationRequest", + "id": "82fc90be-4c3d-4e04-9011-079ea1d32a70", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "746030", + "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + } + ], + "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "authoredOn": "2019-05-31T04:25:21-04:00", + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "reasonReference": [ + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "timing": { + "repeat": { + "frequency": 1, + "period": 1.0, + "periodUnit": "d" + } + }, + "asNeededBoolean": false, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 1.0 + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "MedicationRequest" + } + }, + { + "fullUrl": "urn:uuid:6dc8a3d3-1ffa-4827-8a83-b6f56b3e87fb", + "resource": { + "resourceType": "Claim", + "id": "6dc8a3d3-1ffa-4827-8a83-b6f56b3e87fb", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "pharmacy" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:55:21-04:00" + }, + "created": "2019-05-31T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "prescription": { + "reference": "urn:uuid:82fc90be-4c3d-4e04-9011-079ea1d32a70" + }, + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + } + ] + } + ], + "total": { + "value": 263.49, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:efd5f80d-3c04-44a5-bcc6-1a9858d8b2fd", + "resource": { + "resourceType": "Immunization", + "id": "efd5f80d-3c04-44a5-bcc6-1a9858d8b2fd", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "occurrenceDateTime": "2019-05-31T04:25:21-04:00", + "primarySource": true, + "location": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + }, + "request": { + "method": "POST", + "url": "Immunization" + } + }, + { + "fullUrl": "urn:uuid:bba2d963-c2fd-43c8-a3a4-e7331119966a", + "resource": { + "resourceType": "DiagnosticReport", + "id": "bba2d963-c2fd-43c8-a3a4-e7331119966a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51990-0", + "display": "Basic Metabolic Panel" + } + ], + "text": "Basic Metabolic Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:4a0e11d6-ea52-4f59-a211-fdb93cfff482", + "display": "Glucose" + }, + { + "reference": "urn:uuid:852d9cbe-ee4d-459d-9fa1-69a32209851b", + "display": "Urea Nitrogen" + }, + { + "reference": "urn:uuid:ba6ce35c-0035-4caf-9d80-7cd8a2adb1d8", + "display": "Creatinine" + }, + { + "reference": "urn:uuid:04656ac4-4944-455f-878b-39ea949b4e5f", + "display": "Calcium" + }, + { + "reference": "urn:uuid:244fa692-7776-43fd-932b-c1d12775da58", + "display": "Sodium" + }, + { + "reference": "urn:uuid:e9ee497a-9be1-441b-bd04-845f58da28e7", + "display": "Potassium" + }, + { + "reference": "urn:uuid:01cacb9c-fad4-4441-bee8-3b043c46d11f", + "display": "Chloride" + }, + { + "reference": "urn:uuid:56be2677-c7c6-4b4e-8479-f559b4b32823", + "display": "Carbon Dioxide" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:30d4f06d-d5a6-4833-8519-7d01923d2465", + "resource": { + "resourceType": "DiagnosticReport", + "id": "30d4f06d-d5a6-4833-8519-7d01923d2465", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "57698-3", + "display": "Lipid Panel" + } + ], + "text": "Lipid Panel" + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + ], + "result": [ + { + "reference": "urn:uuid:0de94e85-3015-482e-b340-0e5df78ddaeb", + "display": "Total Cholesterol" + }, + { + "reference": "urn:uuid:ced86e98-7706-4f47-825c-ce79ecff348f", + "display": "Triglycerides" + }, + { + "reference": "urn:uuid:7b1158d8-d2a6-4027-9d0b-478dcba7818f", + "display": "Low Density Lipoprotein Cholesterol" + }, + { + "reference": "urn:uuid:d6701c30-9e32-41a4-a508-e7b89d925c30", + "display": "High Density Lipoprotein Cholesterol" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:5d6f244c-dc14-4d30-b585-d984885648dd", + "resource": { + "resourceType": "DiagnosticReport", + "id": "5d6f244c-dc14-4d30-b585-d984885648dd", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + "effectiveDateTime": "2019-05-31T04:25:21-04:00", + "issued": "2019-05-31T04:25:21.151-04:00", + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "presentedForm": [ + { + "contentType": "text/plain", + "data": "CjIwMTktMDUtMzEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" + } + ] + }, + "request": { + "method": "POST", + "url": "DiagnosticReport" + } + }, + { + "fullUrl": "urn:uuid:dabb3861-b276-4f7f-80d1-990c1c8e92de", + "resource": { + "resourceType": "DocumentReference", + "id": "dabb3861-b276-4f7f-80d1-990c1c8e92de", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "5d6f244c-dc14-4d30-b585-d984885648dd" + } + ], + "status": "current", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34117-2", + "display": "History and physical note" + }, + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Evaluation+Plan note" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ] + } + ], + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "date": "2019-05-31T04:25:21.151-04:00", + "author": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + } + ], + "custodian": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "CjIwMTktMDUtMzEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" + }, + "format": { + "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", + "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", + "display": "mimeType Sufficient" + } + } + ], + "context": { + "encounter": [ + { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + } + ], + "period": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:55:21-04:00" + } + } + }, + "request": { + "method": "POST", + "url": "DocumentReference" + } + }, + { + "fullUrl": "urn:uuid:3af8a41e-da2f-4623-83e6-b448b6fa8a2e", + "resource": { + "resourceType": "Claim", + "id": "3af8a41e-da2f-4623-83e6-b448b6fa8a2e", + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", + "display": "Pamela954 Johns824" + }, + "billablePeriod": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:55:21-04:00" + }, + "created": "2019-05-31T04:55:21-04:00", + "provider": { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/processpriority", + "code": "normal" + } + ] + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "supportingInfo": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", + "code": "info" + } + ] + }, + "valueReference": { + "reference": "urn:uuid:efd5f80d-3c04-44a5-bcc6-1a9858d8b2fd" + } + } + ], + "procedure": [ + { + "sequence": 1, + "procedureReference": { + "reference": "urn:uuid:49ddff02-26bf-465d-9fc9-dc00f0bfe5fd" + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "encounter": [ + { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "net": { + "value": 140.52, + "currency": "USD" + } + }, + { + "sequence": 3, + "procedureSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "net": { + "value": 387.11, + "currency": "USD" + } + } + ], + "total": { + "value": 129.16, + "currency": "USD" + } + }, + "request": { + "method": "POST", + "url": "Claim" + } + }, + { + "fullUrl": "urn:uuid:4a9fe7c8-a98b-4be2-9362-d0380c684c67", + "resource": { + "resourceType": "ExplanationOfBenefit", + "id": "4a9fe7c8-a98b-4be2-9362-d0380c684c67", + "contained": [ + { + "resourceType": "ServiceRequest", + "id": "referral", + "status": "completed", + "intent": "order", + "subject": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "requester": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "performer": [ + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + } + ] + }, + { + "resourceType": "Coverage", + "id": "coverage", + "status": "active", + "type": { + "text": "Anthem" + }, + "beneficiary": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "payor": [ + { + "display": "Anthem" + } + ] + } + ], + "identifier": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/clm_id", + "value": "3af8a41e-da2f-4623-83e6-b448b6fa8a2e" + }, + { + "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", + "value": "99999999999" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "institutional" + } + ] + }, + "use": "claim", + "patient": { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "billablePeriod": { + "start": "2019-05-31T04:55:21-04:00", + "end": "2020-05-31T04:55:21-04:00" + }, + "created": "2019-05-31T04:55:21-04:00", + "insurer": { + "display": "Anthem" + }, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "referral": { + "reference": "#referral" + }, + "facility": { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + }, + "claim": { + "reference": "urn:uuid:3af8a41e-da2f-4623-83e6-b448b6fa8a2e" + }, + "outcome": "complete", + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + "role": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", + "code": "primary", + "display": "Primary Care Practitioner" + } + ] + } + } + ], + "insurance": [ + { + "focal": true, + "coverage": { + "reference": "#coverage", + "display": "Anthem" + } + } + ], + "item": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "162673000", + "display": "General examination of patient (procedure)" + } + ], + "text": "General examination of patient (procedure)" + }, + "servicedPeriod": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "encounter": [ + { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + } + ] + }, + { + "sequence": 2, + "informationSequence": [ + 1 + ], + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + } + ], + "text": "Influenza, seasonal, injectable, preservative free" + }, + "servicedPeriod": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 140.52, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 28.104000000000003, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 112.41600000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 140.52, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + }, + { + "sequence": 3, + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", + "code": "1", + "display": "Medical care" + } + ] + }, + "productOrService": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "430193006", + "display": "Medication Reconciliation (procedure)" + } + ], + "text": "Medication Reconciliation (procedure)" + }, + "servicedPeriod": { + "start": "2019-05-31T04:25:21-04:00", + "end": "2019-05-31T04:55:21-04:00" + }, + "locationCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", + "code": "19", + "display": "Off Campus-Outpatient Hospital" + } + ] + }, + "net": { + "value": 387.11, + "currency": "USD" + }, + "adjudication": [ + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", + "display": "Line Beneficiary Coinsurance Amount" + } + ] + }, + "amount": { + "value": 77.42200000000001, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", + "display": "Line Provider Payment Amount" + } + ] + }, + "amount": { + "value": 309.68800000000005, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", + "display": "Line Submitted Charge Amount" + } + ] + }, + "amount": { + "value": 387.11, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", + "display": "Line Allowed Charge Amount" + } + ] + }, + "amount": { + "value": 387.11, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", + "display": "Line Beneficiary Part B Deductible Amount" + } + ] + }, + "amount": { + "value": 0, + "currency": "USD" + } + }, + { + "category": { + "coding": [ + { + "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", + "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", + "display": "Line Processing Indicator Code" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adjudication", + "code": "submitted", + "display": "Submitted Amount" + } + ], + "text": "Submitted Amount" + }, + "amount": { + "value": 129.16, + "currency": "USD" + } + } + ], + "payment": { + "amount": { + "value": 422.10400000000004, + "currency": "USD" + } + } + }, + "request": { + "method": "POST", + "url": "ExplanationOfBenefit" + } + }, + { + "fullUrl": "urn:uuid:434bce30-4f93-43a7-9289-4a4834191211", + "resource": { + "resourceType": "Provenance", + "id": "434bce30-4f93-43a7-9289-4a4834191211", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance" + ] + }, + "target": [ + { + "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + { + "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e" + }, + { + "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6" + }, + { + "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" + }, + { + "reference": "urn:uuid:ae434da0-4a91-4721-ac3e-6143dc46529d" + }, + { + "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + }, + { + "reference": "urn:uuid:7b707022-dbe7-44a4-8063-596558bd0459" + }, + { + "reference": "urn:uuid:a6a822c0-0b60-438a-940e-064c3fdfb456" + }, + { + "reference": "urn:uuid:8e840915-8adc-4920-837e-b77fbd0bc5bb" + }, + { + "reference": "urn:uuid:09669f57-56ef-4d38-a1f9-920b84900f1c" + }, + { + "reference": "urn:uuid:3288f528-675a-48a7-925a-db365aa7fedd" + }, + { + "reference": "urn:uuid:a8afae92-0db2-4379-ab05-2375d91bddbf" + }, + { + "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" + }, + { + "reference": "urn:uuid:dc9dd26e-8983-4bd4-abdc-9dbe5abdd581" + }, + { + "reference": "urn:uuid:4145178a-e267-4de8-a81b-d36c2da972af" + }, + { + "reference": "urn:uuid:c29e86ee-9abf-403d-a722-09291038da71" + }, + { + "reference": "urn:uuid:8ffa75ad-b7dc-4da3-bcb0-f73c2a25f2c6" + }, + { + "reference": "urn:uuid:7bc429fd-499d-404e-8353-dffe91ca3f79" + }, + { + "reference": "urn:uuid:8fb48e33-24c5-420a-8f4d-0aa26a343c44" + }, + { + "reference": "urn:uuid:5f92bc64-1cc5-4a94-b318-883a54331545" + }, + { + "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c" + }, + { + "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb" + }, + { + "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" + }, + { + "reference": "urn:uuid:f33d551d-cbc4-4808-8f11-f42a17f275b6" + }, + { + "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" + }, + { + "reference": "urn:uuid:5a65adea-0cbc-429e-ae59-2b9e0ba98ebe" + }, + { + "reference": "urn:uuid:00b0a904-7f33-44ad-9ede-23c7f1a15f44" + }, + { + "reference": "urn:uuid:21560651-525c-4eb5-8d80-ae6a62cac8e0" + }, + { + "reference": "urn:uuid:4e0564e3-cd19-4cff-9658-f2751c891b38" + }, + { + "reference": "urn:uuid:03657b06-ab10-4268-9f98-9e0c9bdeaaec" + }, + { + "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" + }, + { + "reference": "urn:uuid:5610dfb1-315e-4a68-8599-68f9b3446e90" + }, + { + "reference": "urn:uuid:7af93122-0d5a-4100-b7c9-edc1b844b912" + }, + { + "reference": "urn:uuid:b61efb38-3b58-4b19-ace1-e0bdd22a7b3e" + }, + { + "reference": "urn:uuid:b454ced0-573d-4e61-8d52-91c286cd22fc" + }, + { + "reference": "urn:uuid:0a49f240-54e1-46ff-b8fd-962675304d76" + }, + { + "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233" + }, + { + "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0" + }, + { + "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" + }, + { + "reference": "urn:uuid:97d39e08-5aac-4dec-8add-474d16eba6c4" + }, + { + "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" + }, + { + "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" + }, + { + "reference": "urn:uuid:1079548d-b5e4-468e-a4dc-d7f30a87608d" + }, + { + "reference": "urn:uuid:f76c8a86-2731-45a8-a41d-f3739d5a9f9f" + }, + { + "reference": "urn:uuid:3ff6bc3c-e123-424f-a19b-8e46ea3b592a" + }, + { + "reference": "urn:uuid:a22344fd-f2d8-44c3-8a27-192ff2335d57" + }, + { + "reference": "urn:uuid:a4bb4455-c9ea-43b0-a158-f20104fe3b31" + }, + { + "reference": "urn:uuid:afa2cd14-9f05-47ba-a1f8-4b294ff3c1d3" + }, + { + "reference": "urn:uuid:babd4d54-5160-49c3-a48d-743bc18261b0" + }, + { + "reference": "urn:uuid:bbfd08e2-a360-4a69-ab18-47ecbd2a905f" + }, + { + "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" + }, + { + "reference": "urn:uuid:f48e166f-e816-4dd2-ae9a-f745c788b5dc" + }, + { + "reference": "urn:uuid:5a2fd146-bed1-4588-ad05-da3e0f2b839a" + }, + { + "reference": "urn:uuid:ce90da04-67b3-4bf8-b634-ad32231416e2" + }, + { + "reference": "urn:uuid:b350966e-2568-41e0-88a2-e9d5f4c809ef" + }, + { + "reference": "urn:uuid:444f7f44-2f77-4f02-88be-d9544bf3c631" + }, + { + "reference": "urn:uuid:0ef8e051-1fe0-43ba-a9de-3e168192361b" + }, + { + "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" + }, + { + "reference": "urn:uuid:01dc96f0-9960-468a-90ca-712762e05604" + }, + { + "reference": "urn:uuid:7d8373e5-41fe-44b4-963a-29e0634ba3ef" + }, + { + "reference": "urn:uuid:7f47ee0b-158c-44a9-82c5-6d1119de5fca" + }, + { + "reference": "urn:uuid:28c7e6cc-5db8-415c-9e5e-eb74ddd0a163" + }, + { + "reference": "urn:uuid:0f29c123-8355-4b9c-8bc2-f09991b7f642" + }, + { + "reference": "urn:uuid:01a531f8-8a5f-46e8-8484-9964ea6d5751" + }, + { + "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" + }, + { + "reference": "urn:uuid:9ec3f089-85d4-4859-9ab5-bb8486af95a7" + }, + { + "reference": "urn:uuid:90dfc8d5-4157-4430-86e7-493a9ab8dde8" + }, + { + "reference": "urn:uuid:f17db13f-0743-4fa4-90d8-1733c559a5c6" + }, + { + "reference": "urn:uuid:e3f1364c-0edc-49ed-875f-09115ac366f7" + }, + { + "reference": "urn:uuid:921df6c6-9262-4d06-9fd1-4626ca2904a5" + }, + { + "reference": "urn:uuid:7850fc54-4189-45c8-bdf4-a6f8b6b3119a" + }, + { + "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" + }, + { + "reference": "urn:uuid:36c176e3-5827-4ee1-8119-fd02558ebb86" + }, + { + "reference": "urn:uuid:e5accce6-ecbe-4232-9ac7-835bc6911f27" + }, + { + "reference": "urn:uuid:99c2bbb3-ab22-4e45-b30c-9565d584663c" + }, + { + "reference": "urn:uuid:a82b33b2-3e98-4014-ab04-a2a8d33f21ca" + }, + { + "reference": "urn:uuid:ae602309-d9dc-424a-aadc-8d02608be360" + }, + { + "reference": "urn:uuid:dffd219c-6d86-4813-a843-d83046b8a5df" + }, + { + "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" + }, + { + "reference": "urn:uuid:49890f9e-0c45-4242-8700-5dd9db1e691e" + }, + { + "reference": "urn:uuid:9d3741e1-b8ab-434e-8222-8130b06ce54e" + }, + { + "reference": "urn:uuid:6aaa38f3-9da8-456c-8e3e-401cca32fd02" + }, + { + "reference": "urn:uuid:02593c2f-a85b-4fb0-834e-52f927ec454e" + }, + { + "reference": "urn:uuid:4faf80e8-4ab1-45c6-aaa9-684a0fc3b6c0" + }, + { + "reference": "urn:uuid:5a1ca1d5-0fd0-4d77-b70c-3efaadbfd25a" + }, + { + "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" + }, + { + "reference": "urn:uuid:10e53d12-2a17-4a2e-afed-67a0337e429e" + }, + { + "reference": "urn:uuid:ea667003-44ed-47b6-890d-e50ebf6d109b" + }, + { + "reference": "urn:uuid:c1327a2a-37b0-4cda-bce4-8fd9774969c5" + }, + { + "reference": "urn:uuid:d55686db-2b30-4e27-a431-d444492a6c0b" + }, + { + "reference": "urn:uuid:bf009133-9c61-4431-9bcd-8b0e88c2b27d" + }, + { + "reference": "urn:uuid:89165033-b8e4-4325-a906-33f4665e588f" + }, + { + "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" + }, + { + "reference": "urn:uuid:3d18b777-7c11-4c1f-88ec-0c385a2e70da" + }, + { + "reference": "urn:uuid:673b17bc-5467-4587-b95a-5538e5411bbb" + }, + { + "reference": "urn:uuid:615fcb6c-db2e-4f6a-be23-62dec27f1d8d" + }, + { + "reference": "urn:uuid:cccb1957-2a02-4bb7-ac4e-51488d6167f3" + }, + { + "reference": "urn:uuid:5b8ec926-7097-4d05-a79f-bccb435c1fd1" + }, + { + "reference": "urn:uuid:4ccea939-1dbc-4f1f-8e8f-5c3b65864407" + }, + { + "reference": "urn:uuid:c52ee846-a4e0-4036-a32e-4e6ae5a2b6df" + }, + { + "reference": "urn:uuid:994bd33c-f03d-4dd1-be77-b35d3e6ba44c" + }, + { + "reference": "urn:uuid:916308a4-0e0f-4fe1-9d17-95d528ed5edf" + }, + { + "reference": "urn:uuid:a9060b72-9c3b-4c98-9736-9eaa91bbb58b" + }, + { + "reference": "urn:uuid:21fefa4d-a65b-424e-a7e0-7aa47b0c4210" + }, + { + "reference": "urn:uuid:29737665-7ca5-41e4-8412-87fa3c4ad358" + }, + { + "reference": "urn:uuid:95d952c9-e7df-4e90-b71a-ea9c8e527dba" + }, + { + "reference": "urn:uuid:cb0bac77-1b37-4359-a026-59920f83a662" + }, + { + "reference": "urn:uuid:8399bc32-0cc9-4f41-91eb-d80b4949818e" + }, + { + "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" + }, + { + "reference": "urn:uuid:11cde837-0047-4725-935c-b7dac2ede4f7" + }, + { + "reference": "urn:uuid:92397156-789b-4251-b943-edefb5df3716" + }, + { + "reference": "urn:uuid:37c20bb4-d87c-4982-90c3-13d0c6875278" + }, + { + "reference": "urn:uuid:8c1f26a5-4185-4aec-9a75-8114d2a6c8da" + }, + { + "reference": "urn:uuid:95792510-794c-4d7e-955f-6239d6563dd7" + }, + { + "reference": "urn:uuid:4ff1bdc1-94bb-4cba-b066-3bc3ff0fa42e" + }, + { + "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" + }, + { + "reference": "urn:uuid:78d5fe12-273c-4942-a1c9-f6a7e094c9fc" + }, + { + "reference": "urn:uuid:19369ad1-87e4-4bc3-8b97-0820dfbb0b8d" + }, + { + "reference": "urn:uuid:6b5baec3-adb6-4d19-802b-1f7401cc73e1" + }, + { + "reference": "urn:uuid:15b79ff0-17f6-4901-be79-75f1d80b7389" + }, + { + "reference": "urn:uuid:149774ce-ea62-4c9e-bc30-693cfdd7b0c0" + }, + { + "reference": "urn:uuid:647401ef-7811-41fd-ab36-0d89e6423155" + }, + { + "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" + }, + { + "reference": "urn:uuid:6ce68ed7-e200-48f3-8c60-19ac17c4c7b7" + }, + { + "reference": "urn:uuid:b68c7063-6e12-43f1-85c7-d609fbef043e" + }, + { + "reference": "urn:uuid:6ce2aa93-90e9-4ca5-ac28-8052f67ffb26" + }, + { + "reference": "urn:uuid:7f5a7fe8-9a93-44fa-8ec2-0139891f2f69" + }, + { + "reference": "urn:uuid:c123985f-d9b3-4735-af70-5723109c8208" + }, + { + "reference": "urn:uuid:8fe349c9-993b-4ae5-8c2e-95c84929d4a1" + }, + { + "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" + }, + { + "reference": "urn:uuid:3c98fe7f-8444-4baf-9380-97f20df84834" + }, + { + "reference": "urn:uuid:6b53e08d-68f5-4cb9-82d5-c04e120643cb" + }, + { + "reference": "urn:uuid:5af8cb30-4f6b-457e-80b8-2c93b6ea0557" + }, + { + "reference": "urn:uuid:a4ada62e-0769-4791-9324-6568fec3ffb9" + }, + { + "reference": "urn:uuid:76dc7e4c-d77e-41d0-b6ce-eac1d055235b" + }, + { + "reference": "urn:uuid:16fc7b3a-10f6-44ea-bbf9-fe99a93502e9" + }, + { + "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" + }, + { + "reference": "urn:uuid:2d614b95-e3b2-4e71-8e1c-c0423a1c8d78" + }, + { + "reference": "urn:uuid:62cc7f2c-256e-4c06-8f15-a1e1f02c95cd" + }, + { + "reference": "urn:uuid:7da05a2e-e036-4bf0-aa1b-c7a50ccf8752" + }, + { + "reference": "urn:uuid:1ec8051b-d391-45bf-bf09-e9159c6e4ac4" + }, + { + "reference": "urn:uuid:1cb7432e-b5c5-418f-9dd4-a771f4269331" + }, + { + "reference": "urn:uuid:38f67e15-e709-4e4c-8062-a4de62d588f9" + }, + { + "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" + }, + { + "reference": "urn:uuid:856c42a4-15fa-4aa5-b126-b558c4b17b45" + }, + { + "reference": "urn:uuid:24474324-3c9e-43cb-8bfb-115790dc7cf2" + }, + { + "reference": "urn:uuid:afe41584-dfef-40b1-ac2c-d68fc9a488ea" + }, + { + "reference": "urn:uuid:d627bf22-24be-4d9d-980b-7ff24fd950f2" + }, + { + "reference": "urn:uuid:60481f1a-8683-4395-9767-cb4e8b54b2a4" + }, + { + "reference": "urn:uuid:990dd75e-dbd5-4651-aeda-1df12f60952c" + }, + { + "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" + }, + { + "reference": "urn:uuid:7e3a187e-0451-47a2-be53-a6a45d557166" + }, + { + "reference": "urn:uuid:4b146e00-adb8-47eb-b37f-007764100d3c" + }, + { + "reference": "urn:uuid:18b361f9-f0cb-4aeb-a345-ea01ff550c6d" + }, + { + "reference": "urn:uuid:dfc3abbe-854a-45ef-98b0-75ecd9ba2138" + }, + { + "reference": "urn:uuid:4d108606-7e3e-42e0-9091-8bd12b843e9b" + }, + { + "reference": "urn:uuid:f9ce85ba-eefe-491a-8d2b-9ae7fe042aca" + }, + { + "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" + }, + { + "reference": "urn:uuid:c071b5cc-745c-49a3-ae69-dcf6886cd5ba" + }, + { + "reference": "urn:uuid:b45e82b4-519c-46ea-b543-782494479074" + }, + { + "reference": "urn:uuid:3d6f0356-90f8-4386-b1da-e0062bdca6a0" + }, + { + "reference": "urn:uuid:4cdf3224-e174-462e-a9c4-c985edcdad1f" + }, + { + "reference": "urn:uuid:b74cdefb-14e1-43bc-ba96-642e7ce02fc0" + }, + { + "reference": "urn:uuid:4b7a09d6-df23-413f-8a01-15a175f03e49" + }, + { + "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" + }, + { + "reference": "urn:uuid:f042a475-82e7-4c1d-8a16-75599e15bc0b" + }, + { + "reference": "urn:uuid:0ff65a61-5ac5-4679-9f28-88fe0571b272" + }, + { + "reference": "urn:uuid:629a7e25-1e9c-40f9-9ae6-1436d734ca96" + }, + { + "reference": "urn:uuid:767029a4-839b-40a5-91f8-2c483c26a640" + }, + { + "reference": "urn:uuid:fc75badc-ba94-4044-a9b7-37015f37d0b8" + }, + { + "reference": "urn:uuid:75c85d5f-c1e1-465a-adeb-6eaf2106c3ee" + }, + { + "reference": "urn:uuid:06471e31-793b-4a09-a3ed-c9d69ec029a5" + }, + { + "reference": "urn:uuid:baf51c92-7a7b-4d60-b4ee-38fa99fdf8db" + }, + { + "reference": "urn:uuid:fd036fe1-3692-4d5a-bf3e-ccfb1f1b2dbc" + }, + { + "reference": "urn:uuid:6ae6faf8-ba30-42ee-b108-4e6039be3bf0" + }, + { + "reference": "urn:uuid:3aa15fdc-4965-440b-85a7-26bde99c948b" + }, + { + "reference": "urn:uuid:ce0ec83b-3e7d-4b3e-93d1-70b449f2393b" + }, + { + "reference": "urn:uuid:06214387-5440-4290-abaf-e436e5a2a3bb" + }, + { + "reference": "urn:uuid:702a35e1-6ead-4af5-ba50-94f875ddca96" + }, + { + "reference": "urn:uuid:5a60b57f-fc23-42aa-831f-3acc5e3619e6" + }, + { + "reference": "urn:uuid:667f4ca5-ed38-4aa1-93e4-17c0d9e1f2f3" + }, + { + "reference": "urn:uuid:60113cc3-3fee-48ec-a41c-1f5ae25e5b15" + }, + { + "reference": "urn:uuid:730b7adb-8506-4ccc-bde4-73532dac351d" + }, + { + "reference": "urn:uuid:b43802eb-cb9d-4feb-80a0-87c56b80e88e" + }, + { + "reference": "urn:uuid:4b002fb0-b658-4059-894d-bad679593ed6" + }, + { + "reference": "urn:uuid:2a1fbe91-6378-42dc-8157-1520224c44f9" + }, + { + "reference": "urn:uuid:24dbb5e6-56fe-4946-906b-a34b3ffbfd34" + }, + { + "reference": "urn:uuid:aaf2802c-4507-4fd7-9e46-5bfba585f220" + }, + { + "reference": "urn:uuid:a2a3cce0-a465-4246-9c57-142e894d4062" + }, + { + "reference": "urn:uuid:eda3d975-76b8-43c0-9f7c-7d2360782f1a" + }, + { + "reference": "urn:uuid:bd149371-9c51-466f-b7fb-8e23d2fa05f1" + }, + { + "reference": "urn:uuid:78396b5e-d62d-4fc5-b5dc-dba7ae491d26" + }, + { + "reference": "urn:uuid:b96faa39-0018-41cb-97eb-5ae28645d368" + }, + { + "reference": "urn:uuid:9285a728-042b-48da-84b3-b0b9d5b5a53f" + }, + { + "reference": "urn:uuid:e86988f7-63b6-4083-ae1f-98d2a7d6ba12" + }, + { + "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" + }, + { + "reference": "urn:uuid:a2a3ed5b-120d-4340-aa22-b3a9c8b37b60" + }, + { + "reference": "urn:uuid:da94f84f-6a92-46fa-8957-794febfa1a27" + }, + { + "reference": "urn:uuid:db710cae-5905-4f15-9984-9696255aa6ba" + }, + { + "reference": "urn:uuid:ab7f2fca-0191-44f2-9004-ab28d19cb575" + }, + { + "reference": "urn:uuid:890ab7b0-a169-4a45-9e1b-1e8d7ff7751c" + }, + { + "reference": "urn:uuid:08ffea64-2b0e-4796-bbd5-f9cc37755876" + }, + { + "reference": "urn:uuid:4c562f1f-8ec3-4b8c-a7fb-cf602e839329" + }, + { + "reference": "urn:uuid:9f156698-58a4-4203-9f9f-c5d00035be23" + }, + { + "reference": "urn:uuid:6531d108-0189-4da1-809b-18fb291b6e89" + }, + { + "reference": "urn:uuid:4587fb98-65c5-4f57-a053-aa96d0af11c5" + }, + { + "reference": "urn:uuid:34b455c2-58b2-44f4-89d4-ef13f9e9aa05" + }, + { + "reference": "urn:uuid:21999638-788b-4ed4-bf4f-c5bf3b717de3" + }, + { + "reference": "urn:uuid:a9f78ad2-f38c-4f8c-9e80-ad49a96950f9" + }, + { + "reference": "urn:uuid:881d4550-f693-42fd-9a40-b4c6aa664827" + }, + { + "reference": "urn:uuid:66b6b56d-1a4a-4f24-b822-f8f0af1f4d02" + }, + { + "reference": "urn:uuid:e6c79b32-d27e-4663-bcb0-df5ea3715aa7" + }, + { + "reference": "urn:uuid:376cb148-8086-4941-943c-949d957da9c6" + }, + { + "reference": "urn:uuid:9e569308-73a7-43f5-a111-caa1fb2eb015" + }, + { + "reference": "urn:uuid:8df45ef5-07df-4677-b5cb-36723f5e8c40" + }, + { + "reference": "urn:uuid:52d1b38a-4ab3-4000-855b-97c8701776ec" + }, + { + "reference": "urn:uuid:a587488a-07c3-47c1-a7a4-c2a0d2302abe" + }, + { + "reference": "urn:uuid:b4b3a065-ed04-4b16-9589-814466125664" + }, + { + "reference": "urn:uuid:ac5da61b-0f22-4cb0-a988-dc0a010f072e" + }, + { + "reference": "urn:uuid:6da08b20-da46-4c5a-bee4-cc8593403122" + }, + { + "reference": "urn:uuid:1818d919-78b1-4a8c-869f-5e8e4288667c" + }, + { + "reference": "urn:uuid:e5904667-c55e-4098-96d2-c81d7e7daf75" + }, + { + "reference": "urn:uuid:8128f819-48ad-472c-8329-0ac112b43058" + }, + { + "reference": "urn:uuid:888cbcdf-c076-49a9-a612-6470910b5274" + }, + { + "reference": "urn:uuid:afa46496-0646-42c7-a0d1-de5ee91f7346" + }, + { + "reference": "urn:uuid:eae2cc31-4700-4f2c-aa66-f911a51aef30" + }, + { + "reference": "urn:uuid:efe41301-cc37-47e3-bcf9-1059b9fa24de" + }, + { + "reference": "urn:uuid:fa6b7992-af2f-45d5-92db-432f48909897" + }, + { + "reference": "urn:uuid:61d29d7b-bf71-4f99-ab47-34ee53695a06" + }, + { + "reference": "urn:uuid:cefff05f-6251-4045-8f26-98f710d0d37e" + }, + { + "reference": "urn:uuid:a207ec95-2db6-4940-bf72-34b12d39c92d" + }, + { + "reference": "urn:uuid:bb1ac1f0-f634-4b16-9c10-75ffd54b2f7a" + }, + { + "reference": "urn:uuid:674a9fa8-d00a-41e9-a49d-7eb658123d73" + }, + { + "reference": "urn:uuid:cb7ff293-27ac-42bc-8380-4c192a1b2742" + }, + { + "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" + }, + { + "reference": "urn:uuid:4c131060-003c-44c2-ade1-8546b1167699" + }, + { + "reference": "urn:uuid:77b221fa-cdd9-4b4e-aff7-3baa21f89abf" + }, + { + "reference": "urn:uuid:f6081ea9-9ef6-49fe-a7d4-637d05849510" + }, + { + "reference": "urn:uuid:3237247a-5267-4660-b88f-a90ac5cf172b" + }, + { + "reference": "urn:uuid:a5655945-9d9e-485e-a060-1595fb21f903" + }, + { + "reference": "urn:uuid:ab29315d-0d89-4da3-b7c7-8eff6b6dca98" + }, + { + "reference": "urn:uuid:d92483b1-f30f-443e-8b1b-2f2ea8a629c1" + }, + { + "reference": "urn:uuid:c3b4ea3d-8ee6-4bba-b20e-7a675edfce1f" + }, + { + "reference": "urn:uuid:b2ede4c2-a035-430e-9ab3-41dede9cf93f" + }, + { + "reference": "urn:uuid:fe732b5a-ab89-401a-af62-86322ca9c912" + }, + { + "reference": "urn:uuid:9c928c11-5300-4426-b704-27cc9e8e4ac3" + }, + { + "reference": "urn:uuid:422c7f20-5b7c-4fa3-a256-6ba5e4f33f3b" + }, + { + "reference": "urn:uuid:15c553a2-5218-4ecb-a3ec-5fe37270c1eb" + }, + { + "reference": "urn:uuid:370237e5-4823-4c6b-a945-e11e7a5de49c" + }, + { + "reference": "urn:uuid:e62da0b8-d362-4bc4-b182-0b18dc3fb97d" + }, + { + "reference": "urn:uuid:6a117173-fd5e-4928-8f60-410814a15fa8" + }, + { + "reference": "urn:uuid:8194e9b8-c991-4506-923c-6f7b939af9b2" + }, + { + "reference": "urn:uuid:ae83e5ae-e34f-482f-b883-ce6cb9ac21c0" + }, + { + "reference": "urn:uuid:3a6b2e56-a04b-439f-ac1c-301c7a066369" + }, + { + "reference": "urn:uuid:4b8e1bca-ea79-40b2-9337-5cb699ec6944" + }, + { + "reference": "urn:uuid:5727335a-ae5b-46c0-8867-cd024621cda8" + }, + { + "reference": "urn:uuid:e483ebfe-775b-4a47-ab5a-66be5cb37268" + }, + { + "reference": "urn:uuid:69028bd1-849e-4955-9858-9c692016ede6" + }, + { + "reference": "urn:uuid:bf534a85-a451-4b81-b454-becd4025193f" + }, + { + "reference": "urn:uuid:96875074-9e97-4ea7-9311-d1f9065baeed" + }, + { + "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" + }, + { + "reference": "urn:uuid:bc5579b5-2ca3-4535-a9d6-951aac500a27" + }, + { + "reference": "urn:uuid:f11d0c63-92f3-4b0e-933a-a1a727465258" + }, + { + "reference": "urn:uuid:1681af37-ee93-49ff-b108-ead7689f6250" + }, + { + "reference": "urn:uuid:0e03d2c2-1ffa-4ebb-91bb-458b07dffd0a" + }, + { + "reference": "urn:uuid:db926460-0851-4148-a1c8-324c4a7c1ad2" + }, + { + "reference": "urn:uuid:41bcfaef-3971-430d-8386-e564da61f90d" + }, + { + "reference": "urn:uuid:e49b77c0-588f-4551-bca2-ea8f21664ba7" + }, + { + "reference": "urn:uuid:e2444317-5049-48c7-ac3d-6b30586890ab" + }, + { + "reference": "urn:uuid:ef97494d-9f95-40eb-9764-2f3d584db91f" + }, + { + "reference": "urn:uuid:b043c9e3-58c8-4c1e-902b-b61b4e606302" + }, + { + "reference": "urn:uuid:ebf8b1b7-318d-4b21-9a65-20132a6ed8da" + }, + { + "reference": "urn:uuid:a9c106a8-39f5-4808-8b63-3b92f5a2cd47" + }, + { + "reference": "urn:uuid:40609dd9-4e93-4760-9cf0-1343eb69b910" + }, + { + "reference": "urn:uuid:f009a6e4-02c3-4518-b7b2-faad9f4b12e1" + }, + { + "reference": "urn:uuid:f9e7be0a-2b59-4810-a304-d30ec2a5b0b9" + }, + { + "reference": "urn:uuid:a0347dcb-3901-4c64-97fa-d91547080902" + }, + { + "reference": "urn:uuid:1a381821-4247-412b-8e57-8e66506e0343" + }, + { + "reference": "urn:uuid:7bb7038c-4c56-4f79-9d29-c93b5ddfc3ed" + }, + { + "reference": "urn:uuid:fdb1cbc7-39fc-4a54-8796-6aa08c5b9dfb" + }, + { + "reference": "urn:uuid:4f939f5c-a598-4929-add3-cb86867996bc" + }, + { + "reference": "urn:uuid:4a4cd1fb-c0a8-4fa2-b53c-4f51bd336ed9" + }, + { + "reference": "urn:uuid:d5e276fb-c14e-4cb4-86d6-96dd6613308b" + }, + { + "reference": "urn:uuid:90e1d45a-c151-452c-9917-edb5e373da8c" + }, + { + "reference": "urn:uuid:ac50dcd3-3a90-42f3-ad5f-3022c481c5a0" + }, + { + "reference": "urn:uuid:b40367ac-3a3c-49db-ace4-5d10143433e0" + }, + { + "reference": "urn:uuid:b0776459-aacf-4429-8777-e9d9f6ac6356" + }, + { + "reference": "urn:uuid:384e02d7-2e91-4680-97e9-6af9b90497bc" + }, + { + "reference": "urn:uuid:54e1e43c-e24b-4e6f-8644-71da534d588d" + }, + { + "reference": "urn:uuid:65088070-ba9d-4963-9fda-889c9f8ac0cd" + }, + { + "reference": "urn:uuid:47d67403-5448-470c-807a-17fe4a1be47b" + }, + { + "reference": "urn:uuid:9365de57-307a-4de1-857f-29732b785c0c" + }, + { + "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" + }, + { + "reference": "urn:uuid:3fa50573-c2e4-4d7a-b1e7-570e90465117" + }, + { + "reference": "urn:uuid:6a092fd3-539c-4ae8-9741-99a65c40f24b" + }, + { + "reference": "urn:uuid:edaf7d2a-0037-4cc4-aab2-dd96ede72799" + }, + { + "reference": "urn:uuid:defca8cd-b980-483b-8b3d-5d673acbdbab" + }, + { + "reference": "urn:uuid:8dc70997-71e3-431d-87fe-8ff34cd63ba1" + }, + { + "reference": "urn:uuid:cb5a2bbc-de9d-4926-b1c3-c4dadd6f19c5" + }, + { + "reference": "urn:uuid:3bc7e770-582c-4d02-bd12-82f2eaad0806" + }, + { + "reference": "urn:uuid:3937a53f-0bc7-41ca-89e3-75e8359c513b" + }, + { + "reference": "urn:uuid:3ba5796c-4d7e-4034-a897-af99beeb6913" + }, + { + "reference": "urn:uuid:a3c7cad8-3976-4cca-af92-a4c642b1828d" + }, + { + "reference": "urn:uuid:248fa34e-e625-4393-806d-0a06d553d0ae" + }, + { + "reference": "urn:uuid:6ddf58ff-b453-4045-8ae8-f1cf34a61b05" + }, + { + "reference": "urn:uuid:8bbc3a39-8c8e-4ced-bdd2-1d3e4b6f29c2" + }, + { + "reference": "urn:uuid:e5ad2326-c9fc-4521-a4d0-f2a11a343f1f" + }, + { + "reference": "urn:uuid:23546ede-1dd0-4757-8d30-8b3b3182b2e6" + }, + { + "reference": "urn:uuid:957f679d-fa50-4a6c-9e87-164e8a974ed4" + }, + { + "reference": "urn:uuid:f1dd8bc1-a848-47fa-b7d6-63f9693ebf12" + }, + { + "reference": "urn:uuid:b399e705-b003-4c31-b1c2-9fee9552d487" + }, + { + "reference": "urn:uuid:5224e0ef-fba2-4e6a-a9b9-75b000f09aa7" + }, + { + "reference": "urn:uuid:dd529300-f00d-4179-a72a-64789b7f28bf" + }, + { + "reference": "urn:uuid:8a5cac6b-4ab1-4071-88ef-f05353cd51e1" + }, + { + "reference": "urn:uuid:b608e9ae-f41d-4e73-8c9f-7e73e7a54893" + }, + { + "reference": "urn:uuid:1a4b6041-3774-41e8-916f-4e23d9e0b85c" + }, + { + "reference": "urn:uuid:391b44d6-2795-4949-96be-c8bdd947f5a4" + }, + { + "reference": "urn:uuid:de8082de-e6bb-4050-afff-d267a1da6c0e" + }, + { + "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" + }, + { + "reference": "urn:uuid:5f3eba41-7b28-469b-9e85-48870c9424be" + }, + { + "reference": "urn:uuid:f90f27f8-c442-48d5-a76f-4d987b32a3aa" + }, + { + "reference": "urn:uuid:f3087323-9ad9-4513-bf48-a6686fc93949" + }, + { + "reference": "urn:uuid:446dd387-3847-4523-b1df-8c1f01eefa19" + }, + { + "reference": "urn:uuid:cbaeb79c-cbf0-40a7-a50c-729f8f4a0934" + }, + { + "reference": "urn:uuid:ed3aa6e1-d4a4-48ae-89d3-f9cb71d37647" + }, + { + "reference": "urn:uuid:3dda37ff-1a24-4de2-93a6-23eb6a6969e1" + }, + { + "reference": "urn:uuid:b9637bc3-1918-40fa-8ad8-a618752971a3" + }, + { + "reference": "urn:uuid:8d1d0bed-b36d-4a1a-8486-bea42e622de9" + }, + { + "reference": "urn:uuid:73b223fd-88c7-4610-b4d2-206f4143a3e7" + }, + { + "reference": "urn:uuid:451034d9-c038-4794-a4e4-b23ee7a94a78" + }, + { + "reference": "urn:uuid:400372d0-a7ea-4388-99d4-95ef1071a716" + }, + { + "reference": "urn:uuid:dc236191-55fa-4c96-8c48-1e003ebaa08c" + }, + { + "reference": "urn:uuid:c1f8b46f-18a8-47a6-a8b6-1ad3a52fa37e" + }, + { + "reference": "urn:uuid:4e05e810-afe3-4992-9f91-14c9d36db93a" + }, + { + "reference": "urn:uuid:201a28b3-77b3-4be6-8a0f-833003453de7" + }, + { + "reference": "urn:uuid:844c17d8-4a0c-4cf1-a8a6-4d5e18aa16d3" + }, + { + "reference": "urn:uuid:fbf2ea35-9545-44b4-9b7b-c49a1002f49c" + }, + { + "reference": "urn:uuid:d31f7fa4-e0ac-4b27-af28-71e7c41ada9c" + }, + { + "reference": "urn:uuid:d4172fc8-cd8d-4f40-863e-3ea2b5512239" + }, + { + "reference": "urn:uuid:e8c756c1-7fb6-4151-b801-29c1c5ec35b2" + }, + { + "reference": "urn:uuid:d1d7b306-3443-4331-9071-56e92432f950" + }, + { + "reference": "urn:uuid:6ed87cee-192a-4358-82d6-34ab2a7ce840" + }, + { + "reference": "urn:uuid:6a594c04-6751-4ccd-8cfc-d769fd3f125e" + }, + { + "reference": "urn:uuid:453cb389-8554-4d2b-be3a-16e894908c38" + }, + { + "reference": "urn:uuid:a18757d5-4ce1-480d-87c6-8a43520688d7" + }, + { + "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" + }, + { + "reference": "urn:uuid:a312b0aa-d47f-4bd8-8227-f336c5b86f99" + }, + { + "reference": "urn:uuid:809b7b2f-8412-407a-a084-3813822e75f4" + }, + { + "reference": "urn:uuid:fbba73a8-4f90-4107-b682-c031e93e50fc" + }, + { + "reference": "urn:uuid:47403a7d-213f-43e5-8485-ee10f3a7eec4" + }, + { + "reference": "urn:uuid:7ff80d1f-a390-41b7-94c0-c97608405a64" + }, + { + "reference": "urn:uuid:c46ac852-0c0c-43ae-be29-820018452a38" + }, + { + "reference": "urn:uuid:03207fb1-a550-42f6-8bd7-a2c1f3ac8ab7" + }, + { + "reference": "urn:uuid:aeaeffb6-c4d1-4275-8980-3bc5d3bb3d00" + }, + { + "reference": "urn:uuid:35032147-4d1d-4cbf-885b-9640ea563c4d" + }, + { + "reference": "urn:uuid:8025d499-1e4a-46f8-ad2e-1ee743bd9257" + }, + { + "reference": "urn:uuid:c533bc2f-7c54-4b99-8be8-6fdffef6e1ea" + }, + { + "reference": "urn:uuid:fc521c56-1e41-4036-8484-244c95325778" + }, + { + "reference": "urn:uuid:95670123-c09d-4884-97f2-c4b4b2b2b090" + }, + { + "reference": "urn:uuid:10ef92e8-18a0-4566-9e8a-f650c8e6f986" + }, + { + "reference": "urn:uuid:f5330a15-9570-4b36-9294-a51058d8d049" + }, + { + "reference": "urn:uuid:69d3a051-1788-45d6-ad85-c3488d7de7aa" + }, + { + "reference": "urn:uuid:a1baf5b3-93de-4d16-b7ad-180abfa48c79" + }, + { + "reference": "urn:uuid:63166ac7-b99e-4711-bcf1-bfefe0824c18" + }, + { + "reference": "urn:uuid:7909fefa-a64f-488b-8f11-d79aab728068" + }, + { + "reference": "urn:uuid:73b004c9-04c7-40f2-ad1f-553f7e71660f" + }, + { + "reference": "urn:uuid:d44f74eb-f859-4729-ad8b-dba6074f7a41" + }, + { + "reference": "urn:uuid:a39ba7d0-f20a-4344-8d86-67ba5231d162" + }, + { + "reference": "urn:uuid:2c33007d-47df-4c33-8a8f-10107713162e" + }, + { + "reference": "urn:uuid:70da1bdb-4f75-4d15-92d3-f3c858fe9b4a" + }, + { + "reference": "urn:uuid:3a5edd09-0f0d-4690-8f85-9d627e5a5121" + }, + { + "reference": "urn:uuid:e6455ae6-4852-4f7d-adf3-7a3bbff0ac95" + }, + { + "reference": "urn:uuid:dc7635f6-de33-4a2b-a42b-6b0dcdb48299" + }, + { + "reference": "urn:uuid:4f6911c1-ac5d-4fcd-ab79-9d68dc8bcfb0" + }, + { + "reference": "urn:uuid:a034f8ec-9f09-4f3d-a2cd-89f70e7f9ea2" + }, + { + "reference": "urn:uuid:fff28476-b3a3-4324-9314-453c257538c2" + }, + { + "reference": "urn:uuid:6e8c3d60-9166-4449-9c0f-a235bf3525d4" + }, + { + "reference": "urn:uuid:19584cf5-ca16-4b44-b284-887bc05ab9f9" + }, + { + "reference": "urn:uuid:de09084a-8010-4dab-a509-8f5749c0c1f9" + }, + { + "reference": "urn:uuid:849450f9-be1d-44a5-9640-b0d48ca95ac2" + }, + { + "reference": "urn:uuid:19f55536-11a8-4ae0-ab90-bb674d0e20c9" + }, + { + "reference": "urn:uuid:c0a584b2-bfff-4ea0-bda2-af162d77b9cb" + }, + { + "reference": "urn:uuid:ac9c74c9-a21e-42b9-bfab-f83b204ca193" + }, + { + "reference": "urn:uuid:cd619c20-fa5c-43bd-8472-7a51ea2fa4d2" + }, + { + "reference": "urn:uuid:9cab30d0-3f65-4ed2-8207-ddbe680fb817" + }, + { + "reference": "urn:uuid:4d822e68-e098-4850-a077-b831ecc3d65c" + }, + { + "reference": "urn:uuid:2f447df9-c1c7-4184-8ed8-1b0d4c2722af" + }, + { + "reference": "urn:uuid:98077579-ec65-48bd-b379-f58f1874f519" + }, + { + "reference": "urn:uuid:4b3e25bf-5805-4361-9ece-4907fc3628c5" + }, + { + "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" + }, + { + "reference": "urn:uuid:5b09357c-ee84-4488-8e37-9fc509f2626a" + }, + { + "reference": "urn:uuid:2e2a6efd-8836-4edb-8a1b-4411906dfa06" + }, + { + "reference": "urn:uuid:5605e654-548a-4a6f-b6e7-1d44acf833bf" + }, + { + "reference": "urn:uuid:24d9d22e-fe26-4dd7-8f85-44da6ba12312" + }, + { + "reference": "urn:uuid:21960643-d609-4531-9577-a78966cf5dfe" + }, + { + "reference": "urn:uuid:01f46a34-c2f2-4b25-bee9-f2c86986b7e9" + }, + { + "reference": "urn:uuid:7079afeb-d7ae-48d5-a523-b9c80c52b3a0" + }, + { + "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" + }, + { + "reference": "urn:uuid:592886be-d31e-4169-ad85-fe19be2f4f8a" + }, + { + "reference": "urn:uuid:15bb9fb1-9f8a-4d9b-a1de-648d21ae98df" + }, + { + "reference": "urn:uuid:a860dc24-414a-4535-a0af-9b51061ff67c" + }, + { + "reference": "urn:uuid:a5483d32-1e68-453e-ab0d-acf9b1934624" + }, + { + "reference": "urn:uuid:ddb674dc-4437-484f-b04e-b12cf41c8f2c" + }, + { + "reference": "urn:uuid:2d7e2a12-b2a8-4ba6-bffe-275a0d23489f" + }, + { + "reference": "urn:uuid:a22ee9a8-8b01-449e-a9b9-6738984bf592" + }, + { + "reference": "urn:uuid:f5a86b3f-c902-45ae-ab2e-e9fa42d4abb3" + }, + { + "reference": "urn:uuid:f88d36d4-e2bc-443f-ba77-ce7849890d8e" + }, + { + "reference": "urn:uuid:0faa8bca-5f39-473e-90cb-cf3438350b8d" + }, + { + "reference": "urn:uuid:10c4329c-8664-4561-b7c0-5cd935c4e9ba" + }, + { + "reference": "urn:uuid:d46b61a7-272c-4773-9fe2-292192c53e51" + }, + { + "reference": "urn:uuid:4c1fcff5-ecfe-4c09-a3fc-63768387cc7e" + }, + { + "reference": "urn:uuid:258b96ee-b0b7-4c23-9ce1-679183791d60" + }, + { + "reference": "urn:uuid:af1dea09-d9d9-44bf-a9bf-5839246439b1" + }, + { + "reference": "urn:uuid:c8127202-2870-48fd-907d-6a6630219afb" + }, + { + "reference": "urn:uuid:27638834-92a5-4ba7-a865-947e2f070044" + }, + { + "reference": "urn:uuid:5d417f37-4bc9-4d0a-baa4-a52e44dbe102" + }, + { + "reference": "urn:uuid:0e7ae71f-7d13-4984-b0f7-2b7d04a92935" + }, + { + "reference": "urn:uuid:9057196d-a979-4d0c-b55a-15542ce10f78" + }, + { + "reference": "urn:uuid:c8df444c-06f2-470b-98e5-f71f7a420ce6" + }, + { + "reference": "urn:uuid:01c18bb7-3fe8-43af-a187-6080fa2df2e4" + }, + { + "reference": "urn:uuid:91089422-ae73-4418-ada4-b732957fb516" + }, + { + "reference": "urn:uuid:0548a6a3-6787-4af5-9204-e5644b3ac085" + }, + { + "reference": "urn:uuid:424bb4c3-5575-418b-9fc2-0dda1fac3c03" + }, + { + "reference": "urn:uuid:dc5d7d94-a06c-406e-a9f1-caf6a8563502" + }, + { + "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" + }, + { + "reference": "urn:uuid:5d9db7bf-5511-419c-bc58-fdb70ed28e37" + }, + { + "reference": "urn:uuid:86a395bc-1fad-4a69-aa01-bb61adf7725c" + }, + { + "reference": "urn:uuid:3bd26db8-4098-4d34-8ff4-928972f64662" + }, + { + "reference": "urn:uuid:9e56a891-9a23-4beb-966d-f9ac2df6c297" + }, + { + "reference": "urn:uuid:17716b12-d22c-4fb9-96b6-1ba9b963de42" + }, + { + "reference": "urn:uuid:3b19757e-89d7-4827-ae1e-ac82c7606d2a" + }, + { + "reference": "urn:uuid:11280c85-e075-4052-89ce-71079b938d53" + }, + { + "reference": "urn:uuid:66644441-ac77-4b8d-b2ac-14bbcec04053" + }, + { + "reference": "urn:uuid:9290113c-a3c6-446d-ac0d-0d2a5be4f4e7" + }, + { + "reference": "urn:uuid:d6bacda8-7ea4-44de-88b8-f9daa4640598" + }, + { + "reference": "urn:uuid:c9080612-2fbf-4fcd-86f9-e1fff14bec39" + }, + { + "reference": "urn:uuid:2e911ab2-40a5-45cc-bf33-0947ab8153fe" + }, + { + "reference": "urn:uuid:fbf09b71-cf90-48ce-812c-2956c3dea698" + }, + { + "reference": "urn:uuid:c4d3c024-a1c6-47c2-bc75-ac0fca030ff5" + }, + { + "reference": "urn:uuid:a6f7388a-a584-4b75-8005-accd2d3522fe" + }, + { + "reference": "urn:uuid:d9ea11ff-5101-4fba-a384-ac86b4bb1430" + }, + { + "reference": "urn:uuid:d88c2f66-9e3d-4486-a242-e412a08b4490" + }, + { + "reference": "urn:uuid:52d27283-7e29-486b-b03b-0fc929cf196c" + }, + { + "reference": "urn:uuid:5af5857e-8f25-4729-a583-57ba2f81f967" + }, + { + "reference": "urn:uuid:875458b6-ca9f-4a87-807a-e556f6944a21" + }, + { + "reference": "urn:uuid:e55e4949-2d64-44db-9f61-30b216c13b7d" + }, + { + "reference": "urn:uuid:20e9e65f-1d92-402a-9d62-69f29b503b8f" + }, + { + "reference": "urn:uuid:5ce36665-e2de-4a18-b68e-4e71eecd468b" + }, + { + "reference": "urn:uuid:c8706880-188d-4f7b-aca4-7179dab7ed4b" + }, + { + "reference": "urn:uuid:9b1d9bba-4bbb-4bda-9cf7-ac5b07611754" + }, + { + "reference": "urn:uuid:8b34476d-180c-407a-adc3-82aa7e4505b0" + }, + { + "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" + }, + { + "reference": "urn:uuid:6689d45e-0f45-4ffe-b665-12dfc2cc03b5" + }, + { + "reference": "urn:uuid:3313498c-44e7-447a-be10-fc408540ee4a" + }, + { + "reference": "urn:uuid:c4909481-052c-4375-9788-ae89037b4241" + }, + { + "reference": "urn:uuid:a9879bc0-0c50-486d-9881-e2088e226b5b" + }, + { + "reference": "urn:uuid:c0ee8845-d480-4a92-a596-564af06fd05c" + }, + { + "reference": "urn:uuid:1f8bb2b9-a180-41e1-97b4-5ce1c2260eb6" + }, + { + "reference": "urn:uuid:5444a546-530c-46bb-a743-48c991e65006" + }, + { + "reference": "urn:uuid:4a0e11d6-ea52-4f59-a211-fdb93cfff482" + }, + { + "reference": "urn:uuid:852d9cbe-ee4d-459d-9fa1-69a32209851b" + }, + { + "reference": "urn:uuid:ba6ce35c-0035-4caf-9d80-7cd8a2adb1d8" + }, + { + "reference": "urn:uuid:04656ac4-4944-455f-878b-39ea949b4e5f" + }, + { + "reference": "urn:uuid:244fa692-7776-43fd-932b-c1d12775da58" + }, + { + "reference": "urn:uuid:e9ee497a-9be1-441b-bd04-845f58da28e7" + }, + { + "reference": "urn:uuid:01cacb9c-fad4-4441-bee8-3b043c46d11f" + }, + { + "reference": "urn:uuid:56be2677-c7c6-4b4e-8479-f559b4b32823" + }, + { + "reference": "urn:uuid:0de94e85-3015-482e-b340-0e5df78ddaeb" + }, + { + "reference": "urn:uuid:ced86e98-7706-4f47-825c-ce79ecff348f" + }, + { + "reference": "urn:uuid:7b1158d8-d2a6-4027-9d0b-478dcba7818f" + }, + { + "reference": "urn:uuid:d6701c30-9e32-41a4-a508-e7b89d925c30" + }, + { + "reference": "urn:uuid:52893d6e-9bed-443f-8176-5444a57a1c84" + }, + { + "reference": "urn:uuid:a405d702-2710-4bf0-9304-6872d44be7b3" + }, + { + "reference": "urn:uuid:49ddff02-26bf-465d-9fc9-dc00f0bfe5fd" + }, + { + "reference": "urn:uuid:82fc90be-4c3d-4e04-9011-079ea1d32a70" + }, + { + "reference": "urn:uuid:6dc8a3d3-1ffa-4827-8a83-b6f56b3e87fb" + }, + { + "reference": "urn:uuid:efd5f80d-3c04-44a5-bcc6-1a9858d8b2fd" + }, + { + "reference": "urn:uuid:bba2d963-c2fd-43c8-a3a4-e7331119966a" + }, + { + "reference": "urn:uuid:30d4f06d-d5a6-4833-8519-7d01923d2465" + }, + { + "reference": "urn:uuid:5d6f244c-dc14-4d30-b585-d984885648dd" + }, + { + "reference": "urn:uuid:dabb3861-b276-4f7f-80d1-990c1c8e92de" + }, + { + "reference": "urn:uuid:3af8a41e-da2f-4623-83e6-b448b6fa8a2e" + }, + { + "reference": "urn:uuid:4a9fe7c8-a98b-4be2-9362-d0380c684c67" + } + ], + "recorded": "2020-03-13T04:25:21.151-04:00", + "agent": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", + "code": "author", + "display": "Author" + } + ], + "text": "Author" + }, + "who": { + "reference": "Practitioner/697e7603-b6cc-3bd6-a1be-7663005bf3d4", + "display": "Dr. Brendon298 Huel628" + }, + "onBehalfOf": { + "reference": "Organization/b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", + "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" + } + } + ] + }, + "request": { + "method": "POST", + "url": "Provenance" + } + } + ] +} diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/us-core-careplan.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/us-core-careplan.json new file mode 100644 index 00000000000..3ba3023524c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/us-core-careplan.json @@ -0,0 +1,108 @@ +{ + "resourceType": "CarePlan", + "id": "a6a822c0-0b60-438a-940e-064c3fdfb456", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + ] + }, + "text": { + "status": "generated", + "div": "
Care Plan for Self-care interventions (procedure).
Activities:
  • Self-care interventions (procedure)
  • Self-care interventions (procedure)
  • Self-care interventions (procedure)
" + }, + "status": "active", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + }, + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "384758001", + "display": "Self-care interventions (procedure)" + } + ], + "text": "Self-care interventions (procedure)" + } + ], + "subject": { + "reference": "Patient/4818eca9-c6d2-4fa0-a234-7244e620391e" + }, + "encounter": { + "reference": "Encounter/3ce65ce5-899f-4aa6-a810-92c0dc45deaa" + }, + "period": { + "start": "1981-03-31T03:25:21-05:00" + }, + "careTeam": [ + { + "reference": "CareTeam/7b707022-dbe7-44a4-8063-596558bd0459" + } + ], + "activity": [ + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "409002", + "display": "Food allergy diet" + } + ], + "text": "Food allergy diet" + }, + "status": "in-progress", + "location": { + "reference": "Location/5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + }, + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "58332002", + "display": "Allergy education" + } + ], + "text": "Allergy education" + }, + "status": "in-progress", + "location": { + "reference": "Location/5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + }, + { + "detail": { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "58332002", + "display": "Allergy education" + } + ], + "text": "Allergy education" + }, + "status": "in-progress", + "location": { + "reference": "Location/5650caeb-a0bc-4f54-810a-84f030826e8e", + "display": "CAMBRIDGE HEALTH ALLIANCE" + } + } + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/us-core-patient-no-name-asserted.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/us-core-patient-no-name-asserted.json new file mode 100644 index 00000000000..3384e31fa00 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/us-core-patient-no-name-asserted.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Patient", + "text": { + "status": "empty", + "div": "
empty
" + }, + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + }, + "identifier": [ + { + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0203", + "version": "2.5", + "code": "MR", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/medical-record-number", + "value": "1", + "assigner": { + "display": "EXAMPLE" + } + }, + { + "system": "http://example.com/patient-identifier", + "value": "1-2-3-4", + "assigner": { + "display": "EXAMPLE" + } + } + ], + "gender": "male", + "birthDate": "2000-01-01", + "deceasedBoolean": true +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/us-core-patient-no-name-not-asserted.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/us-core-patient-no-name-not-asserted.json new file mode 100644 index 00000000000..089ca241a9e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/us-core-patient-no-name-not-asserted.json @@ -0,0 +1,36 @@ +{ + "resourceType": "Patient", + "text": { + "status": "empty", + "div": "
empty
" + }, + "identifier": [ + { + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0203", + "version": "2.5", + "code": "MR", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/medical-record-number", + "value": "1", + "assigner": { + "display": "EXAMPLE" + } + }, + { + "system": "http://example.com/patient-identifier", + "value": "1-2-3-4", + "assigner": { + "display": "EXAMPLE" + } + } + ], + "gender": "male", + "birthDate": "2000-01-01", + "deceasedBoolean": true +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/us-core-patient.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/us-core-patient.json new file mode 100644 index 00000000000..3384e31fa00 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/tests/us-core-patient.json @@ -0,0 +1,41 @@ +{ + "resourceType": "Patient", + "text": { + "status": "empty", + "div": "
empty
" + }, + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + }, + "identifier": [ + { + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0203", + "version": "2.5", + "code": "MR", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/medical-record-number", + "value": "1", + "assigner": { + "display": "EXAMPLE" + } + }, + { + "system": "http://example.com/patient-identifier", + "value": "1-2-3-4", + "assigner": { + "display": "EXAMPLE" + } + } + ], + "gender": "male", + "birthDate": "2000-01-01", + "deceasedBoolean": true +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/Pamela954_Johns824_4818eca9-c6d2-4fa0-a234-7244e620391e.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/Pamela954_Johns824_4818eca9-c6d2-4fa0-a234-7244e620391e.json deleted file mode 100644 index f429193629f..00000000000 --- a/conformance/fhir-ig-us-core/src/test/resources/JSON/Pamela954_Johns824_4818eca9-c6d2-4fa0-a234-7244e620391e.json +++ /dev/null @@ -1,39797 +0,0 @@ -{ - "resourceType": "Bundle", - "type": "transaction", - "entry": [ - { - "fullUrl": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "resource": { - "resourceType": "Patient", - "id": "4818eca9-c6d2-4fa0-a234-7244e620391e", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" - ] - }, - "text": { - "status": "generated", - "div": "
Generated by Synthea.Version identifier: v2.5.0-235-gbd15da38\n . Person seed: -3566243377172859107 Population seed: 3
" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "system": "urn:oid:2.16.840.1.113883.6.238", - "code": "2106-3", - "display": "White" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "system": "urn:oid:2.16.840.1.113883.6.238", - "code": "2135-2", - "display": "Hispanic or Latino" - } - }, - { - "url": "text", - "valueString": "Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Tomasa683 Nicolas769" - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", - "valueCode": "F" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "city": "Marlborough", - "state": "Massachusetts", - "country": "US" - } - }, - { - "url": "http://synthetichealth.github.io/synthea/disability-adjusted-life-years", - "valueDecimal": 9.479601931502765 - }, - { - "url": "http://synthetichealth.github.io/synthea/quality-adjusted-life-years", - "valueDecimal": 30.520398068497236 - } - ], - "identifier": [ - { - "system": "https://github.com/synthetichealth/synthea", - "value": "4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "code": "MR", - "display": "Medical Record Number" - } - ], - "text": "Medical Record Number" - }, - "system": "http://hospital.smarthealthit.org", - "value": "4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "code": "SS", - "display": "Social Security Number" - } - ], - "text": "Social Security Number" - }, - "system": "http://hl7.org/fhir/sid/us-ssn", - "value": "999-96-6923" - }, - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "code": "DL", - "display": "Driver's License" - } - ], - "text": "Driver's License" - }, - "system": "urn:oid:2.16.840.1.113883.4.3.25", - "value": "S99969076" - }, - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "code": "PPN", - "display": "Passport Number" - } - ], - "text": "Passport Number" - }, - "system": "http://standardhealthrecord.org/fhir/StructureDefinition/passportNumber", - "value": "X44312104X" - } - ], - "name": [ - { - "use": "official", - "family": "Johns824", - "given": [ - "Pamela954" - ], - "prefix": [ - "Mrs." - ] - }, - { - "use": "maiden", - "family": "Bauch723", - "given": [ - "Pamela954" - ], - "prefix": [ - "Mrs." - ] - } - ], - "telecom": [ - { - "system": "phone", - "value": "555-881-1882", - "use": "home" - } - ], - "gender": "female", - "birthDate": "1979-12-07", - "address": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/geolocation", - "extension": [ - { - "url": "latitude", - "valueDecimal": 42.32202219649107 - }, - { - "url": "longitude", - "valueDecimal": -71.10775062651211 - } - ] - } - ], - "line": [ - "525 Schultz Track Unit 94" - ], - "city": "Boston", - "state": "MA", - "postalCode": "02127", - "country": "US" - } - ], - "maritalStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", - "code": "M", - "display": "M" - } - ], - "text": "M" - }, - "multipleBirthBoolean": false, - "communication": [ - { - "language": { - "coding": [ - { - "system": "urn:ietf:bcp:47", - "code": "en-US", - "display": "English" - } - ], - "text": "English" - } - } - ] - }, - "request": { - "method": "POST", - "url": "Patient" - } - }, - { - "fullUrl": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "resource": { - "resourceType": "Location", - "id": "5650caeb-a0bc-4f54-810a-84f030826e8e", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" - ] - }, - "status": "active", - "name": "CAMBRIDGE HEALTH ALLIANCE", - "telecom": [ - { - "system": "phone", - "value": "6176652300" - } - ], - "address": { - "line": [ - "1493 CAMBRIDGE STREET" - ], - "city": "CAMBRIDGE", - "state": "MA", - "postalCode": "02138", - "country": "US" - }, - "position": { - "longitude": -71.118275, - "latitude": 42.375967 - }, - "managingOrganization": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - }, - "request": { - "method": "POST", - "url": "Location" - } - }, - { - "fullUrl": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "resource": { - "resourceType": "Organization", - "id": "e002090d-4e92-300e-b41e-7d1f21dee4c6", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" - ] - }, - "identifier": [ - { - "system": "https://github.com/synthetichealth/synthea", - "value": "e002090d-4e92-300e-b41e-7d1f21dee4c6" - } - ], - "active": true, - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/organization-type", - "code": "prov", - "display": "Healthcare Provider" - } - ], - "text": "Healthcare Provider" - } - ], - "name": "CAMBRIDGE HEALTH ALLIANCE", - "telecom": [ - { - "system": "phone", - "value": "6176652300" - } - ], - "address": [ - { - "line": [ - "1493 CAMBRIDGE STREET" - ], - "city": "CAMBRIDGE", - "state": "MA", - "postalCode": "02138", - "country": "US" - } - ] - }, - "request": { - "method": "POST", - "url": "Organization" - } - }, - { - "fullUrl": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "resource": { - "resourceType": "Practitioner", - "id": "5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ] - }, - "identifier": [ - { - "system": "http://hl7.org/fhir/sid/us-npi", - "value": "9999999959" - } - ], - "active": true, - "name": [ - { - "family": "Ebert178", - "given": [ - "Wen848" - ], - "prefix": [ - "Dr." - ] - } - ], - "telecom": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", - "valueBoolean": true - } - ], - "system": "email", - "value": "Wen848.Ebert178@example.com", - "use": "work" - } - ], - "address": [ - { - "line": [ - "1493 CAMBRIDGE STREET" - ], - "city": "CAMBRIDGE", - "state": "MA", - "postalCode": "02138", - "country": "US" - } - ], - "gender": "female" - }, - "request": { - "method": "POST", - "url": "Practitioner" - } - }, - { - "fullUrl": "urn:uuid:ae434da0-4a91-4721-ac3e-6143dc46529d", - "resource": { - "resourceType": "PractitionerRole", - "id": "ae434da0-4a91-4721-ac3e-6143dc46529d", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" - ] - }, - "practitioner": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - }, - "organization": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "code": [ - { - "coding": [ - { - "system": "http://nucc.org/provider-taxonomy", - "code": "208D00000X", - "display": "General Practice" - } - ], - "text": "General Practice" - } - ], - "specialty": [ - { - "coding": [ - { - "system": "http://nucc.org/provider-taxonomy", - "code": "208D00000X", - "display": "General Practice" - } - ], - "text": "General Practice" - } - ], - "location": [ - { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - ], - "telecom": [ - { - "system": "phone", - "value": "6176652300" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", - "valueBoolean": true - } - ], - "system": "email", - "value": "Wen848.Ebert178@example.com", - "use": "work" - } - ] - }, - "request": { - "method": "POST", - "url": "PractitionerRole" - } - }, - { - "fullUrl": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa", - "resource": { - "resourceType": "Encounter", - "id": "3ce65ce5-899f-4aa6-a810-92c0dc45deaa", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "3ce65ce5-899f-4aa6-a810-92c0dc45deaa" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185347001", - "display": "Encounter for problem" - } - ], - "text": "Encounter for problem" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "1981-03-31T03:25:21-05:00", - "end": "1981-03-31T03:40:21-05:00" - }, - "individual": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - } - } - ], - "period": { - "start": "1981-03-31T03:25:21-05:00", - "end": "1981-03-31T03:40:21-05:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:7b707022-dbe7-44a4-8063-596558bd0459", - "resource": { - "resourceType": "CareTeam", - "id": "7b707022-dbe7-44a4-8063-596558bd0459", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" - ] - }, - "status": "active", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" - }, - "period": { - "start": "1981-03-31T03:25:21-05:00" - }, - "participant": [ - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "116153009", - "display": "Patient" - } - ], - "text": "Patient" - } - ], - "member": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - } - }, - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "223366009", - "display": "Healthcare professional (occupation)" - } - ], - "text": "Healthcare professional (occupation)" - } - ], - "member": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - } - }, - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "224891009", - "display": "Healthcare services (qualifier value)" - } - ], - "text": "Healthcare services (qualifier value)" - } - ], - "member": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - } - ], - "managingOrganization": [ - { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - ] - }, - "request": { - "method": "POST", - "url": "CareTeam" - } - }, - { - "fullUrl": "urn:uuid:a6a822c0-0b60-438a-940e-064c3fdfb456", - "resource": { - "resourceType": "CarePlan", - "id": "a6a822c0-0b60-438a-940e-064c3fdfb456", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" - ] - }, - "text": { - "status": "generated", - "div": "
Care Plan for Self-care interventions (procedure).
Activities:
  • Self-care interventions (procedure)
  • Self-care interventions (procedure)
  • Self-care interventions (procedure)
" - }, - "status": "active", - "intent": "order", - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", - "code": "assess-plan" - } - ] - }, - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "384758001", - "display": "Self-care interventions (procedure)" - } - ], - "text": "Self-care interventions (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" - }, - "period": { - "start": "1981-03-31T03:25:21-05:00" - }, - "careTeam": [ - { - "reference": "urn:uuid:7b707022-dbe7-44a4-8063-596558bd0459" - } - ], - "activity": [ - { - "detail": { - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "409002", - "display": "Food allergy diet" - } - ], - "text": "Food allergy diet" - }, - "status": "in-progress", - "location": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - } - }, - { - "detail": { - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "58332002", - "display": "Allergy education" - } - ], - "text": "Allergy education" - }, - "status": "in-progress", - "location": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - } - }, - { - "detail": { - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "58332002", - "display": "Allergy education" - } - ], - "text": "Allergy education" - }, - "status": "in-progress", - "location": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - } - } - ] - }, - "request": { - "method": "POST", - "url": "CarePlan" - } - }, - { - "fullUrl": "urn:uuid:8e840915-8adc-4920-837e-b77fbd0bc5bb", - "resource": { - "resourceType": "DiagnosticReport", - "id": "8e840915-8adc-4920-837e-b77fbd0bc5bb", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" - }, - "effectiveDateTime": "1981-03-31T03:25:21-05:00", - "issued": "1981-03-31T03:25:21.151-05:00", - "performer": [ - { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjE5ODEtMDMtMzEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEgeWVhci1vbGQgbm9uLWhpc3BhbmljIHdoaXRlIGZlbWFsZS4KCiMgU29jaWFsIEhpc3RvcnkKIFBhdGllbnQgaGFzIG5ldmVyIHNtb2tlZCBhbmQgaXMgYW4gYWxjb2hvbGljLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKTm8gQWN0aXZlIE1lZGljYXRpb25zLgoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHBsYWNlZCBvbiBhIGNhcmVwbGFuOgotIHNlbGYtY2FyZSBpbnRlcnZlbnRpb25zIChwcm9jZWR1cmUpCg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:09669f57-56ef-4d38-a1f9-920b84900f1c", - "resource": { - "resourceType": "DocumentReference", - "id": "09669f57-56ef-4d38-a1f9-920b84900f1c", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "8e840915-8adc-4920-837e-b77fbd0bc5bb" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "1981-03-31T03:25:21.151-05:00", - "author": [ - { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - } - ], - "custodian": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjE5ODEtMDMtMzEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEgeWVhci1vbGQgbm9uLWhpc3BhbmljIHdoaXRlIGZlbWFsZS4KCiMgU29jaWFsIEhpc3RvcnkKIFBhdGllbnQgaGFzIG5ldmVyIHNtb2tlZCBhbmQgaXMgYW4gYWxjb2hvbGljLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKTm8gQWN0aXZlIE1lZGljYXRpb25zLgoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHBsYWNlZCBvbiBhIGNhcmVwbGFuOgotIHNlbGYtY2FyZSBpbnRlcnZlbnRpb25zIChwcm9jZWR1cmUpCg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" - } - ], - "period": { - "start": "1981-03-31T03:25:21-05:00", - "end": "1981-03-31T03:40:21-05:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:3288f528-675a-48a7-925a-db365aa7fedd", - "resource": { - "resourceType": "Claim", - "id": "3288f528-675a-48a7-925a-db365aa7fedd", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "1981-03-31T03:25:21-05:00", - "end": "1981-03-31T03:40:21-05:00" - }, - "created": "1981-03-31T03:40:21-05:00", - "provider": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185347001", - "display": "Encounter for problem" - } - ], - "text": "Encounter for problem" - }, - "encounter": [ - { - "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" - } - ] - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:a8afae92-0db2-4379-ab05-2375d91bddbf", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "a8afae92-0db2-4379-ab05-2375d91bddbf", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - }, - "performer": [ - { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Cigna Health" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Cigna Health" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "3288f528-675a-48a7-925a-db365aa7fedd" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "1981-03-31T03:40:21-05:00", - "end": "1982-03-31T03:40:21-05:00" - }, - "created": "1981-03-31T03:40:21-05:00", - "insurer": { - "display": "Cigna Health" - }, - "provider": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "claim": { - "reference": "urn:uuid:3288f528-675a-48a7-925a-db365aa7fedd" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185347001", - "display": "Encounter for problem" - } - ], - "text": "Encounter for problem" - }, - "servicedPeriod": { - "start": "1981-03-31T03:25:21-05:00", - "end": "1981-03-31T03:40:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "21", - "display": "Inpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923", - "resource": { - "resourceType": "Encounter", - "id": "d117d0f3-70e3-4f7c-be75-808aa3039923", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "d117d0f3-70e3-4f7c-be75-808aa3039923" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185347001", - "display": "Encounter for problem" - } - ], - "text": "Encounter for problem" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "1981-04-11T03:25:21-05:00", - "end": "1981-04-11T04:17:21-05:00" - }, - "individual": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - } - } - ], - "period": { - "start": "1981-04-11T03:25:21-05:00", - "end": "1981-04-11T04:17:21-05:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:dc9dd26e-8983-4bd4-abdc-9dbe5abdd581", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "dc9dd26e-8983-4bd4-abdc-9dbe5abdd581", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" - ] - }, - "clinicalStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", - "code": "active" - } - ] - }, - "verificationStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", - "code": "confirmed" - } - ] - }, - "type": "allergy", - "category": [ - "food" - ], - "criticality": "low", - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "91935009", - "display": "Allergy to peanuts" - } - ], - "text": "Allergy to peanuts" - }, - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "recordedDate": "1981-04-11T03:25:21-05:00" - }, - "request": { - "method": "POST", - "url": "AllergyIntolerance" - } - }, - { - "fullUrl": "urn:uuid:4145178a-e267-4de8-a81b-d36c2da972af", - "resource": { - "resourceType": "MedicationRequest", - "id": "4145178a-e267-4de8-a81b-d36c2da972af", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "active", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "197378", - "display": "Astemizole 10 MG Oral Tablet" - } - ], - "text": "Astemizole 10 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" - }, - "authoredOn": "1981-04-11T03:25:21-05:00", - "requester": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - }, - "dosageInstruction": [ - { - "sequence": 1, - "text": "Take as needed.", - "asNeededBoolean": true - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:c29e86ee-9abf-403d-a722-09291038da71", - "resource": { - "resourceType": "Claim", - "id": "c29e86ee-9abf-403d-a722-09291038da71", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "1981-04-11T03:25:21-05:00", - "end": "1981-04-11T04:17:21-05:00" - }, - "created": "1981-04-11T04:17:21-05:00", - "provider": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:4145178a-e267-4de8-a81b-d36c2da972af" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185347001", - "display": "Encounter for problem" - } - ], - "text": "Encounter for problem" - }, - "encounter": [ - { - "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" - } - ] - } - ], - "total": { - "value": 11.5, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:8ffa75ad-b7dc-4da3-bcb0-f73c2a25f2c6", - "resource": { - "resourceType": "DiagnosticReport", - "id": "8ffa75ad-b7dc-4da3-bcb0-f73c2a25f2c6", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" - }, - "effectiveDateTime": "1981-04-11T03:25:21-05:00", - "issued": "1981-04-11T03:25:21.151-05:00", - "performer": [ - { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjE5ODEtMDQtMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEgeWVhci1vbGQgbm9uLWhpc3BhbmljIHdoaXRlIGZlbWFsZS4KCiMgU29jaWFsIEhpc3RvcnkKIFBhdGllbnQgaGFzIG5ldmVyIHNtb2tlZCBhbmQgaXMgYW4gYWxjb2hvbGljLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKTm8gQWN0aXZlIE1lZGljYXRpb25zLgoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuClBhdGllbnQgaXMgcHJlc2VudGluZyB3aXRoIGFsbGVyZ3kgdG8gcGVhbnV0cy4gCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGFzdGVtaXpvbGUgMTAgbWcgb3JhbCB0YWJsZXQK" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:7bc429fd-499d-404e-8353-dffe91ca3f79", - "resource": { - "resourceType": "DocumentReference", - "id": "7bc429fd-499d-404e-8353-dffe91ca3f79", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "8ffa75ad-b7dc-4da3-bcb0-f73c2a25f2c6" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "1981-04-11T03:25:21.151-05:00", - "author": [ - { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - } - ], - "custodian": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjE5ODEtMDQtMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEgeWVhci1vbGQgbm9uLWhpc3BhbmljIHdoaXRlIGZlbWFsZS4KCiMgU29jaWFsIEhpc3RvcnkKIFBhdGllbnQgaGFzIG5ldmVyIHNtb2tlZCBhbmQgaXMgYW4gYWxjb2hvbGljLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKTm8gQWN0aXZlIE1lZGljYXRpb25zLgoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuClBhdGllbnQgaXMgcHJlc2VudGluZyB3aXRoIGFsbGVyZ3kgdG8gcGVhbnV0cy4gCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGFzdGVtaXpvbGUgMTAgbWcgb3JhbCB0YWJsZXQK" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" - } - ], - "period": { - "start": "1981-04-11T03:25:21-05:00", - "end": "1981-04-11T04:17:21-05:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:8fb48e33-24c5-420a-8f4d-0aa26a343c44", - "resource": { - "resourceType": "Claim", - "id": "8fb48e33-24c5-420a-8f4d-0aa26a343c44", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "1981-04-11T03:25:21-05:00", - "end": "1981-04-11T04:17:21-05:00" - }, - "created": "1981-04-11T04:17:21-05:00", - "provider": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185347001", - "display": "Encounter for problem" - } - ], - "text": "Encounter for problem" - }, - "encounter": [ - { - "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" - } - ] - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:5f92bc64-1cc5-4a94-b318-883a54331545", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "5f92bc64-1cc5-4a94-b318-883a54331545", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - }, - "performer": [ - { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Cigna Health" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Cigna Health" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "8fb48e33-24c5-420a-8f4d-0aa26a343c44" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "1981-04-11T04:17:21-05:00", - "end": "1982-04-11T04:17:21-05:00" - }, - "created": "1981-04-11T04:17:21-05:00", - "insurer": { - "display": "Cigna Health" - }, - "provider": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "claim": { - "reference": "urn:uuid:8fb48e33-24c5-420a-8f4d-0aa26a343c44" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185347001", - "display": "Encounter for problem" - } - ], - "text": "Encounter for problem" - }, - "servicedPeriod": { - "start": "1981-04-11T03:25:21-05:00", - "end": "1981-04-11T04:17:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "21", - "display": "Inpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "resource": { - "resourceType": "Location", - "id": "4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" - ] - }, - "status": "active", - "name": "MOUNT AUBURN HOSPITAL", - "telecom": [ - { - "system": "phone", - "value": "6174923500" - } - ], - "address": { - "line": [ - "330 MOUNT AUBURN STREET" - ], - "city": "CAMBRIDGE", - "state": "MA", - "postalCode": "02138", - "country": "US" - }, - "position": { - "longitude": -71.118275, - "latitude": 42.375967 - }, - "managingOrganization": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - } - }, - "request": { - "method": "POST", - "url": "Location" - } - }, - { - "fullUrl": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "resource": { - "resourceType": "Organization", - "id": "69176529-fd1f-3b3f-abce-a0a3626769eb", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" - ] - }, - "identifier": [ - { - "system": "https://github.com/synthetichealth/synthea", - "value": "69176529-fd1f-3b3f-abce-a0a3626769eb" - } - ], - "active": true, - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/organization-type", - "code": "prov", - "display": "Healthcare Provider" - } - ], - "text": "Healthcare Provider" - } - ], - "name": "MOUNT AUBURN HOSPITAL", - "telecom": [ - { - "system": "phone", - "value": "6174923500" - } - ], - "address": [ - { - "line": [ - "330 MOUNT AUBURN STREET" - ], - "city": "CAMBRIDGE", - "state": "MA", - "postalCode": "02138", - "country": "US" - } - ] - }, - "request": { - "method": "POST", - "url": "Organization" - } - }, - { - "fullUrl": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "resource": { - "resourceType": "Practitioner", - "id": "5eddc110-d05c-3e3d-b717-2ba27e784fba", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ] - }, - "identifier": [ - { - "system": "http://hl7.org/fhir/sid/us-npi", - "value": "9999999989" - } - ], - "active": true, - "name": [ - { - "family": "Hoppe518", - "given": [ - "Mathew182" - ], - "prefix": [ - "Dr." - ] - } - ], - "telecom": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", - "valueBoolean": true - } - ], - "system": "email", - "value": "Mathew182.Hoppe518@example.com", - "use": "work" - } - ], - "address": [ - { - "line": [ - "330 MOUNT AUBURN STREET" - ], - "city": "CAMBRIDGE", - "state": "MA", - "postalCode": "02138", - "country": "US" - } - ], - "gender": "male" - }, - "request": { - "method": "POST", - "url": "Practitioner" - } - }, - { - "fullUrl": "urn:uuid:f33d551d-cbc4-4808-8f11-f42a17f275b6", - "resource": { - "resourceType": "PractitionerRole", - "id": "f33d551d-cbc4-4808-8f11-f42a17f275b6", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" - ] - }, - "practitioner": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - }, - "organization": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - }, - "code": [ - { - "coding": [ - { - "system": "http://nucc.org/provider-taxonomy", - "code": "208D00000X", - "display": "General Practice" - } - ], - "text": "General Practice" - } - ], - "specialty": [ - { - "coding": [ - { - "system": "http://nucc.org/provider-taxonomy", - "code": "208D00000X", - "display": "General Practice" - } - ], - "text": "General Practice" - } - ], - "location": [ - { - "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "display": "MOUNT AUBURN HOSPITAL" - } - ], - "telecom": [ - { - "system": "phone", - "value": "6174923500" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", - "valueBoolean": true - } - ], - "system": "email", - "value": "Mathew182.Hoppe518@example.com", - "use": "work" - } - ] - }, - "request": { - "method": "POST", - "url": "PractitionerRole" - } - }, - { - "fullUrl": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f", - "resource": { - "resourceType": "Encounter", - "id": "f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "EMER" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "50849002", - "display": "Emergency Room Admission" - } - ], - "text": "Emergency Room Admission" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "1993-12-04T03:25:21-05:00", - "end": "1993-12-04T04:25:21-05:00" - }, - "individual": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - } - } - ], - "period": { - "start": "1993-12-04T03:25:21-05:00", - "end": "1993-12-04T04:25:21-05:00" - }, - "reasonCode": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "74400008", - "display": "Appendicitis" - } - ] - } - ], - "location": [ - { - "location": { - "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "display": "MOUNT AUBURN HOSPITAL" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:5a65adea-0cbc-429e-ae59-2b9e0ba98ebe", - "resource": { - "resourceType": "Condition", - "id": "5a65adea-0cbc-429e-ae59-2b9e0ba98ebe", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" - ] - }, - "clinicalStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "active" - } - ] - }, - "verificationStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", - "code": "confirmed" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-category", - "code": "encounter-diagnosis", - "display": "Encounter Diagnosis" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "74400008", - "display": "Appendicitis" - } - ], - "text": "Appendicitis" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" - }, - "onsetDateTime": "1993-12-04T03:25:21-05:00", - "recordedDate": "1993-12-04T03:25:21-05:00" - }, - "request": { - "method": "POST", - "url": "Condition" - } - }, - { - "fullUrl": "urn:uuid:00b0a904-7f33-44ad-9ede-23c7f1a15f44", - "resource": { - "resourceType": "DiagnosticReport", - "id": "00b0a904-7f33-44ad-9ede-23c7f1a15f44", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" - }, - "effectiveDateTime": "1993-12-04T03:25:21-05:00", - "issued": "1993-12-04T03:25:21.151-05:00", - "performer": [ - { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjE5OTMtMTItMDQKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGhhcyBuZXZlciBzbW9rZWQgYW5kIGlzIGFuIGFsY29ob2xpYy4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgY3VycmVudGx5IGhhcyBDaWduYSBIZWFsdGguCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCk5vIEFjdGl2ZSBNZWRpY2F0aW9ucy4KCiMgQXNzZXNzbWVudCBhbmQgUGxhbgpQYXRpZW50IGlzIHByZXNlbnRpbmcgd2l0aCBhcHBlbmRpY2l0aXMuIAoKIyMgUGxhbgoK" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:21560651-525c-4eb5-8d80-ae6a62cac8e0", - "resource": { - "resourceType": "DocumentReference", - "id": "21560651-525c-4eb5-8d80-ae6a62cac8e0", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "00b0a904-7f33-44ad-9ede-23c7f1a15f44" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "1993-12-04T03:25:21.151-05:00", - "author": [ - { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - } - ], - "custodian": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjE5OTMtMTItMDQKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGhhcyBuZXZlciBzbW9rZWQgYW5kIGlzIGFuIGFsY29ob2xpYy4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgY3VycmVudGx5IGhhcyBDaWduYSBIZWFsdGguCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCk5vIEFjdGl2ZSBNZWRpY2F0aW9ucy4KCiMgQXNzZXNzbWVudCBhbmQgUGxhbgpQYXRpZW50IGlzIHByZXNlbnRpbmcgd2l0aCBhcHBlbmRpY2l0aXMuIAoKIyMgUGxhbgoK" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" - } - ], - "period": { - "start": "1993-12-04T03:25:21-05:00", - "end": "1993-12-04T04:25:21-05:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:4e0564e3-cd19-4cff-9658-f2751c891b38", - "resource": { - "resourceType": "Claim", - "id": "4e0564e3-cd19-4cff-9658-f2751c891b38", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "1993-12-04T03:25:21-05:00", - "end": "1993-12-04T04:25:21-05:00" - }, - "created": "1993-12-04T04:25:21-05:00", - "provider": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "display": "MOUNT AUBURN HOSPITAL" - }, - "diagnosis": [ - { - "sequence": 1, - "diagnosisReference": { - "reference": "urn:uuid:5a65adea-0cbc-429e-ae59-2b9e0ba98ebe" - } - } - ], - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "50849002", - "display": "Emergency Room Admission" - } - ], - "text": "Emergency Room Admission" - }, - "encounter": [ - { - "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" - } - ] - }, - { - "sequence": 2, - "diagnosisSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "74400008", - "display": "Appendicitis" - } - ], - "text": "Appendicitis" - } - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:03657b06-ab10-4268-9f98-9e0c9bdeaaec", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "03657b06-ab10-4268-9f98-9e0c9bdeaaec", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - }, - "performer": [ - { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Cigna Health" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Cigna Health" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "4e0564e3-cd19-4cff-9658-f2751c891b38" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "1993-12-04T04:25:21-05:00", - "end": "1994-12-04T04:25:21-05:00" - }, - "created": "1993-12-04T04:25:21-05:00", - "insurer": { - "display": "Cigna Health" - }, - "provider": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "display": "MOUNT AUBURN HOSPITAL" - }, - "claim": { - "reference": "urn:uuid:4e0564e3-cd19-4cff-9658-f2751c891b38" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "diagnosis": [ - { - "sequence": 1, - "diagnosisReference": { - "reference": "urn:uuid:5a65adea-0cbc-429e-ae59-2b9e0ba98ebe" - }, - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", - "code": "principal" - } - ] - } - ] - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "50849002", - "display": "Emergency Room Admission" - } - ], - "text": "Emergency Room Admission" - }, - "servicedPeriod": { - "start": "1993-12-04T03:25:21-05:00", - "end": "1993-12-04T04:25:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "20", - "display": "Urgent Care Facility" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" - } - ] - }, - { - "sequence": 2, - "diagnosisSequence": [ - 1 - ], - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "74400008", - "display": "Appendicitis" - } - ], - "text": "Appendicitis" - }, - "servicedPeriod": { - "start": "1993-12-04T03:25:21-05:00", - "end": "1993-12-04T04:25:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "20", - "display": "Urgent Care Facility" - } - ] - } - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd", - "resource": { - "resourceType": "Encounter", - "id": "1b1a63a7-7260-4eaf-b029-d4b264c62dcd", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "1b1a63a7-7260-4eaf-b029-d4b264c62dcd" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "IMP" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "183452005", - "display": "Encounter Inpatient" - } - ], - "text": "Encounter Inpatient" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "1993-12-04T03:25:21-05:00", - "end": "1993-12-08T04:06:21-05:00" - }, - "individual": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - } - } - ], - "period": { - "start": "1993-12-04T03:25:21-05:00", - "end": "1993-12-08T04:06:21-05:00" - }, - "reasonCode": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "74400008", - "display": "Appendicitis" - } - ] - } - ], - "hospitalization": { - "dischargeDisposition": { - "coding": [ - { - "system": "http://www.nubc.org/patient-discharge", - "code": "01", - "display": "Discharged to home care or self care (routine discharge)" - } - ], - "text": "Discharged to home care or self care (routine discharge)" - } - }, - "location": [ - { - "location": { - "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "display": "MOUNT AUBURN HOSPITAL" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:5610dfb1-315e-4a68-8599-68f9b3446e90", - "resource": { - "resourceType": "Condition", - "id": "5610dfb1-315e-4a68-8599-68f9b3446e90", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" - ] - }, - "clinicalStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "active" - } - ] - }, - "verificationStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", - "code": "confirmed" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-category", - "code": "encounter-diagnosis", - "display": "Encounter Diagnosis" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "428251008", - "display": "History of appendectomy" - } - ], - "text": "History of appendectomy" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" - }, - "onsetDateTime": "1993-12-04T03:25:21-05:00", - "recordedDate": "1993-12-04T03:25:21-05:00" - }, - "request": { - "method": "POST", - "url": "Condition" - } - }, - { - "fullUrl": "urn:uuid:7af93122-0d5a-4100-b7c9-edc1b844b912", - "resource": { - "resourceType": "DiagnosticReport", - "id": "7af93122-0d5a-4100-b7c9-edc1b844b912", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" - }, - "effectiveDateTime": "1993-12-04T03:25:21-05:00", - "issued": "1993-12-04T03:25:21.151-05:00", - "performer": [ - { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjE5OTMtMTItMDQKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGhhcyBuZXZlciBzbW9rZWQgYW5kIGlzIGFuIGFsY29ob2xpYy4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgY3VycmVudGx5IGhhcyBDaWduYSBIZWFsdGguCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCk5vIEFjdGl2ZSBNZWRpY2F0aW9ucy4KCiMgQXNzZXNzbWVudCBhbmQgUGxhbgpQYXRpZW50IGlzIHByZXNlbnRpbmcgd2l0aCBoaXN0b3J5IG9mIGFwcGVuZGVjdG9teS4gCgojIyBQbGFuCgo=" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:b61efb38-3b58-4b19-ace1-e0bdd22a7b3e", - "resource": { - "resourceType": "DocumentReference", - "id": "b61efb38-3b58-4b19-ace1-e0bdd22a7b3e", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "7af93122-0d5a-4100-b7c9-edc1b844b912" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "1993-12-04T03:25:21.151-05:00", - "author": [ - { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - } - ], - "custodian": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjE5OTMtMTItMDQKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDEzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGhhcyBuZXZlciBzbW9rZWQgYW5kIGlzIGFuIGFsY29ob2xpYy4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgY3VycmVudGx5IGhhcyBDaWduYSBIZWFsdGguCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCk5vIEFjdGl2ZSBNZWRpY2F0aW9ucy4KCiMgQXNzZXNzbWVudCBhbmQgUGxhbgpQYXRpZW50IGlzIHByZXNlbnRpbmcgd2l0aCBoaXN0b3J5IG9mIGFwcGVuZGVjdG9teS4gCgojIyBQbGFuCgo=" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" - } - ], - "period": { - "start": "1993-12-04T03:25:21-05:00", - "end": "1993-12-08T04:06:21-05:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:b454ced0-573d-4e61-8d52-91c286cd22fc", - "resource": { - "resourceType": "Claim", - "id": "b454ced0-573d-4e61-8d52-91c286cd22fc", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "1993-12-04T03:25:21-05:00", - "end": "1993-12-08T04:06:21-05:00" - }, - "created": "1993-12-08T04:06:21-05:00", - "provider": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "display": "MOUNT AUBURN HOSPITAL" - }, - "diagnosis": [ - { - "sequence": 1, - "diagnosisReference": { - "reference": "urn:uuid:5610dfb1-315e-4a68-8599-68f9b3446e90" - } - } - ], - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "183452005", - "display": "Encounter Inpatient" - } - ], - "text": "Encounter Inpatient" - }, - "encounter": [ - { - "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" - } - ] - }, - { - "sequence": 2, - "diagnosisSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "428251008", - "display": "History of appendectomy" - } - ], - "text": "History of appendectomy" - } - } - ], - "total": { - "value": 77.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:0a49f240-54e1-46ff-b8fd-962675304d76", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "0a49f240-54e1-46ff-b8fd-962675304d76", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - }, - "performer": [ - { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Cigna Health" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Cigna Health" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "b454ced0-573d-4e61-8d52-91c286cd22fc" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "1993-12-08T04:06:21-05:00", - "end": "1994-12-08T04:06:21-05:00" - }, - "created": "1993-12-08T04:06:21-05:00", - "insurer": { - "display": "Cigna Health" - }, - "provider": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "display": "MOUNT AUBURN HOSPITAL" - }, - "claim": { - "reference": "urn:uuid:b454ced0-573d-4e61-8d52-91c286cd22fc" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "diagnosis": [ - { - "sequence": 1, - "diagnosisReference": { - "reference": "urn:uuid:5610dfb1-315e-4a68-8599-68f9b3446e90" - }, - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", - "code": "principal" - } - ] - } - ] - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "183452005", - "display": "Encounter Inpatient" - } - ], - "text": "Encounter Inpatient" - }, - "servicedPeriod": { - "start": "1993-12-04T03:25:21-05:00", - "end": "1993-12-08T04:06:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "21", - "display": "Inpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" - } - ] - }, - { - "sequence": 2, - "diagnosisSequence": [ - 1 - ], - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "428251008", - "display": "History of appendectomy" - } - ], - "text": "History of appendectomy" - }, - "servicedPeriod": { - "start": "1993-12-04T03:25:21-05:00", - "end": "1993-12-08T04:06:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "21", - "display": "Inpatient Hospital" - } - ] - } - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 77.49, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "resource": { - "resourceType": "Location", - "id": "c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" - ] - }, - "status": "active", - "name": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC", - "telecom": [ - { - "system": "phone", - "value": "617-739-0245" - } - ], - "address": { - "line": [ - "1 BROOKLINE PL" - ], - "city": "BROOKLINE", - "state": "MA", - "postalCode": "02445-7277", - "country": "US" - }, - "position": { - "longitude": -71.142003, - "latitude": 42.323853 - }, - "managingOrganization": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Location" - } - }, - { - "fullUrl": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "resource": { - "resourceType": "Organization", - "id": "b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" - ] - }, - "identifier": [ - { - "system": "https://github.com/synthetichealth/synthea", - "value": "b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0" - } - ], - "active": true, - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/organization-type", - "code": "prov", - "display": "Healthcare Provider" - } - ], - "text": "Healthcare Provider" - } - ], - "name": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC", - "telecom": [ - { - "system": "phone", - "value": "617-739-0245" - } - ], - "address": [ - { - "line": [ - "1 BROOKLINE PL" - ], - "city": "BROOKLINE", - "state": "MA", - "postalCode": "02445-7277", - "country": "US" - } - ] - }, - "request": { - "method": "POST", - "url": "Organization" - } - }, - { - "fullUrl": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "resource": { - "resourceType": "Practitioner", - "id": "697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ] - }, - "identifier": [ - { - "system": "http://hl7.org/fhir/sid/us-npi", - "value": "9999997789" - } - ], - "active": true, - "name": [ - { - "family": "Huel628", - "given": [ - "Brendon298" - ], - "prefix": [ - "Dr." - ] - } - ], - "telecom": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", - "valueBoolean": true - } - ], - "system": "email", - "value": "Brendon298.Huel628@example.com", - "use": "work" - } - ], - "address": [ - { - "line": [ - "1 BROOKLINE PL" - ], - "city": "BROOKLINE", - "state": "MA", - "postalCode": "02445-7277", - "country": "US" - } - ], - "gender": "male" - }, - "request": { - "method": "POST", - "url": "Practitioner" - } - }, - { - "fullUrl": "urn:uuid:97d39e08-5aac-4dec-8add-474d16eba6c4", - "resource": { - "resourceType": "PractitionerRole", - "id": "97d39e08-5aac-4dec-8add-474d16eba6c4", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" - ] - }, - "practitioner": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "organization": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "code": [ - { - "coding": [ - { - "system": "http://nucc.org/provider-taxonomy", - "code": "208D00000X", - "display": "General Practice" - } - ], - "text": "General Practice" - } - ], - "specialty": [ - { - "coding": [ - { - "system": "http://nucc.org/provider-taxonomy", - "code": "208D00000X", - "display": "General Practice" - } - ], - "text": "General Practice" - } - ], - "location": [ - { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ], - "telecom": [ - { - "system": "phone", - "value": "617-739-0245" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", - "valueBoolean": true - } - ], - "system": "email", - "value": "Brendon298.Huel628@example.com", - "use": "work" - } - ] - }, - "request": { - "method": "POST", - "url": "PractitionerRole" - } - }, - { - "fullUrl": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa", - "resource": { - "resourceType": "Encounter", - "id": "6d721a06-2e4f-40d9-a109-a77df52918fa", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "6d721a06-2e4f-40d9-a109-a77df52918fa" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "1998-01-30T03:25:21-05:00", - "end": "1998-01-30T03:40:21-05:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "1998-01-30T03:25:21-05:00", - "end": "1998-01-30T03:40:21-05:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344", - "resource": { - "resourceType": "Condition", - "id": "6fcef45f-c022-4a43-a026-491b9e8ab344", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" - ] - }, - "clinicalStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "active" - } - ] - }, - "verificationStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", - "code": "confirmed" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-category", - "code": "encounter-diagnosis", - "display": "Encounter Diagnosis" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "59621000", - "display": "Hypertension" - } - ], - "text": "Hypertension" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" - }, - "onsetDateTime": "1998-01-30T03:25:21-05:00", - "recordedDate": "1998-01-30T03:25:21-05:00" - }, - "request": { - "method": "POST", - "url": "Condition" - } - }, - { - "fullUrl": "urn:uuid:1079548d-b5e4-468e-a4dc-d7f30a87608d", - "resource": { - "resourceType": "CareTeam", - "id": "1079548d-b5e4-468e-a4dc-d7f30a87608d", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" - ] - }, - "status": "active", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" - }, - "period": { - "start": "1998-01-30T03:25:21-05:00" - }, - "participant": [ - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "116153009", - "display": "Patient" - } - ], - "text": "Patient" - } - ], - "member": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - } - }, - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "223366009", - "display": "Healthcare professional (occupation)" - } - ], - "text": "Healthcare professional (occupation)" - } - ], - "member": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - }, - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "224891009", - "display": "Healthcare services (qualifier value)" - } - ], - "text": "Healthcare services (qualifier value)" - } - ], - "member": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "59621000", - "display": "Hypertension" - } - ], - "text": "Hypertension" - } - ], - "managingOrganization": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ] - }, - "request": { - "method": "POST", - "url": "CareTeam" - } - }, - { - "fullUrl": "urn:uuid:f76c8a86-2731-45a8-a41d-f3739d5a9f9f", - "resource": { - "resourceType": "Goal", - "id": "f76c8a86-2731-45a8-a41d-f3739d5a9f9f", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" - ] - }, - "lifecycleStatus": "accepted", - "achievementStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", - "code": "in-progress" - } - ] - }, - "description": { - "text": "Maintain blood pressure below 140/90 mm[Hg]" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "target": [ - { - "measure": { - "text": "Maintain blood pressure below 140/90 mm[Hg]" - }, - "dueDate": "1998-03-01" - } - ] - }, - "request": { - "method": "POST", - "url": "Goal" - } - }, - { - "fullUrl": "urn:uuid:3ff6bc3c-e123-424f-a19b-8e46ea3b592a", - "resource": { - "resourceType": "Goal", - "id": "3ff6bc3c-e123-424f-a19b-8e46ea3b592a", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" - ] - }, - "lifecycleStatus": "accepted", - "achievementStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", - "code": "in-progress" - } - ] - }, - "description": { - "text": "Reduce sodium intake to no more than 2,400 mg/day" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "target": [ - { - "measure": { - "text": "Reduce sodium intake to no more than 2,400 mg/day" - }, - "dueDate": "1998-03-01" - } - ] - }, - "request": { - "method": "POST", - "url": "Goal" - } - }, - { - "fullUrl": "urn:uuid:a22344fd-f2d8-44c3-8a27-192ff2335d57", - "resource": { - "resourceType": "CarePlan", - "id": "a22344fd-f2d8-44c3-8a27-192ff2335d57", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" - ] - }, - "text": { - "status": "generated", - "div": "
Care Plan for Lifestyle education regarding hypertension.
Activities:
  • Lifestyle education regarding hypertension
  • Lifestyle education regarding hypertension
  • Lifestyle education regarding hypertension
  • Lifestyle education regarding hypertension

Care plan is meant to treat Hypertension.
" - }, - "status": "active", - "intent": "order", - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", - "code": "assess-plan" - } - ] - }, - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "443402002", - "display": "Lifestyle education regarding hypertension" - } - ], - "text": "Lifestyle education regarding hypertension" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" - }, - "period": { - "start": "1998-01-30T03:25:21-05:00" - }, - "careTeam": [ - { - "reference": "urn:uuid:1079548d-b5e4-468e-a4dc-d7f30a87608d" - } - ], - "addresses": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "goal": [ - { - "reference": "urn:uuid:f76c8a86-2731-45a8-a41d-f3739d5a9f9f" - }, - { - "reference": "urn:uuid:3ff6bc3c-e123-424f-a19b-8e46ea3b592a" - } - ], - "activity": [ - { - "detail": { - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "386463000", - "display": "Prescribed activity/exercise education" - } - ], - "text": "Prescribed activity/exercise education" - }, - "status": "in-progress", - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - }, - { - "detail": { - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "413473000", - "display": "Counseling about alcohol consumption" - } - ], - "text": "Counseling about alcohol consumption" - }, - "status": "in-progress", - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - }, - { - "detail": { - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "1151000175103", - "display": "Dietary approaches to stop hypertension diet" - } - ], - "text": "Dietary approaches to stop hypertension diet" - }, - "status": "in-progress", - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - }, - { - "detail": { - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "225323000", - "display": "Smoking cessation education" - } - ], - "text": "Smoking cessation education" - }, - "status": "in-progress", - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - } - ] - }, - "request": { - "method": "POST", - "url": "CarePlan" - } - }, - { - "fullUrl": "urn:uuid:a4bb4455-c9ea-43b0-a158-f20104fe3b31", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a4bb4455-c9ea-43b0-a158-f20104fe3b31", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" - }, - "effectiveDateTime": "1998-01-30T03:25:21-05:00", - "issued": "1998-01-30T03:25:21.151-05:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjE5OTgtMDEtMzAKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGlzIGFuIGFjdGl2ZSBzbW9rZXIgYW5kIGlzIGFuIGFsY29ob2xpYy4gUGF0aWVudCBpZGVudGlmaWVzIGFzIGhldGVyb3NleHVhbC4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgaGFzIGEgaGlnaCBzY2hvb2wgZWR1Y2F0aW9uLiBQYXRpZW50IGN1cnJlbnRseSBoYXMgQ2lnbmEgSGVhbHRoLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwpObyBBY3RpdmUgTWVkaWNhdGlvbnMuCgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KUGF0aWVudCBpcyBwcmVzZW50aW5nIHdpdGggaHlwZXJ0ZW5zaW9uLiAKCiMjIFBsYW4KClRoZSBwYXRpZW50IHdhcyBwbGFjZWQgb24gYSBjYXJlcGxhbjoKLSBsaWZlc3R5bGUgZWR1Y2F0aW9uIHJlZ2FyZGluZyBoeXBlcnRlbnNpb24K" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:afa2cd14-9f05-47ba-a1f8-4b294ff3c1d3", - "resource": { - "resourceType": "DocumentReference", - "id": "afa2cd14-9f05-47ba-a1f8-4b294ff3c1d3", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "a4bb4455-c9ea-43b0-a158-f20104fe3b31" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "1998-01-30T03:25:21.151-05:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjE5OTgtMDEtMzAKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGlzIGFuIGFjdGl2ZSBzbW9rZXIgYW5kIGlzIGFuIGFsY29ob2xpYy4gUGF0aWVudCBpZGVudGlmaWVzIGFzIGhldGVyb3NleHVhbC4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgaGFzIGEgaGlnaCBzY2hvb2wgZWR1Y2F0aW9uLiBQYXRpZW50IGN1cnJlbnRseSBoYXMgQ2lnbmEgSGVhbHRoLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwpObyBBY3RpdmUgTWVkaWNhdGlvbnMuCgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KUGF0aWVudCBpcyBwcmVzZW50aW5nIHdpdGggaHlwZXJ0ZW5zaW9uLiAKCiMjIFBsYW4KClRoZSBwYXRpZW50IHdhcyBwbGFjZWQgb24gYSBjYXJlcGxhbjoKLSBsaWZlc3R5bGUgZWR1Y2F0aW9uIHJlZ2FyZGluZyBoeXBlcnRlbnNpb24K" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" - } - ], - "period": { - "start": "1998-01-30T03:25:21-05:00", - "end": "1998-01-30T03:40:21-05:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:babd4d54-5160-49c3-a48d-743bc18261b0", - "resource": { - "resourceType": "Claim", - "id": "babd4d54-5160-49c3-a48d-743bc18261b0", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "1998-01-30T03:25:21-05:00", - "end": "1998-01-30T03:40:21-05:00" - }, - "created": "1998-01-30T03:40:21-05:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "diagnosis": [ - { - "sequence": 1, - "diagnosisReference": { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - } - ], - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" - } - ] - }, - { - "sequence": 2, - "diagnosisSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "59621000", - "display": "Hypertension" - } - ], - "text": "Hypertension" - } - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:bbfd08e2-a360-4a69-ab18-47ecbd2a905f", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "bbfd08e2-a360-4a69-ab18-47ecbd2a905f", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Cigna Health" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Cigna Health" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "babd4d54-5160-49c3-a48d-743bc18261b0" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "1998-01-30T03:40:21-05:00", - "end": "1999-01-30T03:40:21-05:00" - }, - "created": "1998-01-30T03:40:21-05:00", - "insurer": { - "display": "Cigna Health" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:babd4d54-5160-49c3-a48d-743bc18261b0" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "diagnosis": [ - { - "sequence": 1, - "diagnosisReference": { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - }, - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", - "code": "principal" - } - ] - } - ] - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "1998-01-30T03:25:21-05:00", - "end": "1998-01-30T03:40:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" - } - ] - }, - { - "sequence": 2, - "diagnosisSequence": [ - 1 - ], - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "59621000", - "display": "Hypertension" - } - ], - "text": "Hypertension" - }, - "servicedPeriod": { - "start": "1998-01-30T03:25:21-05:00", - "end": "1998-01-30T03:40:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - } - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff", - "resource": { - "resourceType": "Encounter", - "id": "48c605b5-a3bd-4d10-a03c-68b92abeedff", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "48c605b5-a3bd-4d10-a03c-68b92abeedff" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "390906007", - "display": "Hypertension follow-up encounter" - } - ], - "text": "Hypertension follow-up encounter" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "1998-03-01T03:25:21-05:00", - "end": "1998-03-01T03:40:21-05:00" - }, - "individual": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - } - } - ], - "period": { - "start": "1998-03-01T03:25:21-05:00", - "end": "1998-03-01T03:40:21-05:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:f48e166f-e816-4dd2-ae9a-f745c788b5dc", - "resource": { - "resourceType": "MedicationRequest", - "id": "f48e166f-e816-4dd2-ae9a-f745c788b5dc", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" - }, - "authoredOn": "1998-03-01T03:25:21-05:00", - "requester": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:5a2fd146-bed1-4588-ad05-da3e0f2b839a", - "resource": { - "resourceType": "Claim", - "id": "5a2fd146-bed1-4588-ad05-da3e0f2b839a", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "1998-03-01T03:25:21-05:00", - "end": "1998-03-01T03:40:21-05:00" - }, - "created": "1998-03-01T03:40:21-05:00", - "provider": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:f48e166f-e816-4dd2-ae9a-f745c788b5dc" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "390906007", - "display": "Hypertension follow-up encounter" - } - ], - "text": "Hypertension follow-up encounter" - }, - "encounter": [ - { - "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:ce90da04-67b3-4bf8-b634-ad32231416e2", - "resource": { - "resourceType": "DiagnosticReport", - "id": "ce90da04-67b3-4bf8-b634-ad32231416e2", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" - }, - "effectiveDateTime": "1998-03-01T03:25:21-05:00", - "issued": "1998-03-01T03:25:21.151-05:00", - "performer": [ - { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjE5OTgtMDMtMDEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGlzIGFuIGFjdGl2ZSBzbW9rZXIgYW5kIGlzIGFuIGFsY29ob2xpYy4gUGF0aWVudCBpZGVudGlmaWVzIGFzIGhldGVyb3NleHVhbC4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgaGFzIGEgaGlnaCBzY2hvb2wgZWR1Y2F0aW9uLiBQYXRpZW50IGN1cnJlbnRseSBoYXMgQ2lnbmEgSGVhbHRoLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwpObyBBY3RpdmUgTWVkaWNhdGlvbnMuCgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQK" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:b350966e-2568-41e0-88a2-e9d5f4c809ef", - "resource": { - "resourceType": "DocumentReference", - "id": "b350966e-2568-41e0-88a2-e9d5f4c809ef", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "ce90da04-67b3-4bf8-b634-ad32231416e2" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "1998-03-01T03:25:21.151-05:00", - "author": [ - { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - } - ], - "custodian": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjE5OTgtMDMtMDEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5CiBQYXRpZW50IGlzIGFuIGFjdGl2ZSBzbW9rZXIgYW5kIGlzIGFuIGFsY29ob2xpYy4gUGF0aWVudCBpZGVudGlmaWVzIGFzIGhldGVyb3NleHVhbC4KClBhdGllbnQgY29tZXMgZnJvbSBhIG1pZGRsZSBzb2Npb2Vjb25vbWljIGJhY2tncm91bmQuIFBhdGllbnQgaGFzIGEgaGlnaCBzY2hvb2wgZWR1Y2F0aW9uLiBQYXRpZW50IGN1cnJlbnRseSBoYXMgQ2lnbmEgSGVhbHRoLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwpObyBBY3RpdmUgTWVkaWNhdGlvbnMuCgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQK" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" - } - ], - "period": { - "start": "1998-03-01T03:25:21-05:00", - "end": "1998-03-01T03:40:21-05:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:444f7f44-2f77-4f02-88be-d9544bf3c631", - "resource": { - "resourceType": "Claim", - "id": "444f7f44-2f77-4f02-88be-d9544bf3c631", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "1998-03-01T03:25:21-05:00", - "end": "1998-03-01T03:40:21-05:00" - }, - "created": "1998-03-01T03:40:21-05:00", - "provider": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "390906007", - "display": "Hypertension follow-up encounter" - } - ], - "text": "Hypertension follow-up encounter" - }, - "encounter": [ - { - "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" - } - ] - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:0ef8e051-1fe0-43ba-a9de-3e168192361b", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "0ef8e051-1fe0-43ba-a9de-3e168192361b", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - }, - "performer": [ - { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Cigna Health" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Cigna Health" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "444f7f44-2f77-4f02-88be-d9544bf3c631" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "1998-03-01T03:40:21-05:00", - "end": "1999-03-01T03:40:21-05:00" - }, - "created": "1998-03-01T03:40:21-05:00", - "insurer": { - "display": "Cigna Health" - }, - "provider": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "claim": { - "reference": "urn:uuid:444f7f44-2f77-4f02-88be-d9544bf3c631" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "390906007", - "display": "Hypertension follow-up encounter" - } - ], - "text": "Hypertension follow-up encounter" - }, - "servicedPeriod": { - "start": "1998-03-01T03:25:21-05:00", - "end": "1998-03-01T03:40:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "21", - "display": "Inpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079", - "resource": { - "resourceType": "Encounter", - "id": "7f6a08e7-8b72-40c3-941b-306f60f41079", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "7f6a08e7-8b72-40c3-941b-306f60f41079" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "1999-02-05T03:25:21-05:00", - "end": "1999-02-05T03:55:21-05:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "1999-02-05T03:25:21-05:00", - "end": "1999-02-05T03:55:21-05:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:01dc96f0-9960-468a-90ca-712762e05604", - "resource": { - "resourceType": "MedicationRequest", - "id": "01dc96f0-9960-468a-90ca-712762e05604", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" - }, - "authoredOn": "1999-02-05T03:25:21-05:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:7d8373e5-41fe-44b4-963a-29e0634ba3ef", - "resource": { - "resourceType": "Claim", - "id": "7d8373e5-41fe-44b4-963a-29e0634ba3ef", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "1999-02-05T03:25:21-05:00", - "end": "1999-02-05T03:55:21-05:00" - }, - "created": "1999-02-05T03:55:21-05:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:01dc96f0-9960-468a-90ca-712762e05604" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:7f47ee0b-158c-44a9-82c5-6d1119de5fca", - "resource": { - "resourceType": "DiagnosticReport", - "id": "7f47ee0b-158c-44a9-82c5-6d1119de5fca", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" - }, - "effectiveDateTime": "1999-02-05T03:25:21-05:00", - "issued": "1999-02-05T03:25:21.151-05:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjE5OTktMDItMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:28c7e6cc-5db8-415c-9e5e-eb74ddd0a163", - "resource": { - "resourceType": "DocumentReference", - "id": "28c7e6cc-5db8-415c-9e5e-eb74ddd0a163", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "7f47ee0b-158c-44a9-82c5-6d1119de5fca" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "1999-02-05T03:25:21.151-05:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjE5OTktMDItMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDE5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" - } - ], - "period": { - "start": "1999-02-05T03:25:21-05:00", - "end": "1999-02-05T03:55:21-05:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:0f29c123-8355-4b9c-8bc2-f09991b7f642", - "resource": { - "resourceType": "Claim", - "id": "0f29c123-8355-4b9c-8bc2-f09991b7f642", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "1999-02-05T03:25:21-05:00", - "end": "1999-02-05T03:55:21-05:00" - }, - "created": "1999-02-05T03:55:21-05:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" - } - ] - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:01a531f8-8a5f-46e8-8484-9964ea6d5751", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "01a531f8-8a5f-46e8-8484-9964ea6d5751", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Cigna Health" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Cigna Health" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "0f29c123-8355-4b9c-8bc2-f09991b7f642" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "1999-02-05T03:55:21-05:00", - "end": "2000-02-05T03:55:21-05:00" - }, - "created": "1999-02-05T03:55:21-05:00", - "insurer": { - "display": "Cigna Health" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:0f29c123-8355-4b9c-8bc2-f09991b7f642" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "1999-02-05T03:25:21-05:00", - "end": "1999-02-05T03:55:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b", - "resource": { - "resourceType": "Encounter", - "id": "4614e2b1-54b4-4d01-a257-90c98eea733b", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "4614e2b1-54b4-4d01-a257-90c98eea733b" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2000-02-11T03:25:21-05:00", - "end": "2000-02-11T03:40:21-05:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2000-02-11T03:25:21-05:00", - "end": "2000-02-11T03:40:21-05:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:9ec3f089-85d4-4859-9ab5-bb8486af95a7", - "resource": { - "resourceType": "MedicationRequest", - "id": "9ec3f089-85d4-4859-9ab5-bb8486af95a7", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" - }, - "authoredOn": "2000-02-11T03:25:21-05:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:90dfc8d5-4157-4430-86e7-493a9ab8dde8", - "resource": { - "resourceType": "Claim", - "id": "90dfc8d5-4157-4430-86e7-493a9ab8dde8", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2000-02-11T03:25:21-05:00", - "end": "2000-02-11T03:40:21-05:00" - }, - "created": "2000-02-11T03:40:21-05:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:9ec3f089-85d4-4859-9ab5-bb8486af95a7" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:f17db13f-0743-4fa4-90d8-1733c559a5c6", - "resource": { - "resourceType": "DiagnosticReport", - "id": "f17db13f-0743-4fa4-90d8-1733c559a5c6", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" - }, - "effectiveDateTime": "2000-02-11T03:25:21-05:00", - "issued": "2000-02-11T03:25:21.151-05:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMDAtMDItMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIwIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:e3f1364c-0edc-49ed-875f-09115ac366f7", - "resource": { - "resourceType": "DocumentReference", - "id": "e3f1364c-0edc-49ed-875f-09115ac366f7", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "f17db13f-0743-4fa4-90d8-1733c559a5c6" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2000-02-11T03:25:21.151-05:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMDAtMDItMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIwIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" - } - ], - "period": { - "start": "2000-02-11T03:25:21-05:00", - "end": "2000-02-11T03:40:21-05:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:921df6c6-9262-4d06-9fd1-4626ca2904a5", - "resource": { - "resourceType": "Claim", - "id": "921df6c6-9262-4d06-9fd1-4626ca2904a5", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2000-02-11T03:25:21-05:00", - "end": "2000-02-11T03:40:21-05:00" - }, - "created": "2000-02-11T03:40:21-05:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" - } - ] - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:7850fc54-4189-45c8-bdf4-a6f8b6b3119a", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "7850fc54-4189-45c8-bdf4-a6f8b6b3119a", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Cigna Health" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Cigna Health" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "921df6c6-9262-4d06-9fd1-4626ca2904a5" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2000-02-11T03:40:21-05:00", - "end": "2001-02-11T03:40:21-05:00" - }, - "created": "2000-02-11T03:40:21-05:00", - "insurer": { - "display": "Cigna Health" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:921df6c6-9262-4d06-9fd1-4626ca2904a5" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2000-02-11T03:25:21-05:00", - "end": "2000-02-11T03:40:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2", - "resource": { - "resourceType": "Encounter", - "id": "885c8502-5dbc-421f-9cd6-160ff5c635a2", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "885c8502-5dbc-421f-9cd6-160ff5c635a2" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "308335008", - "display": "Patient encounter procedure" - } - ], - "text": "Patient encounter procedure" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2001-02-16T03:25:21-05:00", - "end": "2001-02-16T03:59:21-05:00" - }, - "individual": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - } - } - ], - "period": { - "start": "2001-02-16T03:25:21-05:00", - "end": "2001-02-16T03:59:21-05:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "display": "MOUNT AUBURN HOSPITAL" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:36c176e3-5827-4ee1-8119-fd02558ebb86", - "resource": { - "resourceType": "MedicationRequest", - "id": "36c176e3-5827-4ee1-8119-fd02558ebb86", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" - }, - "authoredOn": "2001-02-16T03:25:21-05:00", - "requester": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:e5accce6-ecbe-4232-9ac7-835bc6911f27", - "resource": { - "resourceType": "Claim", - "id": "e5accce6-ecbe-4232-9ac7-835bc6911f27", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2001-02-16T03:25:21-05:00", - "end": "2001-02-16T03:59:21-05:00" - }, - "created": "2001-02-16T03:59:21-05:00", - "provider": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:36c176e3-5827-4ee1-8119-fd02558ebb86" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "308335008", - "display": "Patient encounter procedure" - } - ], - "text": "Patient encounter procedure" - }, - "encounter": [ - { - "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:99c2bbb3-ab22-4e45-b30c-9565d584663c", - "resource": { - "resourceType": "DiagnosticReport", - "id": "99c2bbb3-ab22-4e45-b30c-9565d584663c", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" - }, - "effectiveDateTime": "2001-02-16T03:25:21-05:00", - "issued": "2001-02-16T03:25:21.151-05:00", - "performer": [ - { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMDEtMDItMTYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIxIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:a82b33b2-3e98-4014-ab04-a2a8d33f21ca", - "resource": { - "resourceType": "DocumentReference", - "id": "a82b33b2-3e98-4014-ab04-a2a8d33f21ca", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "99c2bbb3-ab22-4e45-b30c-9565d584663c" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2001-02-16T03:25:21.151-05:00", - "author": [ - { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - } - ], - "custodian": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMDEtMDItMTYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIxIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" - } - ], - "period": { - "start": "2001-02-16T03:25:21-05:00", - "end": "2001-02-16T03:59:21-05:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:ae602309-d9dc-424a-aadc-8d02608be360", - "resource": { - "resourceType": "Claim", - "id": "ae602309-d9dc-424a-aadc-8d02608be360", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2001-02-16T03:25:21-05:00", - "end": "2001-02-16T03:59:21-05:00" - }, - "created": "2001-02-16T03:59:21-05:00", - "provider": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "display": "MOUNT AUBURN HOSPITAL" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "308335008", - "display": "Patient encounter procedure" - } - ], - "text": "Patient encounter procedure" - }, - "encounter": [ - { - "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" - } - ] - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:dffd219c-6d86-4813-a843-d83046b8a5df", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "dffd219c-6d86-4813-a843-d83046b8a5df", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - }, - "performer": [ - { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "NO_INSURANCE" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "NO_INSURANCE" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "ae602309-d9dc-424a-aadc-8d02608be360" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2001-02-16T03:59:21-05:00", - "end": "2002-02-16T03:59:21-05:00" - }, - "created": "2001-02-16T03:59:21-05:00", - "insurer": { - "display": "NO_INSURANCE" - }, - "provider": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "display": "MOUNT AUBURN HOSPITAL" - }, - "claim": { - "reference": "urn:uuid:ae602309-d9dc-424a-aadc-8d02608be360" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "308335008", - "display": "Patient encounter procedure" - } - ], - "text": "Patient encounter procedure" - }, - "servicedPeriod": { - "start": "2001-02-16T03:25:21-05:00", - "end": "2001-02-16T03:59:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "21", - "display": "Inpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f", - "resource": { - "resourceType": "Encounter", - "id": "1ab1c91b-f11a-4792-82dd-3a39a96d6c5f", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2002-02-22T03:25:21-05:00", - "end": "2002-02-22T03:55:21-05:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2002-02-22T03:25:21-05:00", - "end": "2002-02-22T03:55:21-05:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:49890f9e-0c45-4242-8700-5dd9db1e691e", - "resource": { - "resourceType": "MedicationRequest", - "id": "49890f9e-0c45-4242-8700-5dd9db1e691e", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" - }, - "authoredOn": "2002-02-22T03:25:21-05:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:9d3741e1-b8ab-434e-8222-8130b06ce54e", - "resource": { - "resourceType": "Claim", - "id": "9d3741e1-b8ab-434e-8222-8130b06ce54e", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2002-02-22T03:25:21-05:00", - "end": "2002-02-22T03:55:21-05:00" - }, - "created": "2002-02-22T03:55:21-05:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:49890f9e-0c45-4242-8700-5dd9db1e691e" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:6aaa38f3-9da8-456c-8e3e-401cca32fd02", - "resource": { - "resourceType": "DiagnosticReport", - "id": "6aaa38f3-9da8-456c-8e3e-401cca32fd02", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" - }, - "effectiveDateTime": "2002-02-22T03:25:21-05:00", - "issued": "2002-02-22T03:25:21.151-05:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMDItMDItMjIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIyIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:02593c2f-a85b-4fb0-834e-52f927ec454e", - "resource": { - "resourceType": "DocumentReference", - "id": "02593c2f-a85b-4fb0-834e-52f927ec454e", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "6aaa38f3-9da8-456c-8e3e-401cca32fd02" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2002-02-22T03:25:21.151-05:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMDItMDItMjIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIyIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" - } - ], - "period": { - "start": "2002-02-22T03:25:21-05:00", - "end": "2002-02-22T03:55:21-05:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:4faf80e8-4ab1-45c6-aaa9-684a0fc3b6c0", - "resource": { - "resourceType": "Claim", - "id": "4faf80e8-4ab1-45c6-aaa9-684a0fc3b6c0", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2002-02-22T03:25:21-05:00", - "end": "2002-02-22T03:55:21-05:00" - }, - "created": "2002-02-22T03:55:21-05:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" - } - ] - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:5a1ca1d5-0fd0-4d77-b70c-3efaadbfd25a", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "5a1ca1d5-0fd0-4d77-b70c-3efaadbfd25a", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Cigna Health" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Cigna Health" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "4faf80e8-4ab1-45c6-aaa9-684a0fc3b6c0" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2002-02-22T03:55:21-05:00", - "end": "2003-02-22T03:55:21-05:00" - }, - "created": "2002-02-22T03:55:21-05:00", - "insurer": { - "display": "Cigna Health" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:4faf80e8-4ab1-45c6-aaa9-684a0fc3b6c0" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2002-02-22T03:25:21-05:00", - "end": "2002-02-22T03:55:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f", - "resource": { - "resourceType": "Encounter", - "id": "0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2003-02-28T03:25:21-05:00", - "end": "2003-02-28T03:40:21-05:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2003-02-28T03:25:21-05:00", - "end": "2003-02-28T03:40:21-05:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:10e53d12-2a17-4a2e-afed-67a0337e429e", - "resource": { - "resourceType": "MedicationRequest", - "id": "10e53d12-2a17-4a2e-afed-67a0337e429e", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" - }, - "authoredOn": "2003-02-28T03:25:21-05:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:ea667003-44ed-47b6-890d-e50ebf6d109b", - "resource": { - "resourceType": "Claim", - "id": "ea667003-44ed-47b6-890d-e50ebf6d109b", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2003-02-28T03:25:21-05:00", - "end": "2003-02-28T03:40:21-05:00" - }, - "created": "2003-02-28T03:40:21-05:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:10e53d12-2a17-4a2e-afed-67a0337e429e" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:c1327a2a-37b0-4cda-bce4-8fd9774969c5", - "resource": { - "resourceType": "DiagnosticReport", - "id": "c1327a2a-37b0-4cda-bce4-8fd9774969c5", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" - }, - "effectiveDateTime": "2003-02-28T03:25:21-05:00", - "issued": "2003-02-28T03:25:21.151-05:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMDMtMDItMjgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:d55686db-2b30-4e27-a431-d444492a6c0b", - "resource": { - "resourceType": "DocumentReference", - "id": "d55686db-2b30-4e27-a431-d444492a6c0b", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "c1327a2a-37b0-4cda-bce4-8fd9774969c5" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2003-02-28T03:25:21.151-05:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMDMtMDItMjgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDIzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIENpZ25hIEhlYWx0aC4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" - } - ], - "period": { - "start": "2003-02-28T03:25:21-05:00", - "end": "2003-02-28T03:40:21-05:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:bf009133-9c61-4431-9bcd-8b0e88c2b27d", - "resource": { - "resourceType": "Claim", - "id": "bf009133-9c61-4431-9bcd-8b0e88c2b27d", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2003-02-28T03:25:21-05:00", - "end": "2003-02-28T03:40:21-05:00" - }, - "created": "2003-02-28T03:40:21-05:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" - } - ] - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:89165033-b8e4-4325-a906-33f4665e588f", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "89165033-b8e4-4325-a906-33f4665e588f", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Cigna Health" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Cigna Health" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "bf009133-9c61-4431-9bcd-8b0e88c2b27d" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2003-02-28T03:40:21-05:00", - "end": "2004-02-28T03:40:21-05:00" - }, - "created": "2003-02-28T03:40:21-05:00", - "insurer": { - "display": "Cigna Health" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:bf009133-9c61-4431-9bcd-8b0e88c2b27d" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Cigna Health" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2003-02-28T03:25:21-05:00", - "end": "2003-02-28T03:40:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc", - "resource": { - "resourceType": "Encounter", - "id": "12163eb5-768d-487c-b350-aad7122743bc", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "12163eb5-768d-487c-b350-aad7122743bc" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2004-03-05T03:25:21-05:00", - "end": "2004-03-05T03:55:21-05:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2004-03-05T03:25:21-05:00", - "end": "2004-03-05T03:55:21-05:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:3d18b777-7c11-4c1f-88ec-0c385a2e70da", - "resource": { - "resourceType": "Condition", - "id": "3d18b777-7c11-4c1f-88ec-0c385a2e70da", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" - ] - }, - "clinicalStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "active" - } - ] - }, - "verificationStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", - "code": "confirmed" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-category", - "code": "encounter-diagnosis", - "display": "Encounter Diagnosis" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "15777000", - "display": "Prediabetes" - } - ], - "text": "Prediabetes" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" - }, - "onsetDateTime": "2004-03-05T03:25:21-05:00", - "recordedDate": "2004-03-05T03:25:21-05:00" - }, - "request": { - "method": "POST", - "url": "Condition" - } - }, - { - "fullUrl": "urn:uuid:673b17bc-5467-4587-b95a-5538e5411bbb", - "resource": { - "resourceType": "Condition", - "id": "673b17bc-5467-4587-b95a-5538e5411bbb", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" - ] - }, - "clinicalStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "active" - } - ] - }, - "verificationStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", - "code": "confirmed" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-category", - "code": "encounter-diagnosis", - "display": "Encounter Diagnosis" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "271737000", - "display": "Anemia (disorder)" - } - ], - "text": "Anemia (disorder)" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" - }, - "onsetDateTime": "2004-03-05T03:25:21-05:00", - "recordedDate": "2004-03-05T03:25:21-05:00" - }, - "request": { - "method": "POST", - "url": "Condition" - } - }, - { - "fullUrl": "urn:uuid:615fcb6c-db2e-4f6a-be23-62dec27f1d8d", - "resource": { - "resourceType": "MedicationRequest", - "id": "615fcb6c-db2e-4f6a-be23-62dec27f1d8d", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" - }, - "authoredOn": "2004-03-05T03:25:21-05:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:cccb1957-2a02-4bb7-ac4e-51488d6167f3", - "resource": { - "resourceType": "Claim", - "id": "cccb1957-2a02-4bb7-ac4e-51488d6167f3", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2004-03-05T03:25:21-05:00", - "end": "2004-03-05T03:55:21-05:00" - }, - "created": "2004-03-05T03:55:21-05:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:615fcb6c-db2e-4f6a-be23-62dec27f1d8d" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Medicaid" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:5b8ec926-7097-4d05-a79f-bccb435c1fd1", - "resource": { - "resourceType": "CareTeam", - "id": "5b8ec926-7097-4d05-a79f-bccb435c1fd1", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" - ] - }, - "status": "active", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" - }, - "period": { - "start": "2004-03-05T03:25:21-05:00" - }, - "participant": [ - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "116153009", - "display": "Patient" - } - ], - "text": "Patient" - } - ], - "member": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - } - }, - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "223366009", - "display": "Healthcare professional (occupation)" - } - ], - "text": "Healthcare professional (occupation)" - } - ], - "member": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - }, - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "224891009", - "display": "Healthcare services (qualifier value)" - } - ], - "text": "Healthcare services (qualifier value)" - } - ], - "member": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "15777000", - "display": "Prediabetes" - } - ], - "text": "Prediabetes" - } - ], - "managingOrganization": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ] - }, - "request": { - "method": "POST", - "url": "CareTeam" - } - }, - { - "fullUrl": "urn:uuid:4ccea939-1dbc-4f1f-8e8f-5c3b65864407", - "resource": { - "resourceType": "Goal", - "id": "4ccea939-1dbc-4f1f-8e8f-5c3b65864407", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" - ] - }, - "lifecycleStatus": "accepted", - "achievementStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", - "code": "in-progress" - } - ] - }, - "description": { - "text": "Hemoglobin A1c total in Blood < 7.0" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "target": [ - { - "measure": { - "text": "Hemoglobin A1c total in Blood < 7.0" - }, - "dueDate": "2004-04-04" - } - ] - }, - "request": { - "method": "POST", - "url": "Goal" - } - }, - { - "fullUrl": "urn:uuid:c52ee846-a4e0-4036-a32e-4e6ae5a2b6df", - "resource": { - "resourceType": "Goal", - "id": "c52ee846-a4e0-4036-a32e-4e6ae5a2b6df", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" - ] - }, - "lifecycleStatus": "accepted", - "achievementStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", - "code": "in-progress" - } - ] - }, - "description": { - "text": "Glucose [Mass/volume] in Blood < 108" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "target": [ - { - "measure": { - "text": "Glucose [Mass/volume] in Blood < 108" - }, - "dueDate": "2004-04-04" - } - ] - }, - "request": { - "method": "POST", - "url": "Goal" - } - }, - { - "fullUrl": "urn:uuid:994bd33c-f03d-4dd1-be77-b35d3e6ba44c", - "resource": { - "resourceType": "Goal", - "id": "994bd33c-f03d-4dd1-be77-b35d3e6ba44c", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" - ] - }, - "lifecycleStatus": "accepted", - "achievementStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", - "code": "in-progress" - } - ] - }, - "description": { - "text": "Maintain blood pressure below 140/90 mmHg" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "target": [ - { - "measure": { - "text": "Maintain blood pressure below 140/90 mmHg" - }, - "dueDate": "2004-04-04" - } - ] - }, - "request": { - "method": "POST", - "url": "Goal" - } - }, - { - "fullUrl": "urn:uuid:916308a4-0e0f-4fe1-9d17-95d528ed5edf", - "resource": { - "resourceType": "Goal", - "id": "916308a4-0e0f-4fe1-9d17-95d528ed5edf", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" - ] - }, - "lifecycleStatus": "accepted", - "achievementStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", - "code": "in-progress" - } - ] - }, - "description": { - "text": "Improve and maintenance of optimal foot health: aim at early detection of peripheral vascular problems and neuropathy presumed due to diabetes; and prevention of diabetic foot ulcer, gangrene" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "target": [ - { - "measure": { - "text": "Improve and maintenance of optimal foot health: aim at early detection of peripheral vascular problems and neuropathy presumed due to diabetes; and prevention of diabetic foot ulcer, gangrene" - }, - "dueDate": "2004-04-04" - } - ] - }, - "request": { - "method": "POST", - "url": "Goal" - } - }, - { - "fullUrl": "urn:uuid:a9060b72-9c3b-4c98-9736-9eaa91bbb58b", - "resource": { - "resourceType": "Goal", - "id": "a9060b72-9c3b-4c98-9736-9eaa91bbb58b", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" - ] - }, - "lifecycleStatus": "accepted", - "achievementStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/goal-achievement", - "code": "in-progress" - } - ] - }, - "description": { - "text": "Address patient knowledge deficit on diabetic self-care" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "target": [ - { - "measure": { - "text": "Address patient knowledge deficit on diabetic self-care" - }, - "dueDate": "2004-04-04" - } - ] - }, - "request": { - "method": "POST", - "url": "Goal" - } - }, - { - "fullUrl": "urn:uuid:21fefa4d-a65b-424e-a7e0-7aa47b0c4210", - "resource": { - "resourceType": "CarePlan", - "id": "21fefa4d-a65b-424e-a7e0-7aa47b0c4210", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" - ] - }, - "text": { - "status": "generated", - "div": "
Care Plan for Diabetes self management plan.
Activities:
  • Diabetes self management plan
  • Diabetes self management plan

Care plan is meant to treat Prediabetes.
" - }, - "status": "active", - "intent": "order", - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", - "code": "assess-plan" - } - ] - }, - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "698360004", - "display": "Diabetes self management plan" - } - ], - "text": "Diabetes self management plan" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" - }, - "period": { - "start": "2004-03-05T03:25:21-05:00" - }, - "careTeam": [ - { - "reference": "urn:uuid:5b8ec926-7097-4d05-a79f-bccb435c1fd1" - } - ], - "addresses": [ - { - "reference": "urn:uuid:3d18b777-7c11-4c1f-88ec-0c385a2e70da" - } - ], - "goal": [ - { - "reference": "urn:uuid:4ccea939-1dbc-4f1f-8e8f-5c3b65864407" - }, - { - "reference": "urn:uuid:c52ee846-a4e0-4036-a32e-4e6ae5a2b6df" - }, - { - "reference": "urn:uuid:994bd33c-f03d-4dd1-be77-b35d3e6ba44c" - }, - { - "reference": "urn:uuid:916308a4-0e0f-4fe1-9d17-95d528ed5edf" - }, - { - "reference": "urn:uuid:a9060b72-9c3b-4c98-9736-9eaa91bbb58b" - } - ], - "activity": [ - { - "detail": { - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "160670007", - "display": "Diabetic diet" - } - ], - "text": "Diabetic diet" - }, - "status": "in-progress", - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - }, - { - "detail": { - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "229065009", - "display": "Exercise therapy" - } - ], - "text": "Exercise therapy" - }, - "status": "in-progress", - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - } - ] - }, - "request": { - "method": "POST", - "url": "CarePlan" - } - }, - { - "fullUrl": "urn:uuid:29737665-7ca5-41e4-8412-87fa3c4ad358", - "resource": { - "resourceType": "DiagnosticReport", - "id": "29737665-7ca5-41e4-8412-87fa3c4ad358", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" - }, - "effectiveDateTime": "2004-03-05T03:25:21-05:00", - "issued": "2004-03-05T03:25:21.151-05:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMDQtMDMtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIE1lZGljYWlkLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwphdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0CgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KUGF0aWVudCBpcyBwcmVzZW50aW5nIHdpdGggcHJlZGlhYmV0ZXMsIGFuZW1pYSAoZGlzb3JkZXIpLiAKCiMjIFBsYW4KClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldApUaGUgcGF0aWVudCB3YXMgcGxhY2VkIG9uIGEgY2FyZXBsYW46Ci0gZGlhYmV0ZXMgc2VsZiBtYW5hZ2VtZW50IHBsYW4K" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:95d952c9-e7df-4e90-b71a-ea9c8e527dba", - "resource": { - "resourceType": "DocumentReference", - "id": "95d952c9-e7df-4e90-b71a-ea9c8e527dba", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "29737665-7ca5-41e4-8412-87fa3c4ad358" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2004-03-05T03:25:21.151-05:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMDQtMDMtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIE1lZGljYWlkLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwphdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0CgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KUGF0aWVudCBpcyBwcmVzZW50aW5nIHdpdGggcHJlZGlhYmV0ZXMsIGFuZW1pYSAoZGlzb3JkZXIpLiAKCiMjIFBsYW4KClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldApUaGUgcGF0aWVudCB3YXMgcGxhY2VkIG9uIGEgY2FyZXBsYW46Ci0gZGlhYmV0ZXMgc2VsZiBtYW5hZ2VtZW50IHBsYW4K" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" - } - ], - "period": { - "start": "2004-03-05T03:25:21-05:00", - "end": "2004-03-05T03:55:21-05:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:cb0bac77-1b37-4359-a026-59920f83a662", - "resource": { - "resourceType": "Claim", - "id": "cb0bac77-1b37-4359-a026-59920f83a662", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2004-03-05T03:25:21-05:00", - "end": "2004-03-05T03:55:21-05:00" - }, - "created": "2004-03-05T03:55:21-05:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "diagnosis": [ - { - "sequence": 1, - "diagnosisReference": { - "reference": "urn:uuid:3d18b777-7c11-4c1f-88ec-0c385a2e70da" - } - }, - { - "sequence": 2, - "diagnosisReference": { - "reference": "urn:uuid:673b17bc-5467-4587-b95a-5538e5411bbb" - } - } - ], - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Medicaid" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" - } - ] - }, - { - "sequence": 2, - "diagnosisSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "15777000", - "display": "Prediabetes" - } - ], - "text": "Prediabetes" - } - }, - { - "sequence": 3, - "diagnosisSequence": [ - 2 - ], - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "271737000", - "display": "Anemia (disorder)" - } - ], - "text": "Anemia (disorder)" - } - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:8399bc32-0cc9-4f41-91eb-d80b4949818e", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "8399bc32-0cc9-4f41-91eb-d80b4949818e", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Medicaid" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Medicaid" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "cb0bac77-1b37-4359-a026-59920f83a662" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2004-03-05T03:55:21-05:00", - "end": "2005-03-05T03:55:21-05:00" - }, - "created": "2004-03-05T03:55:21-05:00", - "insurer": { - "display": "Medicaid" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:cb0bac77-1b37-4359-a026-59920f83a662" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "diagnosis": [ - { - "sequence": 1, - "diagnosisReference": { - "reference": "urn:uuid:3d18b777-7c11-4c1f-88ec-0c385a2e70da" - }, - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", - "code": "principal" - } - ] - } - ] - }, - { - "sequence": 2, - "diagnosisReference": { - "reference": "urn:uuid:673b17bc-5467-4587-b95a-5538e5411bbb" - }, - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", - "code": "principal" - } - ] - } - ] - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Medicaid" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2004-03-05T03:25:21-05:00", - "end": "2004-03-05T03:55:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" - } - ] - }, - { - "sequence": 2, - "diagnosisSequence": [ - 1 - ], - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "15777000", - "display": "Prediabetes" - } - ], - "text": "Prediabetes" - }, - "servicedPeriod": { - "start": "2004-03-05T03:25:21-05:00", - "end": "2004-03-05T03:55:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - } - }, - { - "sequence": 3, - "diagnosisSequence": [ - 2 - ], - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "271737000", - "display": "Anemia (disorder)" - } - ], - "text": "Anemia (disorder)" - }, - "servicedPeriod": { - "start": "2004-03-05T03:25:21-05:00", - "end": "2004-03-05T03:55:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - } - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509", - "resource": { - "resourceType": "Encounter", - "id": "074e9ad3-624e-4a70-bf25-26cbef9a6509", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "074e9ad3-624e-4a70-bf25-26cbef9a6509" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185347001", - "display": "Encounter for problem" - } - ], - "text": "Encounter for problem" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2004-03-05T03:25:21-05:00", - "end": "2004-03-05T04:48:21-05:00" - }, - "individual": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - } - } - ], - "period": { - "start": "2004-03-05T03:25:21-05:00", - "end": "2004-03-05T04:48:21-05:00" - }, - "reasonCode": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "271737000", - "display": "Anemia (disorder)" - } - ] - } - ], - "location": [ - { - "location": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:11cde837-0047-4725-935c-b7dac2ede4f7", - "resource": { - "resourceType": "MedicationRequest", - "id": "11cde837-0047-4725-935c-b7dac2ede4f7", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" - }, - "authoredOn": "2004-03-05T03:25:21-05:00", - "requester": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:92397156-789b-4251-b943-edefb5df3716", - "resource": { - "resourceType": "Claim", - "id": "92397156-789b-4251-b943-edefb5df3716", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2004-03-05T03:25:21-05:00", - "end": "2004-03-05T04:48:21-05:00" - }, - "created": "2004-03-05T04:48:21-05:00", - "provider": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:11cde837-0047-4725-935c-b7dac2ede4f7" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Medicaid" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185347001", - "display": "Encounter for problem" - } - ], - "text": "Encounter for problem" - }, - "encounter": [ - { - "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:37c20bb4-d87c-4982-90c3-13d0c6875278", - "resource": { - "resourceType": "DiagnosticReport", - "id": "37c20bb4-d87c-4982-90c3-13d0c6875278", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" - }, - "effectiveDateTime": "2004-03-05T03:25:21-05:00", - "issued": "2004-03-05T03:25:21.151-05:00", - "performer": [ - { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMDQtMDMtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIE1lZGljYWlkLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwphdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0CgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQK" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:8c1f26a5-4185-4aec-9a75-8114d2a6c8da", - "resource": { - "resourceType": "DocumentReference", - "id": "8c1f26a5-4185-4aec-9a75-8114d2a6c8da", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "37c20bb4-d87c-4982-90c3-13d0c6875278" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2004-03-05T03:25:21.151-05:00", - "author": [ - { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - } - ], - "custodian": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMDQtMDMtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIE1lZGljYWlkLgoKIyBBbGxlcmdpZXMKTm8gS25vd24gQWxsZXJnaWVzLgoKIyBNZWRpY2F0aW9ucwphdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0CgojIEFzc2Vzc21lbnQgYW5kIFBsYW4KCgojIyBQbGFuCgpUaGUgcGF0aWVudCB3YXMgcHJlc2NyaWJlZCB0aGUgZm9sbG93aW5nIG1lZGljYXRpb25zOgotIGF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQK" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" - } - ], - "period": { - "start": "2004-03-05T03:25:21-05:00", - "end": "2004-03-05T04:48:21-05:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:95792510-794c-4d7e-955f-6239d6563dd7", - "resource": { - "resourceType": "Claim", - "id": "95792510-794c-4d7e-955f-6239d6563dd7", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2004-03-05T03:25:21-05:00", - "end": "2004-03-05T04:48:21-05:00" - }, - "created": "2004-03-05T04:48:21-05:00", - "provider": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Medicaid" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185347001", - "display": "Encounter for problem" - } - ], - "text": "Encounter for problem" - }, - "encounter": [ - { - "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" - } - ] - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:4ff1bdc1-94bb-4cba-b066-3bc3ff0fa42e", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "4ff1bdc1-94bb-4cba-b066-3bc3ff0fa42e", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - }, - "performer": [ - { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Medicaid" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Medicaid" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "95792510-794c-4d7e-955f-6239d6563dd7" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2004-03-05T04:48:21-05:00", - "end": "2005-03-05T04:48:21-05:00" - }, - "created": "2004-03-05T04:48:21-05:00", - "insurer": { - "display": "Medicaid" - }, - "provider": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "claim": { - "reference": "urn:uuid:95792510-794c-4d7e-955f-6239d6563dd7" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Medicaid" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185347001", - "display": "Encounter for problem" - } - ], - "text": "Encounter for problem" - }, - "servicedPeriod": { - "start": "2004-03-05T03:25:21-05:00", - "end": "2004-03-05T04:48:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "21", - "display": "Inpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6", - "resource": { - "resourceType": "Encounter", - "id": "813ff96f-ac2e-4b11-884f-8d99d0ea8ad6", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2005-03-11T03:25:21-05:00", - "end": "2005-03-11T03:40:21-05:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2005-03-11T03:25:21-05:00", - "end": "2005-03-11T03:40:21-05:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:78d5fe12-273c-4942-a1c9-f6a7e094c9fc", - "resource": { - "resourceType": "MedicationRequest", - "id": "78d5fe12-273c-4942-a1c9-f6a7e094c9fc", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" - }, - "authoredOn": "2005-03-11T03:25:21-05:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:19369ad1-87e4-4bc3-8b97-0820dfbb0b8d", - "resource": { - "resourceType": "Claim", - "id": "19369ad1-87e4-4bc3-8b97-0820dfbb0b8d", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2005-03-11T03:25:21-05:00", - "end": "2005-03-11T03:40:21-05:00" - }, - "created": "2005-03-11T03:40:21-05:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:78d5fe12-273c-4942-a1c9-f6a7e094c9fc" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:6b5baec3-adb6-4d19-802b-1f7401cc73e1", - "resource": { - "resourceType": "DiagnosticReport", - "id": "6b5baec3-adb6-4d19-802b-1f7401cc73e1", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" - }, - "effectiveDateTime": "2005-03-11T03:25:21-05:00", - "issued": "2005-03-11T03:25:21.151-05:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMDUtMDMtMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI1IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:15b79ff0-17f6-4901-be79-75f1d80b7389", - "resource": { - "resourceType": "DocumentReference", - "id": "15b79ff0-17f6-4901-be79-75f1d80b7389", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "6b5baec3-adb6-4d19-802b-1f7401cc73e1" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2005-03-11T03:25:21.151-05:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMDUtMDMtMTEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI1IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" - } - ], - "period": { - "start": "2005-03-11T03:25:21-05:00", - "end": "2005-03-11T03:40:21-05:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:149774ce-ea62-4c9e-bc30-693cfdd7b0c0", - "resource": { - "resourceType": "Claim", - "id": "149774ce-ea62-4c9e-bc30-693cfdd7b0c0", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2005-03-11T03:25:21-05:00", - "end": "2005-03-11T03:40:21-05:00" - }, - "created": "2005-03-11T03:40:21-05:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" - } - ] - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:647401ef-7811-41fd-ab36-0d89e6423155", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "647401ef-7811-41fd-ab36-0d89e6423155", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Anthem" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Anthem" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "149774ce-ea62-4c9e-bc30-693cfdd7b0c0" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2005-03-11T03:40:21-05:00", - "end": "2006-03-11T03:40:21-05:00" - }, - "created": "2005-03-11T03:40:21-05:00", - "insurer": { - "display": "Anthem" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:149774ce-ea62-4c9e-bc30-693cfdd7b0c0" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2005-03-11T03:25:21-05:00", - "end": "2005-03-11T03:40:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3", - "resource": { - "resourceType": "Encounter", - "id": "6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2006-03-17T03:25:21-05:00", - "end": "2006-03-17T03:55:21-05:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2006-03-17T03:25:21-05:00", - "end": "2006-03-17T03:55:21-05:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:6ce68ed7-e200-48f3-8c60-19ac17c4c7b7", - "resource": { - "resourceType": "MedicationRequest", - "id": "6ce68ed7-e200-48f3-8c60-19ac17c4c7b7", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" - }, - "authoredOn": "2006-03-17T03:25:21-05:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:b68c7063-6e12-43f1-85c7-d609fbef043e", - "resource": { - "resourceType": "Claim", - "id": "b68c7063-6e12-43f1-85c7-d609fbef043e", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2006-03-17T03:25:21-05:00", - "end": "2006-03-17T03:55:21-05:00" - }, - "created": "2006-03-17T03:55:21-05:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:6ce68ed7-e200-48f3-8c60-19ac17c4c7b7" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:6ce2aa93-90e9-4ca5-ac28-8052f67ffb26", - "resource": { - "resourceType": "DiagnosticReport", - "id": "6ce2aa93-90e9-4ca5-ac28-8052f67ffb26", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" - }, - "effectiveDateTime": "2006-03-17T03:25:21-05:00", - "issued": "2006-03-17T03:25:21.151-05:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMDYtMDMtMTcKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:7f5a7fe8-9a93-44fa-8ec2-0139891f2f69", - "resource": { - "resourceType": "DocumentReference", - "id": "7f5a7fe8-9a93-44fa-8ec2-0139891f2f69", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "6ce2aa93-90e9-4ca5-ac28-8052f67ffb26" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2006-03-17T03:25:21.151-05:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMDYtMDMtMTcKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" - } - ], - "period": { - "start": "2006-03-17T03:25:21-05:00", - "end": "2006-03-17T03:55:21-05:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:c123985f-d9b3-4735-af70-5723109c8208", - "resource": { - "resourceType": "Claim", - "id": "c123985f-d9b3-4735-af70-5723109c8208", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2006-03-17T03:25:21-05:00", - "end": "2006-03-17T03:55:21-05:00" - }, - "created": "2006-03-17T03:55:21-05:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" - } - ] - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:8fe349c9-993b-4ae5-8c2e-95c84929d4a1", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "8fe349c9-993b-4ae5-8c2e-95c84929d4a1", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Anthem" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Anthem" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "c123985f-d9b3-4735-af70-5723109c8208" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2006-03-17T03:55:21-05:00", - "end": "2007-03-17T03:55:21-04:00" - }, - "created": "2006-03-17T03:55:21-05:00", - "insurer": { - "display": "Anthem" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:c123985f-d9b3-4735-af70-5723109c8208" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2006-03-17T03:25:21-05:00", - "end": "2006-03-17T03:55:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d", - "resource": { - "resourceType": "Encounter", - "id": "5648dd27-2049-45e6-aa83-aca90e70a25d", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "5648dd27-2049-45e6-aa83-aca90e70a25d" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2007-03-23T04:25:21-04:00", - "end": "2007-03-23T04:55:21-04:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2007-03-23T04:25:21-04:00", - "end": "2007-03-23T04:55:21-04:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:3c98fe7f-8444-4baf-9380-97f20df84834", - "resource": { - "resourceType": "MedicationRequest", - "id": "3c98fe7f-8444-4baf-9380-97f20df84834", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" - }, - "authoredOn": "2007-03-23T04:25:21-04:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:6b53e08d-68f5-4cb9-82d5-c04e120643cb", - "resource": { - "resourceType": "Claim", - "id": "6b53e08d-68f5-4cb9-82d5-c04e120643cb", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2007-03-23T04:25:21-04:00", - "end": "2007-03-23T04:55:21-04:00" - }, - "created": "2007-03-23T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:3c98fe7f-8444-4baf-9380-97f20df84834" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:5af8cb30-4f6b-457e-80b8-2c93b6ea0557", - "resource": { - "resourceType": "DiagnosticReport", - "id": "5af8cb30-4f6b-457e-80b8-2c93b6ea0557", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" - }, - "effectiveDateTime": "2007-03-23T04:25:21-04:00", - "issued": "2007-03-23T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMDctMDMtMjMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:a4ada62e-0769-4791-9324-6568fec3ffb9", - "resource": { - "resourceType": "DocumentReference", - "id": "a4ada62e-0769-4791-9324-6568fec3ffb9", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "5af8cb30-4f6b-457e-80b8-2c93b6ea0557" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2007-03-23T04:25:21.151-04:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMDctMDMtMjMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" - } - ], - "period": { - "start": "2007-03-23T04:25:21-04:00", - "end": "2007-03-23T04:55:21-04:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:76dc7e4c-d77e-41d0-b6ce-eac1d055235b", - "resource": { - "resourceType": "Claim", - "id": "76dc7e4c-d77e-41d0-b6ce-eac1d055235b", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2007-03-23T04:25:21-04:00", - "end": "2007-03-23T04:55:21-04:00" - }, - "created": "2007-03-23T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" - } - ] - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:16fc7b3a-10f6-44ea-bbf9-fe99a93502e9", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "16fc7b3a-10f6-44ea-bbf9-fe99a93502e9", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Anthem" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Anthem" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "76dc7e4c-d77e-41d0-b6ce-eac1d055235b" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2007-03-23T04:55:21-04:00", - "end": "2008-03-23T04:55:21-04:00" - }, - "created": "2007-03-23T04:55:21-04:00", - "insurer": { - "display": "Anthem" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:76dc7e4c-d77e-41d0-b6ce-eac1d055235b" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2007-03-23T04:25:21-04:00", - "end": "2007-03-23T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59", - "resource": { - "resourceType": "Encounter", - "id": "5542db51-6721-42ac-8d3d-6adb2031ee59", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "5542db51-6721-42ac-8d3d-6adb2031ee59" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185349003", - "display": "Encounter for check up (procedure)" - } - ], - "text": "Encounter for check up (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2007-11-16T03:25:21-05:00", - "end": "2007-11-16T03:40:21-05:00" - }, - "individual": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - } - } - ], - "period": { - "start": "2007-11-16T03:25:21-05:00", - "end": "2007-11-16T03:40:21-05:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "display": "MOUNT AUBURN HOSPITAL" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:2d614b95-e3b2-4e71-8e1c-c0423a1c8d78", - "resource": { - "resourceType": "MedicationRequest", - "id": "2d614b95-e3b2-4e71-8e1c-c0423a1c8d78", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" - }, - "authoredOn": "2007-11-16T03:25:21-05:00", - "requester": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:62cc7f2c-256e-4c06-8f15-a1e1f02c95cd", - "resource": { - "resourceType": "Claim", - "id": "62cc7f2c-256e-4c06-8f15-a1e1f02c95cd", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2007-11-16T03:25:21-05:00", - "end": "2007-11-16T03:40:21-05:00" - }, - "created": "2007-11-16T03:40:21-05:00", - "provider": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:2d614b95-e3b2-4e71-8e1c-c0423a1c8d78" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185349003", - "display": "Encounter for check up (procedure)" - } - ], - "text": "Encounter for check up (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:7da05a2e-e036-4bf0-aa1b-c7a50ccf8752", - "resource": { - "resourceType": "DiagnosticReport", - "id": "7da05a2e-e036-4bf0-aa1b-c7a50ccf8752", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" - }, - "effectiveDateTime": "2007-11-16T03:25:21-05:00", - "issued": "2007-11-16T03:25:21.151-05:00", - "performer": [ - { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMDctMTEtMTYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:1ec8051b-d391-45bf-bf09-e9159c6e4ac4", - "resource": { - "resourceType": "DocumentReference", - "id": "1ec8051b-d391-45bf-bf09-e9159c6e4ac4", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "7da05a2e-e036-4bf0-aa1b-c7a50ccf8752" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2007-11-16T03:25:21.151-05:00", - "author": [ - { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - } - ], - "custodian": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMDctMTEtMTYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" - } - ], - "period": { - "start": "2007-11-16T03:25:21-05:00", - "end": "2007-11-16T03:40:21-05:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:1cb7432e-b5c5-418f-9dd4-a771f4269331", - "resource": { - "resourceType": "Claim", - "id": "1cb7432e-b5c5-418f-9dd4-a771f4269331", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2007-11-16T03:25:21-05:00", - "end": "2007-11-16T03:40:21-05:00" - }, - "created": "2007-11-16T03:40:21-05:00", - "provider": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "display": "MOUNT AUBURN HOSPITAL" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185349003", - "display": "Encounter for check up (procedure)" - } - ], - "text": "Encounter for check up (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" - } - ] - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:38f67e15-e709-4e4c-8062-a4de62d588f9", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "38f67e15-e709-4e4c-8062-a4de62d588f9", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - }, - "performer": [ - { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "NO_INSURANCE" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "NO_INSURANCE" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "1cb7432e-b5c5-418f-9dd4-a771f4269331" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2007-11-16T03:40:21-05:00", - "end": "2008-11-16T03:40:21-05:00" - }, - "created": "2007-11-16T03:40:21-05:00", - "insurer": { - "display": "NO_INSURANCE" - }, - "provider": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "display": "MOUNT AUBURN HOSPITAL" - }, - "claim": { - "reference": "urn:uuid:1cb7432e-b5c5-418f-9dd4-a771f4269331" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185349003", - "display": "Encounter for check up (procedure)" - } - ], - "text": "Encounter for check up (procedure)" - }, - "servicedPeriod": { - "start": "2007-11-16T03:25:21-05:00", - "end": "2007-11-16T03:40:21-05:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "21", - "display": "Inpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf", - "resource": { - "resourceType": "Encounter", - "id": "3f7dc0b0-c2c0-4bb7-8995-735884f51adf", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "3f7dc0b0-c2c0-4bb7-8995-735884f51adf" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2008-03-28T04:25:21-04:00", - "end": "2008-03-28T04:55:21-04:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2008-03-28T04:25:21-04:00", - "end": "2008-03-28T04:55:21-04:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:856c42a4-15fa-4aa5-b126-b558c4b17b45", - "resource": { - "resourceType": "MedicationRequest", - "id": "856c42a4-15fa-4aa5-b126-b558c4b17b45", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" - }, - "authoredOn": "2008-03-28T04:25:21-04:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:24474324-3c9e-43cb-8bfb-115790dc7cf2", - "resource": { - "resourceType": "Claim", - "id": "24474324-3c9e-43cb-8bfb-115790dc7cf2", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2008-03-28T04:25:21-04:00", - "end": "2008-03-28T04:55:21-04:00" - }, - "created": "2008-03-28T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:856c42a4-15fa-4aa5-b126-b558c4b17b45" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:afe41584-dfef-40b1-ac2c-d68fc9a488ea", - "resource": { - "resourceType": "DiagnosticReport", - "id": "afe41584-dfef-40b1-ac2c-d68fc9a488ea", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" - }, - "effectiveDateTime": "2008-03-28T04:25:21-04:00", - "issued": "2008-03-28T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMDgtMDMtMjgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:d627bf22-24be-4d9d-980b-7ff24fd950f2", - "resource": { - "resourceType": "DocumentReference", - "id": "d627bf22-24be-4d9d-980b-7ff24fd950f2", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "afe41584-dfef-40b1-ac2c-d68fc9a488ea" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2008-03-28T04:25:21.151-04:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMDgtMDMtMjgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" - } - ], - "period": { - "start": "2008-03-28T04:25:21-04:00", - "end": "2008-03-28T04:55:21-04:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:60481f1a-8683-4395-9767-cb4e8b54b2a4", - "resource": { - "resourceType": "Claim", - "id": "60481f1a-8683-4395-9767-cb4e8b54b2a4", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2008-03-28T04:25:21-04:00", - "end": "2008-03-28T04:55:21-04:00" - }, - "created": "2008-03-28T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" - } - ] - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:990dd75e-dbd5-4651-aeda-1df12f60952c", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "990dd75e-dbd5-4651-aeda-1df12f60952c", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Anthem" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Anthem" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "60481f1a-8683-4395-9767-cb4e8b54b2a4" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2008-03-28T04:55:21-04:00", - "end": "2009-03-28T04:55:21-04:00" - }, - "created": "2008-03-28T04:55:21-04:00", - "insurer": { - "display": "Anthem" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:60481f1a-8683-4395-9767-cb4e8b54b2a4" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2008-03-28T04:25:21-04:00", - "end": "2008-03-28T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa", - "resource": { - "resourceType": "Encounter", - "id": "0d6e8c95-315b-4f01-a61d-92e76b01c3fa", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "0d6e8c95-315b-4f01-a61d-92e76b01c3fa" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2009-04-03T04:25:21-04:00", - "end": "2009-04-03T04:40:21-04:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2009-04-03T04:25:21-04:00", - "end": "2009-04-03T04:40:21-04:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:7e3a187e-0451-47a2-be53-a6a45d557166", - "resource": { - "resourceType": "MedicationRequest", - "id": "7e3a187e-0451-47a2-be53-a6a45d557166", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" - }, - "authoredOn": "2009-04-03T04:25:21-04:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:4b146e00-adb8-47eb-b37f-007764100d3c", - "resource": { - "resourceType": "Claim", - "id": "4b146e00-adb8-47eb-b37f-007764100d3c", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2009-04-03T04:25:21-04:00", - "end": "2009-04-03T04:40:21-04:00" - }, - "created": "2009-04-03T04:40:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:7e3a187e-0451-47a2-be53-a6a45d557166" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:18b361f9-f0cb-4aeb-a345-ea01ff550c6d", - "resource": { - "resourceType": "DiagnosticReport", - "id": "18b361f9-f0cb-4aeb-a345-ea01ff550c6d", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" - }, - "effectiveDateTime": "2009-04-03T04:25:21-04:00", - "issued": "2009-04-03T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMDktMDQtMDMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:dfc3abbe-854a-45ef-98b0-75ecd9ba2138", - "resource": { - "resourceType": "DocumentReference", - "id": "dfc3abbe-854a-45ef-98b0-75ecd9ba2138", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "18b361f9-f0cb-4aeb-a345-ea01ff550c6d" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2009-04-03T04:25:21.151-04:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMDktMDQtMDMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" - } - ], - "period": { - "start": "2009-04-03T04:25:21-04:00", - "end": "2009-04-03T04:40:21-04:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:4d108606-7e3e-42e0-9091-8bd12b843e9b", - "resource": { - "resourceType": "Claim", - "id": "4d108606-7e3e-42e0-9091-8bd12b843e9b", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2009-04-03T04:25:21-04:00", - "end": "2009-04-03T04:40:21-04:00" - }, - "created": "2009-04-03T04:40:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" - } - ] - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:f9ce85ba-eefe-491a-8d2b-9ae7fe042aca", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "f9ce85ba-eefe-491a-8d2b-9ae7fe042aca", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Anthem" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Anthem" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "4d108606-7e3e-42e0-9091-8bd12b843e9b" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2009-04-03T04:40:21-04:00", - "end": "2010-04-03T04:40:21-04:00" - }, - "created": "2009-04-03T04:40:21-04:00", - "insurer": { - "display": "Anthem" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:4d108606-7e3e-42e0-9091-8bd12b843e9b" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2009-04-03T04:25:21-04:00", - "end": "2009-04-03T04:40:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8", - "resource": { - "resourceType": "Encounter", - "id": "15714ab3-2a92-4b66-8394-5783026bafa8", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "15714ab3-2a92-4b66-8394-5783026bafa8" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185349003", - "display": "Encounter for check up (procedure)" - } - ], - "text": "Encounter for check up (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2009-06-12T04:25:21-04:00", - "end": "2009-06-12T04:40:21-04:00" - }, - "individual": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - } - } - ], - "period": { - "start": "2009-06-12T04:25:21-04:00", - "end": "2009-06-12T04:40:21-04:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "display": "MOUNT AUBURN HOSPITAL" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:c071b5cc-745c-49a3-ae69-dcf6886cd5ba", - "resource": { - "resourceType": "MedicationRequest", - "id": "c071b5cc-745c-49a3-ae69-dcf6886cd5ba", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" - }, - "authoredOn": "2009-06-12T04:25:21-04:00", - "requester": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:b45e82b4-519c-46ea-b543-782494479074", - "resource": { - "resourceType": "Claim", - "id": "b45e82b4-519c-46ea-b543-782494479074", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2009-06-12T04:25:21-04:00", - "end": "2009-06-12T04:40:21-04:00" - }, - "created": "2009-06-12T04:40:21-04:00", - "provider": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:c071b5cc-745c-49a3-ae69-dcf6886cd5ba" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185349003", - "display": "Encounter for check up (procedure)" - } - ], - "text": "Encounter for check up (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:3d6f0356-90f8-4386-b1da-e0062bdca6a0", - "resource": { - "resourceType": "DiagnosticReport", - "id": "3d6f0356-90f8-4386-b1da-e0062bdca6a0", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" - }, - "effectiveDateTime": "2009-06-12T04:25:21-04:00", - "issued": "2009-06-12T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMDktMDYtMTIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:4cdf3224-e174-462e-a9c4-c985edcdad1f", - "resource": { - "resourceType": "DocumentReference", - "id": "4cdf3224-e174-462e-a9c4-c985edcdad1f", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "3d6f0356-90f8-4386-b1da-e0062bdca6a0" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2009-06-12T04:25:21.151-04:00", - "author": [ - { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba", - "display": "Dr. Mathew182 Hoppe518" - } - ], - "custodian": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMDktMDYtMTIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDI5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" - } - ], - "period": { - "start": "2009-06-12T04:25:21-04:00", - "end": "2009-06-12T04:40:21-04:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:b74cdefb-14e1-43bc-ba96-642e7ce02fc0", - "resource": { - "resourceType": "Claim", - "id": "b74cdefb-14e1-43bc-ba96-642e7ce02fc0", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2009-06-12T04:25:21-04:00", - "end": "2009-06-12T04:40:21-04:00" - }, - "created": "2009-06-12T04:40:21-04:00", - "provider": { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb", - "display": "MOUNT AUBURN HOSPITAL" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "display": "MOUNT AUBURN HOSPITAL" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185349003", - "display": "Encounter for check up (procedure)" - } - ], - "text": "Encounter for check up (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" - } - ] - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:4b7a09d6-df23-413f-8a01-15a175f03e49", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "4b7a09d6-df23-413f-8a01-15a175f03e49", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - }, - "performer": [ - { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "NO_INSURANCE" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "NO_INSURANCE" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "b74cdefb-14e1-43bc-ba96-642e7ce02fc0" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2009-06-12T04:40:21-04:00", - "end": "2010-06-12T04:40:21-04:00" - }, - "created": "2009-06-12T04:40:21-04:00", - "insurer": { - "display": "NO_INSURANCE" - }, - "provider": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c", - "display": "MOUNT AUBURN HOSPITAL" - }, - "claim": { - "reference": "urn:uuid:b74cdefb-14e1-43bc-ba96-642e7ce02fc0" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185349003", - "display": "Encounter for check up (procedure)" - } - ], - "text": "Encounter for check up (procedure)" - }, - "servicedPeriod": { - "start": "2009-06-12T04:25:21-04:00", - "end": "2009-06-12T04:40:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "21", - "display": "Inpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 0.0, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1", - "resource": { - "resourceType": "Encounter", - "id": "220669b7-6b53-413d-b6f2-501636bb4dc1", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "220669b7-6b53-413d-b6f2-501636bb4dc1" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2010-04-09T04:25:21-04:00", - "end": "2010-04-09T04:55:21-04:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2010-04-09T04:25:21-04:00", - "end": "2010-04-09T04:55:21-04:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:f042a475-82e7-4c1d-8a16-75599e15bc0b", - "resource": { - "resourceType": "Observation", - "id": "f042a475-82e7-4c1d-8a16-75599e15bc0b", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyheight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8302-2", - "display": "Body Height" - } - ], - "text": "Body Height" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 176.6, - "unit": "cm", - "system": "http://unitsofmeasure.org", - "code": "cm" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:0ff65a61-5ac5-4679-9f28-88fe0571b272", - "resource": { - "resourceType": "Observation", - "id": "0ff65a61-5ac5-4679-9f28-88fe0571b272", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72514-3", - "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - } - ], - "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 3, - "unit": "{score}", - "system": "http://unitsofmeasure.org", - "code": "{score}" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:629a7e25-1e9c-40f9-9ae6-1436d734ca96", - "resource": { - "resourceType": "Observation", - "id": "629a7e25-1e9c-40f9-9ae6-1436d734ca96", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyweight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "29463-7", - "display": "Body Weight" - } - ], - "text": "Body Weight" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 92.2, - "unit": "kg", - "system": "http://unitsofmeasure.org", - "code": "kg" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:767029a4-839b-40a5-91f8-2c483c26a640", - "resource": { - "resourceType": "Observation", - "id": "767029a4-839b-40a5-91f8-2c483c26a640", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bmi", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "39156-5", - "display": "Body Mass Index" - } - ], - "text": "Body Mass Index" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 29.58, - "unit": "kg/m2", - "system": "http://unitsofmeasure.org", - "code": "kg/m2" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:fc75badc-ba94-4044-a9b7-37015f37d0b8", - "resource": { - "resourceType": "Observation", - "id": "fc75badc-ba94-4044-a9b7-37015f37d0b8", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bp", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "85354-9", - "display": "Blood Pressure" - } - ], - "text": "Blood Pressure" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "component": [ - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8462-4", - "display": "Diastolic Blood Pressure" - } - ], - "text": "Diastolic Blood Pressure" - }, - "valueQuantity": { - "value": 81, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - }, - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8480-6", - "display": "Systolic Blood Pressure" - } - ], - "text": "Systolic Blood Pressure" - }, - "valueQuantity": { - "value": 115, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - } - ] - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:75c85d5f-c1e1-465a-adeb-6eaf2106c3ee", - "resource": { - "resourceType": "Observation", - "id": "75c85d5f-c1e1-465a-adeb-6eaf2106c3ee", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/heartrate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8867-4", - "display": "Heart rate" - } - ], - "text": "Heart rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 85, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:06471e31-793b-4a09-a3ed-c9d69ec029a5", - "resource": { - "resourceType": "Observation", - "id": "06471e31-793b-4a09-a3ed-c9d69ec029a5", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/resprate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "9279-1", - "display": "Respiratory rate" - } - ], - "text": "Respiratory rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 16, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:baf51c92-7a7b-4d60-b4ee-38fa99fdf8db", - "resource": { - "resourceType": "Observation", - "id": "baf51c92-7a7b-4d60-b4ee-38fa99fdf8db", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2339-0", - "display": "Glucose" - } - ], - "text": "Glucose" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 74.86, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:fd036fe1-3692-4d5a-bf3e-ccfb1f1b2dbc", - "resource": { - "resourceType": "Observation", - "id": "fd036fe1-3692-4d5a-bf3e-ccfb1f1b2dbc", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6299-2", - "display": "Urea Nitrogen" - } - ], - "text": "Urea Nitrogen" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 8.79, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:6ae6faf8-ba30-42ee-b108-4e6039be3bf0", - "resource": { - "resourceType": "Observation", - "id": "6ae6faf8-ba30-42ee-b108-4e6039be3bf0", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "38483-4", - "display": "Creatinine" - } - ], - "text": "Creatinine" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 1.2, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:3aa15fdc-4965-440b-85a7-26bde99c948b", - "resource": { - "resourceType": "Observation", - "id": "3aa15fdc-4965-440b-85a7-26bde99c948b", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "49765-1", - "display": "Calcium" - } - ], - "text": "Calcium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 8.88, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:ce0ec83b-3e7d-4b3e-93d1-70b449f2393b", - "resource": { - "resourceType": "Observation", - "id": "ce0ec83b-3e7d-4b3e-93d1-70b449f2393b", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2947-0", - "display": "Sodium" - } - ], - "text": "Sodium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 140.31, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:06214387-5440-4290-abaf-e436e5a2a3bb", - "resource": { - "resourceType": "Observation", - "id": "06214387-5440-4290-abaf-e436e5a2a3bb", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6298-4", - "display": "Potassium" - } - ], - "text": "Potassium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 3.88, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:702a35e1-6ead-4af5-ba50-94f875ddca96", - "resource": { - "resourceType": "Observation", - "id": "702a35e1-6ead-4af5-ba50-94f875ddca96", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2069-3", - "display": "Chloride" - } - ], - "text": "Chloride" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 103.15, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:5a60b57f-fc23-42aa-831f-3acc5e3619e6", - "resource": { - "resourceType": "Observation", - "id": "5a60b57f-fc23-42aa-831f-3acc5e3619e6", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "20565-8", - "display": "Carbon Dioxide" - } - ], - "text": "Carbon Dioxide" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 27.79, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:667f4ca5-ed38-4aa1-93e4-17c0d9e1f2f3", - "resource": { - "resourceType": "Observation", - "id": "667f4ca5-ed38-4aa1-93e4-17c0d9e1f2f3", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2093-3", - "display": "Total Cholesterol" - } - ], - "text": "Total Cholesterol" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 198.91, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:60113cc3-3fee-48ec-a41c-1f5ae25e5b15", - "resource": { - "resourceType": "Observation", - "id": "60113cc3-3fee-48ec-a41c-1f5ae25e5b15", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2571-8", - "display": "Triglycerides" - } - ], - "text": "Triglycerides" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 149.45, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:730b7adb-8506-4ccc-bde4-73532dac351d", - "resource": { - "resourceType": "Observation", - "id": "730b7adb-8506-4ccc-bde4-73532dac351d", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "18262-6", - "display": "Low Density Lipoprotein Cholesterol" - } - ], - "text": "Low Density Lipoprotein Cholesterol" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 94.5, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:b43802eb-cb9d-4feb-80a0-87c56b80e88e", - "resource": { - "resourceType": "Observation", - "id": "b43802eb-cb9d-4feb-80a0-87c56b80e88e", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2085-9", - "display": "High Density Lipoprotein Cholesterol" - } - ], - "text": "High Density Lipoprotein Cholesterol" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 74.52, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:4b002fb0-b658-4059-894d-bad679593ed6", - "resource": { - "resourceType": "Observation", - "id": "4b002fb0-b658-4059-894d-bad679593ed6", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72166-2", - "display": "Tobacco smoking status NHIS" - } - ], - "text": "Tobacco smoking status NHIS" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "266919005", - "display": "Never smoker" - } - ], - "text": "Never smoker" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:2a1fbe91-6378-42dc-8157-1520224c44f9", - "resource": { - "resourceType": "Observation", - "id": "2a1fbe91-6378-42dc-8157-1520224c44f9", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "4548-4", - "display": "Hemoglobin A1c/Hemoglobin.total in Blood" - } - ], - "text": "Hemoglobin A1c/Hemoglobin.total in Blood" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "valueQuantity": { - "value": 6.24, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:24dbb5e6-56fe-4946-906b-a34b3ffbfd34", - "resource": { - "resourceType": "Procedure", - "id": "24dbb5e6-56fe-4946-906b-a34b3ffbfd34", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] - }, - "status": "completed", - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "performedPeriod": { - "start": "2010-04-09T04:25:21-04:00", - "end": "2010-04-09T04:40:21-04:00" - }, - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Procedure" - } - }, - { - "fullUrl": "urn:uuid:aaf2802c-4507-4fd7-9e46-5bfba585f220", - "resource": { - "resourceType": "MedicationRequest", - "id": "aaf2802c-4507-4fd7-9e46-5bfba585f220", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "authoredOn": "2010-04-09T04:25:21-04:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:a2a3cce0-a465-4246-9c57-142e894d4062", - "resource": { - "resourceType": "Claim", - "id": "a2a3cce0-a465-4246-9c57-142e894d4062", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2010-04-09T04:25:21-04:00", - "end": "2010-04-09T04:55:21-04:00" - }, - "created": "2010-04-09T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:aaf2802c-4507-4fd7-9e46-5bfba585f220" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:eda3d975-76b8-43c0-9f7c-7d2360782f1a", - "resource": { - "resourceType": "DiagnosticReport", - "id": "eda3d975-76b8-43c0-9f7c-7d2360782f1a", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB", - "display": "Laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "51990-0", - "display": "Basic Metabolic Panel" - } - ], - "text": "Basic Metabolic Panel" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ], - "result": [ - { - "reference": "urn:uuid:baf51c92-7a7b-4d60-b4ee-38fa99fdf8db", - "display": "Glucose" - }, - { - "reference": "urn:uuid:fd036fe1-3692-4d5a-bf3e-ccfb1f1b2dbc", - "display": "Urea Nitrogen" - }, - { - "reference": "urn:uuid:6ae6faf8-ba30-42ee-b108-4e6039be3bf0", - "display": "Creatinine" - }, - { - "reference": "urn:uuid:3aa15fdc-4965-440b-85a7-26bde99c948b", - "display": "Calcium" - }, - { - "reference": "urn:uuid:ce0ec83b-3e7d-4b3e-93d1-70b449f2393b", - "display": "Sodium" - }, - { - "reference": "urn:uuid:06214387-5440-4290-abaf-e436e5a2a3bb", - "display": "Potassium" - }, - { - "reference": "urn:uuid:702a35e1-6ead-4af5-ba50-94f875ddca96", - "display": "Chloride" - }, - { - "reference": "urn:uuid:5a60b57f-fc23-42aa-831f-3acc5e3619e6", - "display": "Carbon Dioxide" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:bd149371-9c51-466f-b7fb-8e23d2fa05f1", - "resource": { - "resourceType": "DiagnosticReport", - "id": "bd149371-9c51-466f-b7fb-8e23d2fa05f1", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB", - "display": "Laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "57698-3", - "display": "Lipid Panel" - } - ], - "text": "Lipid Panel" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ], - "result": [ - { - "reference": "urn:uuid:667f4ca5-ed38-4aa1-93e4-17c0d9e1f2f3", - "display": "Total Cholesterol" - }, - { - "reference": "urn:uuid:60113cc3-3fee-48ec-a41c-1f5ae25e5b15", - "display": "Triglycerides" - }, - { - "reference": "urn:uuid:730b7adb-8506-4ccc-bde4-73532dac351d", - "display": "Low Density Lipoprotein Cholesterol" - }, - { - "reference": "urn:uuid:b43802eb-cb9d-4feb-80a0-87c56b80e88e", - "display": "High Density Lipoprotein Cholesterol" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:78396b5e-d62d-4fc5-b5dc-dba7ae491d26", - "resource": { - "resourceType": "DiagnosticReport", - "id": "78396b5e-d62d-4fc5-b5dc-dba7ae491d26", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - "effectiveDateTime": "2010-04-09T04:25:21-04:00", - "issued": "2010-04-09T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMTAtMDQtMDkKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMwIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:b96faa39-0018-41cb-97eb-5ae28645d368", - "resource": { - "resourceType": "DocumentReference", - "id": "b96faa39-0018-41cb-97eb-5ae28645d368", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "78396b5e-d62d-4fc5-b5dc-dba7ae491d26" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2010-04-09T04:25:21.151-04:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMTAtMDQtMDkKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMwIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgoKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - } - ], - "period": { - "start": "2010-04-09T04:25:21-04:00", - "end": "2010-04-09T04:55:21-04:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:9285a728-042b-48da-84b3-b0b9d5b5a53f", - "resource": { - "resourceType": "Claim", - "id": "9285a728-042b-48da-84b3-b0b9d5b5a53f", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2010-04-09T04:25:21-04:00", - "end": "2010-04-09T04:55:21-04:00" - }, - "created": "2010-04-09T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "procedure": [ - { - "sequence": 1, - "procedureReference": { - "reference": "urn:uuid:24dbb5e6-56fe-4946-906b-a34b3ffbfd34" - } - } - ], - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - } - ] - }, - { - "sequence": 2, - "procedureSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "net": { - "value": 420.67, - "currency": "USD" - } - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:e86988f7-63b6-4083-ae1f-98d2a7d6ba12", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "e86988f7-63b6-4083-ae1f-98d2a7d6ba12", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Anthem" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Anthem" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "9285a728-042b-48da-84b3-b0b9d5b5a53f" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2010-04-09T04:55:21-04:00", - "end": "2011-04-09T04:55:21-04:00" - }, - "created": "2010-04-09T04:55:21-04:00", - "insurer": { - "display": "Anthem" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:9285a728-042b-48da-84b3-b0b9d5b5a53f" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2010-04-09T04:25:21-04:00", - "end": "2010-04-09T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - } - ] - }, - { - "sequence": 2, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "servicedPeriod": { - "start": "2010-04-09T04:25:21-04:00", - "end": "2010-04-09T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "net": { - "value": 420.67, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 84.13400000000001, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 336.53600000000006, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 420.67, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 420.67, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 336.53600000000006, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec", - "resource": { - "resourceType": "Encounter", - "id": "c3f0b252-3440-48a5-8377-a286da0844ec", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "c3f0b252-3440-48a5-8377-a286da0844ec" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2011-04-15T04:25:21-04:00", - "end": "2011-04-15T04:40:21-04:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2011-04-15T04:25:21-04:00", - "end": "2011-04-15T04:40:21-04:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:a2a3ed5b-120d-4340-aa22-b3a9c8b37b60", - "resource": { - "resourceType": "Observation", - "id": "a2a3ed5b-120d-4340-aa22-b3a9c8b37b60", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyheight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8302-2", - "display": "Body Height" - } - ], - "text": "Body Height" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 176.6, - "unit": "cm", - "system": "http://unitsofmeasure.org", - "code": "cm" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:da94f84f-6a92-46fa-8957-794febfa1a27", - "resource": { - "resourceType": "Observation", - "id": "da94f84f-6a92-46fa-8957-794febfa1a27", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72514-3", - "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - } - ], - "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 2, - "unit": "{score}", - "system": "http://unitsofmeasure.org", - "code": "{score}" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:db710cae-5905-4f15-9984-9696255aa6ba", - "resource": { - "resourceType": "Observation", - "id": "db710cae-5905-4f15-9984-9696255aa6ba", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyweight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "29463-7", - "display": "Body Weight" - } - ], - "text": "Body Weight" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 91.3, - "unit": "kg", - "system": "http://unitsofmeasure.org", - "code": "kg" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:ab7f2fca-0191-44f2-9004-ab28d19cb575", - "resource": { - "resourceType": "Observation", - "id": "ab7f2fca-0191-44f2-9004-ab28d19cb575", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bmi", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "39156-5", - "display": "Body Mass Index" - } - ], - "text": "Body Mass Index" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 29.27, - "unit": "kg/m2", - "system": "http://unitsofmeasure.org", - "code": "kg/m2" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:890ab7b0-a169-4a45-9e1b-1e8d7ff7751c", - "resource": { - "resourceType": "Observation", - "id": "890ab7b0-a169-4a45-9e1b-1e8d7ff7751c", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bp", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "85354-9", - "display": "Blood Pressure" - } - ], - "text": "Blood Pressure" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "component": [ - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8462-4", - "display": "Diastolic Blood Pressure" - } - ], - "text": "Diastolic Blood Pressure" - }, - "valueQuantity": { - "value": 78, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - }, - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8480-6", - "display": "Systolic Blood Pressure" - } - ], - "text": "Systolic Blood Pressure" - }, - "valueQuantity": { - "value": 117, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - } - ] - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:08ffea64-2b0e-4796-bbd5-f9cc37755876", - "resource": { - "resourceType": "Observation", - "id": "08ffea64-2b0e-4796-bbd5-f9cc37755876", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/heartrate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8867-4", - "display": "Heart rate" - } - ], - "text": "Heart rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 71, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:4c562f1f-8ec3-4b8c-a7fb-cf602e839329", - "resource": { - "resourceType": "Observation", - "id": "4c562f1f-8ec3-4b8c-a7fb-cf602e839329", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/resprate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "9279-1", - "display": "Respiratory rate" - } - ], - "text": "Respiratory rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 16, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:9f156698-58a4-4203-9f9f-c5d00035be23", - "resource": { - "resourceType": "Observation", - "id": "9f156698-58a4-4203-9f9f-c5d00035be23", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2339-0", - "display": "Glucose" - } - ], - "text": "Glucose" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 98.36, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:6531d108-0189-4da1-809b-18fb291b6e89", - "resource": { - "resourceType": "Observation", - "id": "6531d108-0189-4da1-809b-18fb291b6e89", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6299-2", - "display": "Urea Nitrogen" - } - ], - "text": "Urea Nitrogen" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 7.64, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:4587fb98-65c5-4f57-a053-aa96d0af11c5", - "resource": { - "resourceType": "Observation", - "id": "4587fb98-65c5-4f57-a053-aa96d0af11c5", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "38483-4", - "display": "Creatinine" - } - ], - "text": "Creatinine" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 1.18, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:34b455c2-58b2-44f4-89d4-ef13f9e9aa05", - "resource": { - "resourceType": "Observation", - "id": "34b455c2-58b2-44f4-89d4-ef13f9e9aa05", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "49765-1", - "display": "Calcium" - } - ], - "text": "Calcium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 8.96, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:21999638-788b-4ed4-bf4f-c5bf3b717de3", - "resource": { - "resourceType": "Observation", - "id": "21999638-788b-4ed4-bf4f-c5bf3b717de3", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2947-0", - "display": "Sodium" - } - ], - "text": "Sodium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 139.75, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:a9f78ad2-f38c-4f8c-9e80-ad49a96950f9", - "resource": { - "resourceType": "Observation", - "id": "a9f78ad2-f38c-4f8c-9e80-ad49a96950f9", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6298-4", - "display": "Potassium" - } - ], - "text": "Potassium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 4.87, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:881d4550-f693-42fd-9a40-b4c6aa664827", - "resource": { - "resourceType": "Observation", - "id": "881d4550-f693-42fd-9a40-b4c6aa664827", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2069-3", - "display": "Chloride" - } - ], - "text": "Chloride" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 109.4, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:66b6b56d-1a4a-4f24-b822-f8f0af1f4d02", - "resource": { - "resourceType": "Observation", - "id": "66b6b56d-1a4a-4f24-b822-f8f0af1f4d02", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "20565-8", - "display": "Carbon Dioxide" - } - ], - "text": "Carbon Dioxide" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 26.32, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:e6c79b32-d27e-4663-bcb0-df5ea3715aa7", - "resource": { - "resourceType": "Observation", - "id": "e6c79b32-d27e-4663-bcb0-df5ea3715aa7", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6690-2", - "display": "Leukocytes [#/volume] in Blood by Automated count" - } - ], - "text": "Leukocytes [#/volume] in Blood by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 4.0736, - "unit": "10*3/uL", - "system": "http://unitsofmeasure.org", - "code": "10*3/uL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:376cb148-8086-4941-943c-949d957da9c6", - "resource": { - "resourceType": "Observation", - "id": "376cb148-8086-4941-943c-949d957da9c6", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "789-8", - "display": "Erythrocytes [#/volume] in Blood by Automated count" - } - ], - "text": "Erythrocytes [#/volume] in Blood by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 4.1602, - "unit": "10*6/uL", - "system": "http://unitsofmeasure.org", - "code": "10*6/uL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:9e569308-73a7-43f5-a111-caa1fb2eb015", - "resource": { - "resourceType": "Observation", - "id": "9e569308-73a7-43f5-a111-caa1fb2eb015", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "718-7", - "display": "Hemoglobin [Mass/volume] in Blood" - } - ], - "text": "Hemoglobin [Mass/volume] in Blood" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 14.892, - "unit": "g/dL", - "system": "http://unitsofmeasure.org", - "code": "g/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:8df45ef5-07df-4677-b5cb-36723f5e8c40", - "resource": { - "resourceType": "Observation", - "id": "8df45ef5-07df-4677-b5cb-36723f5e8c40", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "4544-3", - "display": "Hematocrit [Volume Fraction] of Blood by Automated count" - } - ], - "text": "Hematocrit [Volume Fraction] of Blood by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 44.197, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:52d1b38a-4ab3-4000-855b-97c8701776ec", - "resource": { - "resourceType": "Observation", - "id": "52d1b38a-4ab3-4000-855b-97c8701776ec", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "787-2", - "display": "MCV [Entitic volume] by Automated count" - } - ], - "text": "MCV [Entitic volume] by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 82.927, - "unit": "fL", - "system": "http://unitsofmeasure.org", - "code": "fL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:a587488a-07c3-47c1-a7a4-c2a0d2302abe", - "resource": { - "resourceType": "Observation", - "id": "a587488a-07c3-47c1-a7a4-c2a0d2302abe", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "785-6", - "display": "MCH [Entitic mass] by Automated count" - } - ], - "text": "MCH [Entitic mass] by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 30.54, - "unit": "pg", - "system": "http://unitsofmeasure.org", - "code": "pg" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:b4b3a065-ed04-4b16-9589-814466125664", - "resource": { - "resourceType": "Observation", - "id": "b4b3a065-ed04-4b16-9589-814466125664", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "786-4", - "display": "MCHC [Mass/volume] by Automated count" - } - ], - "text": "MCHC [Mass/volume] by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 33.117, - "unit": "g/dL", - "system": "http://unitsofmeasure.org", - "code": "g/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:ac5da61b-0f22-4cb0-a988-dc0a010f072e", - "resource": { - "resourceType": "Observation", - "id": "ac5da61b-0f22-4cb0-a988-dc0a010f072e", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "21000-5", - "display": "Erythrocyte distribution width [Entitic volume] by Automated count" - } - ], - "text": "Erythrocyte distribution width [Entitic volume] by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 40.24, - "unit": "fL", - "system": "http://unitsofmeasure.org", - "code": "fL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:6da08b20-da46-4c5a-bee4-cc8593403122", - "resource": { - "resourceType": "Observation", - "id": "6da08b20-da46-4c5a-bee4-cc8593403122", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "777-3", - "display": "Platelets [#/volume] in Blood by Automated count" - } - ], - "text": "Platelets [#/volume] in Blood by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 307.97, - "unit": "10*3/uL", - "system": "http://unitsofmeasure.org", - "code": "10*3/uL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:1818d919-78b1-4a8c-869f-5e8e4288667c", - "resource": { - "resourceType": "Observation", - "id": "1818d919-78b1-4a8c-869f-5e8e4288667c", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "32207-3", - "display": "Platelet distribution width [Entitic volume] in Blood by Automated count" - } - ], - "text": "Platelet distribution width [Entitic volume] in Blood by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 392.63, - "unit": "fL", - "system": "http://unitsofmeasure.org", - "code": "fL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:e5904667-c55e-4098-96d2-c81d7e7daf75", - "resource": { - "resourceType": "Observation", - "id": "e5904667-c55e-4098-96d2-c81d7e7daf75", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "32623-1", - "display": "Platelet mean volume [Entitic volume] in Blood by Automated count" - } - ], - "text": "Platelet mean volume [Entitic volume] in Blood by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 11.152, - "unit": "fL", - "system": "http://unitsofmeasure.org", - "code": "fL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:8128f819-48ad-472c-8329-0ac112b43058", - "resource": { - "resourceType": "Observation", - "id": "8128f819-48ad-472c-8329-0ac112b43058", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72166-2", - "display": "Tobacco smoking status NHIS" - } - ], - "text": "Tobacco smoking status NHIS" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "266919005", - "display": "Never smoker" - } - ], - "text": "Never smoker" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:888cbcdf-c076-49a9-a612-6470910b5274", - "resource": { - "resourceType": "Observation", - "id": "888cbcdf-c076-49a9-a612-6470910b5274", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "4548-4", - "display": "Hemoglobin A1c/Hemoglobin.total in Blood" - } - ], - "text": "Hemoglobin A1c/Hemoglobin.total in Blood" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "valueQuantity": { - "value": 6.19, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:afa46496-0646-42c7-a0d1-de5ee91f7346", - "resource": { - "resourceType": "MedicationRequest", - "id": "afa46496-0646-42c7-a0d1-de5ee91f7346", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "authoredOn": "2011-04-15T04:25:21-04:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:eae2cc31-4700-4f2c-aa66-f911a51aef30", - "resource": { - "resourceType": "Claim", - "id": "eae2cc31-4700-4f2c-aa66-f911a51aef30", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2011-04-15T04:25:21-04:00", - "end": "2011-04-15T04:40:21-04:00" - }, - "created": "2011-04-15T04:40:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:afa46496-0646-42c7-a0d1-de5ee91f7346" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:efe41301-cc37-47e3-bcf9-1059b9fa24de", - "resource": { - "resourceType": "Immunization", - "id": "efe41301-cc37-47e3-bcf9-1059b9fa24de", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" - ] - }, - "status": "completed", - "vaccineCode": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "occurrenceDateTime": "2011-04-15T04:25:21-04:00", - "primarySource": true, - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Immunization" - } - }, - { - "fullUrl": "urn:uuid:fa6b7992-af2f-45d5-92db-432f48909897", - "resource": { - "resourceType": "Immunization", - "id": "fa6b7992-af2f-45d5-92db-432f48909897", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" - ] - }, - "status": "completed", - "vaccineCode": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "113", - "display": "Td (adult) preservative free" - } - ], - "text": "Td (adult) preservative free" - }, - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "occurrenceDateTime": "2011-04-15T04:25:21-04:00", - "primarySource": true, - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Immunization" - } - }, - { - "fullUrl": "urn:uuid:61d29d7b-bf71-4f99-ab47-34ee53695a06", - "resource": { - "resourceType": "DiagnosticReport", - "id": "61d29d7b-bf71-4f99-ab47-34ee53695a06", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB", - "display": "Laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "51990-0", - "display": "Basic Metabolic Panel" - } - ], - "text": "Basic Metabolic Panel" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ], - "result": [ - { - "reference": "urn:uuid:9f156698-58a4-4203-9f9f-c5d00035be23", - "display": "Glucose" - }, - { - "reference": "urn:uuid:6531d108-0189-4da1-809b-18fb291b6e89", - "display": "Urea Nitrogen" - }, - { - "reference": "urn:uuid:4587fb98-65c5-4f57-a053-aa96d0af11c5", - "display": "Creatinine" - }, - { - "reference": "urn:uuid:34b455c2-58b2-44f4-89d4-ef13f9e9aa05", - "display": "Calcium" - }, - { - "reference": "urn:uuid:21999638-788b-4ed4-bf4f-c5bf3b717de3", - "display": "Sodium" - }, - { - "reference": "urn:uuid:a9f78ad2-f38c-4f8c-9e80-ad49a96950f9", - "display": "Potassium" - }, - { - "reference": "urn:uuid:881d4550-f693-42fd-9a40-b4c6aa664827", - "display": "Chloride" - }, - { - "reference": "urn:uuid:66b6b56d-1a4a-4f24-b822-f8f0af1f4d02", - "display": "Carbon Dioxide" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:cefff05f-6251-4045-8f26-98f710d0d37e", - "resource": { - "resourceType": "DiagnosticReport", - "id": "cefff05f-6251-4045-8f26-98f710d0d37e", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB", - "display": "Laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "58410-2", - "display": "Complete blood count (hemogram) panel - Blood by Automated count" - } - ], - "text": "Complete blood count (hemogram) panel - Blood by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ], - "result": [ - { - "reference": "urn:uuid:e6c79b32-d27e-4663-bcb0-df5ea3715aa7", - "display": "Leukocytes [#/volume] in Blood by Automated count" - }, - { - "reference": "urn:uuid:376cb148-8086-4941-943c-949d957da9c6", - "display": "Erythrocytes [#/volume] in Blood by Automated count" - }, - { - "reference": "urn:uuid:9e569308-73a7-43f5-a111-caa1fb2eb015", - "display": "Hemoglobin [Mass/volume] in Blood" - }, - { - "reference": "urn:uuid:8df45ef5-07df-4677-b5cb-36723f5e8c40", - "display": "Hematocrit [Volume Fraction] of Blood by Automated count" - }, - { - "reference": "urn:uuid:52d1b38a-4ab3-4000-855b-97c8701776ec", - "display": "MCV [Entitic volume] by Automated count" - }, - { - "reference": "urn:uuid:a587488a-07c3-47c1-a7a4-c2a0d2302abe", - "display": "MCH [Entitic mass] by Automated count" - }, - { - "reference": "urn:uuid:b4b3a065-ed04-4b16-9589-814466125664", - "display": "MCHC [Mass/volume] by Automated count" - }, - { - "reference": "urn:uuid:ac5da61b-0f22-4cb0-a988-dc0a010f072e", - "display": "Erythrocyte distribution width [Entitic volume] by Automated count" - }, - { - "reference": "urn:uuid:6da08b20-da46-4c5a-bee4-cc8593403122", - "display": "Platelets [#/volume] in Blood by Automated count" - }, - { - "reference": "urn:uuid:1818d919-78b1-4a8c-869f-5e8e4288667c", - "display": "Platelet distribution width [Entitic volume] in Blood by Automated count" - }, - { - "reference": "urn:uuid:e5904667-c55e-4098-96d2-c81d7e7daf75", - "display": "Platelet mean volume [Entitic volume] in Blood by Automated count" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:a207ec95-2db6-4940-bf72-34b12d39c92d", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a207ec95-2db6-4940-bf72-34b12d39c92d", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - "effectiveDateTime": "2011-04-15T04:25:21-04:00", - "issued": "2011-04-15T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMTEtMDQtMTUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMxIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLCB0ZCAoYWR1bHQpIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:bb1ac1f0-f634-4b16-9c10-75ffd54b2f7a", - "resource": { - "resourceType": "DocumentReference", - "id": "bb1ac1f0-f634-4b16-9c10-75ffd54b2f7a", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "a207ec95-2db6-4940-bf72-34b12d39c92d" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2011-04-15T04:25:21.151-04:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMTEtMDQtMTUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMxIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLCB0ZCAoYWR1bHQpIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - } - ], - "period": { - "start": "2011-04-15T04:25:21-04:00", - "end": "2011-04-15T04:40:21-04:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:674a9fa8-d00a-41e9-a49d-7eb658123d73", - "resource": { - "resourceType": "Claim", - "id": "674a9fa8-d00a-41e9-a49d-7eb658123d73", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2011-04-15T04:25:21-04:00", - "end": "2011-04-15T04:40:21-04:00" - }, - "created": "2011-04-15T04:40:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "supportingInfo": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", - "code": "info" - } - ] - }, - "valueReference": { - "reference": "urn:uuid:efe41301-cc37-47e3-bcf9-1059b9fa24de" - } - }, - { - "sequence": 2, - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", - "code": "info" - } - ] - }, - "valueReference": { - "reference": "urn:uuid:fa6b7992-af2f-45d5-92db-432f48909897" - } - } - ], - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "net": { - "value": 140.52, - "currency": "USD" - } - }, - { - "sequence": 3, - "informationSequence": [ - 2 - ], - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "113", - "display": "Td (adult) preservative free" - } - ], - "text": "Td (adult) preservative free" - }, - "net": { - "value": 140.52, - "currency": "USD" - } - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:cb7ff293-27ac-42bc-8380-4c192a1b2742", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "cb7ff293-27ac-42bc-8380-4c192a1b2742", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Anthem" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Anthem" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "674a9fa8-d00a-41e9-a49d-7eb658123d73" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2011-04-15T04:40:21-04:00", - "end": "2012-04-15T04:40:21-04:00" - }, - "created": "2011-04-15T04:40:21-04:00", - "insurer": { - "display": "Anthem" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:674a9fa8-d00a-41e9-a49d-7eb658123d73" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2011-04-15T04:25:21-04:00", - "end": "2011-04-15T04:40:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "servicedPeriod": { - "start": "2011-04-15T04:25:21-04:00", - "end": "2011-04-15T04:40:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "net": { - "value": 140.52, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 28.104000000000003, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 112.41600000000001, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - }, - { - "sequence": 3, - "informationSequence": [ - 2 - ], - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "113", - "display": "Td (adult) preservative free" - } - ], - "text": "Td (adult) preservative free" - }, - "servicedPeriod": { - "start": "2011-04-15T04:25:21-04:00", - "end": "2011-04-15T04:40:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "net": { - "value": 140.52, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 28.104000000000003, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 112.41600000000001, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 224.83200000000002, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68", - "resource": { - "resourceType": "Encounter", - "id": "598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2012-04-20T04:25:21-04:00", - "end": "2012-04-20T04:40:21-04:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2012-04-20T04:25:21-04:00", - "end": "2012-04-20T04:40:21-04:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:4c131060-003c-44c2-ade1-8546b1167699", - "resource": { - "resourceType": "Observation", - "id": "4c131060-003c-44c2-ade1-8546b1167699", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyheight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8302-2", - "display": "Body Height" - } - ], - "text": "Body Height" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "valueQuantity": { - "value": 176.6, - "unit": "cm", - "system": "http://unitsofmeasure.org", - "code": "cm" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:77b221fa-cdd9-4b4e-aff7-3baa21f89abf", - "resource": { - "resourceType": "Observation", - "id": "77b221fa-cdd9-4b4e-aff7-3baa21f89abf", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72514-3", - "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - } - ], - "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "valueQuantity": { - "value": 1, - "unit": "{score}", - "system": "http://unitsofmeasure.org", - "code": "{score}" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:f6081ea9-9ef6-49fe-a7d4-637d05849510", - "resource": { - "resourceType": "Observation", - "id": "f6081ea9-9ef6-49fe-a7d4-637d05849510", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyweight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "29463-7", - "display": "Body Weight" - } - ], - "text": "Body Weight" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "valueQuantity": { - "value": 87.2, - "unit": "kg", - "system": "http://unitsofmeasure.org", - "code": "kg" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:3237247a-5267-4660-b88f-a90ac5cf172b", - "resource": { - "resourceType": "Observation", - "id": "3237247a-5267-4660-b88f-a90ac5cf172b", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bmi", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "39156-5", - "display": "Body Mass Index" - } - ], - "text": "Body Mass Index" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "valueQuantity": { - "value": 27.96, - "unit": "kg/m2", - "system": "http://unitsofmeasure.org", - "code": "kg/m2" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:a5655945-9d9e-485e-a060-1595fb21f903", - "resource": { - "resourceType": "Observation", - "id": "a5655945-9d9e-485e-a060-1595fb21f903", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bp", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "85354-9", - "display": "Blood Pressure" - } - ], - "text": "Blood Pressure" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "component": [ - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8462-4", - "display": "Diastolic Blood Pressure" - } - ], - "text": "Diastolic Blood Pressure" - }, - "valueQuantity": { - "value": 82, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - }, - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8480-6", - "display": "Systolic Blood Pressure" - } - ], - "text": "Systolic Blood Pressure" - }, - "valueQuantity": { - "value": 128, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - } - ] - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:ab29315d-0d89-4da3-b7c7-8eff6b6dca98", - "resource": { - "resourceType": "Observation", - "id": "ab29315d-0d89-4da3-b7c7-8eff6b6dca98", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/heartrate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8867-4", - "display": "Heart rate" - } - ], - "text": "Heart rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "valueQuantity": { - "value": 94, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:d92483b1-f30f-443e-8b1b-2f2ea8a629c1", - "resource": { - "resourceType": "Observation", - "id": "d92483b1-f30f-443e-8b1b-2f2ea8a629c1", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/resprate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "9279-1", - "display": "Respiratory rate" - } - ], - "text": "Respiratory rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "valueQuantity": { - "value": 14, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:c3b4ea3d-8ee6-4bba-b20e-7a675edfce1f", - "resource": { - "resourceType": "Observation", - "id": "c3b4ea3d-8ee6-4bba-b20e-7a675edfce1f", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2339-0", - "display": "Glucose" - } - ], - "text": "Glucose" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "valueQuantity": { - "value": 69.85, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:b2ede4c2-a035-430e-9ab3-41dede9cf93f", - "resource": { - "resourceType": "Observation", - "id": "b2ede4c2-a035-430e-9ab3-41dede9cf93f", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6299-2", - "display": "Urea Nitrogen" - } - ], - "text": "Urea Nitrogen" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "valueQuantity": { - "value": 17.05, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:fe732b5a-ab89-401a-af62-86322ca9c912", - "resource": { - "resourceType": "Observation", - "id": "fe732b5a-ab89-401a-af62-86322ca9c912", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "38483-4", - "display": "Creatinine" - } - ], - "text": "Creatinine" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "valueQuantity": { - "value": 1.72, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:9c928c11-5300-4426-b704-27cc9e8e4ac3", - "resource": { - "resourceType": "Observation", - "id": "9c928c11-5300-4426-b704-27cc9e8e4ac3", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "49765-1", - "display": "Calcium" - } - ], - "text": "Calcium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "valueQuantity": { - "value": 9.68, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:422c7f20-5b7c-4fa3-a256-6ba5e4f33f3b", - "resource": { - "resourceType": "Observation", - "id": "422c7f20-5b7c-4fa3-a256-6ba5e4f33f3b", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2947-0", - "display": "Sodium" - } - ], - "text": "Sodium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "valueQuantity": { - "value": 141.1, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:15c553a2-5218-4ecb-a3ec-5fe37270c1eb", - "resource": { - "resourceType": "Observation", - "id": "15c553a2-5218-4ecb-a3ec-5fe37270c1eb", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6298-4", - "display": "Potassium" - } - ], - "text": "Potassium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "valueQuantity": { - "value": 4.15, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:370237e5-4823-4c6b-a945-e11e7a5de49c", - "resource": { - "resourceType": "Observation", - "id": "370237e5-4823-4c6b-a945-e11e7a5de49c", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2069-3", - "display": "Chloride" - } - ], - "text": "Chloride" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "valueQuantity": { - "value": 105.38, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:e62da0b8-d362-4bc4-b182-0b18dc3fb97d", - "resource": { - "resourceType": "Observation", - "id": "e62da0b8-d362-4bc4-b182-0b18dc3fb97d", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "20565-8", - "display": "Carbon Dioxide" - } - ], - "text": "Carbon Dioxide" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "valueQuantity": { - "value": 21, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:6a117173-fd5e-4928-8f60-410814a15fa8", - "resource": { - "resourceType": "Observation", - "id": "6a117173-fd5e-4928-8f60-410814a15fa8", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72166-2", - "display": "Tobacco smoking status NHIS" - } - ], - "text": "Tobacco smoking status NHIS" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "266919005", - "display": "Never smoker" - } - ], - "text": "Never smoker" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:8194e9b8-c991-4506-923c-6f7b939af9b2", - "resource": { - "resourceType": "Observation", - "id": "8194e9b8-c991-4506-923c-6f7b939af9b2", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "4548-4", - "display": "Hemoglobin A1c/Hemoglobin.total in Blood" - } - ], - "text": "Hemoglobin A1c/Hemoglobin.total in Blood" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "valueQuantity": { - "value": 5.81, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:ae83e5ae-e34f-482f-b883-ce6cb9ac21c0", - "resource": { - "resourceType": "MedicationRequest", - "id": "ae83e5ae-e34f-482f-b883-ce6cb9ac21c0", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "authoredOn": "2012-04-20T04:25:21-04:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:3a6b2e56-a04b-439f-ac1c-301c7a066369", - "resource": { - "resourceType": "Claim", - "id": "3a6b2e56-a04b-439f-ac1c-301c7a066369", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2012-04-20T04:25:21-04:00", - "end": "2012-04-20T04:40:21-04:00" - }, - "created": "2012-04-20T04:40:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:ae83e5ae-e34f-482f-b883-ce6cb9ac21c0" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:4b8e1bca-ea79-40b2-9337-5cb699ec6944", - "resource": { - "resourceType": "Immunization", - "id": "4b8e1bca-ea79-40b2-9337-5cb699ec6944", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" - ] - }, - "status": "completed", - "vaccineCode": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "occurrenceDateTime": "2012-04-20T04:25:21-04:00", - "primarySource": true, - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Immunization" - } - }, - { - "fullUrl": "urn:uuid:5727335a-ae5b-46c0-8867-cd024621cda8", - "resource": { - "resourceType": "DiagnosticReport", - "id": "5727335a-ae5b-46c0-8867-cd024621cda8", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB", - "display": "Laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "51990-0", - "display": "Basic Metabolic Panel" - } - ], - "text": "Basic Metabolic Panel" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ], - "result": [ - { - "reference": "urn:uuid:c3b4ea3d-8ee6-4bba-b20e-7a675edfce1f", - "display": "Glucose" - }, - { - "reference": "urn:uuid:b2ede4c2-a035-430e-9ab3-41dede9cf93f", - "display": "Urea Nitrogen" - }, - { - "reference": "urn:uuid:fe732b5a-ab89-401a-af62-86322ca9c912", - "display": "Creatinine" - }, - { - "reference": "urn:uuid:9c928c11-5300-4426-b704-27cc9e8e4ac3", - "display": "Calcium" - }, - { - "reference": "urn:uuid:422c7f20-5b7c-4fa3-a256-6ba5e4f33f3b", - "display": "Sodium" - }, - { - "reference": "urn:uuid:15c553a2-5218-4ecb-a3ec-5fe37270c1eb", - "display": "Potassium" - }, - { - "reference": "urn:uuid:370237e5-4823-4c6b-a945-e11e7a5de49c", - "display": "Chloride" - }, - { - "reference": "urn:uuid:e62da0b8-d362-4bc4-b182-0b18dc3fb97d", - "display": "Carbon Dioxide" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:e483ebfe-775b-4a47-ab5a-66be5cb37268", - "resource": { - "resourceType": "DiagnosticReport", - "id": "e483ebfe-775b-4a47-ab5a-66be5cb37268", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - "effectiveDateTime": "2012-04-20T04:25:21-04:00", - "issued": "2012-04-20T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMTItMDQtMjAKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMyIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:69028bd1-849e-4955-9858-9c692016ede6", - "resource": { - "resourceType": "DocumentReference", - "id": "69028bd1-849e-4955-9858-9c692016ede6", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "e483ebfe-775b-4a47-ab5a-66be5cb37268" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2012-04-20T04:25:21.151-04:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMTItMDQtMjAKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMyIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - } - ], - "period": { - "start": "2012-04-20T04:25:21-04:00", - "end": "2012-04-20T04:40:21-04:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:bf534a85-a451-4b81-b454-becd4025193f", - "resource": { - "resourceType": "Claim", - "id": "bf534a85-a451-4b81-b454-becd4025193f", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2012-04-20T04:25:21-04:00", - "end": "2012-04-20T04:40:21-04:00" - }, - "created": "2012-04-20T04:40:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "supportingInfo": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", - "code": "info" - } - ] - }, - "valueReference": { - "reference": "urn:uuid:4b8e1bca-ea79-40b2-9337-5cb699ec6944" - } - } - ], - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "net": { - "value": 140.52, - "currency": "USD" - } - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:96875074-9e97-4ea7-9311-d1f9065baeed", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "96875074-9e97-4ea7-9311-d1f9065baeed", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Anthem" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Anthem" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "bf534a85-a451-4b81-b454-becd4025193f" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2012-04-20T04:40:21-04:00", - "end": "2013-04-20T04:40:21-04:00" - }, - "created": "2012-04-20T04:40:21-04:00", - "insurer": { - "display": "Anthem" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:bf534a85-a451-4b81-b454-becd4025193f" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2012-04-20T04:25:21-04:00", - "end": "2012-04-20T04:40:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "servicedPeriod": { - "start": "2012-04-20T04:25:21-04:00", - "end": "2012-04-20T04:40:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "net": { - "value": 140.52, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 28.104000000000003, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 112.41600000000001, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 112.41600000000001, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3", - "resource": { - "resourceType": "Encounter", - "id": "26565133-56db-4371-a5e1-3abce33c37f3", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "26565133-56db-4371-a5e1-3abce33c37f3" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2013-04-26T04:25:21-04:00", - "end": "2013-04-26T04:55:21-04:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2013-04-26T04:25:21-04:00", - "end": "2013-04-26T04:55:21-04:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:bc5579b5-2ca3-4535-a9d6-951aac500a27", - "resource": { - "resourceType": "Observation", - "id": "bc5579b5-2ca3-4535-a9d6-951aac500a27", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyheight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8302-2", - "display": "Body Height" - } - ], - "text": "Body Height" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 176.6, - "unit": "cm", - "system": "http://unitsofmeasure.org", - "code": "cm" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:f11d0c63-92f3-4b0e-933a-a1a727465258", - "resource": { - "resourceType": "Observation", - "id": "f11d0c63-92f3-4b0e-933a-a1a727465258", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72514-3", - "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - } - ], - "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 1, - "unit": "{score}", - "system": "http://unitsofmeasure.org", - "code": "{score}" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:1681af37-ee93-49ff-b108-ead7689f6250", - "resource": { - "resourceType": "Observation", - "id": "1681af37-ee93-49ff-b108-ead7689f6250", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyweight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "29463-7", - "display": "Body Weight" - } - ], - "text": "Body Weight" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 89.1, - "unit": "kg", - "system": "http://unitsofmeasure.org", - "code": "kg" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:0e03d2c2-1ffa-4ebb-91bb-458b07dffd0a", - "resource": { - "resourceType": "Observation", - "id": "0e03d2c2-1ffa-4ebb-91bb-458b07dffd0a", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bmi", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "39156-5", - "display": "Body Mass Index" - } - ], - "text": "Body Mass Index" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 28.55, - "unit": "kg/m2", - "system": "http://unitsofmeasure.org", - "code": "kg/m2" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:db926460-0851-4148-a1c8-324c4a7c1ad2", - "resource": { - "resourceType": "Observation", - "id": "db926460-0851-4148-a1c8-324c4a7c1ad2", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bp", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "85354-9", - "display": "Blood Pressure" - } - ], - "text": "Blood Pressure" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "component": [ - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8462-4", - "display": "Diastolic Blood Pressure" - } - ], - "text": "Diastolic Blood Pressure" - }, - "valueQuantity": { - "value": 78, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - }, - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8480-6", - "display": "Systolic Blood Pressure" - } - ], - "text": "Systolic Blood Pressure" - }, - "valueQuantity": { - "value": 112, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - } - ] - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:41bcfaef-3971-430d-8386-e564da61f90d", - "resource": { - "resourceType": "Observation", - "id": "41bcfaef-3971-430d-8386-e564da61f90d", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/heartrate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8867-4", - "display": "Heart rate" - } - ], - "text": "Heart rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 85, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:e49b77c0-588f-4551-bca2-ea8f21664ba7", - "resource": { - "resourceType": "Observation", - "id": "e49b77c0-588f-4551-bca2-ea8f21664ba7", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/resprate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "9279-1", - "display": "Respiratory rate" - } - ], - "text": "Respiratory rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 13, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:e2444317-5049-48c7-ac3d-6b30586890ab", - "resource": { - "resourceType": "Observation", - "id": "e2444317-5049-48c7-ac3d-6b30586890ab", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2339-0", - "display": "Glucose" - } - ], - "text": "Glucose" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 77.77, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:ef97494d-9f95-40eb-9764-2f3d584db91f", - "resource": { - "resourceType": "Observation", - "id": "ef97494d-9f95-40eb-9764-2f3d584db91f", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6299-2", - "display": "Urea Nitrogen" - } - ], - "text": "Urea Nitrogen" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 7.14, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:b043c9e3-58c8-4c1e-902b-b61b4e606302", - "resource": { - "resourceType": "Observation", - "id": "b043c9e3-58c8-4c1e-902b-b61b4e606302", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "38483-4", - "display": "Creatinine" - } - ], - "text": "Creatinine" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 1.12, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:ebf8b1b7-318d-4b21-9a65-20132a6ed8da", - "resource": { - "resourceType": "Observation", - "id": "ebf8b1b7-318d-4b21-9a65-20132a6ed8da", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "49765-1", - "display": "Calcium" - } - ], - "text": "Calcium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 9.52, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:a9c106a8-39f5-4808-8b63-3b92f5a2cd47", - "resource": { - "resourceType": "Observation", - "id": "a9c106a8-39f5-4808-8b63-3b92f5a2cd47", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2947-0", - "display": "Sodium" - } - ], - "text": "Sodium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 137.42, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:40609dd9-4e93-4760-9cf0-1343eb69b910", - "resource": { - "resourceType": "Observation", - "id": "40609dd9-4e93-4760-9cf0-1343eb69b910", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6298-4", - "display": "Potassium" - } - ], - "text": "Potassium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 4.68, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:f009a6e4-02c3-4518-b7b2-faad9f4b12e1", - "resource": { - "resourceType": "Observation", - "id": "f009a6e4-02c3-4518-b7b2-faad9f4b12e1", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2069-3", - "display": "Chloride" - } - ], - "text": "Chloride" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 103.16, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:f9e7be0a-2b59-4810-a304-d30ec2a5b0b9", - "resource": { - "resourceType": "Observation", - "id": "f9e7be0a-2b59-4810-a304-d30ec2a5b0b9", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "20565-8", - "display": "Carbon Dioxide" - } - ], - "text": "Carbon Dioxide" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 23.84, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:a0347dcb-3901-4c64-97fa-d91547080902", - "resource": { - "resourceType": "Observation", - "id": "a0347dcb-3901-4c64-97fa-d91547080902", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2093-3", - "display": "Total Cholesterol" - } - ], - "text": "Total Cholesterol" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 185.44, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:1a381821-4247-412b-8e57-8e66506e0343", - "resource": { - "resourceType": "Observation", - "id": "1a381821-4247-412b-8e57-8e66506e0343", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2571-8", - "display": "Triglycerides" - } - ], - "text": "Triglycerides" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 145.83, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:7bb7038c-4c56-4f79-9d29-c93b5ddfc3ed", - "resource": { - "resourceType": "Observation", - "id": "7bb7038c-4c56-4f79-9d29-c93b5ddfc3ed", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "18262-6", - "display": "Low Density Lipoprotein Cholesterol" - } - ], - "text": "Low Density Lipoprotein Cholesterol" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 81.61, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:fdb1cbc7-39fc-4a54-8796-6aa08c5b9dfb", - "resource": { - "resourceType": "Observation", - "id": "fdb1cbc7-39fc-4a54-8796-6aa08c5b9dfb", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2085-9", - "display": "High Density Lipoprotein Cholesterol" - } - ], - "text": "High Density Lipoprotein Cholesterol" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 74.67, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:4f939f5c-a598-4929-add3-cb86867996bc", - "resource": { - "resourceType": "Observation", - "id": "4f939f5c-a598-4929-add3-cb86867996bc", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72166-2", - "display": "Tobacco smoking status NHIS" - } - ], - "text": "Tobacco smoking status NHIS" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "266919005", - "display": "Never smoker" - } - ], - "text": "Never smoker" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:4a4cd1fb-c0a8-4fa2-b53c-4f51bd336ed9", - "resource": { - "resourceType": "Observation", - "id": "4a4cd1fb-c0a8-4fa2-b53c-4f51bd336ed9", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "4548-4", - "display": "Hemoglobin A1c/Hemoglobin.total in Blood" - } - ], - "text": "Hemoglobin A1c/Hemoglobin.total in Blood" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "valueQuantity": { - "value": 6.35, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:d5e276fb-c14e-4cb4-86d6-96dd6613308b", - "resource": { - "resourceType": "Procedure", - "id": "d5e276fb-c14e-4cb4-86d6-96dd6613308b", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] - }, - "status": "completed", - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "performedPeriod": { - "start": "2013-04-26T04:25:21-04:00", - "end": "2013-04-26T04:40:21-04:00" - }, - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Procedure" - } - }, - { - "fullUrl": "urn:uuid:90e1d45a-c151-452c-9917-edb5e373da8c", - "resource": { - "resourceType": "MedicationRequest", - "id": "90e1d45a-c151-452c-9917-edb5e373da8c", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "authoredOn": "2013-04-26T04:25:21-04:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:ac50dcd3-3a90-42f3-ad5f-3022c481c5a0", - "resource": { - "resourceType": "Claim", - "id": "ac50dcd3-3a90-42f3-ad5f-3022c481c5a0", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2013-04-26T04:25:21-04:00", - "end": "2013-04-26T04:55:21-04:00" - }, - "created": "2013-04-26T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:90e1d45a-c151-452c-9917-edb5e373da8c" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:b40367ac-3a3c-49db-ace4-5d10143433e0", - "resource": { - "resourceType": "Immunization", - "id": "b40367ac-3a3c-49db-ace4-5d10143433e0", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" - ] - }, - "status": "completed", - "vaccineCode": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "occurrenceDateTime": "2013-04-26T04:25:21-04:00", - "primarySource": true, - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Immunization" - } - }, - { - "fullUrl": "urn:uuid:b0776459-aacf-4429-8777-e9d9f6ac6356", - "resource": { - "resourceType": "DiagnosticReport", - "id": "b0776459-aacf-4429-8777-e9d9f6ac6356", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB", - "display": "Laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "51990-0", - "display": "Basic Metabolic Panel" - } - ], - "text": "Basic Metabolic Panel" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ], - "result": [ - { - "reference": "urn:uuid:e2444317-5049-48c7-ac3d-6b30586890ab", - "display": "Glucose" - }, - { - "reference": "urn:uuid:ef97494d-9f95-40eb-9764-2f3d584db91f", - "display": "Urea Nitrogen" - }, - { - "reference": "urn:uuid:b043c9e3-58c8-4c1e-902b-b61b4e606302", - "display": "Creatinine" - }, - { - "reference": "urn:uuid:ebf8b1b7-318d-4b21-9a65-20132a6ed8da", - "display": "Calcium" - }, - { - "reference": "urn:uuid:a9c106a8-39f5-4808-8b63-3b92f5a2cd47", - "display": "Sodium" - }, - { - "reference": "urn:uuid:40609dd9-4e93-4760-9cf0-1343eb69b910", - "display": "Potassium" - }, - { - "reference": "urn:uuid:f009a6e4-02c3-4518-b7b2-faad9f4b12e1", - "display": "Chloride" - }, - { - "reference": "urn:uuid:f9e7be0a-2b59-4810-a304-d30ec2a5b0b9", - "display": "Carbon Dioxide" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:384e02d7-2e91-4680-97e9-6af9b90497bc", - "resource": { - "resourceType": "DiagnosticReport", - "id": "384e02d7-2e91-4680-97e9-6af9b90497bc", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB", - "display": "Laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "57698-3", - "display": "Lipid Panel" - } - ], - "text": "Lipid Panel" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ], - "result": [ - { - "reference": "urn:uuid:a0347dcb-3901-4c64-97fa-d91547080902", - "display": "Total Cholesterol" - }, - { - "reference": "urn:uuid:1a381821-4247-412b-8e57-8e66506e0343", - "display": "Triglycerides" - }, - { - "reference": "urn:uuid:7bb7038c-4c56-4f79-9d29-c93b5ddfc3ed", - "display": "Low Density Lipoprotein Cholesterol" - }, - { - "reference": "urn:uuid:fdb1cbc7-39fc-4a54-8796-6aa08c5b9dfb", - "display": "High Density Lipoprotein Cholesterol" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:54e1e43c-e24b-4e6f-8644-71da534d588d", - "resource": { - "resourceType": "DiagnosticReport", - "id": "54e1e43c-e24b-4e6f-8644-71da534d588d", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - "effectiveDateTime": "2013-04-26T04:25:21-04:00", - "issued": "2013-04-26T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMTMtMDQtMjYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:65088070-ba9d-4963-9fda-889c9f8ac0cd", - "resource": { - "resourceType": "DocumentReference", - "id": "65088070-ba9d-4963-9fda-889c9f8ac0cd", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "54e1e43c-e24b-4e6f-8644-71da534d588d" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2013-04-26T04:25:21.151-04:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMTMtMDQtMjYKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDMzIHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - } - ], - "period": { - "start": "2013-04-26T04:25:21-04:00", - "end": "2013-04-26T04:55:21-04:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:47d67403-5448-470c-807a-17fe4a1be47b", - "resource": { - "resourceType": "Claim", - "id": "47d67403-5448-470c-807a-17fe4a1be47b", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2013-04-26T04:25:21-04:00", - "end": "2013-04-26T04:55:21-04:00" - }, - "created": "2013-04-26T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "supportingInfo": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", - "code": "info" - } - ] - }, - "valueReference": { - "reference": "urn:uuid:b40367ac-3a3c-49db-ace4-5d10143433e0" - } - } - ], - "procedure": [ - { - "sequence": 1, - "procedureReference": { - "reference": "urn:uuid:d5e276fb-c14e-4cb4-86d6-96dd6613308b" - } - } - ], - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "net": { - "value": 140.52, - "currency": "USD" - } - }, - { - "sequence": 3, - "procedureSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "net": { - "value": 649.08, - "currency": "USD" - } - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:9365de57-307a-4de1-857f-29732b785c0c", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "9365de57-307a-4de1-857f-29732b785c0c", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Anthem" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Anthem" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "47d67403-5448-470c-807a-17fe4a1be47b" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2013-04-26T04:55:21-04:00", - "end": "2014-04-26T04:55:21-04:00" - }, - "created": "2013-04-26T04:55:21-04:00", - "insurer": { - "display": "Anthem" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:47d67403-5448-470c-807a-17fe4a1be47b" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2013-04-26T04:25:21-04:00", - "end": "2013-04-26T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "servicedPeriod": { - "start": "2013-04-26T04:25:21-04:00", - "end": "2013-04-26T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "net": { - "value": 140.52, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 28.104000000000003, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 112.41600000000001, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - }, - { - "sequence": 3, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "servicedPeriod": { - "start": "2013-04-26T04:25:21-04:00", - "end": "2013-04-26T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "net": { - "value": 649.08, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 129.816, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 519.264, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 649.08, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 649.08, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 631.6800000000001, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126", - "resource": { - "resourceType": "Encounter", - "id": "ff2fbf2f-34d5-47ed-8c13-d86652dd7126", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2014-05-02T04:25:21-04:00", - "end": "2014-05-02T04:40:21-04:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2014-05-02T04:25:21-04:00", - "end": "2014-05-02T04:40:21-04:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:3fa50573-c2e4-4d7a-b1e7-570e90465117", - "resource": { - "resourceType": "Observation", - "id": "3fa50573-c2e4-4d7a-b1e7-570e90465117", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyheight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8302-2", - "display": "Body Height" - } - ], - "text": "Body Height" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "valueQuantity": { - "value": 176.6, - "unit": "cm", - "system": "http://unitsofmeasure.org", - "code": "cm" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:6a092fd3-539c-4ae8-9741-99a65c40f24b", - "resource": { - "resourceType": "Observation", - "id": "6a092fd3-539c-4ae8-9741-99a65c40f24b", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72514-3", - "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - } - ], - "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "valueQuantity": { - "value": 0, - "unit": "{score}", - "system": "http://unitsofmeasure.org", - "code": "{score}" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:edaf7d2a-0037-4cc4-aab2-dd96ede72799", - "resource": { - "resourceType": "Observation", - "id": "edaf7d2a-0037-4cc4-aab2-dd96ede72799", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyweight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "29463-7", - "display": "Body Weight" - } - ], - "text": "Body Weight" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "valueQuantity": { - "value": 90.9, - "unit": "kg", - "system": "http://unitsofmeasure.org", - "code": "kg" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:defca8cd-b980-483b-8b3d-5d673acbdbab", - "resource": { - "resourceType": "Observation", - "id": "defca8cd-b980-483b-8b3d-5d673acbdbab", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bmi", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "39156-5", - "display": "Body Mass Index" - } - ], - "text": "Body Mass Index" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "valueQuantity": { - "value": 29.14, - "unit": "kg/m2", - "system": "http://unitsofmeasure.org", - "code": "kg/m2" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:8dc70997-71e3-431d-87fe-8ff34cd63ba1", - "resource": { - "resourceType": "Observation", - "id": "8dc70997-71e3-431d-87fe-8ff34cd63ba1", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bp", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "85354-9", - "display": "Blood Pressure" - } - ], - "text": "Blood Pressure" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "component": [ - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8462-4", - "display": "Diastolic Blood Pressure" - } - ], - "text": "Diastolic Blood Pressure" - }, - "valueQuantity": { - "value": 84, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - }, - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8480-6", - "display": "Systolic Blood Pressure" - } - ], - "text": "Systolic Blood Pressure" - }, - "valueQuantity": { - "value": 105, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - } - ] - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:cb5a2bbc-de9d-4926-b1c3-c4dadd6f19c5", - "resource": { - "resourceType": "Observation", - "id": "cb5a2bbc-de9d-4926-b1c3-c4dadd6f19c5", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/heartrate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8867-4", - "display": "Heart rate" - } - ], - "text": "Heart rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "valueQuantity": { - "value": 84, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:3bc7e770-582c-4d02-bd12-82f2eaad0806", - "resource": { - "resourceType": "Observation", - "id": "3bc7e770-582c-4d02-bd12-82f2eaad0806", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/resprate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "9279-1", - "display": "Respiratory rate" - } - ], - "text": "Respiratory rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "valueQuantity": { - "value": 16, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:3937a53f-0bc7-41ca-89e3-75e8359c513b", - "resource": { - "resourceType": "Observation", - "id": "3937a53f-0bc7-41ca-89e3-75e8359c513b", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2339-0", - "display": "Glucose" - } - ], - "text": "Glucose" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "valueQuantity": { - "value": 87.17, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:3ba5796c-4d7e-4034-a897-af99beeb6913", - "resource": { - "resourceType": "Observation", - "id": "3ba5796c-4d7e-4034-a897-af99beeb6913", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6299-2", - "display": "Urea Nitrogen" - } - ], - "text": "Urea Nitrogen" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "valueQuantity": { - "value": 10.38, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:a3c7cad8-3976-4cca-af92-a4c642b1828d", - "resource": { - "resourceType": "Observation", - "id": "a3c7cad8-3976-4cca-af92-a4c642b1828d", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "38483-4", - "display": "Creatinine" - } - ], - "text": "Creatinine" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "valueQuantity": { - "value": 1.14, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:248fa34e-e625-4393-806d-0a06d553d0ae", - "resource": { - "resourceType": "Observation", - "id": "248fa34e-e625-4393-806d-0a06d553d0ae", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "49765-1", - "display": "Calcium" - } - ], - "text": "Calcium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "valueQuantity": { - "value": 9.22, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:6ddf58ff-b453-4045-8ae8-f1cf34a61b05", - "resource": { - "resourceType": "Observation", - "id": "6ddf58ff-b453-4045-8ae8-f1cf34a61b05", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2947-0", - "display": "Sodium" - } - ], - "text": "Sodium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "valueQuantity": { - "value": 143.8, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:8bbc3a39-8c8e-4ced-bdd2-1d3e4b6f29c2", - "resource": { - "resourceType": "Observation", - "id": "8bbc3a39-8c8e-4ced-bdd2-1d3e4b6f29c2", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6298-4", - "display": "Potassium" - } - ], - "text": "Potassium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "valueQuantity": { - "value": 4.92, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:e5ad2326-c9fc-4521-a4d0-f2a11a343f1f", - "resource": { - "resourceType": "Observation", - "id": "e5ad2326-c9fc-4521-a4d0-f2a11a343f1f", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2069-3", - "display": "Chloride" - } - ], - "text": "Chloride" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "valueQuantity": { - "value": 102.47, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:23546ede-1dd0-4757-8d30-8b3b3182b2e6", - "resource": { - "resourceType": "Observation", - "id": "23546ede-1dd0-4757-8d30-8b3b3182b2e6", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "20565-8", - "display": "Carbon Dioxide" - } - ], - "text": "Carbon Dioxide" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "valueQuantity": { - "value": 24.86, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:957f679d-fa50-4a6c-9e87-164e8a974ed4", - "resource": { - "resourceType": "Observation", - "id": "957f679d-fa50-4a6c-9e87-164e8a974ed4", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72166-2", - "display": "Tobacco smoking status NHIS" - } - ], - "text": "Tobacco smoking status NHIS" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "266919005", - "display": "Never smoker" - } - ], - "text": "Never smoker" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:f1dd8bc1-a848-47fa-b7d6-63f9693ebf12", - "resource": { - "resourceType": "Observation", - "id": "f1dd8bc1-a848-47fa-b7d6-63f9693ebf12", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "4548-4", - "display": "Hemoglobin A1c/Hemoglobin.total in Blood" - } - ], - "text": "Hemoglobin A1c/Hemoglobin.total in Blood" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "valueQuantity": { - "value": 6.37, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:b399e705-b003-4c31-b1c2-9fee9552d487", - "resource": { - "resourceType": "MedicationRequest", - "id": "b399e705-b003-4c31-b1c2-9fee9552d487", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "authoredOn": "2014-05-02T04:25:21-04:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:5224e0ef-fba2-4e6a-a9b9-75b000f09aa7", - "resource": { - "resourceType": "Claim", - "id": "5224e0ef-fba2-4e6a-a9b9-75b000f09aa7", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2014-05-02T04:25:21-04:00", - "end": "2014-05-02T04:40:21-04:00" - }, - "created": "2014-05-02T04:40:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:b399e705-b003-4c31-b1c2-9fee9552d487" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:dd529300-f00d-4179-a72a-64789b7f28bf", - "resource": { - "resourceType": "Immunization", - "id": "dd529300-f00d-4179-a72a-64789b7f28bf", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" - ] - }, - "status": "completed", - "vaccineCode": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "occurrenceDateTime": "2014-05-02T04:25:21-04:00", - "primarySource": true, - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Immunization" - } - }, - { - "fullUrl": "urn:uuid:8a5cac6b-4ab1-4071-88ef-f05353cd51e1", - "resource": { - "resourceType": "DiagnosticReport", - "id": "8a5cac6b-4ab1-4071-88ef-f05353cd51e1", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB", - "display": "Laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "51990-0", - "display": "Basic Metabolic Panel" - } - ], - "text": "Basic Metabolic Panel" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ], - "result": [ - { - "reference": "urn:uuid:3937a53f-0bc7-41ca-89e3-75e8359c513b", - "display": "Glucose" - }, - { - "reference": "urn:uuid:3ba5796c-4d7e-4034-a897-af99beeb6913", - "display": "Urea Nitrogen" - }, - { - "reference": "urn:uuid:a3c7cad8-3976-4cca-af92-a4c642b1828d", - "display": "Creatinine" - }, - { - "reference": "urn:uuid:248fa34e-e625-4393-806d-0a06d553d0ae", - "display": "Calcium" - }, - { - "reference": "urn:uuid:6ddf58ff-b453-4045-8ae8-f1cf34a61b05", - "display": "Sodium" - }, - { - "reference": "urn:uuid:8bbc3a39-8c8e-4ced-bdd2-1d3e4b6f29c2", - "display": "Potassium" - }, - { - "reference": "urn:uuid:e5ad2326-c9fc-4521-a4d0-f2a11a343f1f", - "display": "Chloride" - }, - { - "reference": "urn:uuid:23546ede-1dd0-4757-8d30-8b3b3182b2e6", - "display": "Carbon Dioxide" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:b608e9ae-f41d-4e73-8c9f-7e73e7a54893", - "resource": { - "resourceType": "DiagnosticReport", - "id": "b608e9ae-f41d-4e73-8c9f-7e73e7a54893", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - "effectiveDateTime": "2014-05-02T04:25:21-04:00", - "issued": "2014-05-02T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMTQtMDUtMDIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:1a4b6041-3774-41e8-916f-4e23d9e0b85c", - "resource": { - "resourceType": "DocumentReference", - "id": "1a4b6041-3774-41e8-916f-4e23d9e0b85c", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "b608e9ae-f41d-4e73-8c9f-7e73e7a54893" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2014-05-02T04:25:21.151-04:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMTQtMDUtMDIKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM0IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - } - ], - "period": { - "start": "2014-05-02T04:25:21-04:00", - "end": "2014-05-02T04:40:21-04:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:391b44d6-2795-4949-96be-c8bdd947f5a4", - "resource": { - "resourceType": "Claim", - "id": "391b44d6-2795-4949-96be-c8bdd947f5a4", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2014-05-02T04:25:21-04:00", - "end": "2014-05-02T04:40:21-04:00" - }, - "created": "2014-05-02T04:40:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "supportingInfo": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", - "code": "info" - } - ] - }, - "valueReference": { - "reference": "urn:uuid:dd529300-f00d-4179-a72a-64789b7f28bf" - } - } - ], - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "net": { - "value": 140.52, - "currency": "USD" - } - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:de8082de-e6bb-4050-afff-d267a1da6c0e", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "de8082de-e6bb-4050-afff-d267a1da6c0e", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Anthem" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Anthem" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "391b44d6-2795-4949-96be-c8bdd947f5a4" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2014-05-02T04:40:21-04:00", - "end": "2015-05-02T04:40:21-04:00" - }, - "created": "2014-05-02T04:40:21-04:00", - "insurer": { - "display": "Anthem" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:391b44d6-2795-4949-96be-c8bdd947f5a4" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2014-05-02T04:25:21-04:00", - "end": "2014-05-02T04:40:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "servicedPeriod": { - "start": "2014-05-02T04:25:21-04:00", - "end": "2014-05-02T04:40:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "net": { - "value": 140.52, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 28.104000000000003, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 112.41600000000001, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 112.41600000000001, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce", - "resource": { - "resourceType": "Encounter", - "id": "4460bb89-0fc9-4f97-a497-dd99dc1dfcce", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2015-05-08T04:25:21-04:00", - "end": "2015-05-08T04:55:21-04:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2015-05-08T04:25:21-04:00", - "end": "2015-05-08T04:55:21-04:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:5f3eba41-7b28-469b-9e85-48870c9424be", - "resource": { - "resourceType": "Observation", - "id": "5f3eba41-7b28-469b-9e85-48870c9424be", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyheight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8302-2", - "display": "Body Height" - } - ], - "text": "Body Height" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "valueQuantity": { - "value": 176.6, - "unit": "cm", - "system": "http://unitsofmeasure.org", - "code": "cm" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:f90f27f8-c442-48d5-a76f-4d987b32a3aa", - "resource": { - "resourceType": "Observation", - "id": "f90f27f8-c442-48d5-a76f-4d987b32a3aa", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72514-3", - "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - } - ], - "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "valueQuantity": { - "value": 4, - "unit": "{score}", - "system": "http://unitsofmeasure.org", - "code": "{score}" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:f3087323-9ad9-4513-bf48-a6686fc93949", - "resource": { - "resourceType": "Observation", - "id": "f3087323-9ad9-4513-bf48-a6686fc93949", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyweight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "29463-7", - "display": "Body Weight" - } - ], - "text": "Body Weight" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "valueQuantity": { - "value": 92.7, - "unit": "kg", - "system": "http://unitsofmeasure.org", - "code": "kg" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:446dd387-3847-4523-b1df-8c1f01eefa19", - "resource": { - "resourceType": "Observation", - "id": "446dd387-3847-4523-b1df-8c1f01eefa19", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bmi", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "39156-5", - "display": "Body Mass Index" - } - ], - "text": "Body Mass Index" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "valueQuantity": { - "value": 29.73, - "unit": "kg/m2", - "system": "http://unitsofmeasure.org", - "code": "kg/m2" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:cbaeb79c-cbf0-40a7-a50c-729f8f4a0934", - "resource": { - "resourceType": "Observation", - "id": "cbaeb79c-cbf0-40a7-a50c-729f8f4a0934", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bp", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "85354-9", - "display": "Blood Pressure" - } - ], - "text": "Blood Pressure" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "component": [ - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8462-4", - "display": "Diastolic Blood Pressure" - } - ], - "text": "Diastolic Blood Pressure" - }, - "valueQuantity": { - "value": 87, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - }, - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8480-6", - "display": "Systolic Blood Pressure" - } - ], - "text": "Systolic Blood Pressure" - }, - "valueQuantity": { - "value": 124, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - } - ] - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:ed3aa6e1-d4a4-48ae-89d3-f9cb71d37647", - "resource": { - "resourceType": "Observation", - "id": "ed3aa6e1-d4a4-48ae-89d3-f9cb71d37647", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/heartrate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8867-4", - "display": "Heart rate" - } - ], - "text": "Heart rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "valueQuantity": { - "value": 79, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:3dda37ff-1a24-4de2-93a6-23eb6a6969e1", - "resource": { - "resourceType": "Observation", - "id": "3dda37ff-1a24-4de2-93a6-23eb6a6969e1", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/resprate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "9279-1", - "display": "Respiratory rate" - } - ], - "text": "Respiratory rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "valueQuantity": { - "value": 15, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:b9637bc3-1918-40fa-8ad8-a618752971a3", - "resource": { - "resourceType": "Observation", - "id": "b9637bc3-1918-40fa-8ad8-a618752971a3", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2339-0", - "display": "Glucose" - } - ], - "text": "Glucose" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "valueQuantity": { - "value": 77.29, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:8d1d0bed-b36d-4a1a-8486-bea42e622de9", - "resource": { - "resourceType": "Observation", - "id": "8d1d0bed-b36d-4a1a-8486-bea42e622de9", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6299-2", - "display": "Urea Nitrogen" - } - ], - "text": "Urea Nitrogen" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "valueQuantity": { - "value": 9.13, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:73b223fd-88c7-4610-b4d2-206f4143a3e7", - "resource": { - "resourceType": "Observation", - "id": "73b223fd-88c7-4610-b4d2-206f4143a3e7", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "38483-4", - "display": "Creatinine" - } - ], - "text": "Creatinine" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "valueQuantity": { - "value": 1.15, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:451034d9-c038-4794-a4e4-b23ee7a94a78", - "resource": { - "resourceType": "Observation", - "id": "451034d9-c038-4794-a4e4-b23ee7a94a78", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "49765-1", - "display": "Calcium" - } - ], - "text": "Calcium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "valueQuantity": { - "value": 10.15, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:400372d0-a7ea-4388-99d4-95ef1071a716", - "resource": { - "resourceType": "Observation", - "id": "400372d0-a7ea-4388-99d4-95ef1071a716", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2947-0", - "display": "Sodium" - } - ], - "text": "Sodium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "valueQuantity": { - "value": 141.98, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:dc236191-55fa-4c96-8c48-1e003ebaa08c", - "resource": { - "resourceType": "Observation", - "id": "dc236191-55fa-4c96-8c48-1e003ebaa08c", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6298-4", - "display": "Potassium" - } - ], - "text": "Potassium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "valueQuantity": { - "value": 4.11, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:c1f8b46f-18a8-47a6-a8b6-1ad3a52fa37e", - "resource": { - "resourceType": "Observation", - "id": "c1f8b46f-18a8-47a6-a8b6-1ad3a52fa37e", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2069-3", - "display": "Chloride" - } - ], - "text": "Chloride" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "valueQuantity": { - "value": 102.53, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:4e05e810-afe3-4992-9f91-14c9d36db93a", - "resource": { - "resourceType": "Observation", - "id": "4e05e810-afe3-4992-9f91-14c9d36db93a", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "20565-8", - "display": "Carbon Dioxide" - } - ], - "text": "Carbon Dioxide" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "valueQuantity": { - "value": 25.29, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:201a28b3-77b3-4be6-8a0f-833003453de7", - "resource": { - "resourceType": "Observation", - "id": "201a28b3-77b3-4be6-8a0f-833003453de7", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72166-2", - "display": "Tobacco smoking status NHIS" - } - ], - "text": "Tobacco smoking status NHIS" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "266919005", - "display": "Never smoker" - } - ], - "text": "Never smoker" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:844c17d8-4a0c-4cf1-a8a6-4d5e18aa16d3", - "resource": { - "resourceType": "Observation", - "id": "844c17d8-4a0c-4cf1-a8a6-4d5e18aa16d3", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "4548-4", - "display": "Hemoglobin A1c/Hemoglobin.total in Blood" - } - ], - "text": "Hemoglobin A1c/Hemoglobin.total in Blood" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "valueQuantity": { - "value": 6.25, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:fbf2ea35-9545-44b4-9b7b-c49a1002f49c", - "resource": { - "resourceType": "Procedure", - "id": "fbf2ea35-9545-44b4-9b7b-c49a1002f49c", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] - }, - "status": "completed", - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "performedPeriod": { - "start": "2015-05-08T04:25:21-04:00", - "end": "2015-05-08T04:40:21-04:00" - }, - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Procedure" - } - }, - { - "fullUrl": "urn:uuid:d31f7fa4-e0ac-4b27-af28-71e7c41ada9c", - "resource": { - "resourceType": "MedicationRequest", - "id": "d31f7fa4-e0ac-4b27-af28-71e7c41ada9c", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "authoredOn": "2015-05-08T04:25:21-04:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:d4172fc8-cd8d-4f40-863e-3ea2b5512239", - "resource": { - "resourceType": "Claim", - "id": "d4172fc8-cd8d-4f40-863e-3ea2b5512239", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2015-05-08T04:25:21-04:00", - "end": "2015-05-08T04:55:21-04:00" - }, - "created": "2015-05-08T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:d31f7fa4-e0ac-4b27-af28-71e7c41ada9c" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:e8c756c1-7fb6-4151-b801-29c1c5ec35b2", - "resource": { - "resourceType": "Immunization", - "id": "e8c756c1-7fb6-4151-b801-29c1c5ec35b2", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" - ] - }, - "status": "completed", - "vaccineCode": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "occurrenceDateTime": "2015-05-08T04:25:21-04:00", - "primarySource": true, - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Immunization" - } - }, - { - "fullUrl": "urn:uuid:d1d7b306-3443-4331-9071-56e92432f950", - "resource": { - "resourceType": "DiagnosticReport", - "id": "d1d7b306-3443-4331-9071-56e92432f950", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB", - "display": "Laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "51990-0", - "display": "Basic Metabolic Panel" - } - ], - "text": "Basic Metabolic Panel" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ], - "result": [ - { - "reference": "urn:uuid:b9637bc3-1918-40fa-8ad8-a618752971a3", - "display": "Glucose" - }, - { - "reference": "urn:uuid:8d1d0bed-b36d-4a1a-8486-bea42e622de9", - "display": "Urea Nitrogen" - }, - { - "reference": "urn:uuid:73b223fd-88c7-4610-b4d2-206f4143a3e7", - "display": "Creatinine" - }, - { - "reference": "urn:uuid:451034d9-c038-4794-a4e4-b23ee7a94a78", - "display": "Calcium" - }, - { - "reference": "urn:uuid:400372d0-a7ea-4388-99d4-95ef1071a716", - "display": "Sodium" - }, - { - "reference": "urn:uuid:dc236191-55fa-4c96-8c48-1e003ebaa08c", - "display": "Potassium" - }, - { - "reference": "urn:uuid:c1f8b46f-18a8-47a6-a8b6-1ad3a52fa37e", - "display": "Chloride" - }, - { - "reference": "urn:uuid:4e05e810-afe3-4992-9f91-14c9d36db93a", - "display": "Carbon Dioxide" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:6ed87cee-192a-4358-82d6-34ab2a7ce840", - "resource": { - "resourceType": "DiagnosticReport", - "id": "6ed87cee-192a-4358-82d6-34ab2a7ce840", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - "effectiveDateTime": "2015-05-08T04:25:21-04:00", - "issued": "2015-05-08T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMTUtMDUtMDgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM1IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:6a594c04-6751-4ccd-8cfc-d769fd3f125e", - "resource": { - "resourceType": "DocumentReference", - "id": "6a594c04-6751-4ccd-8cfc-d769fd3f125e", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "6ed87cee-192a-4358-82d6-34ab2a7ce840" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2015-05-08T04:25:21.151-04:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMTUtMDUtMDgKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM1IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - } - ], - "period": { - "start": "2015-05-08T04:25:21-04:00", - "end": "2015-05-08T04:55:21-04:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:453cb389-8554-4d2b-be3a-16e894908c38", - "resource": { - "resourceType": "Claim", - "id": "453cb389-8554-4d2b-be3a-16e894908c38", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2015-05-08T04:25:21-04:00", - "end": "2015-05-08T04:55:21-04:00" - }, - "created": "2015-05-08T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "supportingInfo": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", - "code": "info" - } - ] - }, - "valueReference": { - "reference": "urn:uuid:e8c756c1-7fb6-4151-b801-29c1c5ec35b2" - } - } - ], - "procedure": [ - { - "sequence": 1, - "procedureReference": { - "reference": "urn:uuid:fbf2ea35-9545-44b4-9b7b-c49a1002f49c" - } - } - ], - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "net": { - "value": 140.52, - "currency": "USD" - } - }, - { - "sequence": 3, - "procedureSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "net": { - "value": 485.01, - "currency": "USD" - } - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:a18757d5-4ce1-480d-87c6-8a43520688d7", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "a18757d5-4ce1-480d-87c6-8a43520688d7", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Anthem" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Anthem" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "453cb389-8554-4d2b-be3a-16e894908c38" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2015-05-08T04:55:21-04:00", - "end": "2016-05-08T04:55:21-04:00" - }, - "created": "2015-05-08T04:55:21-04:00", - "insurer": { - "display": "Anthem" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:453cb389-8554-4d2b-be3a-16e894908c38" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2015-05-08T04:25:21-04:00", - "end": "2015-05-08T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "servicedPeriod": { - "start": "2015-05-08T04:25:21-04:00", - "end": "2015-05-08T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "net": { - "value": 140.52, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 28.104000000000003, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 112.41600000000001, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - }, - { - "sequence": 3, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "servicedPeriod": { - "start": "2015-05-08T04:25:21-04:00", - "end": "2015-05-08T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "net": { - "value": 485.01, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 97.00200000000001, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 388.00800000000004, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 485.01, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 485.01, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 500.42400000000004, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54", - "resource": { - "resourceType": "Encounter", - "id": "78707346-d73c-4a18-b6fc-0b16bc6c6e54", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "78707346-d73c-4a18-b6fc-0b16bc6c6e54" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2016-05-13T04:25:21-04:00", - "end": "2016-05-13T04:55:21-04:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2016-05-13T04:25:21-04:00", - "end": "2016-05-13T04:55:21-04:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:a312b0aa-d47f-4bd8-8227-f336c5b86f99", - "resource": { - "resourceType": "Observation", - "id": "a312b0aa-d47f-4bd8-8227-f336c5b86f99", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyheight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8302-2", - "display": "Body Height" - } - ], - "text": "Body Height" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 176.6, - "unit": "cm", - "system": "http://unitsofmeasure.org", - "code": "cm" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:809b7b2f-8412-407a-a084-3813822e75f4", - "resource": { - "resourceType": "Observation", - "id": "809b7b2f-8412-407a-a084-3813822e75f4", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72514-3", - "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - } - ], - "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 4, - "unit": "{score}", - "system": "http://unitsofmeasure.org", - "code": "{score}" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:fbba73a8-4f90-4107-b682-c031e93e50fc", - "resource": { - "resourceType": "Observation", - "id": "fbba73a8-4f90-4107-b682-c031e93e50fc", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyweight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "29463-7", - "display": "Body Weight" - } - ], - "text": "Body Weight" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 90.4, - "unit": "kg", - "system": "http://unitsofmeasure.org", - "code": "kg" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:47403a7d-213f-43e5-8485-ee10f3a7eec4", - "resource": { - "resourceType": "Observation", - "id": "47403a7d-213f-43e5-8485-ee10f3a7eec4", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bmi", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "39156-5", - "display": "Body Mass Index" - } - ], - "text": "Body Mass Index" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 28.98, - "unit": "kg/m2", - "system": "http://unitsofmeasure.org", - "code": "kg/m2" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:7ff80d1f-a390-41b7-94c0-c97608405a64", - "resource": { - "resourceType": "Observation", - "id": "7ff80d1f-a390-41b7-94c0-c97608405a64", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bp", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "85354-9", - "display": "Blood Pressure" - } - ], - "text": "Blood Pressure" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "component": [ - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8462-4", - "display": "Diastolic Blood Pressure" - } - ], - "text": "Diastolic Blood Pressure" - }, - "valueQuantity": { - "value": 84, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - }, - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8480-6", - "display": "Systolic Blood Pressure" - } - ], - "text": "Systolic Blood Pressure" - }, - "valueQuantity": { - "value": 1.3E+2, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - } - ] - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:c46ac852-0c0c-43ae-be29-820018452a38", - "resource": { - "resourceType": "Observation", - "id": "c46ac852-0c0c-43ae-be29-820018452a38", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/heartrate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8867-4", - "display": "Heart rate" - } - ], - "text": "Heart rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 79, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:03207fb1-a550-42f6-8bd7-a2c1f3ac8ab7", - "resource": { - "resourceType": "Observation", - "id": "03207fb1-a550-42f6-8bd7-a2c1f3ac8ab7", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/resprate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "9279-1", - "display": "Respiratory rate" - } - ], - "text": "Respiratory rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 14, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:aeaeffb6-c4d1-4275-8980-3bc5d3bb3d00", - "resource": { - "resourceType": "Observation", - "id": "aeaeffb6-c4d1-4275-8980-3bc5d3bb3d00", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2339-0", - "display": "Glucose" - } - ], - "text": "Glucose" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 98.58, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:35032147-4d1d-4cbf-885b-9640ea563c4d", - "resource": { - "resourceType": "Observation", - "id": "35032147-4d1d-4cbf-885b-9640ea563c4d", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6299-2", - "display": "Urea Nitrogen" - } - ], - "text": "Urea Nitrogen" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 17.32, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:8025d499-1e4a-46f8-ad2e-1ee743bd9257", - "resource": { - "resourceType": "Observation", - "id": "8025d499-1e4a-46f8-ad2e-1ee743bd9257", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "38483-4", - "display": "Creatinine" - } - ], - "text": "Creatinine" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 1.38, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:c533bc2f-7c54-4b99-8be8-6fdffef6e1ea", - "resource": { - "resourceType": "Observation", - "id": "c533bc2f-7c54-4b99-8be8-6fdffef6e1ea", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "49765-1", - "display": "Calcium" - } - ], - "text": "Calcium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 8.97, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:fc521c56-1e41-4036-8484-244c95325778", - "resource": { - "resourceType": "Observation", - "id": "fc521c56-1e41-4036-8484-244c95325778", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2947-0", - "display": "Sodium" - } - ], - "text": "Sodium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 138.75, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:95670123-c09d-4884-97f2-c4b4b2b2b090", - "resource": { - "resourceType": "Observation", - "id": "95670123-c09d-4884-97f2-c4b4b2b2b090", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6298-4", - "display": "Potassium" - } - ], - "text": "Potassium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 5.14, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:10ef92e8-18a0-4566-9e8a-f650c8e6f986", - "resource": { - "resourceType": "Observation", - "id": "10ef92e8-18a0-4566-9e8a-f650c8e6f986", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2069-3", - "display": "Chloride" - } - ], - "text": "Chloride" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 107.58, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:f5330a15-9570-4b36-9294-a51058d8d049", - "resource": { - "resourceType": "Observation", - "id": "f5330a15-9570-4b36-9294-a51058d8d049", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "20565-8", - "display": "Carbon Dioxide" - } - ], - "text": "Carbon Dioxide" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 24.92, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:69d3a051-1788-45d6-ad85-c3488d7de7aa", - "resource": { - "resourceType": "Observation", - "id": "69d3a051-1788-45d6-ad85-c3488d7de7aa", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2093-3", - "display": "Total Cholesterol" - } - ], - "text": "Total Cholesterol" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 193.45, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:a1baf5b3-93de-4d16-b7ad-180abfa48c79", - "resource": { - "resourceType": "Observation", - "id": "a1baf5b3-93de-4d16-b7ad-180abfa48c79", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2571-8", - "display": "Triglycerides" - } - ], - "text": "Triglycerides" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 135.84, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:63166ac7-b99e-4711-bcf1-bfefe0824c18", - "resource": { - "resourceType": "Observation", - "id": "63166ac7-b99e-4711-bcf1-bfefe0824c18", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "18262-6", - "display": "Low Density Lipoprotein Cholesterol" - } - ], - "text": "Low Density Lipoprotein Cholesterol" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 86.87, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:7909fefa-a64f-488b-8f11-d79aab728068", - "resource": { - "resourceType": "Observation", - "id": "7909fefa-a64f-488b-8f11-d79aab728068", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2085-9", - "display": "High Density Lipoprotein Cholesterol" - } - ], - "text": "High Density Lipoprotein Cholesterol" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 79.42, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:73b004c9-04c7-40f2-ad1f-553f7e71660f", - "resource": { - "resourceType": "Observation", - "id": "73b004c9-04c7-40f2-ad1f-553f7e71660f", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6690-2", - "display": "Leukocytes [#/volume] in Blood by Automated count" - } - ], - "text": "Leukocytes [#/volume] in Blood by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 8.373, - "unit": "10*3/uL", - "system": "http://unitsofmeasure.org", - "code": "10*3/uL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:d44f74eb-f859-4729-ad8b-dba6074f7a41", - "resource": { - "resourceType": "Observation", - "id": "d44f74eb-f859-4729-ad8b-dba6074f7a41", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "789-8", - "display": "Erythrocytes [#/volume] in Blood by Automated count" - } - ], - "text": "Erythrocytes [#/volume] in Blood by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 4.4389, - "unit": "10*6/uL", - "system": "http://unitsofmeasure.org", - "code": "10*6/uL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:a39ba7d0-f20a-4344-8d86-67ba5231d162", - "resource": { - "resourceType": "Observation", - "id": "a39ba7d0-f20a-4344-8d86-67ba5231d162", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "718-7", - "display": "Hemoglobin [Mass/volume] in Blood" - } - ], - "text": "Hemoglobin [Mass/volume] in Blood" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 15.852, - "unit": "g/dL", - "system": "http://unitsofmeasure.org", - "code": "g/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:2c33007d-47df-4c33-8a8f-10107713162e", - "resource": { - "resourceType": "Observation", - "id": "2c33007d-47df-4c33-8a8f-10107713162e", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "4544-3", - "display": "Hematocrit [Volume Fraction] of Blood by Automated count" - } - ], - "text": "Hematocrit [Volume Fraction] of Blood by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 47.227, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:70da1bdb-4f75-4d15-92d3-f3c858fe9b4a", - "resource": { - "resourceType": "Observation", - "id": "70da1bdb-4f75-4d15-92d3-f3c858fe9b4a", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "787-2", - "display": "MCV [Entitic volume] by Automated count" - } - ], - "text": "MCV [Entitic volume] by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 90.562, - "unit": "fL", - "system": "http://unitsofmeasure.org", - "code": "fL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:3a5edd09-0f0d-4690-8f85-9d627e5a5121", - "resource": { - "resourceType": "Observation", - "id": "3a5edd09-0f0d-4690-8f85-9d627e5a5121", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "785-6", - "display": "MCH [Entitic mass] by Automated count" - } - ], - "text": "MCH [Entitic mass] by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 31.323, - "unit": "pg", - "system": "http://unitsofmeasure.org", - "code": "pg" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:e6455ae6-4852-4f7d-adf3-7a3bbff0ac95", - "resource": { - "resourceType": "Observation", - "id": "e6455ae6-4852-4f7d-adf3-7a3bbff0ac95", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "786-4", - "display": "MCHC [Mass/volume] by Automated count" - } - ], - "text": "MCHC [Mass/volume] by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 33.031, - "unit": "g/dL", - "system": "http://unitsofmeasure.org", - "code": "g/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:dc7635f6-de33-4a2b-a42b-6b0dcdb48299", - "resource": { - "resourceType": "Observation", - "id": "dc7635f6-de33-4a2b-a42b-6b0dcdb48299", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "21000-5", - "display": "Erythrocyte distribution width [Entitic volume] by Automated count" - } - ], - "text": "Erythrocyte distribution width [Entitic volume] by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 45.168, - "unit": "fL", - "system": "http://unitsofmeasure.org", - "code": "fL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:4f6911c1-ac5d-4fcd-ab79-9d68dc8bcfb0", - "resource": { - "resourceType": "Observation", - "id": "4f6911c1-ac5d-4fcd-ab79-9d68dc8bcfb0", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "777-3", - "display": "Platelets [#/volume] in Blood by Automated count" - } - ], - "text": "Platelets [#/volume] in Blood by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 293.53, - "unit": "10*3/uL", - "system": "http://unitsofmeasure.org", - "code": "10*3/uL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:a034f8ec-9f09-4f3d-a2cd-89f70e7f9ea2", - "resource": { - "resourceType": "Observation", - "id": "a034f8ec-9f09-4f3d-a2cd-89f70e7f9ea2", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "32207-3", - "display": "Platelet distribution width [Entitic volume] in Blood by Automated count" - } - ], - "text": "Platelet distribution width [Entitic volume] in Blood by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 218.43, - "unit": "fL", - "system": "http://unitsofmeasure.org", - "code": "fL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:fff28476-b3a3-4324-9314-453c257538c2", - "resource": { - "resourceType": "Observation", - "id": "fff28476-b3a3-4324-9314-453c257538c2", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "32623-1", - "display": "Platelet mean volume [Entitic volume] in Blood by Automated count" - } - ], - "text": "Platelet mean volume [Entitic volume] in Blood by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 10.831, - "unit": "fL", - "system": "http://unitsofmeasure.org", - "code": "fL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:6e8c3d60-9166-4449-9c0f-a235bf3525d4", - "resource": { - "resourceType": "Observation", - "id": "6e8c3d60-9166-4449-9c0f-a235bf3525d4", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72166-2", - "display": "Tobacco smoking status NHIS" - } - ], - "text": "Tobacco smoking status NHIS" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "266919005", - "display": "Never smoker" - } - ], - "text": "Never smoker" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:19584cf5-ca16-4b44-b284-887bc05ab9f9", - "resource": { - "resourceType": "Observation", - "id": "19584cf5-ca16-4b44-b284-887bc05ab9f9", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "4548-4", - "display": "Hemoglobin A1c/Hemoglobin.total in Blood" - } - ], - "text": "Hemoglobin A1c/Hemoglobin.total in Blood" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "valueQuantity": { - "value": 5.91, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:de09084a-8010-4dab-a509-8f5749c0c1f9", - "resource": { - "resourceType": "Procedure", - "id": "de09084a-8010-4dab-a509-8f5749c0c1f9", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] - }, - "status": "completed", - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "performedPeriod": { - "start": "2016-05-13T04:25:21-04:00", - "end": "2016-05-13T04:40:21-04:00" - }, - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Procedure" - } - }, - { - "fullUrl": "urn:uuid:849450f9-be1d-44a5-9640-b0d48ca95ac2", - "resource": { - "resourceType": "MedicationRequest", - "id": "849450f9-be1d-44a5-9640-b0d48ca95ac2", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "authoredOn": "2016-05-13T04:25:21-04:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:19f55536-11a8-4ae0-ab90-bb674d0e20c9", - "resource": { - "resourceType": "Claim", - "id": "19f55536-11a8-4ae0-ab90-bb674d0e20c9", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2016-05-13T04:25:21-04:00", - "end": "2016-05-13T04:55:21-04:00" - }, - "created": "2016-05-13T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:849450f9-be1d-44a5-9640-b0d48ca95ac2" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:c0a584b2-bfff-4ea0-bda2-af162d77b9cb", - "resource": { - "resourceType": "Immunization", - "id": "c0a584b2-bfff-4ea0-bda2-af162d77b9cb", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" - ] - }, - "status": "completed", - "vaccineCode": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "occurrenceDateTime": "2016-05-13T04:25:21-04:00", - "primarySource": true, - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Immunization" - } - }, - { - "fullUrl": "urn:uuid:ac9c74c9-a21e-42b9-bfab-f83b204ca193", - "resource": { - "resourceType": "DiagnosticReport", - "id": "ac9c74c9-a21e-42b9-bfab-f83b204ca193", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB", - "display": "Laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "51990-0", - "display": "Basic Metabolic Panel" - } - ], - "text": "Basic Metabolic Panel" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ], - "result": [ - { - "reference": "urn:uuid:aeaeffb6-c4d1-4275-8980-3bc5d3bb3d00", - "display": "Glucose" - }, - { - "reference": "urn:uuid:35032147-4d1d-4cbf-885b-9640ea563c4d", - "display": "Urea Nitrogen" - }, - { - "reference": "urn:uuid:8025d499-1e4a-46f8-ad2e-1ee743bd9257", - "display": "Creatinine" - }, - { - "reference": "urn:uuid:c533bc2f-7c54-4b99-8be8-6fdffef6e1ea", - "display": "Calcium" - }, - { - "reference": "urn:uuid:fc521c56-1e41-4036-8484-244c95325778", - "display": "Sodium" - }, - { - "reference": "urn:uuid:95670123-c09d-4884-97f2-c4b4b2b2b090", - "display": "Potassium" - }, - { - "reference": "urn:uuid:10ef92e8-18a0-4566-9e8a-f650c8e6f986", - "display": "Chloride" - }, - { - "reference": "urn:uuid:f5330a15-9570-4b36-9294-a51058d8d049", - "display": "Carbon Dioxide" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:cd619c20-fa5c-43bd-8472-7a51ea2fa4d2", - "resource": { - "resourceType": "DiagnosticReport", - "id": "cd619c20-fa5c-43bd-8472-7a51ea2fa4d2", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB", - "display": "Laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "57698-3", - "display": "Lipid Panel" - } - ], - "text": "Lipid Panel" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ], - "result": [ - { - "reference": "urn:uuid:69d3a051-1788-45d6-ad85-c3488d7de7aa", - "display": "Total Cholesterol" - }, - { - "reference": "urn:uuid:a1baf5b3-93de-4d16-b7ad-180abfa48c79", - "display": "Triglycerides" - }, - { - "reference": "urn:uuid:63166ac7-b99e-4711-bcf1-bfefe0824c18", - "display": "Low Density Lipoprotein Cholesterol" - }, - { - "reference": "urn:uuid:7909fefa-a64f-488b-8f11-d79aab728068", - "display": "High Density Lipoprotein Cholesterol" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:9cab30d0-3f65-4ed2-8207-ddbe680fb817", - "resource": { - "resourceType": "DiagnosticReport", - "id": "9cab30d0-3f65-4ed2-8207-ddbe680fb817", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB", - "display": "Laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "58410-2", - "display": "Complete blood count (hemogram) panel - Blood by Automated count" - } - ], - "text": "Complete blood count (hemogram) panel - Blood by Automated count" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ], - "result": [ - { - "reference": "urn:uuid:73b004c9-04c7-40f2-ad1f-553f7e71660f", - "display": "Leukocytes [#/volume] in Blood by Automated count" - }, - { - "reference": "urn:uuid:d44f74eb-f859-4729-ad8b-dba6074f7a41", - "display": "Erythrocytes [#/volume] in Blood by Automated count" - }, - { - "reference": "urn:uuid:a39ba7d0-f20a-4344-8d86-67ba5231d162", - "display": "Hemoglobin [Mass/volume] in Blood" - }, - { - "reference": "urn:uuid:2c33007d-47df-4c33-8a8f-10107713162e", - "display": "Hematocrit [Volume Fraction] of Blood by Automated count" - }, - { - "reference": "urn:uuid:70da1bdb-4f75-4d15-92d3-f3c858fe9b4a", - "display": "MCV [Entitic volume] by Automated count" - }, - { - "reference": "urn:uuid:3a5edd09-0f0d-4690-8f85-9d627e5a5121", - "display": "MCH [Entitic mass] by Automated count" - }, - { - "reference": "urn:uuid:e6455ae6-4852-4f7d-adf3-7a3bbff0ac95", - "display": "MCHC [Mass/volume] by Automated count" - }, - { - "reference": "urn:uuid:dc7635f6-de33-4a2b-a42b-6b0dcdb48299", - "display": "Erythrocyte distribution width [Entitic volume] by Automated count" - }, - { - "reference": "urn:uuid:4f6911c1-ac5d-4fcd-ab79-9d68dc8bcfb0", - "display": "Platelets [#/volume] in Blood by Automated count" - }, - { - "reference": "urn:uuid:a034f8ec-9f09-4f3d-a2cd-89f70e7f9ea2", - "display": "Platelet distribution width [Entitic volume] in Blood by Automated count" - }, - { - "reference": "urn:uuid:fff28476-b3a3-4324-9314-453c257538c2", - "display": "Platelet mean volume [Entitic volume] in Blood by Automated count" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:4d822e68-e098-4850-a077-b831ecc3d65c", - "resource": { - "resourceType": "DiagnosticReport", - "id": "4d822e68-e098-4850-a077-b831ecc3d65c", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - "effectiveDateTime": "2016-05-13T04:25:21-04:00", - "issued": "2016-05-13T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMTYtMDUtMTMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:2f447df9-c1c7-4184-8ed8-1b0d4c2722af", - "resource": { - "resourceType": "DocumentReference", - "id": "2f447df9-c1c7-4184-8ed8-1b0d4c2722af", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "4d822e68-e098-4850-a077-b831ecc3d65c" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2016-05-13T04:25:21.151-04:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMTYtMDUtMTMKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuCgoKIyMgUGxhbgpQYXRpZW50IHdhcyBnaXZlbiB0aGUgZm9sbG93aW5nIGltbXVuaXphdGlvbnM6IGluZmx1ZW56YSwgc2Vhc29uYWwsIGluamVjdGFibGUsIHByZXNlcnZhdGl2ZSBmcmVlLiAKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIG1lZGljYXRpb24gcmVjb25jaWxpYXRpb24gKHByb2NlZHVyZSkKVGhlIHBhdGllbnQgd2FzIHByZXNjcmliZWQgdGhlIGZvbGxvd2luZyBtZWRpY2F0aW9uczoKLSBhdGVub2xvbCA1MCBtZyAvIGNobG9ydGhhbGlkb25lIDI1IG1nIG9yYWwgdGFibGV0Cg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - } - ], - "period": { - "start": "2016-05-13T04:25:21-04:00", - "end": "2016-05-13T04:55:21-04:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:98077579-ec65-48bd-b379-f58f1874f519", - "resource": { - "resourceType": "Claim", - "id": "98077579-ec65-48bd-b379-f58f1874f519", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2016-05-13T04:25:21-04:00", - "end": "2016-05-13T04:55:21-04:00" - }, - "created": "2016-05-13T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "supportingInfo": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", - "code": "info" - } - ] - }, - "valueReference": { - "reference": "urn:uuid:c0a584b2-bfff-4ea0-bda2-af162d77b9cb" - } - } - ], - "procedure": [ - { - "sequence": 1, - "procedureReference": { - "reference": "urn:uuid:de09084a-8010-4dab-a509-8f5749c0c1f9" - } - } - ], - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "net": { - "value": 140.52, - "currency": "USD" - } - }, - { - "sequence": 3, - "procedureSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "net": { - "value": 952.76, - "currency": "USD" - } - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:4b3e25bf-5805-4361-9ece-4907fc3628c5", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "4b3e25bf-5805-4361-9ece-4907fc3628c5", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Anthem" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Anthem" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "98077579-ec65-48bd-b379-f58f1874f519" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2016-05-13T04:55:21-04:00", - "end": "2017-05-13T04:55:21-04:00" - }, - "created": "2016-05-13T04:55:21-04:00", - "insurer": { - "display": "Anthem" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:98077579-ec65-48bd-b379-f58f1874f519" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2016-05-13T04:25:21-04:00", - "end": "2016-05-13T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "servicedPeriod": { - "start": "2016-05-13T04:25:21-04:00", - "end": "2016-05-13T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "net": { - "value": 140.52, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 28.104000000000003, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 112.41600000000001, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - }, - { - "sequence": 3, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "servicedPeriod": { - "start": "2016-05-13T04:25:21-04:00", - "end": "2016-05-13T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "net": { - "value": 952.76, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 190.55200000000002, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 762.2080000000001, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 952.76, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 952.76, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 874.6240000000001, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8", - "resource": { - "resourceType": "Encounter", - "id": "8df28b50-9224-40fe-9ae5-3d93442c6de8", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "8df28b50-9224-40fe-9ae5-3d93442c6de8" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185345009", - "display": "Encounter for symptom" - } - ], - "text": "Encounter for symptom" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2016-10-05T04:25:21-04:00", - "end": "2016-10-05T04:55:21-04:00" - }, - "individual": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - } - } - ], - "period": { - "start": "2016-10-05T04:25:21-04:00", - "end": "2016-10-05T04:55:21-04:00" - }, - "reasonCode": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "195662009", - "display": "Acute viral pharyngitis (disorder)" - } - ] - } - ], - "location": [ - { - "location": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:5b09357c-ee84-4488-8e37-9fc509f2626a", - "resource": { - "resourceType": "Condition", - "id": "5b09357c-ee84-4488-8e37-9fc509f2626a", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" - ] - }, - "clinicalStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "resolved" - } - ] - }, - "verificationStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", - "code": "confirmed" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-category", - "code": "encounter-diagnosis", - "display": "Encounter Diagnosis" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "195662009", - "display": "Acute viral pharyngitis (disorder)" - } - ], - "text": "Acute viral pharyngitis (disorder)" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" - }, - "onsetDateTime": "2016-10-05T04:25:21-04:00", - "abatementDateTime": "2016-10-16T04:25:21-04:00", - "recordedDate": "2016-10-05T04:25:21-04:00" - }, - "request": { - "method": "POST", - "url": "Condition" - } - }, - { - "fullUrl": "urn:uuid:2e2a6efd-8836-4edb-8a1b-4411906dfa06", - "resource": { - "resourceType": "Observation", - "id": "2e2a6efd-8836-4edb-8a1b-4411906dfa06", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodytemp", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8310-5", - "display": "Body temperature" - }, - { - "system": "http://loinc.org", - "code": "8331-1", - "display": "Oral temperature" - } - ], - "text": "Body temperature" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" - }, - "effectiveDateTime": "2016-10-05T04:25:21-04:00", - "issued": "2016-10-05T04:25:21.151-04:00", - "valueQuantity": { - "value": 37.102, - "unit": "Cel", - "system": "http://unitsofmeasure.org", - "code": "Cel" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:5605e654-548a-4a6f-b6e7-1d44acf833bf", - "resource": { - "resourceType": "Procedure", - "id": "5605e654-548a-4a6f-b6e7-1d44acf833bf", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] - }, - "status": "completed", - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "117015009", - "display": "Throat culture (procedure)" - } - ], - "text": "Throat culture (procedure)" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" - }, - "performedPeriod": { - "start": "2016-10-05T04:25:21-04:00", - "end": "2016-10-05T04:40:21-04:00" - }, - "location": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "reasonReference": [ - { - "reference": "urn:uuid:5b09357c-ee84-4488-8e37-9fc509f2626a", - "display": "Acute viral pharyngitis (disorder)" - } - ] - }, - "request": { - "method": "POST", - "url": "Procedure" - } - }, - { - "fullUrl": "urn:uuid:24d9d22e-fe26-4dd7-8f85-44da6ba12312", - "resource": { - "resourceType": "DiagnosticReport", - "id": "24d9d22e-fe26-4dd7-8f85-44da6ba12312", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" - }, - "effectiveDateTime": "2016-10-05T04:25:21-04:00", - "issued": "2016-10-05T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMTYtMTAtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuClBhdGllbnQgaXMgcHJlc2VudGluZyB3aXRoIGFjdXRlIHZpcmFsIHBoYXJ5bmdpdGlzIChkaXNvcmRlcikuIAoKIyMgUGxhbgoKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIHRocm9hdCBjdWx0dXJlIChwcm9jZWR1cmUpCg==" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:21960643-d609-4531-9577-a78966cf5dfe", - "resource": { - "resourceType": "DocumentReference", - "id": "21960643-d609-4531-9577-a78966cf5dfe", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "24d9d22e-fe26-4dd7-8f85-44da6ba12312" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2016-10-05T04:25:21.151-04:00", - "author": [ - { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962", - "display": "Dr. Wen848 Ebert178" - } - ], - "custodian": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMTYtMTAtMDUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM2IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuCgojIFNvY2lhbCBIaXN0b3J5ClBhdGllbnQgaXMgbWFycmllZC4gUGF0aWVudCBpcyBhbiBhY3RpdmUgc21va2VyIGFuZCBpcyBhbiBhbGNvaG9saWMuIFBhdGllbnQgaWRlbnRpZmllcyBhcyBoZXRlcm9zZXh1YWwuCgpQYXRpZW50IGNvbWVzIGZyb20gYSBtaWRkbGUgc29jaW9lY29ub21pYyBiYWNrZ3JvdW5kLiBQYXRpZW50IGhhcyBhIGhpZ2ggc2Nob29sIGVkdWNhdGlvbi4gUGF0aWVudCBjdXJyZW50bHkgaGFzIEFudGhlbS4KCiMgQWxsZXJnaWVzCk5vIEtub3duIEFsbGVyZ2llcy4KCiMgTWVkaWNhdGlvbnMKYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAoKIyBBc3Nlc3NtZW50IGFuZCBQbGFuClBhdGllbnQgaXMgcHJlc2VudGluZyB3aXRoIGFjdXRlIHZpcmFsIHBoYXJ5bmdpdGlzIChkaXNvcmRlcikuIAoKIyMgUGxhbgoKVGhlIGZvbGxvd2luZyBwcm9jZWR1cmVzIHdlcmUgY29uZHVjdGVkOgotIHRocm9hdCBjdWx0dXJlIChwcm9jZWR1cmUpCg==" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" - } - ], - "period": { - "start": "2016-10-05T04:25:21-04:00", - "end": "2016-10-05T04:55:21-04:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:01f46a34-c2f2-4b25-bee9-f2c86986b7e9", - "resource": { - "resourceType": "Claim", - "id": "01f46a34-c2f2-4b25-bee9-f2c86986b7e9", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2016-10-05T04:25:21-04:00", - "end": "2016-10-05T04:55:21-04:00" - }, - "created": "2016-10-05T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "diagnosis": [ - { - "sequence": 1, - "diagnosisReference": { - "reference": "urn:uuid:5b09357c-ee84-4488-8e37-9fc509f2626a" - } - } - ], - "procedure": [ - { - "sequence": 1, - "procedureReference": { - "reference": "urn:uuid:5605e654-548a-4a6f-b6e7-1d44acf833bf" - } - } - ], - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185345009", - "display": "Encounter for symptom" - } - ], - "text": "Encounter for symptom" - }, - "encounter": [ - { - "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" - } - ] - }, - { - "sequence": 2, - "diagnosisSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "195662009", - "display": "Acute viral pharyngitis (disorder)" - } - ], - "text": "Acute viral pharyngitis (disorder)" - } - }, - { - "sequence": 3, - "procedureSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "117015009", - "display": "Throat culture (procedure)" - } - ], - "text": "Throat culture (procedure)" - }, - "net": { - "value": 1941.03, - "currency": "USD" - } - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:7079afeb-d7ae-48d5-a523-b9c80c52b3a0", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "7079afeb-d7ae-48d5-a523-b9c80c52b3a0", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - }, - "performer": [ - { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "NO_INSURANCE" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "NO_INSURANCE" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "01f46a34-c2f2-4b25-bee9-f2c86986b7e9" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2016-10-05T04:55:21-04:00", - "end": "2017-10-05T04:55:21-04:00" - }, - "created": "2016-10-05T04:55:21-04:00", - "insurer": { - "display": "NO_INSURANCE" - }, - "provider": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - }, - "claim": { - "reference": "urn:uuid:01f46a34-c2f2-4b25-bee9-f2c86986b7e9" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "diagnosis": [ - { - "sequence": 1, - "diagnosisReference": { - "reference": "urn:uuid:5b09357c-ee84-4488-8e37-9fc509f2626a" - }, - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype", - "code": "principal" - } - ] - } - ] - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "185345009", - "display": "Encounter for symptom" - } - ], - "text": "Encounter for symptom" - }, - "servicedPeriod": { - "start": "2016-10-05T04:25:21-04:00", - "end": "2016-10-05T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "21", - "display": "Inpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" - } - ] - }, - { - "sequence": 2, - "diagnosisSequence": [ - 1 - ], - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "195662009", - "display": "Acute viral pharyngitis (disorder)" - } - ], - "text": "Acute viral pharyngitis (disorder)" - }, - "servicedPeriod": { - "start": "2016-10-05T04:25:21-04:00", - "end": "2016-10-05T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "21", - "display": "Inpatient Hospital" - } - ] - } - }, - { - "sequence": 3, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "117015009", - "display": "Throat culture (procedure)" - } - ], - "text": "Throat culture (procedure)" - }, - "servicedPeriod": { - "start": "2016-10-05T04:25:21-04:00", - "end": "2016-10-05T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "21", - "display": "Inpatient Hospital" - } - ] - }, - "net": { - "value": 1941.03, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 388.206, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 1552.824, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 1941.03, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 1941.03, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 1552.824, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be", - "resource": { - "resourceType": "Encounter", - "id": "2159ed82-7726-4e54-8108-be6ae398e4be", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "2159ed82-7726-4e54-8108-be6ae398e4be" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2017-05-19T04:25:21-04:00", - "end": "2017-05-19T04:55:21-04:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2017-05-19T04:25:21-04:00", - "end": "2017-05-19T04:55:21-04:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:592886be-d31e-4169-ad85-fe19be2f4f8a", - "resource": { - "resourceType": "Observation", - "id": "592886be-d31e-4169-ad85-fe19be2f4f8a", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyheight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8302-2", - "display": "Body Height" - } - ], - "text": "Body Height" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "valueQuantity": { - "value": 176.6, - "unit": "cm", - "system": "http://unitsofmeasure.org", - "code": "cm" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:15bb9fb1-9f8a-4d9b-a1de-648d21ae98df", - "resource": { - "resourceType": "Observation", - "id": "15bb9fb1-9f8a-4d9b-a1de-648d21ae98df", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72514-3", - "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - } - ], - "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "valueQuantity": { - "value": 1, - "unit": "{score}", - "system": "http://unitsofmeasure.org", - "code": "{score}" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:a860dc24-414a-4535-a0af-9b51061ff67c", - "resource": { - "resourceType": "Observation", - "id": "a860dc24-414a-4535-a0af-9b51061ff67c", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyweight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "29463-7", - "display": "Body Weight" - } - ], - "text": "Body Weight" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "valueQuantity": { - "value": 85.3, - "unit": "kg", - "system": "http://unitsofmeasure.org", - "code": "kg" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:a5483d32-1e68-453e-ab0d-acf9b1934624", - "resource": { - "resourceType": "Observation", - "id": "a5483d32-1e68-453e-ab0d-acf9b1934624", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bmi", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "39156-5", - "display": "Body Mass Index" - } - ], - "text": "Body Mass Index" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "valueQuantity": { - "value": 27.36, - "unit": "kg/m2", - "system": "http://unitsofmeasure.org", - "code": "kg/m2" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:ddb674dc-4437-484f-b04e-b12cf41c8f2c", - "resource": { - "resourceType": "Observation", - "id": "ddb674dc-4437-484f-b04e-b12cf41c8f2c", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bp", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "85354-9", - "display": "Blood Pressure" - } - ], - "text": "Blood Pressure" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "component": [ - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8462-4", - "display": "Diastolic Blood Pressure" - } - ], - "text": "Diastolic Blood Pressure" - }, - "valueQuantity": { - "value": 75, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - }, - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8480-6", - "display": "Systolic Blood Pressure" - } - ], - "text": "Systolic Blood Pressure" - }, - "valueQuantity": { - "value": 108, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - } - ] - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:2d7e2a12-b2a8-4ba6-bffe-275a0d23489f", - "resource": { - "resourceType": "Observation", - "id": "2d7e2a12-b2a8-4ba6-bffe-275a0d23489f", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/heartrate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8867-4", - "display": "Heart rate" - } - ], - "text": "Heart rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "valueQuantity": { - "value": 8E+1, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:a22ee9a8-8b01-449e-a9b9-6738984bf592", - "resource": { - "resourceType": "Observation", - "id": "a22ee9a8-8b01-449e-a9b9-6738984bf592", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/resprate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "9279-1", - "display": "Respiratory rate" - } - ], - "text": "Respiratory rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "valueQuantity": { - "value": 15, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:f5a86b3f-c902-45ae-ab2e-e9fa42d4abb3", - "resource": { - "resourceType": "Observation", - "id": "f5a86b3f-c902-45ae-ab2e-e9fa42d4abb3", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2339-0", - "display": "Glucose" - } - ], - "text": "Glucose" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "valueQuantity": { - "value": 80.63, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:f88d36d4-e2bc-443f-ba77-ce7849890d8e", - "resource": { - "resourceType": "Observation", - "id": "f88d36d4-e2bc-443f-ba77-ce7849890d8e", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6299-2", - "display": "Urea Nitrogen" - } - ], - "text": "Urea Nitrogen" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "valueQuantity": { - "value": 19.67, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:0faa8bca-5f39-473e-90cb-cf3438350b8d", - "resource": { - "resourceType": "Observation", - "id": "0faa8bca-5f39-473e-90cb-cf3438350b8d", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "38483-4", - "display": "Creatinine" - } - ], - "text": "Creatinine" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "valueQuantity": { - "value": 1.04, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:10c4329c-8664-4561-b7c0-5cd935c4e9ba", - "resource": { - "resourceType": "Observation", - "id": "10c4329c-8664-4561-b7c0-5cd935c4e9ba", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "49765-1", - "display": "Calcium" - } - ], - "text": "Calcium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "valueQuantity": { - "value": 10.06, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:d46b61a7-272c-4773-9fe2-292192c53e51", - "resource": { - "resourceType": "Observation", - "id": "d46b61a7-272c-4773-9fe2-292192c53e51", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2947-0", - "display": "Sodium" - } - ], - "text": "Sodium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "valueQuantity": { - "value": 143.91, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:4c1fcff5-ecfe-4c09-a3fc-63768387cc7e", - "resource": { - "resourceType": "Observation", - "id": "4c1fcff5-ecfe-4c09-a3fc-63768387cc7e", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6298-4", - "display": "Potassium" - } - ], - "text": "Potassium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "valueQuantity": { - "value": 4.34, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:258b96ee-b0b7-4c23-9ce1-679183791d60", - "resource": { - "resourceType": "Observation", - "id": "258b96ee-b0b7-4c23-9ce1-679183791d60", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2069-3", - "display": "Chloride" - } - ], - "text": "Chloride" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "valueQuantity": { - "value": 105.9, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:af1dea09-d9d9-44bf-a9bf-5839246439b1", - "resource": { - "resourceType": "Observation", - "id": "af1dea09-d9d9-44bf-a9bf-5839246439b1", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "20565-8", - "display": "Carbon Dioxide" - } - ], - "text": "Carbon Dioxide" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "valueQuantity": { - "value": 28.05, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:c8127202-2870-48fd-907d-6a6630219afb", - "resource": { - "resourceType": "Observation", - "id": "c8127202-2870-48fd-907d-6a6630219afb", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72166-2", - "display": "Tobacco smoking status NHIS" - } - ], - "text": "Tobacco smoking status NHIS" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "266919005", - "display": "Never smoker" - } - ], - "text": "Never smoker" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:27638834-92a5-4ba7-a865-947e2f070044", - "resource": { - "resourceType": "Observation", - "id": "27638834-92a5-4ba7-a865-947e2f070044", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "4548-4", - "display": "Hemoglobin A1c/Hemoglobin.total in Blood" - } - ], - "text": "Hemoglobin A1c/Hemoglobin.total in Blood" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "valueQuantity": { - "value": 6.1, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:5d417f37-4bc9-4d0a-baa4-a52e44dbe102", - "resource": { - "resourceType": "Procedure", - "id": "5d417f37-4bc9-4d0a-baa4-a52e44dbe102", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] - }, - "status": "completed", - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "performedPeriod": { - "start": "2017-05-19T04:25:21-04:00", - "end": "2017-05-19T04:40:21-04:00" - }, - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Procedure" - } - }, - { - "fullUrl": "urn:uuid:0e7ae71f-7d13-4984-b0f7-2b7d04a92935", - "resource": { - "resourceType": "MedicationRequest", - "id": "0e7ae71f-7d13-4984-b0f7-2b7d04a92935", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "authoredOn": "2017-05-19T04:25:21-04:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:9057196d-a979-4d0c-b55a-15542ce10f78", - "resource": { - "resourceType": "Claim", - "id": "9057196d-a979-4d0c-b55a-15542ce10f78", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2017-05-19T04:25:21-04:00", - "end": "2017-05-19T04:55:21-04:00" - }, - "created": "2017-05-19T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:0e7ae71f-7d13-4984-b0f7-2b7d04a92935" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:c8df444c-06f2-470b-98e5-f71f7a420ce6", - "resource": { - "resourceType": "Immunization", - "id": "c8df444c-06f2-470b-98e5-f71f7a420ce6", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" - ] - }, - "status": "completed", - "vaccineCode": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "occurrenceDateTime": "2017-05-19T04:25:21-04:00", - "primarySource": true, - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Immunization" - } - }, - { - "fullUrl": "urn:uuid:01c18bb7-3fe8-43af-a187-6080fa2df2e4", - "resource": { - "resourceType": "DiagnosticReport", - "id": "01c18bb7-3fe8-43af-a187-6080fa2df2e4", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB", - "display": "Laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "51990-0", - "display": "Basic Metabolic Panel" - } - ], - "text": "Basic Metabolic Panel" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ], - "result": [ - { - "reference": "urn:uuid:f5a86b3f-c902-45ae-ab2e-e9fa42d4abb3", - "display": "Glucose" - }, - { - "reference": "urn:uuid:f88d36d4-e2bc-443f-ba77-ce7849890d8e", - "display": "Urea Nitrogen" - }, - { - "reference": "urn:uuid:0faa8bca-5f39-473e-90cb-cf3438350b8d", - "display": "Creatinine" - }, - { - "reference": "urn:uuid:10c4329c-8664-4561-b7c0-5cd935c4e9ba", - "display": "Calcium" - }, - { - "reference": "urn:uuid:d46b61a7-272c-4773-9fe2-292192c53e51", - "display": "Sodium" - }, - { - "reference": "urn:uuid:4c1fcff5-ecfe-4c09-a3fc-63768387cc7e", - "display": "Potassium" - }, - { - "reference": "urn:uuid:258b96ee-b0b7-4c23-9ce1-679183791d60", - "display": "Chloride" - }, - { - "reference": "urn:uuid:af1dea09-d9d9-44bf-a9bf-5839246439b1", - "display": "Carbon Dioxide" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:91089422-ae73-4418-ada4-b732957fb516", - "resource": { - "resourceType": "DiagnosticReport", - "id": "91089422-ae73-4418-ada4-b732957fb516", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - "effectiveDateTime": "2017-05-19T04:25:21-04:00", - "issued": "2017-05-19T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMTctMDUtMTkKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:0548a6a3-6787-4af5-9204-e5644b3ac085", - "resource": { - "resourceType": "DocumentReference", - "id": "0548a6a3-6787-4af5-9204-e5644b3ac085", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "91089422-ae73-4418-ada4-b732957fb516" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2017-05-19T04:25:21.151-04:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMTctMDUtMTkKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM3IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - } - ], - "period": { - "start": "2017-05-19T04:25:21-04:00", - "end": "2017-05-19T04:55:21-04:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:424bb4c3-5575-418b-9fc2-0dda1fac3c03", - "resource": { - "resourceType": "Claim", - "id": "424bb4c3-5575-418b-9fc2-0dda1fac3c03", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2017-05-19T04:25:21-04:00", - "end": "2017-05-19T04:55:21-04:00" - }, - "created": "2017-05-19T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "supportingInfo": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", - "code": "info" - } - ] - }, - "valueReference": { - "reference": "urn:uuid:c8df444c-06f2-470b-98e5-f71f7a420ce6" - } - } - ], - "procedure": [ - { - "sequence": 1, - "procedureReference": { - "reference": "urn:uuid:5d417f37-4bc9-4d0a-baa4-a52e44dbe102" - } - } - ], - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "net": { - "value": 140.52, - "currency": "USD" - } - }, - { - "sequence": 3, - "procedureSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "net": { - "value": 556.22, - "currency": "USD" - } - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:dc5d7d94-a06c-406e-a9f1-caf6a8563502", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "dc5d7d94-a06c-406e-a9f1-caf6a8563502", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Anthem" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Anthem" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "424bb4c3-5575-418b-9fc2-0dda1fac3c03" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2017-05-19T04:55:21-04:00", - "end": "2018-05-19T04:55:21-04:00" - }, - "created": "2017-05-19T04:55:21-04:00", - "insurer": { - "display": "Anthem" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:424bb4c3-5575-418b-9fc2-0dda1fac3c03" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2017-05-19T04:25:21-04:00", - "end": "2017-05-19T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "servicedPeriod": { - "start": "2017-05-19T04:25:21-04:00", - "end": "2017-05-19T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "net": { - "value": 140.52, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 28.104000000000003, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 112.41600000000001, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - }, - { - "sequence": 3, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "servicedPeriod": { - "start": "2017-05-19T04:25:21-04:00", - "end": "2017-05-19T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "net": { - "value": 556.22, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 111.24400000000001, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 444.97600000000006, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 556.22, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 556.22, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 557.392, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49", - "resource": { - "resourceType": "Encounter", - "id": "3058c580-27db-4639-82cf-fda16a18bd49", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "3058c580-27db-4639-82cf-fda16a18bd49" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2018-05-25T04:25:21-04:00", - "end": "2018-05-25T04:55:21-04:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2018-05-25T04:25:21-04:00", - "end": "2018-05-25T04:55:21-04:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:5d9db7bf-5511-419c-bc58-fdb70ed28e37", - "resource": { - "resourceType": "Observation", - "id": "5d9db7bf-5511-419c-bc58-fdb70ed28e37", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyheight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8302-2", - "display": "Body Height" - } - ], - "text": "Body Height" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "valueQuantity": { - "value": 176.6, - "unit": "cm", - "system": "http://unitsofmeasure.org", - "code": "cm" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:86a395bc-1fad-4a69-aa01-bb61adf7725c", - "resource": { - "resourceType": "Observation", - "id": "86a395bc-1fad-4a69-aa01-bb61adf7725c", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72514-3", - "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - } - ], - "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "valueQuantity": { - "value": 1, - "unit": "{score}", - "system": "http://unitsofmeasure.org", - "code": "{score}" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:3bd26db8-4098-4d34-8ff4-928972f64662", - "resource": { - "resourceType": "Observation", - "id": "3bd26db8-4098-4d34-8ff4-928972f64662", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyweight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "29463-7", - "display": "Body Weight" - } - ], - "text": "Body Weight" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "valueQuantity": { - "value": 87.7, - "unit": "kg", - "system": "http://unitsofmeasure.org", - "code": "kg" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:9e56a891-9a23-4beb-966d-f9ac2df6c297", - "resource": { - "resourceType": "Observation", - "id": "9e56a891-9a23-4beb-966d-f9ac2df6c297", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bmi", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "39156-5", - "display": "Body Mass Index" - } - ], - "text": "Body Mass Index" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "valueQuantity": { - "value": 28.12, - "unit": "kg/m2", - "system": "http://unitsofmeasure.org", - "code": "kg/m2" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:17716b12-d22c-4fb9-96b6-1ba9b963de42", - "resource": { - "resourceType": "Observation", - "id": "17716b12-d22c-4fb9-96b6-1ba9b963de42", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bp", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "85354-9", - "display": "Blood Pressure" - } - ], - "text": "Blood Pressure" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "component": [ - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8462-4", - "display": "Diastolic Blood Pressure" - } - ], - "text": "Diastolic Blood Pressure" - }, - "valueQuantity": { - "value": 78, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - }, - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8480-6", - "display": "Systolic Blood Pressure" - } - ], - "text": "Systolic Blood Pressure" - }, - "valueQuantity": { - "value": 1E+2, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - } - ] - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:3b19757e-89d7-4827-ae1e-ac82c7606d2a", - "resource": { - "resourceType": "Observation", - "id": "3b19757e-89d7-4827-ae1e-ac82c7606d2a", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/heartrate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8867-4", - "display": "Heart rate" - } - ], - "text": "Heart rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "valueQuantity": { - "value": 72, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:11280c85-e075-4052-89ce-71079b938d53", - "resource": { - "resourceType": "Observation", - "id": "11280c85-e075-4052-89ce-71079b938d53", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/resprate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "9279-1", - "display": "Respiratory rate" - } - ], - "text": "Respiratory rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "valueQuantity": { - "value": 15, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:66644441-ac77-4b8d-b2ac-14bbcec04053", - "resource": { - "resourceType": "Observation", - "id": "66644441-ac77-4b8d-b2ac-14bbcec04053", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2339-0", - "display": "Glucose" - } - ], - "text": "Glucose" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "valueQuantity": { - "value": 93.54, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:9290113c-a3c6-446d-ac0d-0d2a5be4f4e7", - "resource": { - "resourceType": "Observation", - "id": "9290113c-a3c6-446d-ac0d-0d2a5be4f4e7", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6299-2", - "display": "Urea Nitrogen" - } - ], - "text": "Urea Nitrogen" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "valueQuantity": { - "value": 10.28, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:d6bacda8-7ea4-44de-88b8-f9daa4640598", - "resource": { - "resourceType": "Observation", - "id": "d6bacda8-7ea4-44de-88b8-f9daa4640598", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "38483-4", - "display": "Creatinine" - } - ], - "text": "Creatinine" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "valueQuantity": { - "value": 1.06, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:c9080612-2fbf-4fcd-86f9-e1fff14bec39", - "resource": { - "resourceType": "Observation", - "id": "c9080612-2fbf-4fcd-86f9-e1fff14bec39", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "49765-1", - "display": "Calcium" - } - ], - "text": "Calcium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "valueQuantity": { - "value": 8.66, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:2e911ab2-40a5-45cc-bf33-0947ab8153fe", - "resource": { - "resourceType": "Observation", - "id": "2e911ab2-40a5-45cc-bf33-0947ab8153fe", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2947-0", - "display": "Sodium" - } - ], - "text": "Sodium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "valueQuantity": { - "value": 137.89, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:fbf09b71-cf90-48ce-812c-2956c3dea698", - "resource": { - "resourceType": "Observation", - "id": "fbf09b71-cf90-48ce-812c-2956c3dea698", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6298-4", - "display": "Potassium" - } - ], - "text": "Potassium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "valueQuantity": { - "value": 4.61, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:c4d3c024-a1c6-47c2-bc75-ac0fca030ff5", - "resource": { - "resourceType": "Observation", - "id": "c4d3c024-a1c6-47c2-bc75-ac0fca030ff5", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2069-3", - "display": "Chloride" - } - ], - "text": "Chloride" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "valueQuantity": { - "value": 101.88, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:a6f7388a-a584-4b75-8005-accd2d3522fe", - "resource": { - "resourceType": "Observation", - "id": "a6f7388a-a584-4b75-8005-accd2d3522fe", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "20565-8", - "display": "Carbon Dioxide" - } - ], - "text": "Carbon Dioxide" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "valueQuantity": { - "value": 26.26, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:d9ea11ff-5101-4fba-a384-ac86b4bb1430", - "resource": { - "resourceType": "Observation", - "id": "d9ea11ff-5101-4fba-a384-ac86b4bb1430", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72166-2", - "display": "Tobacco smoking status NHIS" - } - ], - "text": "Tobacco smoking status NHIS" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "266919005", - "display": "Never smoker" - } - ], - "text": "Never smoker" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:d88c2f66-9e3d-4486-a242-e412a08b4490", - "resource": { - "resourceType": "Observation", - "id": "d88c2f66-9e3d-4486-a242-e412a08b4490", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "4548-4", - "display": "Hemoglobin A1c/Hemoglobin.total in Blood" - } - ], - "text": "Hemoglobin A1c/Hemoglobin.total in Blood" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "valueQuantity": { - "value": 6.2, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:52d27283-7e29-486b-b03b-0fc929cf196c", - "resource": { - "resourceType": "Procedure", - "id": "52d27283-7e29-486b-b03b-0fc929cf196c", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] - }, - "status": "completed", - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "performedPeriod": { - "start": "2018-05-25T04:25:21-04:00", - "end": "2018-05-25T04:40:21-04:00" - }, - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Procedure" - } - }, - { - "fullUrl": "urn:uuid:5af5857e-8f25-4729-a583-57ba2f81f967", - "resource": { - "resourceType": "MedicationRequest", - "id": "5af5857e-8f25-4729-a583-57ba2f81f967", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "stopped", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "authoredOn": "2018-05-25T04:25:21-04:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:875458b6-ca9f-4a87-807a-e556f6944a21", - "resource": { - "resourceType": "Claim", - "id": "875458b6-ca9f-4a87-807a-e556f6944a21", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2018-05-25T04:25:21-04:00", - "end": "2018-05-25T04:55:21-04:00" - }, - "created": "2018-05-25T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:5af5857e-8f25-4729-a583-57ba2f81f967" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "NO_INSURANCE" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:e55e4949-2d64-44db-9f61-30b216c13b7d", - "resource": { - "resourceType": "Immunization", - "id": "e55e4949-2d64-44db-9f61-30b216c13b7d", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" - ] - }, - "status": "completed", - "vaccineCode": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "occurrenceDateTime": "2018-05-25T04:25:21-04:00", - "primarySource": true, - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Immunization" - } - }, - { - "fullUrl": "urn:uuid:20e9e65f-1d92-402a-9d62-69f29b503b8f", - "resource": { - "resourceType": "DiagnosticReport", - "id": "20e9e65f-1d92-402a-9d62-69f29b503b8f", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB", - "display": "Laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "51990-0", - "display": "Basic Metabolic Panel" - } - ], - "text": "Basic Metabolic Panel" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ], - "result": [ - { - "reference": "urn:uuid:66644441-ac77-4b8d-b2ac-14bbcec04053", - "display": "Glucose" - }, - { - "reference": "urn:uuid:9290113c-a3c6-446d-ac0d-0d2a5be4f4e7", - "display": "Urea Nitrogen" - }, - { - "reference": "urn:uuid:d6bacda8-7ea4-44de-88b8-f9daa4640598", - "display": "Creatinine" - }, - { - "reference": "urn:uuid:c9080612-2fbf-4fcd-86f9-e1fff14bec39", - "display": "Calcium" - }, - { - "reference": "urn:uuid:2e911ab2-40a5-45cc-bf33-0947ab8153fe", - "display": "Sodium" - }, - { - "reference": "urn:uuid:fbf09b71-cf90-48ce-812c-2956c3dea698", - "display": "Potassium" - }, - { - "reference": "urn:uuid:c4d3c024-a1c6-47c2-bc75-ac0fca030ff5", - "display": "Chloride" - }, - { - "reference": "urn:uuid:a6f7388a-a584-4b75-8005-accd2d3522fe", - "display": "Carbon Dioxide" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:5ce36665-e2de-4a18-b68e-4e71eecd468b", - "resource": { - "resourceType": "DiagnosticReport", - "id": "5ce36665-e2de-4a18-b68e-4e71eecd468b", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - "effectiveDateTime": "2018-05-25T04:25:21-04:00", - "issued": "2018-05-25T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMTgtMDUtMjUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:c8706880-188d-4f7b-aca4-7179dab7ed4b", - "resource": { - "resourceType": "DocumentReference", - "id": "c8706880-188d-4f7b-aca4-7179dab7ed4b", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "5ce36665-e2de-4a18-b68e-4e71eecd468b" - } - ], - "status": "superseded", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2018-05-25T04:25:21.151-04:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMTgtMDUtMjUKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM4IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - } - ], - "period": { - "start": "2018-05-25T04:25:21-04:00", - "end": "2018-05-25T04:55:21-04:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:9b1d9bba-4bbb-4bda-9cf7-ac5b07611754", - "resource": { - "resourceType": "Claim", - "id": "9b1d9bba-4bbb-4bda-9cf7-ac5b07611754", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2018-05-25T04:25:21-04:00", - "end": "2018-05-25T04:55:21-04:00" - }, - "created": "2018-05-25T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "supportingInfo": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", - "code": "info" - } - ] - }, - "valueReference": { - "reference": "urn:uuid:e55e4949-2d64-44db-9f61-30b216c13b7d" - } - } - ], - "procedure": [ - { - "sequence": 1, - "procedureReference": { - "reference": "urn:uuid:52d27283-7e29-486b-b03b-0fc929cf196c" - } - } - ], - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "net": { - "value": 140.52, - "currency": "USD" - } - }, - { - "sequence": 3, - "procedureSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "net": { - "value": 539.51, - "currency": "USD" - } - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:8b34476d-180c-407a-adc3-82aa7e4505b0", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "8b34476d-180c-407a-adc3-82aa7e4505b0", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Anthem" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Anthem" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "9b1d9bba-4bbb-4bda-9cf7-ac5b07611754" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2018-05-25T04:55:21-04:00", - "end": "2019-05-25T04:55:21-04:00" - }, - "created": "2018-05-25T04:55:21-04:00", - "insurer": { - "display": "Anthem" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:9b1d9bba-4bbb-4bda-9cf7-ac5b07611754" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2018-05-25T04:25:21-04:00", - "end": "2018-05-25T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "servicedPeriod": { - "start": "2018-05-25T04:25:21-04:00", - "end": "2018-05-25T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "net": { - "value": 140.52, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 28.104000000000003, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 112.41600000000001, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - }, - { - "sequence": 3, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "servicedPeriod": { - "start": "2018-05-25T04:25:21-04:00", - "end": "2018-05-25T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "net": { - "value": 539.51, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 107.902, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 431.608, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 539.51, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 539.51, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 544.024, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc", - "resource": { - "resourceType": "Encounter", - "id": "a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "identifier": [ - { - "use": "official", - "system": "https://github.com/synthetichealth/synthea", - "value": "a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - } - ], - "status": "finished", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "AMB" - }, - "type": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Mrs. Pamela954 Johns824" - }, - "participant": [ - { - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "code": "PPRF", - "display": "primary performer" - } - ], - "text": "primary performer" - } - ], - "period": { - "start": "2019-05-31T04:25:21-04:00", - "end": "2019-05-31T04:55:21-04:00" - }, - "individual": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - } - ], - "period": { - "start": "2019-05-31T04:25:21-04:00", - "end": "2019-05-31T04:55:21-04:00" - }, - "location": [ - { - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ], - "serviceProvider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Encounter" - } - }, - { - "fullUrl": "urn:uuid:6689d45e-0f45-4ffe-b665-12dfc2cc03b5", - "resource": { - "resourceType": "Observation", - "id": "6689d45e-0f45-4ffe-b665-12dfc2cc03b5", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyheight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8302-2", - "display": "Body Height" - } - ], - "text": "Body Height" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 176.6, - "unit": "cm", - "system": "http://unitsofmeasure.org", - "code": "cm" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:3313498c-44e7-447a-be10-fc408540ee4a", - "resource": { - "resourceType": "Observation", - "id": "3313498c-44e7-447a-be10-fc408540ee4a", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72514-3", - "display": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - } - ], - "text": "Pain severity - 0-10 verbal numeric rating [Score] - Reported" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 1, - "unit": "{score}", - "system": "http://unitsofmeasure.org", - "code": "{score}" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:c4909481-052c-4375-9788-ae89037b4241", - "resource": { - "resourceType": "Observation", - "id": "c4909481-052c-4375-9788-ae89037b4241", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bodyweight", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "29463-7", - "display": "Body Weight" - } - ], - "text": "Body Weight" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 90.1, - "unit": "kg", - "system": "http://unitsofmeasure.org", - "code": "kg" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:a9879bc0-0c50-486d-9881-e2088e226b5b", - "resource": { - "resourceType": "Observation", - "id": "a9879bc0-0c50-486d-9881-e2088e226b5b", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bmi", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "39156-5", - "display": "Body Mass Index" - } - ], - "text": "Body Mass Index" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 28.89, - "unit": "kg/m2", - "system": "http://unitsofmeasure.org", - "code": "kg/m2" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:c0ee8845-d480-4a92-a596-564af06fd05c", - "resource": { - "resourceType": "Observation", - "id": "c0ee8845-d480-4a92-a596-564af06fd05c", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/bp", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "85354-9", - "display": "Blood Pressure" - } - ], - "text": "Blood Pressure" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "component": [ - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8462-4", - "display": "Diastolic Blood Pressure" - } - ], - "text": "Diastolic Blood Pressure" - }, - "valueQuantity": { - "value": 87, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - }, - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8480-6", - "display": "Systolic Blood Pressure" - } - ], - "text": "Systolic Blood Pressure" - }, - "valueQuantity": { - "value": 118, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - } - ] - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:1f8bb2b9-a180-41e1-97b4-5ce1c2260eb6", - "resource": { - "resourceType": "Observation", - "id": "1f8bb2b9-a180-41e1-97b4-5ce1c2260eb6", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/heartrate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8867-4", - "display": "Heart rate" - } - ], - "text": "Heart rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 84, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:5444a546-530c-46bb-a743-48c991e65006", - "resource": { - "resourceType": "Observation", - "id": "5444a546-530c-46bb-a743-48c991e65006", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/resprate", - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "vital-signs" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "9279-1", - "display": "Respiratory rate" - } - ], - "text": "Respiratory rate" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 12, - "unit": "/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:4a0e11d6-ea52-4f59-a211-fdb93cfff482", - "resource": { - "resourceType": "Observation", - "id": "4a0e11d6-ea52-4f59-a211-fdb93cfff482", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2339-0", - "display": "Glucose" - } - ], - "text": "Glucose" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 86.88, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:852d9cbe-ee4d-459d-9fa1-69a32209851b", - "resource": { - "resourceType": "Observation", - "id": "852d9cbe-ee4d-459d-9fa1-69a32209851b", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6299-2", - "display": "Urea Nitrogen" - } - ], - "text": "Urea Nitrogen" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 13.39, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:ba6ce35c-0035-4caf-9d80-7cd8a2adb1d8", - "resource": { - "resourceType": "Observation", - "id": "ba6ce35c-0035-4caf-9d80-7cd8a2adb1d8", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "38483-4", - "display": "Creatinine" - } - ], - "text": "Creatinine" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 1.07, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:04656ac4-4944-455f-878b-39ea949b4e5f", - "resource": { - "resourceType": "Observation", - "id": "04656ac4-4944-455f-878b-39ea949b4e5f", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "49765-1", - "display": "Calcium" - } - ], - "text": "Calcium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 9.37, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:244fa692-7776-43fd-932b-c1d12775da58", - "resource": { - "resourceType": "Observation", - "id": "244fa692-7776-43fd-932b-c1d12775da58", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2947-0", - "display": "Sodium" - } - ], - "text": "Sodium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 136.67, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:e9ee497a-9be1-441b-bd04-845f58da28e7", - "resource": { - "resourceType": "Observation", - "id": "e9ee497a-9be1-441b-bd04-845f58da28e7", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "6298-4", - "display": "Potassium" - } - ], - "text": "Potassium" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 4.27, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:01cacb9c-fad4-4441-bee8-3b043c46d11f", - "resource": { - "resourceType": "Observation", - "id": "01cacb9c-fad4-4441-bee8-3b043c46d11f", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2069-3", - "display": "Chloride" - } - ], - "text": "Chloride" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 102.21, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:56be2677-c7c6-4b4e-8479-f559b4b32823", - "resource": { - "resourceType": "Observation", - "id": "56be2677-c7c6-4b4e-8479-f559b4b32823", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "20565-8", - "display": "Carbon Dioxide" - } - ], - "text": "Carbon Dioxide" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 23.03, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:0de94e85-3015-482e-b340-0e5df78ddaeb", - "resource": { - "resourceType": "Observation", - "id": "0de94e85-3015-482e-b340-0e5df78ddaeb", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2093-3", - "display": "Total Cholesterol" - } - ], - "text": "Total Cholesterol" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 160.97, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:ced86e98-7706-4f47-825c-ce79ecff348f", - "resource": { - "resourceType": "Observation", - "id": "ced86e98-7706-4f47-825c-ce79ecff348f", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2571-8", - "display": "Triglycerides" - } - ], - "text": "Triglycerides" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 117.06, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:7b1158d8-d2a6-4027-9d0b-478dcba7818f", - "resource": { - "resourceType": "Observation", - "id": "7b1158d8-d2a6-4027-9d0b-478dcba7818f", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "18262-6", - "display": "Low Density Lipoprotein Cholesterol" - } - ], - "text": "Low Density Lipoprotein Cholesterol" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 77.79, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:d6701c30-9e32-41a4-a508-e7b89d925c30", - "resource": { - "resourceType": "Observation", - "id": "d6701c30-9e32-41a4-a508-e7b89d925c30", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2085-9", - "display": "High Density Lipoprotein Cholesterol" - } - ], - "text": "High Density Lipoprotein Cholesterol" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 59.77, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:52893d6e-9bed-443f-8176-5444a57a1c84", - "resource": { - "resourceType": "Observation", - "id": "52893d6e-9bed-443f-8176-5444a57a1c84", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72166-2", - "display": "Tobacco smoking status NHIS" - } - ], - "text": "Tobacco smoking status NHIS" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "266919005", - "display": "Never smoker" - } - ], - "text": "Never smoker" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:a405d702-2710-4bf0-9304-6872d44be7b3", - "resource": { - "resourceType": "Observation", - "id": "a405d702-2710-4bf0-9304-6872d44be7b3", - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "4548-4", - "display": "Hemoglobin A1c/Hemoglobin.total in Blood" - } - ], - "text": "Hemoglobin A1c/Hemoglobin.total in Blood" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "valueQuantity": { - "value": 6, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - } - }, - "request": { - "method": "POST", - "url": "Observation" - } - }, - { - "fullUrl": "urn:uuid:49ddff02-26bf-465d-9fc9-dc00f0bfe5fd", - "resource": { - "resourceType": "Procedure", - "id": "49ddff02-26bf-465d-9fc9-dc00f0bfe5fd", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] - }, - "status": "completed", - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "performedPeriod": { - "start": "2019-05-31T04:25:21-04:00", - "end": "2019-05-31T04:40:21-04:00" - }, - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Procedure" - } - }, - { - "fullUrl": "urn:uuid:82fc90be-4c3d-4e04-9011-079ea1d32a70", - "resource": { - "resourceType": "MedicationRequest", - "id": "82fc90be-4c3d-4e04-9011-079ea1d32a70", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "status": "active", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "746030", - "display": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - } - ], - "text": "Atenolol 50 MG / Chlorthalidone 25 MG Oral Tablet" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "authoredOn": "2019-05-31T04:25:21-04:00", - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "reasonReference": [ - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - } - ], - "dosageInstruction": [ - { - "sequence": 1, - "timing": { - "repeat": { - "frequency": 1, - "period": 1.0, - "periodUnit": "d" - } - }, - "asNeededBoolean": false, - "doseAndRate": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", - "code": "ordered", - "display": "Ordered" - } - ] - }, - "doseQuantity": { - "value": 1.0 - } - } - ] - } - ] - }, - "request": { - "method": "POST", - "url": "MedicationRequest" - } - }, - { - "fullUrl": "urn:uuid:6dc8a3d3-1ffa-4827-8a83-b6f56b3e87fb", - "resource": { - "resourceType": "Claim", - "id": "6dc8a3d3-1ffa-4827-8a83-b6f56b3e87fb", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "pharmacy" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2019-05-31T04:25:21-04:00", - "end": "2019-05-31T04:55:21-04:00" - }, - "created": "2019-05-31T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "prescription": { - "reference": "urn:uuid:82fc90be-4c3d-4e04-9011-079ea1d32a70" - }, - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - } - ] - } - ], - "total": { - "value": 263.49, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:efd5f80d-3c04-44a5-bcc6-1a9858d8b2fd", - "resource": { - "resourceType": "Immunization", - "id": "efd5f80d-3c04-44a5-bcc6-1a9858d8b2fd", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" - ] - }, - "status": "completed", - "vaccineCode": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "occurrenceDateTime": "2019-05-31T04:25:21-04:00", - "primarySource": true, - "location": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - "request": { - "method": "POST", - "url": "Immunization" - } - }, - { - "fullUrl": "urn:uuid:bba2d963-c2fd-43c8-a3a4-e7331119966a", - "resource": { - "resourceType": "DiagnosticReport", - "id": "bba2d963-c2fd-43c8-a3a4-e7331119966a", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB", - "display": "Laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "51990-0", - "display": "Basic Metabolic Panel" - } - ], - "text": "Basic Metabolic Panel" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ], - "result": [ - { - "reference": "urn:uuid:4a0e11d6-ea52-4f59-a211-fdb93cfff482", - "display": "Glucose" - }, - { - "reference": "urn:uuid:852d9cbe-ee4d-459d-9fa1-69a32209851b", - "display": "Urea Nitrogen" - }, - { - "reference": "urn:uuid:ba6ce35c-0035-4caf-9d80-7cd8a2adb1d8", - "display": "Creatinine" - }, - { - "reference": "urn:uuid:04656ac4-4944-455f-878b-39ea949b4e5f", - "display": "Calcium" - }, - { - "reference": "urn:uuid:244fa692-7776-43fd-932b-c1d12775da58", - "display": "Sodium" - }, - { - "reference": "urn:uuid:e9ee497a-9be1-441b-bd04-845f58da28e7", - "display": "Potassium" - }, - { - "reference": "urn:uuid:01cacb9c-fad4-4441-bee8-3b043c46d11f", - "display": "Chloride" - }, - { - "reference": "urn:uuid:56be2677-c7c6-4b4e-8479-f559b4b32823", - "display": "Carbon Dioxide" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:30d4f06d-d5a6-4833-8519-7d01923d2465", - "resource": { - "resourceType": "DiagnosticReport", - "id": "30d4f06d-d5a6-4833-8519-7d01923d2465", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0074", - "code": "LAB", - "display": "Laboratory" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "57698-3", - "display": "Lipid Panel" - } - ], - "text": "Lipid Panel" - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - ], - "result": [ - { - "reference": "urn:uuid:0de94e85-3015-482e-b340-0e5df78ddaeb", - "display": "Total Cholesterol" - }, - { - "reference": "urn:uuid:ced86e98-7706-4f47-825c-ce79ecff348f", - "display": "Triglycerides" - }, - { - "reference": "urn:uuid:7b1158d8-d2a6-4027-9d0b-478dcba7818f", - "display": "Low Density Lipoprotein Cholesterol" - }, - { - "reference": "urn:uuid:d6701c30-9e32-41a4-a508-e7b89d925c30", - "display": "High Density Lipoprotein Cholesterol" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:5d6f244c-dc14-4d30-b585-d984885648dd", - "resource": { - "resourceType": "DiagnosticReport", - "id": "5d6f244c-dc14-4d30-b585-d984885648dd", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - "effectiveDateTime": "2019-05-31T04:25:21-04:00", - "issued": "2019-05-31T04:25:21.151-04:00", - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "presentedForm": [ - { - "contentType": "text/plain", - "data": "CjIwMTktMDUtMzEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" - } - ] - }, - "request": { - "method": "POST", - "url": "DiagnosticReport" - } - }, - { - "fullUrl": "urn:uuid:dabb3861-b276-4f7f-80d1-990c1c8e92de", - "resource": { - "resourceType": "DocumentReference", - "id": "dabb3861-b276-4f7f-80d1-990c1c8e92de", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "5d6f244c-dc14-4d30-b585-d984885648dd" - } - ], - "status": "current", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34117-2", - "display": "History and physical note" - }, - { - "system": "http://loinc.org", - "code": "51847-2", - "display": "Evaluation+Plan note" - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ] - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "date": "2019-05-31T04:25:21.151-04:00", - "author": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - } - ], - "custodian": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "CjIwMTktMDUtMzEKCiMgQ2hpZWYgQ29tcGxhaW50Ck5vIGNvbXBsYWludHMuCgojIEhpc3Rvcnkgb2YgUHJlc2VudCBJbGxuZXNzClBhbWVsYTk1NCBpcyBhIDM5IHllYXItb2xkIG5vbi1oaXNwYW5pYyB3aGl0ZSBmZW1hbGUuIFBhdGllbnQgaGFzIGEgaGlzdG9yeSBvZiBhY3V0ZSB2aXJhbCBwaGFyeW5naXRpcyAoZGlzb3JkZXIpLgoKIyBTb2NpYWwgSGlzdG9yeQpQYXRpZW50IGlzIG1hcnJpZWQuIFBhdGllbnQgaXMgYW4gYWN0aXZlIHNtb2tlciBhbmQgaXMgYW4gYWxjb2hvbGljLiBQYXRpZW50IGlkZW50aWZpZXMgYXMgaGV0ZXJvc2V4dWFsLgoKUGF0aWVudCBjb21lcyBmcm9tIGEgbWlkZGxlIHNvY2lvZWNvbm9taWMgYmFja2dyb3VuZC4gUGF0aWVudCBoYXMgYSBoaWdoIHNjaG9vbCBlZHVjYXRpb24uIFBhdGllbnQgY3VycmVudGx5IGhhcyBBbnRoZW0uCgojIEFsbGVyZ2llcwpObyBLbm93biBBbGxlcmdpZXMuCgojIE1lZGljYXRpb25zCmF0ZW5vbG9sIDUwIG1nIC8gY2hsb3J0aGFsaWRvbmUgMjUgbWcgb3JhbCB0YWJsZXQKCiMgQXNzZXNzbWVudCBhbmQgUGxhbgoKCiMjIFBsYW4KUGF0aWVudCB3YXMgZ2l2ZW4gdGhlIGZvbGxvd2luZyBpbW11bml6YXRpb25zOiBpbmZsdWVuemEsIHNlYXNvbmFsLCBpbmplY3RhYmxlLCBwcmVzZXJ2YXRpdmUgZnJlZS4gClRoZSBmb2xsb3dpbmcgcHJvY2VkdXJlcyB3ZXJlIGNvbmR1Y3RlZDoKLSBtZWRpY2F0aW9uIHJlY29uY2lsaWF0aW9uIChwcm9jZWR1cmUpClRoZSBwYXRpZW50IHdhcyBwcmVzY3JpYmVkIHRoZSBmb2xsb3dpbmcgbWVkaWNhdGlvbnM6Ci0gYXRlbm9sb2wgNTAgbWcgLyBjaGxvcnRoYWxpZG9uZSAyNSBtZyBvcmFsIHRhYmxldAo=" - }, - "format": { - "system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem", - "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient", - "display": "mimeType Sufficient" - } - } - ], - "context": { - "encounter": [ - { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - } - ], - "period": { - "start": "2019-05-31T04:25:21-04:00", - "end": "2019-05-31T04:55:21-04:00" - } - } - }, - "request": { - "method": "POST", - "url": "DocumentReference" - } - }, - { - "fullUrl": "urn:uuid:3af8a41e-da2f-4623-83e6-b448b6fa8a2e", - "resource": { - "resourceType": "Claim", - "id": "3af8a41e-da2f-4623-83e6-b448b6fa8a2e", - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e", - "display": "Pamela954 Johns824" - }, - "billablePeriod": { - "start": "2019-05-31T04:25:21-04:00", - "end": "2019-05-31T04:55:21-04:00" - }, - "created": "2019-05-31T04:55:21-04:00", - "provider": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "priority": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/processpriority", - "code": "normal" - } - ] - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "supportingInfo": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claiminformationcategory", - "code": "info" - } - ] - }, - "valueReference": { - "reference": "urn:uuid:efd5f80d-3c04-44a5-bcc6-1a9858d8b2fd" - } - } - ], - "procedure": [ - { - "sequence": 1, - "procedureReference": { - "reference": "urn:uuid:49ddff02-26bf-465d-9fc9-dc00f0bfe5fd" - } - } - ], - "insurance": [ - { - "sequence": 1, - "focal": true, - "coverage": { - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "encounter": [ - { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "net": { - "value": 140.52, - "currency": "USD" - } - }, - { - "sequence": 3, - "procedureSequence": [ - 1 - ], - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "net": { - "value": 387.11, - "currency": "USD" - } - } - ], - "total": { - "value": 129.16, - "currency": "USD" - } - }, - "request": { - "method": "POST", - "url": "Claim" - } - }, - { - "fullUrl": "urn:uuid:4a9fe7c8-a98b-4be2-9362-d0380c684c67", - "resource": { - "resourceType": "ExplanationOfBenefit", - "id": "4a9fe7c8-a98b-4be2-9362-d0380c684c67", - "contained": [ - { - "resourceType": "ServiceRequest", - "id": "referral", - "status": "completed", - "intent": "order", - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "requester": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "performer": [ - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - } - ] - }, - { - "resourceType": "Coverage", - "id": "coverage", - "status": "active", - "type": { - "text": "Anthem" - }, - "beneficiary": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "payor": [ - { - "display": "Anthem" - } - ] - } - ], - "identifier": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/clm_id", - "value": "3af8a41e-da2f-4623-83e6-b448b6fa8a2e" - }, - { - "system": "https://bluebutton.cms.gov/resources/identifier/claim-group", - "value": "99999999999" - } - ], - "status": "active", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claim-type", - "code": "institutional" - } - ] - }, - "use": "claim", - "patient": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "billablePeriod": { - "start": "2019-05-31T04:55:21-04:00", - "end": "2020-05-31T04:55:21-04:00" - }, - "created": "2019-05-31T04:55:21-04:00", - "insurer": { - "display": "Anthem" - }, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "referral": { - "reference": "#referral" - }, - "facility": { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - }, - "claim": { - "reference": "urn:uuid:3af8a41e-da2f-4623-83e6-b448b6fa8a2e" - }, - "outcome": "complete", - "careTeam": [ - { - "sequence": 1, - "provider": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - "role": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole", - "code": "primary", - "display": "Primary Care Practitioner" - } - ] - } - } - ], - "insurance": [ - { - "focal": true, - "coverage": { - "reference": "#coverage", - "display": "Anthem" - } - } - ], - "item": [ - { - "sequence": 1, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "162673000", - "display": "General examination of patient (procedure)" - } - ], - "text": "General examination of patient (procedure)" - }, - "servicedPeriod": { - "start": "2019-05-31T04:25:21-04:00", - "end": "2019-05-31T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "encounter": [ - { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - } - ] - }, - { - "sequence": 2, - "informationSequence": [ - 1 - ], - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free" - } - ], - "text": "Influenza, seasonal, injectable, preservative free" - }, - "servicedPeriod": { - "start": "2019-05-31T04:25:21-04:00", - "end": "2019-05-31T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "net": { - "value": 140.52, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 28.104000000000003, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 112.41600000000001, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 140.52, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - }, - { - "sequence": 3, - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd", - "code": "1", - "display": "Medical care" - } - ] - }, - "productOrService": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "430193006", - "display": "Medication Reconciliation (procedure)" - } - ], - "text": "Medication Reconciliation (procedure)" - }, - "servicedPeriod": { - "start": "2019-05-31T04:25:21-04:00", - "end": "2019-05-31T04:55:21-04:00" - }, - "locationCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace", - "code": "19", - "display": "Off Campus-Outpatient Hospital" - } - ] - }, - "net": { - "value": 387.11, - "currency": "USD" - }, - "adjudication": [ - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt", - "display": "Line Beneficiary Coinsurance Amount" - } - ] - }, - "amount": { - "value": 77.42200000000001, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt", - "display": "Line Provider Payment Amount" - } - ] - }, - "amount": { - "value": 309.68800000000005, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt", - "display": "Line Submitted Charge Amount" - } - ] - }, - "amount": { - "value": 387.11, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt", - "display": "Line Allowed Charge Amount" - } - ] - }, - "amount": { - "value": 387.11, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt", - "display": "Line Beneficiary Part B Deductible Amount" - } - ] - }, - "amount": { - "value": 0, - "currency": "USD" - } - }, - { - "category": { - "coding": [ - { - "system": "https://bluebutton.cms.gov/resources/codesystem/adjudication", - "code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd", - "display": "Line Processing Indicator Code" - } - ] - } - } - ] - } - ], - "total": [ - { - "category": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/adjudication", - "code": "submitted", - "display": "Submitted Amount" - } - ], - "text": "Submitted Amount" - }, - "amount": { - "value": 129.16, - "currency": "USD" - } - } - ], - "payment": { - "amount": { - "value": 422.10400000000004, - "currency": "USD" - } - } - }, - "request": { - "method": "POST", - "url": "ExplanationOfBenefit" - } - }, - { - "fullUrl": "urn:uuid:434bce30-4f93-43a7-9289-4a4834191211", - "resource": { - "resourceType": "Provenance", - "id": "434bce30-4f93-43a7-9289-4a4834191211", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance" - ] - }, - "target": [ - { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e" - }, - { - "reference": "urn:uuid:e002090d-4e92-300e-b41e-7d1f21dee4c6" - }, - { - "reference": "urn:uuid:5fc3b120-9ca7-3a5f-ad69-5703ae73a962" - }, - { - "reference": "urn:uuid:ae434da0-4a91-4721-ac3e-6143dc46529d" - }, - { - "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" - }, - { - "reference": "urn:uuid:7b707022-dbe7-44a4-8063-596558bd0459" - }, - { - "reference": "urn:uuid:a6a822c0-0b60-438a-940e-064c3fdfb456" - }, - { - "reference": "urn:uuid:8e840915-8adc-4920-837e-b77fbd0bc5bb" - }, - { - "reference": "urn:uuid:09669f57-56ef-4d38-a1f9-920b84900f1c" - }, - { - "reference": "urn:uuid:3288f528-675a-48a7-925a-db365aa7fedd" - }, - { - "reference": "urn:uuid:a8afae92-0db2-4379-ab05-2375d91bddbf" - }, - { - "reference": "urn:uuid:d117d0f3-70e3-4f7c-be75-808aa3039923" - }, - { - "reference": "urn:uuid:dc9dd26e-8983-4bd4-abdc-9dbe5abdd581" - }, - { - "reference": "urn:uuid:4145178a-e267-4de8-a81b-d36c2da972af" - }, - { - "reference": "urn:uuid:c29e86ee-9abf-403d-a722-09291038da71" - }, - { - "reference": "urn:uuid:8ffa75ad-b7dc-4da3-bcb0-f73c2a25f2c6" - }, - { - "reference": "urn:uuid:7bc429fd-499d-404e-8353-dffe91ca3f79" - }, - { - "reference": "urn:uuid:8fb48e33-24c5-420a-8f4d-0aa26a343c44" - }, - { - "reference": "urn:uuid:5f92bc64-1cc5-4a94-b318-883a54331545" - }, - { - "reference": "urn:uuid:4d065205-2205-4694-bfaf-ce88c4fc2d9c" - }, - { - "reference": "urn:uuid:69176529-fd1f-3b3f-abce-a0a3626769eb" - }, - { - "reference": "urn:uuid:5eddc110-d05c-3e3d-b717-2ba27e784fba" - }, - { - "reference": "urn:uuid:f33d551d-cbc4-4808-8f11-f42a17f275b6" - }, - { - "reference": "urn:uuid:f1ccaaa5-2513-4dea-9a99-77de4ae9ec7f" - }, - { - "reference": "urn:uuid:5a65adea-0cbc-429e-ae59-2b9e0ba98ebe" - }, - { - "reference": "urn:uuid:00b0a904-7f33-44ad-9ede-23c7f1a15f44" - }, - { - "reference": "urn:uuid:21560651-525c-4eb5-8d80-ae6a62cac8e0" - }, - { - "reference": "urn:uuid:4e0564e3-cd19-4cff-9658-f2751c891b38" - }, - { - "reference": "urn:uuid:03657b06-ab10-4268-9f98-9e0c9bdeaaec" - }, - { - "reference": "urn:uuid:1b1a63a7-7260-4eaf-b029-d4b264c62dcd" - }, - { - "reference": "urn:uuid:5610dfb1-315e-4a68-8599-68f9b3446e90" - }, - { - "reference": "urn:uuid:7af93122-0d5a-4100-b7c9-edc1b844b912" - }, - { - "reference": "urn:uuid:b61efb38-3b58-4b19-ace1-e0bdd22a7b3e" - }, - { - "reference": "urn:uuid:b454ced0-573d-4e61-8d52-91c286cd22fc" - }, - { - "reference": "urn:uuid:0a49f240-54e1-46ff-b8fd-962675304d76" - }, - { - "reference": "urn:uuid:c86d1c04-9f0e-477e-a1bf-5165f2d3c233" - }, - { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0" - }, - { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4" - }, - { - "reference": "urn:uuid:97d39e08-5aac-4dec-8add-474d16eba6c4" - }, - { - "reference": "urn:uuid:6d721a06-2e4f-40d9-a109-a77df52918fa" - }, - { - "reference": "urn:uuid:6fcef45f-c022-4a43-a026-491b9e8ab344" - }, - { - "reference": "urn:uuid:1079548d-b5e4-468e-a4dc-d7f30a87608d" - }, - { - "reference": "urn:uuid:f76c8a86-2731-45a8-a41d-f3739d5a9f9f" - }, - { - "reference": "urn:uuid:3ff6bc3c-e123-424f-a19b-8e46ea3b592a" - }, - { - "reference": "urn:uuid:a22344fd-f2d8-44c3-8a27-192ff2335d57" - }, - { - "reference": "urn:uuid:a4bb4455-c9ea-43b0-a158-f20104fe3b31" - }, - { - "reference": "urn:uuid:afa2cd14-9f05-47ba-a1f8-4b294ff3c1d3" - }, - { - "reference": "urn:uuid:babd4d54-5160-49c3-a48d-743bc18261b0" - }, - { - "reference": "urn:uuid:bbfd08e2-a360-4a69-ab18-47ecbd2a905f" - }, - { - "reference": "urn:uuid:48c605b5-a3bd-4d10-a03c-68b92abeedff" - }, - { - "reference": "urn:uuid:f48e166f-e816-4dd2-ae9a-f745c788b5dc" - }, - { - "reference": "urn:uuid:5a2fd146-bed1-4588-ad05-da3e0f2b839a" - }, - { - "reference": "urn:uuid:ce90da04-67b3-4bf8-b634-ad32231416e2" - }, - { - "reference": "urn:uuid:b350966e-2568-41e0-88a2-e9d5f4c809ef" - }, - { - "reference": "urn:uuid:444f7f44-2f77-4f02-88be-d9544bf3c631" - }, - { - "reference": "urn:uuid:0ef8e051-1fe0-43ba-a9de-3e168192361b" - }, - { - "reference": "urn:uuid:7f6a08e7-8b72-40c3-941b-306f60f41079" - }, - { - "reference": "urn:uuid:01dc96f0-9960-468a-90ca-712762e05604" - }, - { - "reference": "urn:uuid:7d8373e5-41fe-44b4-963a-29e0634ba3ef" - }, - { - "reference": "urn:uuid:7f47ee0b-158c-44a9-82c5-6d1119de5fca" - }, - { - "reference": "urn:uuid:28c7e6cc-5db8-415c-9e5e-eb74ddd0a163" - }, - { - "reference": "urn:uuid:0f29c123-8355-4b9c-8bc2-f09991b7f642" - }, - { - "reference": "urn:uuid:01a531f8-8a5f-46e8-8484-9964ea6d5751" - }, - { - "reference": "urn:uuid:4614e2b1-54b4-4d01-a257-90c98eea733b" - }, - { - "reference": "urn:uuid:9ec3f089-85d4-4859-9ab5-bb8486af95a7" - }, - { - "reference": "urn:uuid:90dfc8d5-4157-4430-86e7-493a9ab8dde8" - }, - { - "reference": "urn:uuid:f17db13f-0743-4fa4-90d8-1733c559a5c6" - }, - { - "reference": "urn:uuid:e3f1364c-0edc-49ed-875f-09115ac366f7" - }, - { - "reference": "urn:uuid:921df6c6-9262-4d06-9fd1-4626ca2904a5" - }, - { - "reference": "urn:uuid:7850fc54-4189-45c8-bdf4-a6f8b6b3119a" - }, - { - "reference": "urn:uuid:885c8502-5dbc-421f-9cd6-160ff5c635a2" - }, - { - "reference": "urn:uuid:36c176e3-5827-4ee1-8119-fd02558ebb86" - }, - { - "reference": "urn:uuid:e5accce6-ecbe-4232-9ac7-835bc6911f27" - }, - { - "reference": "urn:uuid:99c2bbb3-ab22-4e45-b30c-9565d584663c" - }, - { - "reference": "urn:uuid:a82b33b2-3e98-4014-ab04-a2a8d33f21ca" - }, - { - "reference": "urn:uuid:ae602309-d9dc-424a-aadc-8d02608be360" - }, - { - "reference": "urn:uuid:dffd219c-6d86-4813-a843-d83046b8a5df" - }, - { - "reference": "urn:uuid:1ab1c91b-f11a-4792-82dd-3a39a96d6c5f" - }, - { - "reference": "urn:uuid:49890f9e-0c45-4242-8700-5dd9db1e691e" - }, - { - "reference": "urn:uuid:9d3741e1-b8ab-434e-8222-8130b06ce54e" - }, - { - "reference": "urn:uuid:6aaa38f3-9da8-456c-8e3e-401cca32fd02" - }, - { - "reference": "urn:uuid:02593c2f-a85b-4fb0-834e-52f927ec454e" - }, - { - "reference": "urn:uuid:4faf80e8-4ab1-45c6-aaa9-684a0fc3b6c0" - }, - { - "reference": "urn:uuid:5a1ca1d5-0fd0-4d77-b70c-3efaadbfd25a" - }, - { - "reference": "urn:uuid:0f95a3bb-560f-4bf2-a042-cd0e8fe2fb5f" - }, - { - "reference": "urn:uuid:10e53d12-2a17-4a2e-afed-67a0337e429e" - }, - { - "reference": "urn:uuid:ea667003-44ed-47b6-890d-e50ebf6d109b" - }, - { - "reference": "urn:uuid:c1327a2a-37b0-4cda-bce4-8fd9774969c5" - }, - { - "reference": "urn:uuid:d55686db-2b30-4e27-a431-d444492a6c0b" - }, - { - "reference": "urn:uuid:bf009133-9c61-4431-9bcd-8b0e88c2b27d" - }, - { - "reference": "urn:uuid:89165033-b8e4-4325-a906-33f4665e588f" - }, - { - "reference": "urn:uuid:12163eb5-768d-487c-b350-aad7122743bc" - }, - { - "reference": "urn:uuid:3d18b777-7c11-4c1f-88ec-0c385a2e70da" - }, - { - "reference": "urn:uuid:673b17bc-5467-4587-b95a-5538e5411bbb" - }, - { - "reference": "urn:uuid:615fcb6c-db2e-4f6a-be23-62dec27f1d8d" - }, - { - "reference": "urn:uuid:cccb1957-2a02-4bb7-ac4e-51488d6167f3" - }, - { - "reference": "urn:uuid:5b8ec926-7097-4d05-a79f-bccb435c1fd1" - }, - { - "reference": "urn:uuid:4ccea939-1dbc-4f1f-8e8f-5c3b65864407" - }, - { - "reference": "urn:uuid:c52ee846-a4e0-4036-a32e-4e6ae5a2b6df" - }, - { - "reference": "urn:uuid:994bd33c-f03d-4dd1-be77-b35d3e6ba44c" - }, - { - "reference": "urn:uuid:916308a4-0e0f-4fe1-9d17-95d528ed5edf" - }, - { - "reference": "urn:uuid:a9060b72-9c3b-4c98-9736-9eaa91bbb58b" - }, - { - "reference": "urn:uuid:21fefa4d-a65b-424e-a7e0-7aa47b0c4210" - }, - { - "reference": "urn:uuid:29737665-7ca5-41e4-8412-87fa3c4ad358" - }, - { - "reference": "urn:uuid:95d952c9-e7df-4e90-b71a-ea9c8e527dba" - }, - { - "reference": "urn:uuid:cb0bac77-1b37-4359-a026-59920f83a662" - }, - { - "reference": "urn:uuid:8399bc32-0cc9-4f41-91eb-d80b4949818e" - }, - { - "reference": "urn:uuid:074e9ad3-624e-4a70-bf25-26cbef9a6509" - }, - { - "reference": "urn:uuid:11cde837-0047-4725-935c-b7dac2ede4f7" - }, - { - "reference": "urn:uuid:92397156-789b-4251-b943-edefb5df3716" - }, - { - "reference": "urn:uuid:37c20bb4-d87c-4982-90c3-13d0c6875278" - }, - { - "reference": "urn:uuid:8c1f26a5-4185-4aec-9a75-8114d2a6c8da" - }, - { - "reference": "urn:uuid:95792510-794c-4d7e-955f-6239d6563dd7" - }, - { - "reference": "urn:uuid:4ff1bdc1-94bb-4cba-b066-3bc3ff0fa42e" - }, - { - "reference": "urn:uuid:813ff96f-ac2e-4b11-884f-8d99d0ea8ad6" - }, - { - "reference": "urn:uuid:78d5fe12-273c-4942-a1c9-f6a7e094c9fc" - }, - { - "reference": "urn:uuid:19369ad1-87e4-4bc3-8b97-0820dfbb0b8d" - }, - { - "reference": "urn:uuid:6b5baec3-adb6-4d19-802b-1f7401cc73e1" - }, - { - "reference": "urn:uuid:15b79ff0-17f6-4901-be79-75f1d80b7389" - }, - { - "reference": "urn:uuid:149774ce-ea62-4c9e-bc30-693cfdd7b0c0" - }, - { - "reference": "urn:uuid:647401ef-7811-41fd-ab36-0d89e6423155" - }, - { - "reference": "urn:uuid:6f9b3cdb-0bb5-44be-b1a6-57d5bffdb7c3" - }, - { - "reference": "urn:uuid:6ce68ed7-e200-48f3-8c60-19ac17c4c7b7" - }, - { - "reference": "urn:uuid:b68c7063-6e12-43f1-85c7-d609fbef043e" - }, - { - "reference": "urn:uuid:6ce2aa93-90e9-4ca5-ac28-8052f67ffb26" - }, - { - "reference": "urn:uuid:7f5a7fe8-9a93-44fa-8ec2-0139891f2f69" - }, - { - "reference": "urn:uuid:c123985f-d9b3-4735-af70-5723109c8208" - }, - { - "reference": "urn:uuid:8fe349c9-993b-4ae5-8c2e-95c84929d4a1" - }, - { - "reference": "urn:uuid:5648dd27-2049-45e6-aa83-aca90e70a25d" - }, - { - "reference": "urn:uuid:3c98fe7f-8444-4baf-9380-97f20df84834" - }, - { - "reference": "urn:uuid:6b53e08d-68f5-4cb9-82d5-c04e120643cb" - }, - { - "reference": "urn:uuid:5af8cb30-4f6b-457e-80b8-2c93b6ea0557" - }, - { - "reference": "urn:uuid:a4ada62e-0769-4791-9324-6568fec3ffb9" - }, - { - "reference": "urn:uuid:76dc7e4c-d77e-41d0-b6ce-eac1d055235b" - }, - { - "reference": "urn:uuid:16fc7b3a-10f6-44ea-bbf9-fe99a93502e9" - }, - { - "reference": "urn:uuid:5542db51-6721-42ac-8d3d-6adb2031ee59" - }, - { - "reference": "urn:uuid:2d614b95-e3b2-4e71-8e1c-c0423a1c8d78" - }, - { - "reference": "urn:uuid:62cc7f2c-256e-4c06-8f15-a1e1f02c95cd" - }, - { - "reference": "urn:uuid:7da05a2e-e036-4bf0-aa1b-c7a50ccf8752" - }, - { - "reference": "urn:uuid:1ec8051b-d391-45bf-bf09-e9159c6e4ac4" - }, - { - "reference": "urn:uuid:1cb7432e-b5c5-418f-9dd4-a771f4269331" - }, - { - "reference": "urn:uuid:38f67e15-e709-4e4c-8062-a4de62d588f9" - }, - { - "reference": "urn:uuid:3f7dc0b0-c2c0-4bb7-8995-735884f51adf" - }, - { - "reference": "urn:uuid:856c42a4-15fa-4aa5-b126-b558c4b17b45" - }, - { - "reference": "urn:uuid:24474324-3c9e-43cb-8bfb-115790dc7cf2" - }, - { - "reference": "urn:uuid:afe41584-dfef-40b1-ac2c-d68fc9a488ea" - }, - { - "reference": "urn:uuid:d627bf22-24be-4d9d-980b-7ff24fd950f2" - }, - { - "reference": "urn:uuid:60481f1a-8683-4395-9767-cb4e8b54b2a4" - }, - { - "reference": "urn:uuid:990dd75e-dbd5-4651-aeda-1df12f60952c" - }, - { - "reference": "urn:uuid:0d6e8c95-315b-4f01-a61d-92e76b01c3fa" - }, - { - "reference": "urn:uuid:7e3a187e-0451-47a2-be53-a6a45d557166" - }, - { - "reference": "urn:uuid:4b146e00-adb8-47eb-b37f-007764100d3c" - }, - { - "reference": "urn:uuid:18b361f9-f0cb-4aeb-a345-ea01ff550c6d" - }, - { - "reference": "urn:uuid:dfc3abbe-854a-45ef-98b0-75ecd9ba2138" - }, - { - "reference": "urn:uuid:4d108606-7e3e-42e0-9091-8bd12b843e9b" - }, - { - "reference": "urn:uuid:f9ce85ba-eefe-491a-8d2b-9ae7fe042aca" - }, - { - "reference": "urn:uuid:15714ab3-2a92-4b66-8394-5783026bafa8" - }, - { - "reference": "urn:uuid:c071b5cc-745c-49a3-ae69-dcf6886cd5ba" - }, - { - "reference": "urn:uuid:b45e82b4-519c-46ea-b543-782494479074" - }, - { - "reference": "urn:uuid:3d6f0356-90f8-4386-b1da-e0062bdca6a0" - }, - { - "reference": "urn:uuid:4cdf3224-e174-462e-a9c4-c985edcdad1f" - }, - { - "reference": "urn:uuid:b74cdefb-14e1-43bc-ba96-642e7ce02fc0" - }, - { - "reference": "urn:uuid:4b7a09d6-df23-413f-8a01-15a175f03e49" - }, - { - "reference": "urn:uuid:220669b7-6b53-413d-b6f2-501636bb4dc1" - }, - { - "reference": "urn:uuid:f042a475-82e7-4c1d-8a16-75599e15bc0b" - }, - { - "reference": "urn:uuid:0ff65a61-5ac5-4679-9f28-88fe0571b272" - }, - { - "reference": "urn:uuid:629a7e25-1e9c-40f9-9ae6-1436d734ca96" - }, - { - "reference": "urn:uuid:767029a4-839b-40a5-91f8-2c483c26a640" - }, - { - "reference": "urn:uuid:fc75badc-ba94-4044-a9b7-37015f37d0b8" - }, - { - "reference": "urn:uuid:75c85d5f-c1e1-465a-adeb-6eaf2106c3ee" - }, - { - "reference": "urn:uuid:06471e31-793b-4a09-a3ed-c9d69ec029a5" - }, - { - "reference": "urn:uuid:baf51c92-7a7b-4d60-b4ee-38fa99fdf8db" - }, - { - "reference": "urn:uuid:fd036fe1-3692-4d5a-bf3e-ccfb1f1b2dbc" - }, - { - "reference": "urn:uuid:6ae6faf8-ba30-42ee-b108-4e6039be3bf0" - }, - { - "reference": "urn:uuid:3aa15fdc-4965-440b-85a7-26bde99c948b" - }, - { - "reference": "urn:uuid:ce0ec83b-3e7d-4b3e-93d1-70b449f2393b" - }, - { - "reference": "urn:uuid:06214387-5440-4290-abaf-e436e5a2a3bb" - }, - { - "reference": "urn:uuid:702a35e1-6ead-4af5-ba50-94f875ddca96" - }, - { - "reference": "urn:uuid:5a60b57f-fc23-42aa-831f-3acc5e3619e6" - }, - { - "reference": "urn:uuid:667f4ca5-ed38-4aa1-93e4-17c0d9e1f2f3" - }, - { - "reference": "urn:uuid:60113cc3-3fee-48ec-a41c-1f5ae25e5b15" - }, - { - "reference": "urn:uuid:730b7adb-8506-4ccc-bde4-73532dac351d" - }, - { - "reference": "urn:uuid:b43802eb-cb9d-4feb-80a0-87c56b80e88e" - }, - { - "reference": "urn:uuid:4b002fb0-b658-4059-894d-bad679593ed6" - }, - { - "reference": "urn:uuid:2a1fbe91-6378-42dc-8157-1520224c44f9" - }, - { - "reference": "urn:uuid:24dbb5e6-56fe-4946-906b-a34b3ffbfd34" - }, - { - "reference": "urn:uuid:aaf2802c-4507-4fd7-9e46-5bfba585f220" - }, - { - "reference": "urn:uuid:a2a3cce0-a465-4246-9c57-142e894d4062" - }, - { - "reference": "urn:uuid:eda3d975-76b8-43c0-9f7c-7d2360782f1a" - }, - { - "reference": "urn:uuid:bd149371-9c51-466f-b7fb-8e23d2fa05f1" - }, - { - "reference": "urn:uuid:78396b5e-d62d-4fc5-b5dc-dba7ae491d26" - }, - { - "reference": "urn:uuid:b96faa39-0018-41cb-97eb-5ae28645d368" - }, - { - "reference": "urn:uuid:9285a728-042b-48da-84b3-b0b9d5b5a53f" - }, - { - "reference": "urn:uuid:e86988f7-63b6-4083-ae1f-98d2a7d6ba12" - }, - { - "reference": "urn:uuid:c3f0b252-3440-48a5-8377-a286da0844ec" - }, - { - "reference": "urn:uuid:a2a3ed5b-120d-4340-aa22-b3a9c8b37b60" - }, - { - "reference": "urn:uuid:da94f84f-6a92-46fa-8957-794febfa1a27" - }, - { - "reference": "urn:uuid:db710cae-5905-4f15-9984-9696255aa6ba" - }, - { - "reference": "urn:uuid:ab7f2fca-0191-44f2-9004-ab28d19cb575" - }, - { - "reference": "urn:uuid:890ab7b0-a169-4a45-9e1b-1e8d7ff7751c" - }, - { - "reference": "urn:uuid:08ffea64-2b0e-4796-bbd5-f9cc37755876" - }, - { - "reference": "urn:uuid:4c562f1f-8ec3-4b8c-a7fb-cf602e839329" - }, - { - "reference": "urn:uuid:9f156698-58a4-4203-9f9f-c5d00035be23" - }, - { - "reference": "urn:uuid:6531d108-0189-4da1-809b-18fb291b6e89" - }, - { - "reference": "urn:uuid:4587fb98-65c5-4f57-a053-aa96d0af11c5" - }, - { - "reference": "urn:uuid:34b455c2-58b2-44f4-89d4-ef13f9e9aa05" - }, - { - "reference": "urn:uuid:21999638-788b-4ed4-bf4f-c5bf3b717de3" - }, - { - "reference": "urn:uuid:a9f78ad2-f38c-4f8c-9e80-ad49a96950f9" - }, - { - "reference": "urn:uuid:881d4550-f693-42fd-9a40-b4c6aa664827" - }, - { - "reference": "urn:uuid:66b6b56d-1a4a-4f24-b822-f8f0af1f4d02" - }, - { - "reference": "urn:uuid:e6c79b32-d27e-4663-bcb0-df5ea3715aa7" - }, - { - "reference": "urn:uuid:376cb148-8086-4941-943c-949d957da9c6" - }, - { - "reference": "urn:uuid:9e569308-73a7-43f5-a111-caa1fb2eb015" - }, - { - "reference": "urn:uuid:8df45ef5-07df-4677-b5cb-36723f5e8c40" - }, - { - "reference": "urn:uuid:52d1b38a-4ab3-4000-855b-97c8701776ec" - }, - { - "reference": "urn:uuid:a587488a-07c3-47c1-a7a4-c2a0d2302abe" - }, - { - "reference": "urn:uuid:b4b3a065-ed04-4b16-9589-814466125664" - }, - { - "reference": "urn:uuid:ac5da61b-0f22-4cb0-a988-dc0a010f072e" - }, - { - "reference": "urn:uuid:6da08b20-da46-4c5a-bee4-cc8593403122" - }, - { - "reference": "urn:uuid:1818d919-78b1-4a8c-869f-5e8e4288667c" - }, - { - "reference": "urn:uuid:e5904667-c55e-4098-96d2-c81d7e7daf75" - }, - { - "reference": "urn:uuid:8128f819-48ad-472c-8329-0ac112b43058" - }, - { - "reference": "urn:uuid:888cbcdf-c076-49a9-a612-6470910b5274" - }, - { - "reference": "urn:uuid:afa46496-0646-42c7-a0d1-de5ee91f7346" - }, - { - "reference": "urn:uuid:eae2cc31-4700-4f2c-aa66-f911a51aef30" - }, - { - "reference": "urn:uuid:efe41301-cc37-47e3-bcf9-1059b9fa24de" - }, - { - "reference": "urn:uuid:fa6b7992-af2f-45d5-92db-432f48909897" - }, - { - "reference": "urn:uuid:61d29d7b-bf71-4f99-ab47-34ee53695a06" - }, - { - "reference": "urn:uuid:cefff05f-6251-4045-8f26-98f710d0d37e" - }, - { - "reference": "urn:uuid:a207ec95-2db6-4940-bf72-34b12d39c92d" - }, - { - "reference": "urn:uuid:bb1ac1f0-f634-4b16-9c10-75ffd54b2f7a" - }, - { - "reference": "urn:uuid:674a9fa8-d00a-41e9-a49d-7eb658123d73" - }, - { - "reference": "urn:uuid:cb7ff293-27ac-42bc-8380-4c192a1b2742" - }, - { - "reference": "urn:uuid:598aa4dd-b1dc-4b7d-8d1b-9c18f5645a68" - }, - { - "reference": "urn:uuid:4c131060-003c-44c2-ade1-8546b1167699" - }, - { - "reference": "urn:uuid:77b221fa-cdd9-4b4e-aff7-3baa21f89abf" - }, - { - "reference": "urn:uuid:f6081ea9-9ef6-49fe-a7d4-637d05849510" - }, - { - "reference": "urn:uuid:3237247a-5267-4660-b88f-a90ac5cf172b" - }, - { - "reference": "urn:uuid:a5655945-9d9e-485e-a060-1595fb21f903" - }, - { - "reference": "urn:uuid:ab29315d-0d89-4da3-b7c7-8eff6b6dca98" - }, - { - "reference": "urn:uuid:d92483b1-f30f-443e-8b1b-2f2ea8a629c1" - }, - { - "reference": "urn:uuid:c3b4ea3d-8ee6-4bba-b20e-7a675edfce1f" - }, - { - "reference": "urn:uuid:b2ede4c2-a035-430e-9ab3-41dede9cf93f" - }, - { - "reference": "urn:uuid:fe732b5a-ab89-401a-af62-86322ca9c912" - }, - { - "reference": "urn:uuid:9c928c11-5300-4426-b704-27cc9e8e4ac3" - }, - { - "reference": "urn:uuid:422c7f20-5b7c-4fa3-a256-6ba5e4f33f3b" - }, - { - "reference": "urn:uuid:15c553a2-5218-4ecb-a3ec-5fe37270c1eb" - }, - { - "reference": "urn:uuid:370237e5-4823-4c6b-a945-e11e7a5de49c" - }, - { - "reference": "urn:uuid:e62da0b8-d362-4bc4-b182-0b18dc3fb97d" - }, - { - "reference": "urn:uuid:6a117173-fd5e-4928-8f60-410814a15fa8" - }, - { - "reference": "urn:uuid:8194e9b8-c991-4506-923c-6f7b939af9b2" - }, - { - "reference": "urn:uuid:ae83e5ae-e34f-482f-b883-ce6cb9ac21c0" - }, - { - "reference": "urn:uuid:3a6b2e56-a04b-439f-ac1c-301c7a066369" - }, - { - "reference": "urn:uuid:4b8e1bca-ea79-40b2-9337-5cb699ec6944" - }, - { - "reference": "urn:uuid:5727335a-ae5b-46c0-8867-cd024621cda8" - }, - { - "reference": "urn:uuid:e483ebfe-775b-4a47-ab5a-66be5cb37268" - }, - { - "reference": "urn:uuid:69028bd1-849e-4955-9858-9c692016ede6" - }, - { - "reference": "urn:uuid:bf534a85-a451-4b81-b454-becd4025193f" - }, - { - "reference": "urn:uuid:96875074-9e97-4ea7-9311-d1f9065baeed" - }, - { - "reference": "urn:uuid:26565133-56db-4371-a5e1-3abce33c37f3" - }, - { - "reference": "urn:uuid:bc5579b5-2ca3-4535-a9d6-951aac500a27" - }, - { - "reference": "urn:uuid:f11d0c63-92f3-4b0e-933a-a1a727465258" - }, - { - "reference": "urn:uuid:1681af37-ee93-49ff-b108-ead7689f6250" - }, - { - "reference": "urn:uuid:0e03d2c2-1ffa-4ebb-91bb-458b07dffd0a" - }, - { - "reference": "urn:uuid:db926460-0851-4148-a1c8-324c4a7c1ad2" - }, - { - "reference": "urn:uuid:41bcfaef-3971-430d-8386-e564da61f90d" - }, - { - "reference": "urn:uuid:e49b77c0-588f-4551-bca2-ea8f21664ba7" - }, - { - "reference": "urn:uuid:e2444317-5049-48c7-ac3d-6b30586890ab" - }, - { - "reference": "urn:uuid:ef97494d-9f95-40eb-9764-2f3d584db91f" - }, - { - "reference": "urn:uuid:b043c9e3-58c8-4c1e-902b-b61b4e606302" - }, - { - "reference": "urn:uuid:ebf8b1b7-318d-4b21-9a65-20132a6ed8da" - }, - { - "reference": "urn:uuid:a9c106a8-39f5-4808-8b63-3b92f5a2cd47" - }, - { - "reference": "urn:uuid:40609dd9-4e93-4760-9cf0-1343eb69b910" - }, - { - "reference": "urn:uuid:f009a6e4-02c3-4518-b7b2-faad9f4b12e1" - }, - { - "reference": "urn:uuid:f9e7be0a-2b59-4810-a304-d30ec2a5b0b9" - }, - { - "reference": "urn:uuid:a0347dcb-3901-4c64-97fa-d91547080902" - }, - { - "reference": "urn:uuid:1a381821-4247-412b-8e57-8e66506e0343" - }, - { - "reference": "urn:uuid:7bb7038c-4c56-4f79-9d29-c93b5ddfc3ed" - }, - { - "reference": "urn:uuid:fdb1cbc7-39fc-4a54-8796-6aa08c5b9dfb" - }, - { - "reference": "urn:uuid:4f939f5c-a598-4929-add3-cb86867996bc" - }, - { - "reference": "urn:uuid:4a4cd1fb-c0a8-4fa2-b53c-4f51bd336ed9" - }, - { - "reference": "urn:uuid:d5e276fb-c14e-4cb4-86d6-96dd6613308b" - }, - { - "reference": "urn:uuid:90e1d45a-c151-452c-9917-edb5e373da8c" - }, - { - "reference": "urn:uuid:ac50dcd3-3a90-42f3-ad5f-3022c481c5a0" - }, - { - "reference": "urn:uuid:b40367ac-3a3c-49db-ace4-5d10143433e0" - }, - { - "reference": "urn:uuid:b0776459-aacf-4429-8777-e9d9f6ac6356" - }, - { - "reference": "urn:uuid:384e02d7-2e91-4680-97e9-6af9b90497bc" - }, - { - "reference": "urn:uuid:54e1e43c-e24b-4e6f-8644-71da534d588d" - }, - { - "reference": "urn:uuid:65088070-ba9d-4963-9fda-889c9f8ac0cd" - }, - { - "reference": "urn:uuid:47d67403-5448-470c-807a-17fe4a1be47b" - }, - { - "reference": "urn:uuid:9365de57-307a-4de1-857f-29732b785c0c" - }, - { - "reference": "urn:uuid:ff2fbf2f-34d5-47ed-8c13-d86652dd7126" - }, - { - "reference": "urn:uuid:3fa50573-c2e4-4d7a-b1e7-570e90465117" - }, - { - "reference": "urn:uuid:6a092fd3-539c-4ae8-9741-99a65c40f24b" - }, - { - "reference": "urn:uuid:edaf7d2a-0037-4cc4-aab2-dd96ede72799" - }, - { - "reference": "urn:uuid:defca8cd-b980-483b-8b3d-5d673acbdbab" - }, - { - "reference": "urn:uuid:8dc70997-71e3-431d-87fe-8ff34cd63ba1" - }, - { - "reference": "urn:uuid:cb5a2bbc-de9d-4926-b1c3-c4dadd6f19c5" - }, - { - "reference": "urn:uuid:3bc7e770-582c-4d02-bd12-82f2eaad0806" - }, - { - "reference": "urn:uuid:3937a53f-0bc7-41ca-89e3-75e8359c513b" - }, - { - "reference": "urn:uuid:3ba5796c-4d7e-4034-a897-af99beeb6913" - }, - { - "reference": "urn:uuid:a3c7cad8-3976-4cca-af92-a4c642b1828d" - }, - { - "reference": "urn:uuid:248fa34e-e625-4393-806d-0a06d553d0ae" - }, - { - "reference": "urn:uuid:6ddf58ff-b453-4045-8ae8-f1cf34a61b05" - }, - { - "reference": "urn:uuid:8bbc3a39-8c8e-4ced-bdd2-1d3e4b6f29c2" - }, - { - "reference": "urn:uuid:e5ad2326-c9fc-4521-a4d0-f2a11a343f1f" - }, - { - "reference": "urn:uuid:23546ede-1dd0-4757-8d30-8b3b3182b2e6" - }, - { - "reference": "urn:uuid:957f679d-fa50-4a6c-9e87-164e8a974ed4" - }, - { - "reference": "urn:uuid:f1dd8bc1-a848-47fa-b7d6-63f9693ebf12" - }, - { - "reference": "urn:uuid:b399e705-b003-4c31-b1c2-9fee9552d487" - }, - { - "reference": "urn:uuid:5224e0ef-fba2-4e6a-a9b9-75b000f09aa7" - }, - { - "reference": "urn:uuid:dd529300-f00d-4179-a72a-64789b7f28bf" - }, - { - "reference": "urn:uuid:8a5cac6b-4ab1-4071-88ef-f05353cd51e1" - }, - { - "reference": "urn:uuid:b608e9ae-f41d-4e73-8c9f-7e73e7a54893" - }, - { - "reference": "urn:uuid:1a4b6041-3774-41e8-916f-4e23d9e0b85c" - }, - { - "reference": "urn:uuid:391b44d6-2795-4949-96be-c8bdd947f5a4" - }, - { - "reference": "urn:uuid:de8082de-e6bb-4050-afff-d267a1da6c0e" - }, - { - "reference": "urn:uuid:4460bb89-0fc9-4f97-a497-dd99dc1dfcce" - }, - { - "reference": "urn:uuid:5f3eba41-7b28-469b-9e85-48870c9424be" - }, - { - "reference": "urn:uuid:f90f27f8-c442-48d5-a76f-4d987b32a3aa" - }, - { - "reference": "urn:uuid:f3087323-9ad9-4513-bf48-a6686fc93949" - }, - { - "reference": "urn:uuid:446dd387-3847-4523-b1df-8c1f01eefa19" - }, - { - "reference": "urn:uuid:cbaeb79c-cbf0-40a7-a50c-729f8f4a0934" - }, - { - "reference": "urn:uuid:ed3aa6e1-d4a4-48ae-89d3-f9cb71d37647" - }, - { - "reference": "urn:uuid:3dda37ff-1a24-4de2-93a6-23eb6a6969e1" - }, - { - "reference": "urn:uuid:b9637bc3-1918-40fa-8ad8-a618752971a3" - }, - { - "reference": "urn:uuid:8d1d0bed-b36d-4a1a-8486-bea42e622de9" - }, - { - "reference": "urn:uuid:73b223fd-88c7-4610-b4d2-206f4143a3e7" - }, - { - "reference": "urn:uuid:451034d9-c038-4794-a4e4-b23ee7a94a78" - }, - { - "reference": "urn:uuid:400372d0-a7ea-4388-99d4-95ef1071a716" - }, - { - "reference": "urn:uuid:dc236191-55fa-4c96-8c48-1e003ebaa08c" - }, - { - "reference": "urn:uuid:c1f8b46f-18a8-47a6-a8b6-1ad3a52fa37e" - }, - { - "reference": "urn:uuid:4e05e810-afe3-4992-9f91-14c9d36db93a" - }, - { - "reference": "urn:uuid:201a28b3-77b3-4be6-8a0f-833003453de7" - }, - { - "reference": "urn:uuid:844c17d8-4a0c-4cf1-a8a6-4d5e18aa16d3" - }, - { - "reference": "urn:uuid:fbf2ea35-9545-44b4-9b7b-c49a1002f49c" - }, - { - "reference": "urn:uuid:d31f7fa4-e0ac-4b27-af28-71e7c41ada9c" - }, - { - "reference": "urn:uuid:d4172fc8-cd8d-4f40-863e-3ea2b5512239" - }, - { - "reference": "urn:uuid:e8c756c1-7fb6-4151-b801-29c1c5ec35b2" - }, - { - "reference": "urn:uuid:d1d7b306-3443-4331-9071-56e92432f950" - }, - { - "reference": "urn:uuid:6ed87cee-192a-4358-82d6-34ab2a7ce840" - }, - { - "reference": "urn:uuid:6a594c04-6751-4ccd-8cfc-d769fd3f125e" - }, - { - "reference": "urn:uuid:453cb389-8554-4d2b-be3a-16e894908c38" - }, - { - "reference": "urn:uuid:a18757d5-4ce1-480d-87c6-8a43520688d7" - }, - { - "reference": "urn:uuid:78707346-d73c-4a18-b6fc-0b16bc6c6e54" - }, - { - "reference": "urn:uuid:a312b0aa-d47f-4bd8-8227-f336c5b86f99" - }, - { - "reference": "urn:uuid:809b7b2f-8412-407a-a084-3813822e75f4" - }, - { - "reference": "urn:uuid:fbba73a8-4f90-4107-b682-c031e93e50fc" - }, - { - "reference": "urn:uuid:47403a7d-213f-43e5-8485-ee10f3a7eec4" - }, - { - "reference": "urn:uuid:7ff80d1f-a390-41b7-94c0-c97608405a64" - }, - { - "reference": "urn:uuid:c46ac852-0c0c-43ae-be29-820018452a38" - }, - { - "reference": "urn:uuid:03207fb1-a550-42f6-8bd7-a2c1f3ac8ab7" - }, - { - "reference": "urn:uuid:aeaeffb6-c4d1-4275-8980-3bc5d3bb3d00" - }, - { - "reference": "urn:uuid:35032147-4d1d-4cbf-885b-9640ea563c4d" - }, - { - "reference": "urn:uuid:8025d499-1e4a-46f8-ad2e-1ee743bd9257" - }, - { - "reference": "urn:uuid:c533bc2f-7c54-4b99-8be8-6fdffef6e1ea" - }, - { - "reference": "urn:uuid:fc521c56-1e41-4036-8484-244c95325778" - }, - { - "reference": "urn:uuid:95670123-c09d-4884-97f2-c4b4b2b2b090" - }, - { - "reference": "urn:uuid:10ef92e8-18a0-4566-9e8a-f650c8e6f986" - }, - { - "reference": "urn:uuid:f5330a15-9570-4b36-9294-a51058d8d049" - }, - { - "reference": "urn:uuid:69d3a051-1788-45d6-ad85-c3488d7de7aa" - }, - { - "reference": "urn:uuid:a1baf5b3-93de-4d16-b7ad-180abfa48c79" - }, - { - "reference": "urn:uuid:63166ac7-b99e-4711-bcf1-bfefe0824c18" - }, - { - "reference": "urn:uuid:7909fefa-a64f-488b-8f11-d79aab728068" - }, - { - "reference": "urn:uuid:73b004c9-04c7-40f2-ad1f-553f7e71660f" - }, - { - "reference": "urn:uuid:d44f74eb-f859-4729-ad8b-dba6074f7a41" - }, - { - "reference": "urn:uuid:a39ba7d0-f20a-4344-8d86-67ba5231d162" - }, - { - "reference": "urn:uuid:2c33007d-47df-4c33-8a8f-10107713162e" - }, - { - "reference": "urn:uuid:70da1bdb-4f75-4d15-92d3-f3c858fe9b4a" - }, - { - "reference": "urn:uuid:3a5edd09-0f0d-4690-8f85-9d627e5a5121" - }, - { - "reference": "urn:uuid:e6455ae6-4852-4f7d-adf3-7a3bbff0ac95" - }, - { - "reference": "urn:uuid:dc7635f6-de33-4a2b-a42b-6b0dcdb48299" - }, - { - "reference": "urn:uuid:4f6911c1-ac5d-4fcd-ab79-9d68dc8bcfb0" - }, - { - "reference": "urn:uuid:a034f8ec-9f09-4f3d-a2cd-89f70e7f9ea2" - }, - { - "reference": "urn:uuid:fff28476-b3a3-4324-9314-453c257538c2" - }, - { - "reference": "urn:uuid:6e8c3d60-9166-4449-9c0f-a235bf3525d4" - }, - { - "reference": "urn:uuid:19584cf5-ca16-4b44-b284-887bc05ab9f9" - }, - { - "reference": "urn:uuid:de09084a-8010-4dab-a509-8f5749c0c1f9" - }, - { - "reference": "urn:uuid:849450f9-be1d-44a5-9640-b0d48ca95ac2" - }, - { - "reference": "urn:uuid:19f55536-11a8-4ae0-ab90-bb674d0e20c9" - }, - { - "reference": "urn:uuid:c0a584b2-bfff-4ea0-bda2-af162d77b9cb" - }, - { - "reference": "urn:uuid:ac9c74c9-a21e-42b9-bfab-f83b204ca193" - }, - { - "reference": "urn:uuid:cd619c20-fa5c-43bd-8472-7a51ea2fa4d2" - }, - { - "reference": "urn:uuid:9cab30d0-3f65-4ed2-8207-ddbe680fb817" - }, - { - "reference": "urn:uuid:4d822e68-e098-4850-a077-b831ecc3d65c" - }, - { - "reference": "urn:uuid:2f447df9-c1c7-4184-8ed8-1b0d4c2722af" - }, - { - "reference": "urn:uuid:98077579-ec65-48bd-b379-f58f1874f519" - }, - { - "reference": "urn:uuid:4b3e25bf-5805-4361-9ece-4907fc3628c5" - }, - { - "reference": "urn:uuid:8df28b50-9224-40fe-9ae5-3d93442c6de8" - }, - { - "reference": "urn:uuid:5b09357c-ee84-4488-8e37-9fc509f2626a" - }, - { - "reference": "urn:uuid:2e2a6efd-8836-4edb-8a1b-4411906dfa06" - }, - { - "reference": "urn:uuid:5605e654-548a-4a6f-b6e7-1d44acf833bf" - }, - { - "reference": "urn:uuid:24d9d22e-fe26-4dd7-8f85-44da6ba12312" - }, - { - "reference": "urn:uuid:21960643-d609-4531-9577-a78966cf5dfe" - }, - { - "reference": "urn:uuid:01f46a34-c2f2-4b25-bee9-f2c86986b7e9" - }, - { - "reference": "urn:uuid:7079afeb-d7ae-48d5-a523-b9c80c52b3a0" - }, - { - "reference": "urn:uuid:2159ed82-7726-4e54-8108-be6ae398e4be" - }, - { - "reference": "urn:uuid:592886be-d31e-4169-ad85-fe19be2f4f8a" - }, - { - "reference": "urn:uuid:15bb9fb1-9f8a-4d9b-a1de-648d21ae98df" - }, - { - "reference": "urn:uuid:a860dc24-414a-4535-a0af-9b51061ff67c" - }, - { - "reference": "urn:uuid:a5483d32-1e68-453e-ab0d-acf9b1934624" - }, - { - "reference": "urn:uuid:ddb674dc-4437-484f-b04e-b12cf41c8f2c" - }, - { - "reference": "urn:uuid:2d7e2a12-b2a8-4ba6-bffe-275a0d23489f" - }, - { - "reference": "urn:uuid:a22ee9a8-8b01-449e-a9b9-6738984bf592" - }, - { - "reference": "urn:uuid:f5a86b3f-c902-45ae-ab2e-e9fa42d4abb3" - }, - { - "reference": "urn:uuid:f88d36d4-e2bc-443f-ba77-ce7849890d8e" - }, - { - "reference": "urn:uuid:0faa8bca-5f39-473e-90cb-cf3438350b8d" - }, - { - "reference": "urn:uuid:10c4329c-8664-4561-b7c0-5cd935c4e9ba" - }, - { - "reference": "urn:uuid:d46b61a7-272c-4773-9fe2-292192c53e51" - }, - { - "reference": "urn:uuid:4c1fcff5-ecfe-4c09-a3fc-63768387cc7e" - }, - { - "reference": "urn:uuid:258b96ee-b0b7-4c23-9ce1-679183791d60" - }, - { - "reference": "urn:uuid:af1dea09-d9d9-44bf-a9bf-5839246439b1" - }, - { - "reference": "urn:uuid:c8127202-2870-48fd-907d-6a6630219afb" - }, - { - "reference": "urn:uuid:27638834-92a5-4ba7-a865-947e2f070044" - }, - { - "reference": "urn:uuid:5d417f37-4bc9-4d0a-baa4-a52e44dbe102" - }, - { - "reference": "urn:uuid:0e7ae71f-7d13-4984-b0f7-2b7d04a92935" - }, - { - "reference": "urn:uuid:9057196d-a979-4d0c-b55a-15542ce10f78" - }, - { - "reference": "urn:uuid:c8df444c-06f2-470b-98e5-f71f7a420ce6" - }, - { - "reference": "urn:uuid:01c18bb7-3fe8-43af-a187-6080fa2df2e4" - }, - { - "reference": "urn:uuid:91089422-ae73-4418-ada4-b732957fb516" - }, - { - "reference": "urn:uuid:0548a6a3-6787-4af5-9204-e5644b3ac085" - }, - { - "reference": "urn:uuid:424bb4c3-5575-418b-9fc2-0dda1fac3c03" - }, - { - "reference": "urn:uuid:dc5d7d94-a06c-406e-a9f1-caf6a8563502" - }, - { - "reference": "urn:uuid:3058c580-27db-4639-82cf-fda16a18bd49" - }, - { - "reference": "urn:uuid:5d9db7bf-5511-419c-bc58-fdb70ed28e37" - }, - { - "reference": "urn:uuid:86a395bc-1fad-4a69-aa01-bb61adf7725c" - }, - { - "reference": "urn:uuid:3bd26db8-4098-4d34-8ff4-928972f64662" - }, - { - "reference": "urn:uuid:9e56a891-9a23-4beb-966d-f9ac2df6c297" - }, - { - "reference": "urn:uuid:17716b12-d22c-4fb9-96b6-1ba9b963de42" - }, - { - "reference": "urn:uuid:3b19757e-89d7-4827-ae1e-ac82c7606d2a" - }, - { - "reference": "urn:uuid:11280c85-e075-4052-89ce-71079b938d53" - }, - { - "reference": "urn:uuid:66644441-ac77-4b8d-b2ac-14bbcec04053" - }, - { - "reference": "urn:uuid:9290113c-a3c6-446d-ac0d-0d2a5be4f4e7" - }, - { - "reference": "urn:uuid:d6bacda8-7ea4-44de-88b8-f9daa4640598" - }, - { - "reference": "urn:uuid:c9080612-2fbf-4fcd-86f9-e1fff14bec39" - }, - { - "reference": "urn:uuid:2e911ab2-40a5-45cc-bf33-0947ab8153fe" - }, - { - "reference": "urn:uuid:fbf09b71-cf90-48ce-812c-2956c3dea698" - }, - { - "reference": "urn:uuid:c4d3c024-a1c6-47c2-bc75-ac0fca030ff5" - }, - { - "reference": "urn:uuid:a6f7388a-a584-4b75-8005-accd2d3522fe" - }, - { - "reference": "urn:uuid:d9ea11ff-5101-4fba-a384-ac86b4bb1430" - }, - { - "reference": "urn:uuid:d88c2f66-9e3d-4486-a242-e412a08b4490" - }, - { - "reference": "urn:uuid:52d27283-7e29-486b-b03b-0fc929cf196c" - }, - { - "reference": "urn:uuid:5af5857e-8f25-4729-a583-57ba2f81f967" - }, - { - "reference": "urn:uuid:875458b6-ca9f-4a87-807a-e556f6944a21" - }, - { - "reference": "urn:uuid:e55e4949-2d64-44db-9f61-30b216c13b7d" - }, - { - "reference": "urn:uuid:20e9e65f-1d92-402a-9d62-69f29b503b8f" - }, - { - "reference": "urn:uuid:5ce36665-e2de-4a18-b68e-4e71eecd468b" - }, - { - "reference": "urn:uuid:c8706880-188d-4f7b-aca4-7179dab7ed4b" - }, - { - "reference": "urn:uuid:9b1d9bba-4bbb-4bda-9cf7-ac5b07611754" - }, - { - "reference": "urn:uuid:8b34476d-180c-407a-adc3-82aa7e4505b0" - }, - { - "reference": "urn:uuid:a4c79e6c-ab58-4dac-a7a3-8d97a59e44fc" - }, - { - "reference": "urn:uuid:6689d45e-0f45-4ffe-b665-12dfc2cc03b5" - }, - { - "reference": "urn:uuid:3313498c-44e7-447a-be10-fc408540ee4a" - }, - { - "reference": "urn:uuid:c4909481-052c-4375-9788-ae89037b4241" - }, - { - "reference": "urn:uuid:a9879bc0-0c50-486d-9881-e2088e226b5b" - }, - { - "reference": "urn:uuid:c0ee8845-d480-4a92-a596-564af06fd05c" - }, - { - "reference": "urn:uuid:1f8bb2b9-a180-41e1-97b4-5ce1c2260eb6" - }, - { - "reference": "urn:uuid:5444a546-530c-46bb-a743-48c991e65006" - }, - { - "reference": "urn:uuid:4a0e11d6-ea52-4f59-a211-fdb93cfff482" - }, - { - "reference": "urn:uuid:852d9cbe-ee4d-459d-9fa1-69a32209851b" - }, - { - "reference": "urn:uuid:ba6ce35c-0035-4caf-9d80-7cd8a2adb1d8" - }, - { - "reference": "urn:uuid:04656ac4-4944-455f-878b-39ea949b4e5f" - }, - { - "reference": "urn:uuid:244fa692-7776-43fd-932b-c1d12775da58" - }, - { - "reference": "urn:uuid:e9ee497a-9be1-441b-bd04-845f58da28e7" - }, - { - "reference": "urn:uuid:01cacb9c-fad4-4441-bee8-3b043c46d11f" - }, - { - "reference": "urn:uuid:56be2677-c7c6-4b4e-8479-f559b4b32823" - }, - { - "reference": "urn:uuid:0de94e85-3015-482e-b340-0e5df78ddaeb" - }, - { - "reference": "urn:uuid:ced86e98-7706-4f47-825c-ce79ecff348f" - }, - { - "reference": "urn:uuid:7b1158d8-d2a6-4027-9d0b-478dcba7818f" - }, - { - "reference": "urn:uuid:d6701c30-9e32-41a4-a508-e7b89d925c30" - }, - { - "reference": "urn:uuid:52893d6e-9bed-443f-8176-5444a57a1c84" - }, - { - "reference": "urn:uuid:a405d702-2710-4bf0-9304-6872d44be7b3" - }, - { - "reference": "urn:uuid:49ddff02-26bf-465d-9fc9-dc00f0bfe5fd" - }, - { - "reference": "urn:uuid:82fc90be-4c3d-4e04-9011-079ea1d32a70" - }, - { - "reference": "urn:uuid:6dc8a3d3-1ffa-4827-8a83-b6f56b3e87fb" - }, - { - "reference": "urn:uuid:efd5f80d-3c04-44a5-bcc6-1a9858d8b2fd" - }, - { - "reference": "urn:uuid:bba2d963-c2fd-43c8-a3a4-e7331119966a" - }, - { - "reference": "urn:uuid:30d4f06d-d5a6-4833-8519-7d01923d2465" - }, - { - "reference": "urn:uuid:5d6f244c-dc14-4d30-b585-d984885648dd" - }, - { - "reference": "urn:uuid:dabb3861-b276-4f7f-80d1-990c1c8e92de" - }, - { - "reference": "urn:uuid:3af8a41e-da2f-4623-83e6-b448b6fa8a2e" - }, - { - "reference": "urn:uuid:4a9fe7c8-a98b-4be2-9362-d0380c684c67" - } - ], - "recorded": "2020-03-13T04:25:21.151-04:00", - "agent": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", - "code": "author", - "display": "Author" - } - ], - "text": "Author" - }, - "who": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "onBehalfOf": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - }, - { - "type": { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", - "code": "transmitter", - "display": "Transmitter" - } - ], - "text": "Transmitter" - }, - "who": { - "reference": "urn:uuid:697e7603-b6cc-3bd6-a1be-7663005bf3d4", - "display": "Dr. Brendon298 Huel628" - }, - "onBehalfOf": { - "reference": "urn:uuid:b6fe1d9f-de1d-32f9-a76d-ccd6fa82e3e0", - "display": "DIAGNOSTIC ULTRASOUND ASSOCIATES, PC" - } - } - ] - }, - "request": { - "method": "POST", - "url": "Provenance" - } - } - ] -} diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/us-core-careplan.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/us-core-careplan.json deleted file mode 100644 index 2c609c26c68..00000000000 --- a/conformance/fhir-ig-us-core/src/test/resources/JSON/us-core-careplan.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "resourceType": "CarePlan", - "id": "a6a822c0-0b60-438a-940e-064c3fdfb456", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" - ] - }, - "text": { - "status": "generated", - "div": "
Care Plan for Self-care interventions (procedure).
Activities:
  • Self-care interventions (procedure)
  • Self-care interventions (procedure)
  • Self-care interventions (procedure)
" - }, - "status": "active", - "intent": "order", - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", - "code": "assess-plan" - } - ] - }, - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "384758001", - "display": "Self-care interventions (procedure)" - } - ], - "text": "Self-care interventions (procedure)" - } - ], - "subject": { - "reference": "urn:uuid:4818eca9-c6d2-4fa0-a234-7244e620391e" - }, - "encounter": { - "reference": "urn:uuid:3ce65ce5-899f-4aa6-a810-92c0dc45deaa" - }, - "period": { - "start": "1981-03-31T03:25:21-05:00" - }, - "careTeam": [ - { - "reference": "urn:uuid:7b707022-dbe7-44a4-8063-596558bd0459" - } - ], - "activity": [ - { - "detail": { - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "409002", - "display": "Food allergy diet" - } - ], - "text": "Food allergy diet" - }, - "status": "in-progress", - "location": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - } - }, - { - "detail": { - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "58332002", - "display": "Allergy education" - } - ], - "text": "Allergy education" - }, - "status": "in-progress", - "location": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - } - }, - { - "detail": { - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "58332002", - "display": "Allergy education" - } - ], - "text": "Allergy education" - }, - "status": "in-progress", - "location": { - "reference": "urn:uuid:5650caeb-a0bc-4f54-810a-84f030826e8e", - "display": "CAMBRIDGE HEALTH ALLIANCE" - } - } - } - ] -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/XML/us-core-patient-no-name-asserted.xml b/conformance/fhir-ig-us-core/src/test/resources/XML/us-core-patient-no-name-asserted.xml deleted file mode 100644 index a1d2e07fc44..00000000000 --- a/conformance/fhir-ig-us-core/src/test/resources/XML/us-core-patient-no-name-asserted.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -
empty
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
\ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/XML/us-core-patient-no-name-not-asserted.xml b/conformance/fhir-ig-us-core/src/test/resources/XML/us-core-patient-no-name-not-asserted.xml deleted file mode 100644 index 0bef9173e9c..00000000000 --- a/conformance/fhir-ig-us-core/src/test/resources/XML/us-core-patient-no-name-not-asserted.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - -
empty
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
\ No newline at end of file diff --git a/fhir-examples/src/main/java/com/ibm/fhir/examples/Index.java b/fhir-examples/src/main/java/com/ibm/fhir/examples/Index.java index cbf80c6a74d..02960069e64 100644 --- a/fhir-examples/src/main/java/com/ibm/fhir/examples/Index.java +++ b/fhir-examples/src/main/java/com/ibm/fhir/examples/Index.java @@ -22,9 +22,7 @@ public enum Index { "/profiles-pdex-formulary-json.txt", "/profiles-pdex-plan-net-json.txt", "/profiles-pdex-json.txt", - "/profiles-hrex-json.txt", - "/profiles-us-core-xml.txt", - "/profiles-us-core-json.txt"), + "/profiles-hrex-json.txt"), /** * All JSON examples @@ -32,7 +30,6 @@ public enum Index { ALL_JSON("/spec-json.txt", "/ibm-json.txt", "/profiles-carin-bb-json.txt", - "/profiles-us-core-json.txt", "/profiles-pdex-formulary-json.txt", "/profiles-pdex-plan-net-json.txt", "/profiles-pdex-json.txt", @@ -103,22 +100,11 @@ public enum Index { */ PROFILES_HREX_JSON("/profiles-hrex-json.txt"), - /** - * US Core Examples in JSON - */ - PROFILES_US_CORE_JSON("/profiles-us-core-json.txt"), - - /** - * US Core Examples in XML - */ - PROFILES_US_CORE_XML("/profiles-us-core-xml.txt"), - /** * Implementation Guides examples in JSON */ ALL_PROFILES_JSON( "/profiles-carin-bb-json.txt", - "/profiles-us-core-json.txt", "/profiles-pdex-formulary-json.txt", "/profiles-pdex-plan-net-json.txt", "/profiles-hrex-json.txt", @@ -127,9 +113,7 @@ public enum Index { /** * Implementation Guides examples in XML */ - ALL_PROFILES_XML( - "/profiles-us-core-xml.txt" - ), + ALL_PROFILES_XML(), /** * Bulk Data Location examples in JSON diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/AllergyIntolerance-example.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/AllergyIntolerance-example.json deleted file mode 100644 index fafec127dd6..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/AllergyIntolerance-example.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "resourceType": "AllergyIntolerance", - "id": "example", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: example

meta:

clinicalStatus: Active

verificationStatus: Confirmed

category: medication

criticality: high

code: sulfonamide antibacterial

patient: Amy V. 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

Reactions

-ManifestationSeverity
*skin rashmild
" - }, - "clinicalStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", - "code": "active" - } - ] - }, - "verificationStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", - "code": "confirmed" - } - ] - }, - "category": [ - "medication" - ], - "criticality": "high", - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "387406002", - "display": "Sulfonamide (substance)" - } - ], - "text": "sulfonamide antibacterial" - }, - "patient": { - "reference": "Patient/example", - "display": "Amy V. Shaw" - }, - "reaction": [ - { - "manifestation": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "271807003", - "display": "skin rash" - } - ], - "text": "skin rash" - } - ], - "severity": "mild" - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json deleted file mode 100644 index f180cc56ccb..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "resourceType": "Bundle", - "id": "66c8856b-ba11-4876-8aa8-467aad8c11a2", - "type": "searchset", - "total": 1, - "link": [ - { - "relation": "self", - "url": "http://52.90.126.238:8080/fhir/baseDstu3/PractitionerRole?_id=PractitionerRole-1&_include=PractitionerRole%3Apractitioner&_include=PractitionerRole%3Aendpoint" - } - ], - "entry": [ - { - "fullUrl": "http://52.90.126.238:8080/fhir/baseDstu3/PractitionerRole/PractitionerRole-1", - "resource": { - "resourceType": "PractitionerRole", - "id": "PractitionerRole-1", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" - ] - }, - "text": { - "status": "generated", - "div": "" - }, - "practitioner": { - "reference": "Practitioner/Practitioner-1011", - "display": "Brenda Jennings Richard MD" - }, - "organization": { - "reference": "Organization/acme-lab", - "display": "Acme Lab" - }, - "code": [ - { - "coding": [ - { - "system": "http://nucc.org/provider-taxonomy", - "code": "261QP2300X", - "display": "Primary Care" - } - ] - } - ], - "specialty": [ - { - "coding": [ - { - "system": "http://nucc.org/provider-taxonomy", - "code": "208D00000X", - "display": "General Practice" - } - ] - } - ], - "location": [ - { - "reference": "Location/hl7east", - "display": "Health Level Seven International" - } - ], - "endpoint": [ - { - "reference": "Endpoint/71", - "display": "Westwood Physicians Organization ADT" - }, - { - "reference": "Endpoint/71", - "display": "Brenda.Jennings.Richard.MD@direct.example.org" - } - ] - }, - "search": { - "mode": "match" - } - }, - { - "fullUrl": "http://52.90.126.238:8080/fhir/baseDstu3/Practitioner/Practitioner-1011", - "resource": { - "resourceType": "Practitioner", - "id": "Practitioner-1011", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: Practitioner-1011

meta:

identifier: 000001011 (OFFICIAL), 9999991011 (OFFICIAL), d46f70565a1042f6a6ece48dd81b408f (OFFICIAL)

name: Brenda Jennings Richard

telecom: ph: 313-555-6868(HOME), ph: 313-555-6443(WORK)

address: 346 W Plum Avenu Dearborn MI 48123

gender: female

birthDate: 1976-11-15

Qualifications

-IdentifierCodeIssuer
*Michigan Medical License = LARA-1011 (OFFICIAL)Medical DoctorMichigan Department of Licensing and Regulatory Affairs
" - }, - "identifier": [ - { - "use": "official", - "system": "http://hl7.org/fhir/sid/us-ssn", - "value": "000001011" - }, - { - "use": "official", - "system": "http://hl7.org/fhir/sid/us-npi", - "value": "9999991011" - }, - { - "use": "official", - "system": "http://mihin.org/fhir/cks", - "value": "d46f70565a1042f6a6ece48dd81b408f" - } - ], - "name": [ - { - "family": "Richard", - "given": [ - "Brenda", - "Jennings" - ], - "suffix": [ - "MD" - ] - } - ], - "telecom": [ - { - "system": "phone", - "value": "313-555-6868", - "use": "home" - }, - { - "system": "phone", - "value": "313-555-6443", - "use": "work" - } - ], - "address": [ - { - "text": "346 W Plum Avenu Dearborn MI 48123", - "line": [ - "346 W Plum Avenue" - ], - "city": "Dearborn", - "state": "MI", - "postalCode": "48126" - } - ], - "gender": "female", - "birthDate": "1976-11-15", - "qualification": [ - { - "identifier": [ - { - "use": "official", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "code": "MD", - "display": "Medical License number" - } - ], - "text": "Michigan Medical License" - }, - "system": "http://michigan.gov/fhir/medical-license", - "value": "LARA-1011", - "assigner": { - "display": "State of Michigan" - } - } - ], - "code": { - "coding": [ - { - "system": "http://michigan.gov/lara/license-type", - "code": "4305", - "display": "Medical Doctor" - } - ] - }, - "issuer": { - "display": "Michigan Department of Licensing and Regulatory Affairs" - } - } - ] - }, - "search": { - "mode": "include" - } - }, - { - "fullUrl": "http://52.90.126.238:8080/fhir/baseDstu3/Endpoint/Endpoint-71", - "resource": { - "resourceType": "Endpoint", - "id": "71", - "text": { - "status": "generated", - "div": "

Generated Narrative

id: 71

status: active

connectionType: Direct Project

name: Brenda.Jennings.Richard.MD@direct.example.org

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

payloadType: urn:hl7-org:sdwg:ccda-structuredBody:1.1

payloadMimeType: text/xml

address: Brenda.Jennings.Richard.MD@direct.example.org

" - }, - "status": "active", - "connectionType": { - "system": "http://terminology.hl7.org/CodeSystem/endpoint-connection-type", - "code": "direct-project" - }, - "name": "Brenda.Jennings.Richard.MD@direct.example.org", - "managingOrganization": { - "reference": "Organization/acme-lab" - }, - "payloadType": [ - { - "coding": [ - { - "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", - "code": "urn:hl7-org:sdwg:ccda-structuredBody:1.1" - } - ] - } - ], - "payloadMimeType": [ - "text/xml" - ], - "address": "mailto:Brenda.Jennings.Richard.MD@direct.example.org" - }, - "search": { - "mode": "include" - } - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json deleted file mode 100644 index 0e6342f77cc..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "resourceType": "Bundle", - "id": "c887e62f-6166-419f-8268-b5ecd6c7b901", - "meta": { - "lastUpdated": "2019-07-09T18:49:01.235+00:00" - }, - "type": "searchset", - "total": 1, - "link": [ - { - "relation": "self", - "url": "http://example.org/fhir/AllergyIntolerance?_revinclude=Provenance%3Atarget&patient=Examples" - } - ], - "entry": [ - { - "fullUrl": "http://example.org/fhir/AllergyIntolerance/79613", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "79613", - "meta": { - "versionId": "1", - "lastUpdated": "2019-07-09T15:26:23.217+00:00", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: 79613

meta:

clinicalStatus: Active

verificationStatus: Confirmed

category: medication

criticality: high

code: Peanuts

patient: 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

onset: 2017-06-09

Reactions

-ManifestationOnset
*Hives2017-06-09
" - }, - "clinicalStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", - "code": "active", - "display": "Active" - } - ] - }, - "verificationStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", - "code": "confirmed", - "display": "Confirmed" - } - ] - }, - "category": [ - "medication" - ], - "criticality": "high", - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "762952008", - "display": "Peanuts" - } - ], - "text": "Peanuts" - }, - "patient": { - "reference": "Patient/example" - }, - "onsetDateTime": "2017-06-09", - "reaction": [ - { - "manifestation": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "247472004", - "display": "Hives" - } - ] - } - ], - "onset": "2017-06-09" - } - ] - }, - "search": { - "mode": "match" - } - }, - { - "fullUrl": "http://example.org/fhir/Provenance/79614", - "resource": { - "resourceType": "Provenance", - "id": "79614", - "meta": { - "versionId": "1", - "lastUpdated": "2019-07-09T15:26:23.217+00:00", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance" - ] - }, - "text": { - "status": "generated", - "div": "" - }, - "target": [ - { - "reference": "AllergyIntolerance/79613" - } - ], - "recorded": "2019-07-09T15:26:23.217+00:00", - "agent": [ - { - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", - "code": "author", - "display": "Author" - } - ] - }, - "who": { - "reference": "Practitioner/practitioner-1" - }, - "onBehalfOf": { - "reference": "Organization/saint-luke-w-endpoint" - } - } - ] - }, - "search": { - "mode": "include" - } - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Bundle-uscore-mo3.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Bundle-uscore-mo3.json deleted file mode 100644 index 0a8ea09cdbb..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Bundle-uscore-mo3.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "resourceType": "Bundle", - "id": "uscore-mo3", - "type": "searchset", - "total": 1, - "link": [ - { - "relation": "self", - "url": "http://test.fhir.org/r4/MedicationRequest?search-id=4085956e-63b8-402d-b181-325040fdb9&&_id=uscore%2Dmo3&_include=MedicationRequest%3Amedication&_sort=_id" - } - ], - "entry": [ - { - "fullUrl": "http://test.fhir.org/r4/MedicationRequest/uscore-mo3", - "resource": { - "resourceType": "MedicationRequest", - "id": "uscore-mo3", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "text": { - "status": "generated", - "div": "" - }, - "status": "active", - "intent": "order", - "medicationReference": { - "reference": "Medication/uscore-med2", - "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "authoredOn": "2008-04-05", - "requester": { - "reference": "Practitioner/practitioner-1", - "display": "Ronald Bone, MD" - } - }, - "search": { - "mode": "match" - } - }, - { - "fullUrl": "/Medication/uscore-med2", - "resource": { - "resourceType": "Medication", - "id": "uscore-med2", - "meta": { - "versionId": "1", - "lastUpdated": "2016-11-29T19:45:46Z", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: uscore-med2

meta:

code: Nizatidine 15 MG/ML Oral Solution [Axid]

" - }, - "code": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "582620", - "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" - } - ], - "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" - } - }, - "search": { - "mode": "include" - } - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/CarePlan-colonoscopy.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/CarePlan-colonoscopy.json deleted file mode 100644 index 8db91ee7e90..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/CarePlan-colonoscopy.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "resourceType": "CarePlan", - "id": "colonoscopy", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" - ] - }, - "text": { - "status": "additional", - "div": "
\n\t\t\tAssessment\n\t\t\t
    \n\t\t\t\t
  1. Recurrent GI bleed of unknown etiology; hypotension perhaps secondary to this but as likely secondary to polypharmacy.
  2. \n\t\t\t\t
  3. Acute on chronic anemia secondary to #1.
  4. \n\t\t\t\t
  5. Azotemia, acute renal failure with volume loss secondary to #1.
  6. \n\t\t\t\t
  7. Hyperkalemia secondary to #3 and on ACE and K+ supplement.
  8. \n\t\t\t\t
  9. Other chronic diagnoses as noted above, currently stable.
  10. \n\t\t\t
\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
Planned ActivityPlanned Date
ColonoscopyApril 21, 2000
\n\t\t
" - }, - "status": "active", - "intent": "order", - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", - "code": "assess-plan" - } - ] - } - ], - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - } -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/CareTeam-example.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/CareTeam-example.json deleted file mode 100644 index 6051bcb1886..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/CareTeam-example.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "resourceType": "CareTeam", - "id": "example", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: example

meta:

status: active

name: US-Core example CareTeam

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

participant

role: Cardiovascular Disease

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

participant

role: General Practice

member: Kathy Fielding, MD. Generated Summary: id: practitioner-2; 1245319599, 456789; Fielding Kathy ; Kathy.Fielding@direct.ExampleMedicalPractice.net(WORK)

participant

role: Patient (person)

member: Amy V. 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

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

Generated Narrative

id: example

meta:

clinicalStatus: Active

verificationStatus: Confirmed

category: Problem

code: Single liveborn, born in hospital

subject: Amy V. 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

onset: 2016-08-10

" - }, - "clinicalStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "active", - "display": "Active" - } - ], - "text": "Active" - }, - "verificationStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", - "code": "confirmed", - "display": "Confirmed" - } - ], - "text": "Confirmed" - }, - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-category", - "code": "problem-list-item", - "display": "Problem List Item" - } - ], - "text": "Problem" - } - ], - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "442311008", - "display": "Liveborn born in hospital" - } - ], - "text": "Single liveborn, born in hospital" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy V. Shaw" - }, - "onsetDateTime": "2016-08-10" -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Condition-hc1.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Condition-hc1.json deleted file mode 100644 index cf1a258a894..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Condition-hc1.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "resourceType": "Condition", - "id": "hc1", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: hc1

meta:

clinicalStatus: Active

verificationStatus: Confirmed

category: Health Concern

code: Cost of medications

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

onset: 2007-12-14

" - }, - "clinicalStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", - "code": "active", - "display": "Active" - } - ], - "text": "Active" - }, - "verificationStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", - "code": "confirmed", - "display": "Confirmed" - } - ], - "text": "Confirmed" - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", - "code": "health-concern", - "display": "Health Concern" - } - ], - "text": "Health Concern" - } - ], - "code": { - "text": "Cost of medications" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "onsetDateTime": "2007-12-14" -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Device-udi-1.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Device-udi-1.json deleted file mode 100644 index 392df047549..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Device-udi-1.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "resourceType": "Device", - "id": "udi-1", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: udi-1

meta:

UdiCarriers

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

status: active

expirationDate: 2014-11-20

lotNumber: 7654321D

serialNumber: 10987654d321

type: Coated femoral stem prosthesis, modular

patient: 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

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

Generated Narrative

id: udi-2

meta:

UdiCarriers

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

status: active

manufacturer: ACME Biomedical

expirationDate: 2022-01-01

lotNumber: M320

serialNumber: AC221

DeviceNames

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

modelNumber: 1.0

type: Implant

patient: 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

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

Generated Narrative

id: udi-3

meta:

UdiCarriers

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

status: active

manufacturer: ACME Biomedical

manufactureDate: 2015-10-15

expirationDate: 2022-01-01

lotNumber: M320

serialNumber: AC221

DeviceNames

-NameType
*ACME Knee Replacement Deviceudi-label-name

modelNumber: 1.0

type: Knee joint prosthesis

patient: Amy V. 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

" - }, - "udiCarrier": [ - { - "deviceIdentifier": "987979879879", - "carrierHRF": "(01)987979879879(11)191015(17)220101(10)M320(21)AC221", - "entryType": "rfid" - } - ], - "status": "active", - "manufacturer": "ACME Biomedical", - "manufactureDate": "2015-10-15", - "expirationDate": "2022-01-01", - "lotNumber": "M320", - "serialNumber": "AC221", - "deviceName": [ - { - "name": "ACME Knee Replacement Device", - "type": "udi-label-name" - } - ], - "modelNumber": "1.0", - "type": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "109228008", - "display": "Knee joint prosthesis" - } - ], - "text": "Knee joint prosthesis" - }, - "patient": { - "reference": "Patient/example", - "display": "Amy V. Shaw" - } -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/DiagnosticReport-cardiology-report.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/DiagnosticReport-cardiology-report.json deleted file mode 100644 index 96c42db04d2..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/DiagnosticReport-cardiology-report.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "resourceType": "DiagnosticReport", - "id": "cardiology-report", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

\n

id: cardiology-report

\n

meta:

\n

profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note

\n

status: final

\n

category: Cardiology

\n

code: Cardiovascular physiologic and EKG assessment panel

\n

subject: Patient-example.html

\n

effectiveDateTime: '2011-01-01T21:39:30.000Z'

\n

presentedForm:

\n
" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "LP29708-2", - "display": "Cardiology" - } - ], - "text": "Cardiology" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "45033-8", - "display": "Cardiovascular physiologic and EKG assessment panel" - } - ], - "text": "Cardiovascular physiologic and EKG assessment panel" - }, - "subject": { - "reference": "Patient/example" - }, - "effectiveDateTime": "2011-01-01T21:39:30.000Z", - "presentedForm": [ - { - "contentType": "application/pdf", - "url": "http://example.org/pdfdownloads/cardiopanel-report-123.pdf", - "hash": "RVFILy4uQWdNRQo=" - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/DiagnosticReport-cbc.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/DiagnosticReport-cbc.json deleted file mode 100644 index c0f26cbcec5..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/DiagnosticReport-cbc.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "resourceType": "DiagnosticReport", - "id": "cbc", - "meta": { - "versionId": "205814", - "lastUpdated": "2016-03-09T15:35:58.045+00:00", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "text": { - "status": "generated", - "div": "

to do (to do) to do

to doReport Details
to do to do to do to do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do

Coded Diagnoses :

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

Generated Narrative with Details

id: chest-xray-report

meta:

status: final

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

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

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

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

presentedForm:

" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://loinc.org", - "code": "LP29684-5", - "display": "Radiology" - } - ], - "text": "Radiology" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "30746-2", - "display": "Portable XR Chest Views" - } - ], - "text": "Portable XR Chest Views" - }, - "subject": { - "reference": "Patient/example" - }, - "effectiveDateTime": "2019-02-03T19:43:30.000Z", - "presentedForm": [ - { - "contentType": "application/xhtml", - "data": "PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFsLy9FTiIgIkRURC94aHRtbDEtdHJhbnNpdGlvbmFsLmR0ZCI+CgkJPGh0bWwgeG1sOmxhbmc9ImVuIiBsYW5nPSJlbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiPgkJCiAgPGhlYWQ+CiAgICA8dGl0bGU+Q2hlc3QgUG9ydGFibGU8L3RpdGxlPgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxwPlJlc3VsdDwvcD4KICAgIDxici8+Q2hlc3QgUG9ydGFibGUgCiAgICAgIAogICAgICA8cD5JTkRJQ0FUSU9OL0NMSU5JQ0FMIFFVRVNUSU9OOiBGZXZlciAvIFBuZXVtb25pYTwvcD4KICAgICAgCiAgICAgIDxwPkNPTVBBUklTT046IE5vbmUuPC9wPgogICAgICAKICAgICAgPHA+RklORElOR1M6PC9wPgogICAgICAKICAgICAgPHA+TElORVMgQU5EIFRVQkVTOiBOb25lLjwvcD4KICAgICAgCiAgICAgIDxwPkxVTkdTIEFORCBQTEVVUkE6PC9wPgogICAgICA8YnIvPkNsZWFyIGx1bmdzLiBOb3JtYWwgcHVsbW9uYXJ5IHZhc2N1bGFyaXR5LgogICAgICA8YnIvPk5vIHBsZXVyYWwgZWZmdXNpb24uCiAgICAgIDxici8+Tm8gcG5ldW1vdGhvcmF4LgogICAgICAKICAgICAgPHA+SEVBUlQsIE1FRElBU1RJTlVNIEFORCBISUxBOjwvcD4KICAgICAgPGJyLz5IZWFydCBpcyBub3JtYWwgaW4gc2l6ZS4KICAgICAgPGJyLz5Ob3JtYWwgbWVkaWFzdGluYWwgYW5kIGhpbGFyIGNvbnRvdXIuCiAgICAgIAogICAgICA8cD5CT05FUyBBTkQgU09GVCBUSVNTVUVTOjwvcD4KICAgICAgPGJyLz5ObyBhY3V0ZSBhYm5vcm1hbGl0eS4KICAgICAgCiAgICAgIDxwPklNUFJFU1NJT046PC9wPgogICAgICA8YnIvPk5vIGFjdXRlIGFibm9ybWFsaXR5LgogICAgICAKICAgICAgPHA+V1NOOiBPMTlJQy1TQy0wMjExPC9wPgogICAgICAKICAgICAgPHA+RGljdGF0ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgRGljdGF0ZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQ0IHBtCiAgICAgICAgUmV2aWV3ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgU2lnbmVkIEJ5OiBDdXJlIE1ELCBDaHJpc3RpbmUgSgogICAgICAgIFNpZ25lZCBEYXRlL1RpbWU6IDAyLzAzLzE5IDc6NDQgcG0KICAgICAgICBUcmFuc2NyaWJlZCBCeTogQ1NCCiAgICAgICAgVHJhbnNjcmliZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQzIHBtPC9wPgogICAgICAKICAgICAgCiAgPC9ib2R5Pgo8L2h0bWw+Cg==" - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/DiagnosticReport-metabolic-panel.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/DiagnosticReport-metabolic-panel.json deleted file mode 100644 index 5b83b548ffc..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/DiagnosticReport-metabolic-panel.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "resourceType": "DiagnosticReport", - "id": "metabolic-panel", - "meta": { - "versionId": "205790", - "lastUpdated": "2016-03-09T15:35:58.018+00:00", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" - ] - }, - "text": { - "status": "generated", - "div": "

to do (to do) to do

to doReport Details
to do to do to do to do to do to do to do to do to do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do

Coded Diagnoses :

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

to do (to do) to do

to doReport Details
to do to do to do to do to do to do to do to do to do to do to do to do to do to do to do to do to do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do
to doto doto doto doto doto do

Coded Diagnoses :

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

Generated Narrative

id: episode-summary

meta:

identifier: 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: Mar 9, 2016, 3:29:46 PM

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

description: Pulmonology clinic acute visit

Contents

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

Contexts

-Period
*Dec 22, 2004, 9:00:00 PM --> Dec 22, 2004, 9:01:00 PM
" - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:oid:2.16.840.1.113883.19.5.99999.1" - } - ], - "status": "current", - "type": { - "coding": [ - { - "system": "http://loinc.org", - "code": "34133-9", - "display": "Summary of episode note" - } - ], - "text": "CCD Document" - }, - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", - "code": "clinical-note", - "display": "Clinical Note" - } - ], - "text": "Clinical Note" - } - ], - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "date": "2016-03-09T15:29:46Z", - "author": [ - { - "reference": "Practitioner/practitioner-1", - "display": "Ronald Bone, MD" - } - ], - "description": "Pulmonology clinic acute visit", - "content": [ - { - "attachment": { - "contentType": "text/plain", - "url": "/Binary/1-note", - "title": "Uri where the data can be found: [base]/Binary/1-note" - }, - "format": { - "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", - "code": "urn:hl7-org:sdwg:ccda-structuredBody:2.1", - "display": "Documents following C-CDA constraints using a structured body" - } - } - ], - "context": { - "period": { - "start": "2004-12-23T08:00:00+11:00", - "end": "2004-12-23T08:01:00+11:00" - } - } -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Encounter-1036.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Encounter-1036.json deleted file mode 100644 index b9716efafa1..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Encounter-1036.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "resourceType": "Encounter", - "id": "1036", - "text": { - "status": "generated", - "div": "" - }, - "status": "in-progress", - "class": { - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", - "code": "IMP", - "display": "inpatient encounter" - }, - "subject": { - "reference": "Patient/example" - } -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Encounter-example-1.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Encounter-example-1.json deleted file mode 100644 index d93d171fcfa..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Encounter-example-1.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "resourceType": "Encounter", - "id": "example-1", - "meta": { - "lastUpdated": "2017-05-26T11:56:57.250-04:00", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: example-1

meta:

status: finished

class: ambulatory

type: Office Visit

subject: 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

period: Nov 1, 2015, 10:00:14 PM --> Nov 1, 2015, 11:00:14 PM

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

Generated Narrative

id: goal-1

meta:

lifecycleStatus: active

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

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

Targets

-Due[x]
*2016-04-05
" - }, - "lifecycleStatus": "active", - "description": { - "text": "Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "target": [ - { - "dueDate": "2016-04-05" - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Immunization-imm-1.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Immunization-imm-1.json deleted file mode 100644 index fd4d15afa9b..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Immunization-imm-1.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "resourceType": "Immunization", - "id": "imm-1", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: imm-1

meta:

status: completed

vaccineCode: influenza, injectable, quadrivalent

patient: 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

occurrence: 2016-01-08

primarySource: false

" - }, - "status": "completed", - "vaccineCode": { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/cvx", - "code": "158", - "display": "influenza, injectable, quadrivalent" - }, - { - "system": "http://hl7.org/fhir/sid/ndc", - "code": "49281-0631-15", - "display": "FLUZONE QUADRIVALENT" - } - ] - }, - "patient": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "occurrenceDateTime": "2016-01-08", - "primarySource": false -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Location-hl7east.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Location-hl7east.json deleted file mode 100644 index 93c11bbeff3..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Location-hl7east.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "resourceType": "Location", - "id": "hl7east", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: hl7east

meta:

identifier: 29

status: active

name: Health Level Seven International - Amherst

description: HL7 Headquarters - East

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

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

Positions

-LongitudeLatitude
*-72.51985442.373222

managingOrganization: Health Level Seven International

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

Generated Narrative

id: uscore-med1

meta:

code: lisinopril oral 10 mg

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

Generated Narrative

id: uscore-med2

meta:

code: Nizatidine 15 MG/ML Oral Solution [Axid]

" - }, - "code": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "582620", - "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" - } - ], - "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" - } -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/MedicationRequest-self-tylenol.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/MedicationRequest-self-tylenol.json deleted file mode 100644 index 86b22040b93..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/MedicationRequest-self-tylenol.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "resourceType": "MedicationRequest", - "id": "self-tylenol", - "text": { - "status": "generated", - "div": "" - }, - "identifier": [ - { - "use": "official", - "system": "http://acme.org/prescriptions", - "value": "12345689" - } - ], - "status": "active", - "intent": "plan", - "reportedBoolean": true, - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "1187314", - "display": "Tylenol PM Pill" - } - ], - "text": "Tylenol PM Pill" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy V. Shaw" - }, - "encounter": { - "reference": "Encounter/example-1", - "display": "Office Visit" - }, - "authoredOn": "2019-06-24", - "requester": { - "reference": "Patient/example", - "display": "**self-prescribed**" - }, - "dosageInstruction": [ - { - "text": "Takes 1-2 tablets once daily at bedtime as needed for restless legs" - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/MedicationRequest-uscore-mo1.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/MedicationRequest-uscore-mo1.json deleted file mode 100644 index a600526d83b..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/MedicationRequest-uscore-mo1.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "resourceType": "MedicationRequest", - "id": "uscore-mo1", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: uscore-mo1

meta:

status: active

intent: order

medication: Nizatidine 15 MG/ML Oral Solution [Axid]

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

authoredOn: 2008-04-05

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

dosageInstruction:

DispenseRequests

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

Generated Narrative

" - }, - "contained": [ - { - "resourceType": "Medication", - "id": "med2", - "code": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "582620", - "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" - } - ], - "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" - } - } - ], - "status": "active", - "intent": "order", - "medicationReference": { - "reference": "#med2", - "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "authoredOn": "2008-04-05", - "requester": { - "reference": "Practitioner/practitioner-1", - "display": "Ronald Bone, MD" - }, - "dosageInstruction": [ - { - "text": "10 mL bid", - "timing": { - "repeat": { - "boundsPeriod": { - "start": "2008-04-05" - } - } - } - } - ], - "dispenseRequest": { - "numberOfRepeatsAllowed": 1, - "quantity": { - "value": 480, - "unit": "mL", - "system": "http://unitsofmeasure.org", - "code": "mL" - }, - "expectedSupplyDuration": { - "value": 30, - "unit": "days", - "system": "http://unitsofmeasure.org", - "code": "d" - } - } -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-blood-glucose.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-blood-glucose.json deleted file mode 100644 index fa55efc3ab9..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-blood-glucose.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "resourceType": "Observation", - "id": "blood-glucose", - "meta": { - "versionId": "1165", - "lastUpdated": "2016-03-09T15:29:58.328+00:00", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: blood-glucose

meta:

category: Laboratory

code: Glucose Bld-mCnc

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

effective: 2005-07-05

value: 76.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*40.0 mg/dL109.0 mg/dLNormal Range
" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "Laboratory" - } - ], - "text": "Laboratory" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2339-0", - "display": "Glucose Bld-mCnc" - } - ], - "text": "Glucose Bld-mCnc" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2005-07-05", - "valueQuantity": { - "value": 76.0, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "low": { - "value": 40.0, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - }, - "high": { - "value": 109.0, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - }, - "appliesTo": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", - "code": "normal", - "display": "Normal Range" - } - ], - "text": "Normal Range" - } - ] - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-blood-pressure.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-blood-pressure.json deleted file mode 100644 index 2eee78d9b9c..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-blood-pressure.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "resourceType": "Observation", - "id": "blood-pressure", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: blood-pressure

meta:

category: Vital Signs

code: Blood pressure systolic and diastolic

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

encounter: GP Visit

effective: 1999-07-02

component

code: Systolic blood pressure

value: 109 mmHg

component

code: Diastolic blood pressure

value: 44 mmHg

" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "Vital Signs" - } - ], - "text": "Vital Signs" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "85354-9", - "display": "Blood pressure panel with all children optional" - } - ], - "text": "Blood pressure systolic and diastolic" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "encounter": { - "display": "GP Visit" - }, - "effectiveDateTime": "1999-07-02", - "component": [ - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8480-6", - "display": "Systolic blood pressure" - } - ], - "text": "Systolic blood pressure" - }, - "valueQuantity": { - "value": 109, - "unit": "mmHg", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - }, - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8462-4", - "display": "Diastolic blood pressure" - } - ], - "text": "Diastolic blood pressure" - }, - "valueQuantity": { - "value": 44, - "unit": "mmHg", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-bmi.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-bmi.json deleted file mode 100644 index c5e15e8b59d..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-bmi.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "resourceType": "Observation", - "id": "bmi", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "text": { - "status": "generated", - "div": "" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "Vital Signs" - } - ], - "text": "Vital Signs" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "39156-5", - "display": "Body mass index (BMI) [Ratio]" - } - ], - "text": "BMI" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "encounter": { - "display": "GP Visit" - }, - "effectiveDateTime": "1999-07-02", - "valueQuantity": { - "value": 16.2, - "unit": "kg/m2", - "system": "http://unitsofmeasure.org", - "code": "kg/m2" - } -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-bp-data-absent.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-bp-data-absent.json deleted file mode 100644 index 1bb53738aae..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-bp-data-absent.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "resourceType": "Observation", - "id": "bp-data-absent", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: bp-data-absent

meta:

category: Vital Signs

code: Blood pressure systolic and diastolic

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

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

effective: 1999-07-02

component

code: Systolic blood pressure

value: 109 mmHg

component

code: Diastolic blood pressure

dataAbsentReason: Unknown

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

Generated Narrative

id: bun

meta:

category: Laboratory

code: BUN SerPl-mCnc

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

effective: 2005-07-05

value: 10.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*5.0 mg/dL20.0 mg/dLNormal Range
" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "Laboratory" - } - ], - "text": "Laboratory" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "3094-0", - "display": "BUN SerPl-mCnc" - } - ], - "text": "BUN SerPl-mCnc" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2005-07-05", - "valueQuantity": { - "value": 10.0, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "low": { - "value": 5.0, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - }, - "high": { - "value": 20.0, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - }, - "appliesTo": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", - "code": "normal", - "display": "Normal Range" - } - ], - "text": "Normal Range" - } - ] - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-erythrocytes.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-erythrocytes.json deleted file mode 100644 index 448baaaa5c7..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-erythrocytes.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "resourceType": "Observation", - "id": "erythrocytes", - "meta": { - "versionId": "1189", - "lastUpdated": "2016-03-09T15:29:58.419+00:00", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: erythrocytes

meta:

category: Laboratory

code: RBC # Bld Auto

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

effective: 2005-07-05

value: 4.58 10*6/uL

ReferenceRanges

-LowHighAppliesTo
*4.1 10*6/uL6.1 10*6/uLNormal Range
" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "Laboratory" - } - ], - "text": "Laboratory" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "789-8", - "display": "RBC # Bld Auto" - } - ], - "text": "RBC # Bld Auto" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2005-07-05", - "valueQuantity": { - "value": 4.58, - "unit": "10*6/uL", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "low": { - "value": 4.1, - "unit": "10*6/uL", - "system": "http://unitsofmeasure.org", - "code": "10*6/uL" - }, - "high": { - "value": 6.1, - "unit": "10*6/uL", - "system": "http://unitsofmeasure.org", - "code": "10*6/uL" - }, - "appliesTo": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", - "code": "normal", - "display": "Normal Range" - } - ], - "text": "Normal Range" - } - ] - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-heart-rate.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-heart-rate.json deleted file mode 100644 index d49bbb0d3a9..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-heart-rate.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "resourceType": "Observation", - "id": "heart-rate", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: heart-rate

meta:

category: Vital Signs

code: heart_rate

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

encounter: GP Visit

effective: 1999-07-02

value: 44.0 beats/min

" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "Vital Signs" - } - ], - "text": "Vital Signs" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8867-4", - "display": "Heart Rate" - } - ], - "text": "heart_rate" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "encounter": { - "display": "GP Visit" - }, - "effectiveDateTime": "1999-07-02", - "valueQuantity": { - "value": 44.0, - "unit": "beats/min", - "system": "http://unitsofmeasure.org", - "code": "/min" - } -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-height.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-height.json deleted file mode 100644 index 0033b613ab5..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-height.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "resourceType": "Observation", - "id": "height", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "text": { - "status": "generated", - "div": "" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "Vital Signs" - } - ], - "text": "Vital Signs" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8302-2", - "display": "Body height" - } - ], - "text": "height" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "encounter": { - "display": "GP Visit" - }, - "effectiveDateTime": "1999-07-02", - "valueQuantity": { - "value": 111.506, - "unit": "cm", - "system": "http://unitsofmeasure.org", - "code": "cm" - } -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-hemoglobin.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-hemoglobin.json deleted file mode 100644 index 26963072612..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-hemoglobin.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "resourceType": "Observation", - "id": "hemoglobin", - "meta": { - "versionId": "1046", - "lastUpdated": "2016-03-09T15:29:57.818+00:00", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: hemoglobin

meta:

category: Laboratory

code: Hgb Bld-mCnc

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

effective: 2005-07-05

value: 17.0 g/dL

ReferenceRanges

-LowHighAppliesTo
*16.5 g/dL21.5 g/dLNormal Range
" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "Laboratory" - } - ], - "text": "Laboratory" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "718-7", - "display": "Hgb Bld-mCnc" - } - ], - "text": "Hgb Bld-mCnc" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2005-07-05", - "valueQuantity": { - "value": 17.0, - "unit": "g/dL", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "low": { - "value": 16.5, - "unit": "g/dL", - "system": "http://unitsofmeasure.org", - "code": "g/dL" - }, - "high": { - "value": 21.5, - "unit": "g/dL", - "system": "http://unitsofmeasure.org", - "code": "g/dL" - }, - "appliesTo": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", - "code": "normal", - "display": "Normal Range" - } - ], - "text": "Normal Range" - } - ] - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-length.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-length.json deleted file mode 100644 index a64d3714a6e..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-length.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "resourceType": "Observation", - "id": "length", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "text": { - "status": "generated", - "div": "" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "Vital Signs" - } - ], - "text": "Vital Signs" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8306-3", - "display": "Body height --lying" - } - ], - "text": "length" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "encounter": { - "display": "GP Visit" - }, - "effectiveDateTime": "1999-07-02", - "valueQuantity": { - "value": 25, - "unit": "cm", - "system": "http://unitsofmeasure.org", - "code": "cm" - } -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-mchc.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-mchc.json deleted file mode 100644 index 449fb4911bc..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-mchc.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "resourceType": "Observation", - "id": "mchc", - "meta": { - "versionId": "879", - "lastUpdated": "2016-03-09T15:29:57.124+00:00", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: mchc

meta:

category: Laboratory

code: MCHC RBC Auto-mCnc

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

effective: 2005-07-05

value: 34.7 g/dL

ReferenceRanges

-LowHighAppliesTo
*30.0 g/dL34.0 g/dLNormal Range
" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "Laboratory" - } - ], - "text": "Laboratory" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "786-4", - "display": "MCHC RBC Auto-mCnc" - } - ], - "text": "MCHC RBC Auto-mCnc" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2005-07-05", - "valueQuantity": { - "value": 34.7, - "unit": "g/dL", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "low": { - "value": 30.0, - "unit": "g/dL", - "system": "http://unitsofmeasure.org", - "code": "g/dL" - }, - "high": { - "value": 34.0, - "unit": "g/dL", - "system": "http://unitsofmeasure.org", - "code": "g/dL" - }, - "appliesTo": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", - "code": "normal", - "display": "Normal Range" - } - ], - "text": "Normal Range" - } - ] - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-neutrophils.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-neutrophils.json deleted file mode 100644 index 51dd36f27fb..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-neutrophils.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "resourceType": "Observation", - "id": "neutrophils", - "meta": { - "versionId": "1106", - "lastUpdated": "2016-03-09T15:29:58.052+00:00", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: neutrophils

meta:

category: Laboratory

code: Neutrophils %

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

effective: 2005-07-05

value: 40.0 %

ReferenceRanges

-LowHighAppliesTo
*37.0 %67.0 %Normal Range
" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "Laboratory" - } - ], - "text": "Laboratory" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "770-8", - "display": "Neutrophils/100 leukocytes in Blood by Automated count" - } - ], - "text": "Neutrophils %" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2005-07-05", - "valueQuantity": { - "value": 40.0, - "unit": "%", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "low": { - "value": 37.0, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - }, - "high": { - "value": 67.0, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - }, - "appliesTo": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", - "code": "normal", - "display": "Normal Range" - } - ], - "text": "Normal Range" - } - ] - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-ofc-percentile.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-ofc-percentile.json deleted file mode 100644 index 361a05cd371..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-ofc-percentile.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "resourceType": "Observation", - "id": "ofc-percentile", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: ofc-percentile

meta:

category: Vital Signs

code: Head Occipital-frontal circumference Percentile

subject: Infant Example. Generated Summary: id: infant-example; Medical Record Number = 1032703 (USUAL); active; Infant Example ; ph: 555-555-5555(HOME); gender: male; birthDate: 2020-06-02

effective: 2020-07-01

value: 82 %

note: Annotation: WHO Males, 0-2 years Chart

" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "Vital Signs" - } - ], - "text": "Vital Signs" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "8289-1", - "display": "Head Occipital-frontal circumference Percentile" - } - ], - "text": "Head Occipital-frontal circumference Percentile" - }, - "subject": { - "reference": "Patient/infant-example", - "display": "Infant Example" - }, - "effectiveDateTime": "2020-07-01", - "valueQuantity": { - "value": 82, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - }, - "note": [ - { - "text": "WHO Males, 0-2 years Chart" - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-oxygen-saturation.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-oxygen-saturation.json deleted file mode 100644 index 04223b22704..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-oxygen-saturation.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "resourceType": "Observation", - "id": "oxygen-saturation", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: oxygen-saturation

meta:

category: Vital Signs

code: oxygen_saturation

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

encounter: GP Visit

effective: 1999-07-02

value: 99.0 %O2

" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "Vital Signs" - } - ], - "text": "Vital Signs" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "59408-5", - "display": "Oxygen saturation in Arterial blood by Pulse oximetry" - } - ], - "text": "oxygen_saturation" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "encounter": { - "display": "GP Visit" - }, - "effectiveDateTime": "1999-07-02", - "valueQuantity": { - "value": 99.0, - "unit": "%O2", - "system": "http://unitsofmeasure.org", - "code": "%" - } -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-pediatric-bmi-example.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-pediatric-bmi-example.json deleted file mode 100644 index fc588cbf02c..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-pediatric-bmi-example.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "resourceType": "Observation", - "id": "pediatric-bmi-example", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: pediatric-bmi-example

meta:

category: Vital Signs

code: BMI

subject: Child Example. Generated Summary: id: child-example; Medical Record Number = 1032704 (USUAL); active; Child Example ; ph: 555-555-5555(HOME); gender: male; birthDate: 2016-01-15

encounter: GP Visit

effective: May 4, 2019, 7:12:29 PM

value: 65 %

note: Annotation: CDC Males, 2-20 years Chart

" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "Vital Signs" - } - ], - "text": "Vital Signs" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "59576-9", - "display": "Body mass index (BMI) [Percentile] Per age and sex" - } - ], - "text": "BMI" - }, - "subject": { - "reference": "Patient/child-example", - "display": "Child Example" - }, - "encounter": { - "display": "GP Visit" - }, - "effectiveDateTime": "2019-05-04T12:12:29-07:00", - "valueQuantity": { - "value": 65, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - }, - "note": [ - { - "text": "CDC Males, 2-20 years Chart" - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-pediatric-wt-example.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-pediatric-wt-example.json deleted file mode 100644 index b2f0fb23d34..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-pediatric-wt-example.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "resourceType": "Observation", - "id": "pediatric-wt-example", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: pediatric-wt-example

meta:

category: Vital Signs

code: BMI

subject: Infant Example. Generated Summary: id: infant-example; Medical Record Number = 1032703 (USUAL); active; Infant Example ; ph: 555-555-5555(HOME); gender: male; birthDate: 2020-06-02

encounter: GP Visit

effective: 2020-07-02

value: 65 %

note: Annotation: WHO Males, 0-2 years Chart

" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "Vital Signs" - } - ], - "text": "Vital Signs" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "77606-2", - "display": "Weight-for-length Per age and sex" - } - ], - "text": "BMI" - }, - "subject": { - "reference": "Patient/infant-example", - "display": "Infant Example" - }, - "encounter": { - "display": "GP Visit" - }, - "effectiveDateTime": "2020-07-02", - "valueQuantity": { - "value": 65, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - }, - "note": [ - { - "text": "WHO Males, 0-2 years Chart" - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-respiratory-rate.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-respiratory-rate.json deleted file mode 100644 index 03ccee18da8..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-respiratory-rate.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "resourceType": "Observation", - "id": "respiratory-rate", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: respiratory-rate

meta:

category: Vital Signs

code: respiratory_rate

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

encounter: GP Visit

effective: 1999-07-02

value: 26.0 breaths per minute

" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "Vital Signs" - } - ], - "text": "Vital Signs" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "9279-1", - "display": "Respiratory rate" - } - ], - "text": "respiratory_rate" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "encounter": { - "display": "GP Visit" - }, - "effectiveDateTime": "1999-07-02", - "valueQuantity": { - "value": 26.0, - "unit": "breaths per minute", - "system": "http://unitsofmeasure.org", - "code": "/min" - } -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-satO2-fiO2.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-satO2-fiO2.json deleted file mode 100644 index c7798c53d00..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-satO2-fiO2.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "resourceType": "Observation", - "id": "satO2-fiO2", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: satO2-fiO2

meta:

identifier: o1223435-10

category: Vital Signs

code: Oxygen saturation in Arterial blood

subject: 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

effective: Dec 5, 2014, 8:30:10 AM

value: 95 %

interpretation: Normal (applies to non-numeric results)

device: Acme Pulse Oximeter 2000

ReferenceRanges

-LowHigh
*90 %99 %

Components

-CodeValue[x]
*Inhaled oxygen flow rate6 liters/min
" - }, - "identifier": [ - { - "system": "http://goodcare.org/observation/id", - "value": "o1223435-10" - } - ], - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "Vital Signs" - } - ], - "text": "Vital Signs" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2708-6", - "display": "Oxygen saturation in Arterial blood" - }, - { - "system": "http://loinc.org", - "code": "59408-5", - "display": "Oxygen saturation in Arterial blood by Pulse oximetry" - }, - { - "system": "urn:iso:std:iso:11073:10101", - "code": "150456", - "display": "MDC_PULS_OXIM_SAT_O2" - } - ] - }, - "subject": { - "reference": "Patient/example" - }, - "effectiveDateTime": "2014-12-05T09:30:10+01:00", - "valueQuantity": { - "value": 95, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - }, - "interpretation": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", - "code": "N", - "display": "Normal" - } - ], - "text": "Normal (applies to non-numeric results)" - } - ], - "device": { - "display": "Acme Pulse Oximeter 2000" - }, - "referenceRange": [ - { - "low": { - "value": 90, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - }, - "high": { - "value": 99, - "unit": "%", - "system": "http://unitsofmeasure.org", - "code": "%" - } - } - ], - "component": [ - { - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "3151-8", - "display": "Inhaled oxygen flow rate" - } - ], - "text": "Inhaled oxygen flow rate" - }, - "valueQuantity": { - "value": 6, - "unit": "liters/min", - "system": "http://unitsofmeasure.org", - "code": "L/min" - } - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-calcium.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-calcium.json deleted file mode 100644 index 6de868116c3..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-calcium.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "resourceType": "Observation", - "id": "serum-calcium", - "meta": { - "versionId": "902", - "lastUpdated": "2016-03-09T15:29:57.227+00:00", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: serum-calcium

meta:

category: Laboratory

code: Calcium SerPl-mCnc

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

effective: 2005-07-05

value: 7.7 mg/dL

ReferenceRanges

-LowHighAppliesTo
*8.5 mg/dL10.5 mg/dLNormal Range
" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "Laboratory" - } - ], - "text": "Laboratory" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "17861-6", - "display": "Calcium SerPl-mCnc" - } - ], - "text": "Calcium SerPl-mCnc" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2005-07-05", - "valueQuantity": { - "value": 7.7, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "low": { - "value": 8.5, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - }, - "high": { - "value": 10.5, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - }, - "appliesTo": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", - "code": "normal", - "display": "Normal Range" - } - ], - "text": "Normal Range" - } - ] - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-chloride.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-chloride.json deleted file mode 100644 index d57f0b7d350..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-chloride.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "resourceType": "Observation", - "id": "serum-chloride", - "meta": { - "versionId": "950", - "lastUpdated": "2016-03-09T15:29:57.427+00:00", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: serum-chloride

meta:

category: Laboratory

code: Chloride SerPl-sCnc

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

effective: 2005-07-05

value: 105.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*95.0 mmol/L105.0 mmol/LNormal Range
" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "Laboratory" - } - ], - "text": "Laboratory" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2075-0", - "display": "Chloride SerPl-sCnc" - } - ], - "text": "Chloride SerPl-sCnc" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2005-07-05", - "valueQuantity": { - "value": 105.0, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "low": { - "value": 95.0, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - }, - "high": { - "value": 105.0, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - }, - "appliesTo": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", - "code": "normal", - "display": "Normal Range" - } - ], - "text": "Normal Range" - } - ] - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-co2.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-co2.json deleted file mode 100644 index abcba9e2467..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-co2.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "resourceType": "Observation", - "id": "serum-co2", - "meta": { - "versionId": "962", - "lastUpdated": "2016-03-09T15:29:57.477+00:00", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: serum-co2

meta:

category: Laboratory

code: CO2 SerPl-sCnc

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

effective: 2005-07-05

value: 24.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*22.0 mmol/L29.0 mmol/LNormal Range
" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "Laboratory" - } - ], - "text": "Laboratory" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2028-9", - "display": "CO2 SerPl-sCnc" - } - ], - "text": "CO2 SerPl-sCnc" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2005-07-05", - "valueQuantity": { - "value": 24.0, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "low": { - "value": 22.0, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - }, - "high": { - "value": 29.0, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - }, - "appliesTo": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", - "code": "normal", - "display": "Normal Range" - } - ], - "text": "Normal Range" - } - ] - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-creatinine.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-creatinine.json deleted file mode 100644 index 8015893266d..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-creatinine.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "resourceType": "Observation", - "id": "serum-creatinine", - "meta": { - "versionId": "926", - "lastUpdated": "2016-03-09T15:29:57.327+00:00", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: serum-creatinine

meta:

category: Laboratory

code: Creat SerPl-mCnc

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

effective: 2005-07-05

value: 1.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*0.2 mg/dL0.6 mg/dLNormal Range
" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "Laboratory" - } - ], - "text": "Laboratory" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2160-0", - "display": "Creat SerPl-mCnc" - } - ], - "text": "Creat SerPl-mCnc" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2005-07-05", - "valueQuantity": { - "value": 1.0, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "low": { - "value": 0.2, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - }, - "high": { - "value": 0.6, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - }, - "appliesTo": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", - "code": "normal", - "display": "Normal Range" - } - ], - "text": "Normal Range" - } - ] - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-potassium.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-potassium.json deleted file mode 100644 index cc0c6a2edfe..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-potassium.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "resourceType": "Observation", - "id": "serum-potassium", - "meta": { - "versionId": "938", - "lastUpdated": "2016-03-09T15:29:57.376+00:00", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: serum-potassium

meta:

category: Laboratory

code: Potassium SerPl-sCnc

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

effective: 2005-07-05

value: 5.4 mmol/L

ReferenceRanges

-LowHighAppliesTo
*3.5 mmol/L5.5 mmol/LNormal Range
" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "Laboratory" - } - ], - "text": "Laboratory" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2823-3", - "display": "Potassium SerPl-sCnc" - } - ], - "text": "Potassium SerPl-sCnc" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2005-07-05", - "valueQuantity": { - "value": 5.4, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "low": { - "value": 3.5, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - }, - "high": { - "value": 5.5, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - }, - "appliesTo": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", - "code": "normal", - "display": "Normal Range" - } - ], - "text": "Normal Range" - } - ] - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-sodium.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-sodium.json deleted file mode 100644 index ec63b2a5444..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-sodium.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "resourceType": "Observation", - "id": "serum-sodium", - "meta": { - "versionId": "914", - "lastUpdated": "2016-03-09T15:29:57.277+00:00", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: serum-sodium

meta:

category: Laboratory

code: Sodium SerPl-sCnc

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

effective: 2005-07-05

value: 137.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*135.0 mmol/L145.0 mmol/LNormal Range
" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "Laboratory" - } - ], - "text": "Laboratory" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "2951-2", - "display": "Sodium SerPl-sCnc" - } - ], - "text": "Sodium SerPl-sCnc" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2005-07-05", - "valueQuantity": { - "value": 137.0, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "low": { - "value": 135.0, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - }, - "high": { - "value": 145.0, - "unit": "mmol/L", - "system": "http://unitsofmeasure.org", - "code": "mmol/L" - }, - "appliesTo": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", - "code": "normal", - "display": "Normal Range" - } - ], - "text": "Normal Range" - } - ] - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-total-bilirubin.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-total-bilirubin.json deleted file mode 100644 index 999d8fb40b3..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-serum-total-bilirubin.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "resourceType": "Observation", - "id": "serum-total-bilirubin", - "meta": { - "versionId": "1364", - "lastUpdated": "2016-03-09T15:29:59.089+00:00", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: serum-total-bilirubin

meta:

category: Laboratory

code: Bilirub SerPl-mCnc

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

effective: 2005-07-07

value: 8.6 mg/dL

ReferenceRanges

-LowHighAppliesTo
*2.0 mg/dL7.0 mg/dLNormal Range
" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "Laboratory" - } - ], - "text": "Laboratory" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "1975-2", - "display": "Bilirub SerPl-mCnc" - } - ], - "text": "Bilirub SerPl-mCnc" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2005-07-07", - "valueQuantity": { - "value": 8.6, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "low": { - "value": 2.0, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - }, - "high": { - "value": 7.0, - "unit": "mg/dL", - "system": "http://unitsofmeasure.org", - "code": "mg/dL" - }, - "appliesTo": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", - "code": "normal", - "display": "Normal Range" - } - ], - "text": "Normal Range" - } - ] - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-some-day-smoker.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-some-day-smoker.json deleted file mode 100644 index 39352d312bc..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-some-day-smoker.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "resourceType": "Observation", - "id": "some-day-smoker", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: some-day-smoker

meta:

category: Social History

code: Tobacco smoking status

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

issued: Mar 18, 2016, 5:27:04 AM

value: Current some day smoker

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

Generated Narrative

id: temperature

meta:

category: Vital Signs

code: temperature

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

encounter: GP Visit

effective: 1999-07-02

value: 36.55556 Cel

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

Generated Narrative

id: urine-bacteria

meta:

category: Laboratory

code: BACTERIA

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

effective: 2005-07-05

value: 4+

ReferenceRanges

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

Generated Narrative

id: urine-bilirubin

meta:

category: Laboratory

code: BILIRUBIN

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

effective: 2005-07-05

value: Negative

ReferenceRanges

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

Generated Narrative

id: urine-cells

meta:

category: Laboratory

code: EPITHELIAL CELLS

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

effective: 2005-07-05

value: 1-5 cells/HPF

ReferenceRanges

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

Generated Narrative

id: urine-clarity

meta:

category: Laboratory

code: APPEARANCE

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

effective: 2005-07-05

value: Hazy

ReferenceRanges

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

Generated Narrative

id: urine-color

meta:

category: Laboratory

code: COLOR

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

effective: 2005-07-05

value: Yellow

ReferenceRanges

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

Generated Narrative

id: urine-epi-cells

meta:

category: Laboratory

code: EPITHELIAL CELLS

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

effective: 2005-07-05

value: 1-5 cells/HPF

ReferenceRanges

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

Generated Narrative

id: urine-glucose

meta:

category: Laboratory

code: GLUCOSE

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

effective: 2005-07-05

value: Negative

ReferenceRanges

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

Generated Narrative

id: urine-hemoglobin

meta:

category: Laboratory

code: BLOOD

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

effective: 2005-07-05

value: Trace

ReferenceRanges

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

Generated Narrative

id: urine-ketone

meta:

category: Laboratory

code: KETONE

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

effective: 2005-07-05

value: Negative

ReferenceRanges

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

Generated Narrative

id: urine-leukocyte-esterase

meta:

category: Laboratory

code: LEUK ESTERASE

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

effective: 2005-07-05

value: 2+

ReferenceRanges

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

Generated Narrative

id: urine-nitrite

meta:

category: Laboratory

code: NITRITE

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

effective: 2005-07-05

value: Positive

ReferenceRanges

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

Generated Narrative

id: urine-ph

meta:

category: Laboratory

code: PH

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

effective: 2005-07-05

value: 6.0 (pH)

ReferenceRanges

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

Generated Narrative

id: urine-protein

meta:

category: Laboratory

code: PROTEIN

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

effective: 2005-07-05

value: Negative

ReferenceRanges

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

Generated Narrative

id: urine-rbcs

meta:

category: Laboratory

code: RBC

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

effective: 2005-07-05

value: Occasional

ReferenceRanges

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

Generated Narrative

id: urine-sediment

meta:

category: Laboratory

code: COMMENT

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

effective: 2005-07-05

value: Recommend Urine Culture

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

Generated Narrative

id: urine-wbcs

meta:

category: Laboratory

code: WBC

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

effective: 2005-07-05

value: 20-30 cells/HPF

ReferenceRanges

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

Generated Narrative

id: urobilinogen

meta:

category: Laboratory

code: UROBILINOGEN

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

effective: 2005-07-05

value: 0.3 mg/dL

ReferenceRanges

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

Generated Narrative

id: usg

meta:

category: Laboratory

code: SPEC GRAV

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

effective: 2005-07-05

value: 1.017 {urine specific gravity}

ReferenceRanges

-LowHigh
*1.003 {urine specific gravity}1.035 {urine specific gravity}
" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory", - "display": "Laboratory" - } - ], - "text": "Laboratory" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "5811-5", - "display": "Specific gravity of Urine by Test strip" - } - ], - "text": "SPEC GRAV" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2005-07-05", - "valueQuantity": { - "value": 1.017, - "system": "http://unitsofmeasure.org", - "code": "{urine specific gravity}" - }, - "referenceRange": [ - { - "low": { - "value": 1.003, - "system": "http://unitsofmeasure.org", - "code": "{urine specific gravity}" - }, - "high": { - "value": 1.035, - "system": "http://unitsofmeasure.org", - "code": "{urine specific gravity}" - } - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-vitals-panel.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-vitals-panel.json deleted file mode 100644 index 5b49e7e4be8..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-vitals-panel.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "resourceType": "Observation", - "id": "vitals-panel", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "text": { - "status": "generated", - "div": "" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "Vital Signs" - } - ], - "text": "Vital Signs" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "85353-1", - "display": "Vital signs, weight, height, head circumference, oxygen saturation and BMI panel" - } - ], - "text": "Vital signs panel" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "encounter": { - "display": "GP Visit" - }, - "effectiveDateTime": "1999-07-02", - "hasMember": [ - { - "reference": "Observation/respiratory-rate", - "display": "Respiratory rate" - }, - { - "reference": "Observation/heart-rate", - "display": "Heart rate" - }, - { - "reference": "Observation/blood-pressure", - "display": "Blood Pressure" - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-weight.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-weight.json deleted file mode 100644 index 78335adb38a..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Observation-weight.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "resourceType": "Observation", - "id": "weight", - "meta": { - "profile": [ - "http://hl7.org/fhir/StructureDefinition/vitalsigns" - ] - }, - "text": { - "status": "generated", - "div": "" - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs", - "display": "Vital Signs" - } - ], - "text": "Vital Signs" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "29463-7", - "display": "Body Weight" - } - ], - "text": "weight" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "encounter": { - "display": "GP Visit" - }, - "effectiveDateTime": "1999-07-02", - "valueQuantity": { - "value": 20.09414, - "unit": "kg", - "system": "http://unitsofmeasure.org", - "code": "kg" - } -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Organization-acme-lab.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Organization-acme-lab.json deleted file mode 100644 index 4b8d241150b..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Organization-acme-lab.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "resourceType": "Organization", - "id": "acme-lab", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: acme-lab

meta:

identifier: 1144221847, 12D4567890

active: true

type: Healthcare Provider

name: Acme Labs

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

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

" - }, - "identifier": [ - { - "system": "http://hl7.org.fhir/sid/us-npi", - "value": "1144221847" - }, - { - "system": "urn:oid:2.16.840.1.113883.4.7", - "value": "12D4567890" - } - ], - "active": true, - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/organization-type", - "code": "prov", - "display": "Healthcare Provider" - } - ] - } - ], - "name": "Acme Labs", - "telecom": [ - { - "system": "phone", - "value": "(+1) 734-677-7777" - }, - { - "system": "email", - "value": "hq@acme.org" - } - ], - "address": [ - { - "line": [ - "3300 Washtenaw Avenue, Suite 227" - ], - "city": "Amherst", - "state": "MA", - "postalCode": "01002", - "country": "USA" - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Organization-example-organization-2.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Organization-example-organization-2.json deleted file mode 100644 index 63301cc54aa..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Organization-example-organization-2.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "resourceType": "Organization", - "id": "example-organization-2", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: example-organization-2

meta:

identifier: 1407071236, 121111111

active: true

type: Healthcare Provider

name: Acme Clinic

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

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

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

Organization

\n
\n

ID: 393872

\n

Name: Saint Luke's Hospital of Kansas City

\n

NPI: 1063494177

\n

Phone:(816)932-2000

\n

Address:4401 Wornall Rd,, MO, 64111

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

Generated Narrative

id: child-example

meta:

identifier: Medical Record Number = 1032704 (USUAL)

active: true

name: Child Example

telecom: ph: 555-555-5555(HOME)

gender: male

birthDate: 2016-01-15

address: 49 Meadow St Mounds OK 74047 US

" - }, - "extension": [ - { - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "system": "urn:oid:2.16.840.1.113883.6.238", - "code": "2028-9", - "display": "Asian" - } - }, - { - "url": "text", - "valueString": "Asian" - } - ], - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" - }, - { - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "system": "urn:oid:2.16.840.1.113883.6.238", - "code": "2186-5", - "display": "Not Hispanic or Latino" - } - }, - { - "url": "text", - "valueString": "Not Hispanic or Latino" - } - ], - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", - "valueCode": "M" - } - ], - "identifier": [ - { - "use": "usual", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "code": "MR", - "display": "Medical Record Number" - } - ], - "text": "Medical Record Number" - }, - "system": "http://hospital.smarthealthit.org", - "value": "1032704" - } - ], - "active": true, - "name": [ - { - "family": "Example", - "given": [ - "Child" - ] - } - ], - "telecom": [ - { - "system": "phone", - "value": "555-555-5555", - "use": "home" - } - ], - "gender": "male", - "birthDate": "2016-01-15", - "address": [ - { - "line": [ - "49 Meadow St" - ], - "city": "Mounds", - "state": "OK", - "postalCode": "74047", - "country": "US" - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Patient-example.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Patient-example.json deleted file mode 100644 index fe438074aa4..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Patient-example.json +++ /dev/null @@ -1,185 +0,0 @@ -{ - "resourceType": "Patient", - "id": "example", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: example

meta:

identifier: Medical Record Number = 1032702 (USUAL)

active: true

name: Amy V. Shaw , Amy V. Baxter

telecom: ph: 555-555-5555(HOME), amy.shaw@example.com

gender: female

birthDate: 1987-02-20

address:

  • 49 Meadow St Mounds OK 74047 US
  • 183 Mountain View St Mounds OK 74048 US
" - }, - "extension": [ - { - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "system": "urn:oid:2.16.840.1.113883.6.238", - "code": "2106-3", - "display": "White" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "system": "urn:oid:2.16.840.1.113883.6.238", - "code": "1002-5", - "display": "American Indian or Alaska Native" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "system": "urn:oid:2.16.840.1.113883.6.238", - "code": "2028-9", - "display": "Asian" - } - }, - { - "url": "detailed", - "valueCoding": { - "system": "urn:oid:2.16.840.1.113883.6.238", - "code": "1586-7", - "display": "Shoshone" - } - }, - { - "url": "detailed", - "valueCoding": { - "system": "urn:oid:2.16.840.1.113883.6.238", - "code": "2036-2", - "display": "Filipino" - } - }, - { - "url": "text", - "valueString": "Mixed" - } - ], - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" - }, - { - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "system": "urn:oid:2.16.840.1.113883.6.238", - "code": "2135-2", - "display": "Hispanic or Latino" - } - }, - { - "url": "detailed", - "valueCoding": { - "system": "urn:oid:2.16.840.1.113883.6.238", - "code": "2184-0", - "display": "Dominican" - } - }, - { - "url": "detailed", - "valueCoding": { - "system": "urn:oid:2.16.840.1.113883.6.238", - "code": "2148-5", - "display": "Mexican" - } - }, - { - "url": "text", - "valueString": "Hispanic or Latino" - } - ], - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", - "valueCode": "F" - } - ], - "identifier": [ - { - "use": "usual", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "code": "MR", - "display": "Medical Record Number" - } - ], - "text": "Medical Record Number" - }, - "system": "http://hospital.smarthealthit.org", - "value": "1032702" - } - ], - "active": true, - "name": [ - { - "family": "Shaw", - "given": [ - "Amy", - "V." - ], - "period": { - "start": "2016-12-06", - "end": "2020-07-22" - } - }, - { - "family": "Baxter", - "given": [ - "Amy", - "V." - ], - "suffix": [ - "PharmD" - ], - "period": { - "start": "2020-07-22" - } - } - ], - "telecom": [ - { - "system": "phone", - "value": "555-555-5555", - "use": "home" - }, - { - "system": "email", - "value": "amy.shaw@example.com" - } - ], - "gender": "female", - "birthDate": "1987-02-20", - "address": [ - { - "line": [ - "49 Meadow St" - ], - "city": "Mounds", - "state": "OK", - "postalCode": "74047", - "country": "US", - "period": { - "start": "2016-12-06", - "end": "2020-07-22" - } - }, - { - "line": [ - "183 Mountain View St" - ], - "city": "Mounds", - "state": "OK", - "postalCode": "74048", - "country": "US", - "period": { - "start": "2020-07-22" - } - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Patient-infant-example.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Patient-infant-example.json deleted file mode 100644 index b45c503b58f..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Patient-infant-example.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "resourceType": "Patient", - "id": "infant-example", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: infant-example

meta:

identifier: Medical Record Number = 1032703 (USUAL)

active: true

name: Infant Example

telecom: ph: 555-555-5555(HOME)

gender: male

birthDate: 2020-06-02

address: 49 Meadow St Mounds OK 74047 US

" - }, - "extension": [ - { - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "system": "urn:oid:2.16.840.1.113883.6.238", - "code": "2028-9", - "display": "Asian" - } - }, - { - "url": "text", - "valueString": "Asian" - } - ], - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" - }, - { - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "system": "urn:oid:2.16.840.1.113883.6.238", - "code": "2186-5", - "display": "Not Hispanic or Latino" - } - }, - { - "url": "text", - "valueString": "Not Hispanic or Latino" - } - ], - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", - "valueCode": "M" - } - ], - "identifier": [ - { - "use": "usual", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "code": "MR", - "display": "Medical Record Number" - } - ], - "text": "Medical Record Number" - }, - "system": "http://hospital.smarthealthit.org", - "value": "1032703" - } - ], - "active": true, - "name": [ - { - "family": "Example", - "given": [ - "Infant" - ] - } - ], - "telecom": [ - { - "system": "phone", - "value": "555-555-5555", - "use": "home" - } - ], - "gender": "male", - "birthDate": "2020-06-02", - "address": [ - { - "line": [ - "49 Meadow St" - ], - "city": "Mounds", - "state": "OK", - "postalCode": "74047", - "country": "US" - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Practitioner-practitioner-1.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Practitioner-practitioner-1.json deleted file mode 100644 index 3332ca37427..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Practitioner-practitioner-1.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "resourceType": "Practitioner", - "id": "practitioner-1", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: practitioner-1

meta:

identifier: 9941339108, 25456

name: Ronald Bone

address: 1003 Healthcare Drive Amherst MA 01002 (HOME)

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

Generated Narrative

id: practitioner-2

meta:

identifier: 1245319599, 456789

name: Fielding Kathy

telecom: Kathy.Fielding@direct.ExampleMedicalPractice.net(WORK)

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

" - }, - "identifier": [ - { - "system": "http://hl7.org.fhir/sid/us-npi", - "value": "1245319599" - }, - { - "system": "http://www.acme.org/practitioners", - "value": "456789" - } - ], - "name": [ - { - "family": "Kathy", - "given": [ - "Fielding" - ], - "prefix": [ - "Dr" - ] - } - ], - "telecom": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", - "valueBoolean": true - } - ], - "system": "email", - "value": "Kathy.Fielding@direct.ExampleMedicalPractice.net", - "use": "work" - } - ], - "address": [ - { - "use": "work", - "line": [ - "1080 FIRST COLONIAL RD" - ], - "city": "Virginia Beach", - "state": "VA", - "postalCode": "21454-2406" - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Procedure-defib-implant.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Procedure-defib-implant.json deleted file mode 100644 index d62ea53ac2b..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Procedure-defib-implant.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "resourceType": "Procedure", - "id": "defib-implant", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] - }, - "text": { - "status": "generated", - "div": "

Generated Narrative

id: defib-implant

meta:

identifier: urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff

status: completed

code: Insertion or replacement of permanent implantable defibrillator system with transvenous lead(s), single or dual chamber

subject: 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

performed: Mar 26, 2019, 7:55:26 PM --> Mar 26, 2019, 8:25:26 PM

Performers

-Actor
*Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone

FocalDevices

-Manipulated
*Generated Summary: id: udi-2; status: active; manufacturer: ACME Biomedical; expirationDate: 2022-01-01; lotNumber: M320; serialNumber: AC221; modelNumber: 1.0; Implant
" - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff" - } - ], - "status": "completed", - "code": { - "coding": [ - { - "system": "http://www.ama-assn.org/go/cpt", - "code": "33249" - } - ], - "text": "Insertion or replacement of permanent implantable defibrillator system with transvenous lead(s), single or dual chamber" - }, - "subject": { - "reference": "Patient/example" - }, - "performedPeriod": { - "start": "2019-03-26T12:55:26-07:00", - "end": "2019-03-26T13:25:26-07:00" - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/practitioner-1" - } - } - ], - "focalDevice": [ - { - "manipulated": { - "reference": "Device/udi-2" - } - } - ] -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Procedure-rehab.json b/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Procedure-rehab.json deleted file mode 100644 index 08df4961f3b..00000000000 --- a/fhir-examples/src/main/resources/json/profiles/fhir-ig-us-core/Procedure-rehab.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "resourceType": "Procedure", - "id": "rehab", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] - }, - "text": { - "status": "generated", - "div": "" - }, - "status": "completed", - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "35637008", - "display": "Alcohol rehabilitation" - }, - { - "system": "http://www.cms.gov/Medicare/Coding/ICD10", - "code": "HZ30ZZZ", - "display": "Individual Counseling for Substance Abuse Treatment, Cognitive" - } - ], - "text": "Alcohol rehabilitation" - }, - "subject": { - "reference": "Patient/example", - "display": "Amy Shaw" - }, - "performedDateTime": "2002-05-23" -} \ No newline at end of file diff --git a/fhir-examples/src/main/resources/profiles-us-core-json.txt b/fhir-examples/src/main/resources/profiles-us-core-json.txt deleted file mode 100644 index d1a533def7e..00000000000 --- a/fhir-examples/src/main/resources/profiles-us-core-json.txt +++ /dev/null @@ -1,84 +0,0 @@ -OK json/profiles/fhir-ig-us-core/Observation-respiratory-rate.json -OK json/profiles/fhir-ig-us-core/Observation-urine-bilirubin.json -OK json/profiles/fhir-ig-us-core/Observation-urine-leukocyte-esterase.json -OK json/profiles/fhir-ig-us-core/MedicationRequest-uscore-mo2.json -OK json/profiles/fhir-ig-us-core/Observation-neutrophils.json -OK json/profiles/fhir-ig-us-core/Observation-urine-cells.json -OK json/profiles/fhir-ig-us-core/Observation-blood-pressure.json -OK json/profiles/fhir-ig-us-core/Observation-urine-rbcs.json -OK json/profiles/fhir-ig-us-core/Organization-acme-lab.json -OK json/profiles/fhir-ig-us-core/Observation-urine-glucose.json -OK json/profiles/fhir-ig-us-core/Observation-urine-color.json -OK json/profiles/fhir-ig-us-core/Observation-temperature.json -OK json/profiles/fhir-ig-us-core/Procedure-rehab.json -OK json/profiles/fhir-ig-us-core/Observation-satO2-fiO2.json -OK json/profiles/fhir-ig-us-core/AllergyIntolerance-example.json -OK json/profiles/fhir-ig-us-core/Observation-serum-potassium.json -OK json/profiles/fhir-ig-us-core/Observation-some-day-smoker.json -OK json/profiles/fhir-ig-us-core/CareTeam-example.json -OK json/profiles/fhir-ig-us-core/Observation-serum-sodium.json -OK json/profiles/fhir-ig-us-core/Observation-serum-creatinine.json -OK json/profiles/fhir-ig-us-core/Observation-oxygen-saturation.json -OK json/profiles/fhir-ig-us-core/Observation-pediatric-wt-example.json -OK json/profiles/fhir-ig-us-core/DiagnosticReport-metabolic-panel.json -OK json/profiles/fhir-ig-us-core/Observation-ofc-percentile.json -OK json/profiles/fhir-ig-us-core/Observation-urine-hemoglobin.json -OK json/profiles/fhir-ig-us-core/Organization-saint-luke-w-endpoint.json -OK json/profiles/fhir-ig-us-core/DocumentReference-episode-summary.json -OK json/profiles/fhir-ig-us-core/Observation-length.json -OK json/profiles/fhir-ig-us-core/Observation-urine-protein.json -OK json/profiles/fhir-ig-us-core/Observation-urobilinogen.json -OK json/profiles/fhir-ig-us-core/Encounter-1036.json -OK json/profiles/fhir-ig-us-core/DiagnosticReport-cardiology-report.json -OK json/profiles/fhir-ig-us-core/Practitioner-practitioner-1.json -OK json/profiles/fhir-ig-us-core/CarePlan-colonoscopy.json -OK json/profiles/fhir-ig-us-core/Observation-serum-calcium.json -OK json/profiles/fhir-ig-us-core/DiagnosticReport-urinalysis.json -OK json/profiles/fhir-ig-us-core/Medication-uscore-med2.json -OK json/profiles/fhir-ig-us-core/Device-udi-1.json -OK json/profiles/fhir-ig-us-core/Observation-urine-ph.json -OK json/profiles/fhir-ig-us-core/Medication-uscore-med1.json -OK json/profiles/fhir-ig-us-core/Observation-vitals-panel.json -OK json/profiles/fhir-ig-us-core/Device-udi-2.json -OK json/profiles/fhir-ig-us-core/Goal-goal-1.json -OK json/profiles/fhir-ig-us-core/Patient-example.json -OK json/profiles/fhir-ig-us-core/Observation-height.json -OK json/profiles/fhir-ig-us-core/Observation-urine-sediment.json -OK json/profiles/fhir-ig-us-core/Patient-infant-example.json -OK json/profiles/fhir-ig-us-core/Observation-blood-glucose.json -OK json/profiles/fhir-ig-us-core/Practitioner-practitioner-2.json -OK json/profiles/fhir-ig-us-core/DiagnosticReport-cbc.json -OK json/profiles/fhir-ig-us-core/MedicationRequest-self-tylenol.json -OK json/profiles/fhir-ig-us-core/Encounter-example-1.json -OK json/profiles/fhir-ig-us-core/Observation-urine-nitrite.json -OK json/profiles/fhir-ig-us-core/Patient-child-example.json -OK json/profiles/fhir-ig-us-core/Location-hl7east.json -OK json/profiles/fhir-ig-us-core/Bundle-uscore-mo3.json -OK json/profiles/fhir-ig-us-core/Procedure-defib-implant.json -OK json/profiles/fhir-ig-us-core/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json -OK json/profiles/fhir-ig-us-core/Immunization-imm-1.json -OK json/profiles/fhir-ig-us-core/Device-udi-3.json -OK json/profiles/fhir-ig-us-core/Observation-urine-epi-cells.json -OK json/profiles/fhir-ig-us-core/Observation-heart-rate.json -OK json/profiles/fhir-ig-us-core/Condition-example.json -OK json/profiles/fhir-ig-us-core/Observation-urine-clarity.json -OK json/profiles/fhir-ig-us-core/Condition-hc1.json -OK json/profiles/fhir-ig-us-core/Observation-bmi.json -OK json/profiles/fhir-ig-us-core/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json -OK json/profiles/fhir-ig-us-core/DiagnosticReport-chest-xray-report.json -OK json/profiles/fhir-ig-us-core/Observation-serum-chloride.json -OK json/profiles/fhir-ig-us-core/Observation-hemoglobin.json -OK json/profiles/fhir-ig-us-core/Observation-bp-data-absent.json -OK json/profiles/fhir-ig-us-core/Organization-example-organization-2.json -OK json/profiles/fhir-ig-us-core/Observation-usg.json -OK json/profiles/fhir-ig-us-core/Observation-urine-ketone.json -OK json/profiles/fhir-ig-us-core/Observation-serum-total-bilirubin.json -OK json/profiles/fhir-ig-us-core/Observation-urine-wbcs.json -OK json/profiles/fhir-ig-us-core/Observation-weight.json -OK json/profiles/fhir-ig-us-core/Observation-pediatric-bmi-example.json -OK json/profiles/fhir-ig-us-core/Observation-erythrocytes.json -OK json/profiles/fhir-ig-us-core/Observation-bun.json -OK json/profiles/fhir-ig-us-core/Observation-serum-co2.json -OK json/profiles/fhir-ig-us-core/Observation-urine-bacteria.json -OK json/profiles/fhir-ig-us-core/Observation-mchc.json -OK json/profiles/fhir-ig-us-core/MedicationRequest-uscore-mo1.json \ No newline at end of file diff --git a/fhir-examples/src/main/resources/profiles-us-core-xml.txt b/fhir-examples/src/main/resources/profiles-us-core-xml.txt deleted file mode 100644 index 2366bd2046c..00000000000 --- a/fhir-examples/src/main/resources/profiles-us-core-xml.txt +++ /dev/null @@ -1,86 +0,0 @@ -OK xml/profiles/fhir-ig-us-core/Practitioner-practitioner-2.xml -OK xml/profiles/fhir-ig-us-core/DiagnosticReport-cardiology-report.xml -OK xml/profiles/fhir-ig-us-core/Device-udi-1.xml -OK xml/profiles/fhir-ig-us-core/Organization-saint-luke-w-endpoint.xml -OK xml/profiles/fhir-ig-us-core/Observation-urine-epi-cells.xml -OK xml/profiles/fhir-ig-us-core/Practitioner-practitioner-1.xml -OK xml/profiles/fhir-ig-us-core/Device-udi-3.xml -OK xml/profiles/fhir-ig-us-core/DiagnosticReport-urinalysis.xml -OK xml/profiles/fhir-ig-us-core/Observation-pediatric-wt-example.xml -OK xml/profiles/fhir-ig-us-core/Observation-urine-leukocyte-esterase.xml -OK xml/profiles/fhir-ig-us-core/Device-udi-2.xml -OK xml/profiles/fhir-ig-us-core/Organization-acme-lab.xml -OK xml/profiles/fhir-ig-us-core/DiagnosticReport-cbc.xml -OK xml/profiles/fhir-ig-us-core/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.xml -OK xml/profiles/fhir-ig-us-core/Observation-urobilinogen.xml -OK xml/profiles/fhir-ig-us-core/Medication-uscore-med1.xml -OK xml/profiles/fhir-ig-us-core/Observation-ofc-percentile.xml -OK xml/profiles/fhir-ig-us-core/Observation-urine-rbcs.xml -OK xml/profiles/fhir-ig-us-core/Observation-erythrocytes.xml -OK xml/profiles/fhir-ig-us-core/Condition-example.xml -OK xml/profiles/fhir-ig-us-core/Medication-uscore-med2.xml -OK xml/profiles/fhir-ig-us-core/DocumentReference-episode-summary.xml -OK xml/profiles/fhir-ig-us-core/MedicationRequest-uscore-mo1.xml -OK xml/profiles/fhir-ig-us-core/Location-hl7east.xml -OK xml/profiles/fhir-ig-us-core/AllergyIntolerance-example.xml -OK xml/profiles/fhir-ig-us-core/Goal-goal-1.xml -OK xml/profiles/fhir-ig-us-core/Procedure-defib-implant.xml -OK xml/profiles/fhir-ig-us-core/Observation-serum-chloride.xml -OK xml/profiles/fhir-ig-us-core/Observation-pediatric-bmi-example.xml -OK xml/profiles/fhir-ig-us-core/MedicationRequest-uscore-mo2.xml -OK xml/profiles/fhir-ig-us-core/Observation-urine-color.xml -OK xml/profiles/fhir-ig-us-core/Condition-hc1.xml -OK xml/profiles/fhir-ig-us-core/ConceptMap-ndc-cvx.xml -OK xml/profiles/fhir-ig-us-core/Observation-serum-creatinine.xml -OK xml/profiles/fhir-ig-us-core/Immunization-imm-1.xml -OK xml/profiles/fhir-ig-us-core/Observation-urine-ketone.xml -OK xml/profiles/fhir-ig-us-core/Observation-urine-clarity.xml -OK xml/profiles/fhir-ig-us-core/Patient-infant-example.xml -OK xml/profiles/fhir-ig-us-core/Observation-urine-nitrite.xml -OK xml/profiles/fhir-ig-us-core/Observation-urine-ph.xml -OK xml/profiles/fhir-ig-us-core/Observation-serum-potassium.xml -OK xml/profiles/fhir-ig-us-core/Observation-heart-rate.xml -OK xml/profiles/fhir-ig-us-core/Observation-mchc.xml -OK xml/profiles/fhir-ig-us-core/Observation-urine-glucose.xml -OK xml/profiles/fhir-ig-us-core/Observation-weight.xml -OK xml/profiles/fhir-ig-us-core/Observation-bun.xml -OK xml/profiles/fhir-ig-us-core/Observation-serum-total-bilirubin.xml -OK xml/profiles/fhir-ig-us-core/DiagnosticReport-chest-xray-report.xml -OK xml/profiles/fhir-ig-us-core/Observation-urine-sediment.xml -OK xml/profiles/fhir-ig-us-core/Observation-blood-glucose.xml -OK xml/profiles/fhir-ig-us-core/Observation-some-day-smoker.xml -OK xml/profiles/fhir-ig-us-core/Observation-bmi.xml -OK xml/profiles/fhir-ig-us-core/Procedure-rehab.xml -OK xml/profiles/fhir-ig-us-core/Observation-urine-bilirubin.xml -OK xml/profiles/fhir-ig-us-core/Observation-respiratory-rate.xml -OK xml/profiles/fhir-ig-us-core/CarePlan-colonoscopy.xml -OK xml/profiles/fhir-ig-us-core/Patient-example.xml -OK xml/profiles/fhir-ig-us-core/Observation-height.xml -OK xml/profiles/fhir-ig-us-core/Observation-urine-hemoglobin.xml -OK xml/profiles/fhir-ig-us-core/Observation-hemoglobin.xml -OK xml/profiles/fhir-ig-us-core/Observation-serum-sodium.xml -OK xml/profiles/fhir-ig-us-core/Observation-satO2-fiO2.xml -OK xml/profiles/fhir-ig-us-core/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.xml -OK xml/profiles/fhir-ig-us-core/Observation-neutrophils.xml -OK xml/profiles/fhir-ig-us-core/Observation-blood-pressure.xml -OK xml/profiles/fhir-ig-us-core/Observation-urine-bacteria.xml -OK xml/profiles/fhir-ig-us-core/Observation-urine-wbcs.xml -OK xml/profiles/fhir-ig-us-core/Encounter-1036.xml -OK xml/profiles/fhir-ig-us-core/DiagnosticReport-metabolic-panel.xml -OK xml/profiles/fhir-ig-us-core/Observation-bp-data-absent.xml -OK xml/profiles/fhir-ig-us-core/Observation-vitals-panel.xml -OK xml/profiles/fhir-ig-us-core/Observation-length.xml -OK xml/profiles/fhir-ig-us-core/Observation-urine-protein.xml -OK xml/profiles/fhir-ig-us-core/Encounter-example-1.xml -OK xml/profiles/fhir-ig-us-core/OperationDefinition-docref.xml -OK xml/profiles/fhir-ig-us-core/Observation-serum-co2.xml -OK xml/profiles/fhir-ig-us-core/Observation-oxygen-saturation.xml -OK xml/profiles/fhir-ig-us-core/Observation-serum-calcium.xml -OK xml/profiles/fhir-ig-us-core/Organization-example-organization-2.xml -OK xml/profiles/fhir-ig-us-core/Bundle-uscore-mo3.xml -OK xml/profiles/fhir-ig-us-core/Patient-child-example.xml -OK xml/profiles/fhir-ig-us-core/CareTeam-example.xml -OK xml/profiles/fhir-ig-us-core/MedicationRequest-self-tylenol.xml -OK xml/profiles/fhir-ig-us-core/Observation-temperature.xml -OK xml/profiles/fhir-ig-us-core/Observation-urine-cells.xml -OK xml/profiles/fhir-ig-us-core/Observation-usg.xml \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/AllergyIntolerance-example.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/AllergyIntolerance-example.xml deleted file mode 100644 index a99548cf360..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/AllergyIntolerance-example.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - -

Generated Narrative

id: example

meta:

clinicalStatus: Active

verificationStatus: Confirmed

category: medication

criticality: high

code: sulfonamide antibacterial

patient: Amy V. 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

Reactions

-ManifestationSeverity
*skin rashmild
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
\ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.xml deleted file mode 100644 index 960d98fe212..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.xml +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Generated Narrative

id: Practitioner-1011

meta:

identifier: 000001011 (OFFICIAL), 9999991011 (OFFICIAL), d46f70565a1042f6a6ece48dd81b408f (OFFICIAL)

name: Brenda Jennings Richard

telecom: ph: 313-555-6868(HOME), ph: 313-555-6443(WORK)

address: 346 W Plum Avenu Dearborn MI 48123

gender: female

birthDate: 1976-11-15

Qualifications

-IdentifierCodeIssuer
*Michigan Medical License = LARA-1011 (OFFICIAL)Medical DoctorMichigan Department of Licensing and Regulatory Affairs
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - -
- - - - - - -

Generated Narrative

id: 71

status: active

connectionType: Direct Project

name: Brenda.Jennings.Richard.MD@direct.example.org

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

payloadType: urn:hl7-org:sdwg:ccda-structuredBody:1.1

payloadMimeType: text/xml

address: Brenda.Jennings.Richard.MD@direct.example.org

-
- - - - - - - - - - - - - - - - -
- - - - - - - \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.xml deleted file mode 100644 index d2c1da7d7b9..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.xml +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -

Generated Narrative

id: 79613

meta:

clinicalStatus: Active

verificationStatus: Confirmed

category: medication

criticality: high

code: Peanuts

patient: 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

onset: 2017-06-09

Reactions

-ManifestationOnset
*Hives2017-06-09
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
\ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Bundle-uscore-mo3.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Bundle-uscore-mo3.xml deleted file mode 100644 index 8882b1ab15f..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Bundle-uscore-mo3.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Generated Narrative

id: uscore-med2

meta:

code: Nizatidine 15 MG/ML Oral Solution [Axid]

-
- - - - - - - - -
-
- - - -
-
\ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/CarePlan-colonoscopy.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/CarePlan-colonoscopy.xml deleted file mode 100644 index ba58a743446..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/CarePlan-colonoscopy.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - -
- Assessment -
    -
  1. Recurrent GI bleed of unknown etiology; hypotension perhaps secondary to this but as likely secondary to polypharmacy.
  2. -
  3. Acute on chronic anemia secondary to #1.
  4. -
  5. Azotemia, acute renal failure with volume loss secondary to #1.
  6. -
  7. Hyperkalemia secondary to #3 and on ACE and K+ supplement.
  8. -
  9. Other chronic diagnoses as noted above, currently stable.
  10. -
- - - - - - - - - - - - - -
Planned ActivityPlanned Date
ColonoscopyApril 21, 2000
-
-
- - - - - - - - - - - - -
\ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/CareTeam-example.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/CareTeam-example.xml deleted file mode 100644 index ef52dc64d8b..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/CareTeam-example.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - -

Generated Narrative

id: example

meta:

status: active

name: US-Core example CareTeam

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

participant

role: Cardiovascular Disease

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

participant

role: General Practice

member: Kathy Fielding, MD. Generated Summary: id: practitioner-2; 1245319599, 456789; Fielding Kathy ; Kathy.Fielding@direct.ExampleMedicalPractice.net(WORK)

participant

role: Patient (person)

member: Amy V. 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

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
\ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/ConceptMap-ndc-cvx.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/ConceptMap-ndc-cvx.xml deleted file mode 100644 index 6f806ca93fe..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/ConceptMap-ndc-cvx.xml +++ /dev/null @@ -1,2304 +0,0 @@ - - - - - -

USCoreNDCtoCVXCodeMapping (http://hl7.org/fhir/us/core/ConceptMap/ndc-cvx)

Mapping from http://hl7.org/fhir/us/core/ValueSet/us-core-ndc-vaccine-codes to http://hl7.org/fhir/us/core/ValueSet/us-core-vaccines-cvx

ACTIVE. Published on 2019-05-21 by HL7 US Realm Steering Committee.

Unit of Use [NDC code] (https://www2a.cdc.gov/vaccines/iis/iisstandards/ndc_crosswalk.asp) mapping to the CVX Vaccine codes. Note: source = NDC and target = CVX

-

Source CodeRelationshipDestination Code
00005-0100-02maps to wider concept162
00005-0100-05maps to wider concept162
00005-0100-10maps to wider concept162
00005-1970-50maps to wider concept100
00005-1971-02maps to wider concept133
00005-1971-04maps to wider concept133
00005-1971-05maps to wider concept133
00006-4045-00maps to wider concept62
00006-4045-41maps to wider concept62
00006-4047-20maps to wider concept116
00006-4047-41maps to wider concept116
00006-4093-02maps to wider concept08
00006-4093-09maps to wider concept08
00006-4094-02maps to wider concept43
00006-4094-09maps to wider concept43
00006-4095-02maps to wider concept83
00006-4095-09maps to wider concept83
00006-4096-02maps to wider concept52
00006-4096-09maps to wider concept52
00006-4109-02maps to wider concept62
00006-4109-09maps to wider concept62
00006-4119-02maps to wider concept165
00006-4119-03maps to wider concept165
00006-4121-02maps to wider concept165
00006-4133-41maps to wider concept09
00006-4171-00maps to wider concept94
00006-4681-00maps to wider concept03
00006-4739-00maps to wider concept33
00006-4826-00maps to wider concept21
00006-4827-00maps to wider concept21
00006-4831-41maps to wider concept83
00006-4837-02maps to wider concept33
00006-4837-03maps to wider concept33
00006-4841-00maps to wider concept52
00006-4841-41maps to wider concept52
00006-4897-00maps to wider concept49
00006-4898-00maps to wider concept51
00006-4943-00maps to wider concept33
00006-4963-00maps to wider concept121
00006-4963-41maps to wider concept121
00006-4980-00maps to wider concept08
00006-4981-00maps to wider concept08
00006-4992-00maps to wider concept44
00006-4995-00maps to wider concept43
00006-4995-41maps to wider concept43
00006-4999-00maps to wider concept94
00052-0603-02maps to wider concept19
13533-0131-01maps to wider concept09
14362-0111-04maps to wider concept09
17478-0131-01maps to wider concept09
19515-0845-11maps to wider concept141
19515-0850-52maps to wider concept140
19515-0889-07maps to wider concept141
19515-0890-07maps to wider concept141
19515-0891-11maps to wider concept158
19515-0893-07maps to wider concept141
19515-0894-52maps to wider concept150
19515-0895-11maps to wider concept158
19515-0896-11maps to wider concept158
19515-0898-11maps to wider concept158
19515-0900-11maps to wider concept158
19515-0901-52maps to wider concept150
19515-0903-11maps to wider concept158
19515-0908-52maps to wider concept150
19515-0909-52maps to wider concept150
19515-0912-52maps to wider concept150
21695-0413-01maps to wider concept09
33332-0010-01maps to wider concept140
33332-0013-01maps to wider concept140
33332-0014-01maps to wider concept140
33332-0015-01maps to wider concept140
33332-0016-01maps to wider concept140
33332-0017-01maps to wider concept140
33332-0018-01maps to wider concept140
33332-0110-10maps to wider concept141
33332-0113-10maps to wider concept141
33332-0114-10maps to wider concept141
33332-0115-10maps to wider concept141
33332-0116-10maps to wider concept141
33332-0117-10maps to wider concept141
33332-0118-10maps to wider concept141
33332-0316-01maps to wider concept150
33332-0317-01maps to wider concept150
33332-0318-01maps to wider concept150
33332-0416-10maps to wider concept158
33332-0417-10maps to wider concept158
33332-0418-10maps to wider concept158
33332-0519-01maps to wider concept126
33332-0519-25maps to wider concept126
33332-0629-10maps to wider concept127
42515-0001-01maps to wider concept134
42515-0001-01maps to wider concept134
42515-0001-01maps to wider concept134
42515-0001-01maps to wider concept134
42515-0002-01maps to wider concept134
42874-0012-10maps to wider concept155
42874-0013-10maps to wider concept155
42874-0014-10maps to wider concept155
42874-0015-10maps to wider concept155
42874-0016-10maps to wider concept155
42874-0017-10maps to wider concept155
42874-0117-10maps to wider concept185
43528-0002-05maps to wider concept189
43528-0003-05maps to wider concept189
46028-0114-01maps to wider concept163
46028-0114-02maps to wider concept163
46028-0208-01maps to wider concept136
46028-0208-01maps to wider concept136
49281-0010-10maps to wider concept140
49281-0010-25maps to wider concept140
49281-0010-50maps to wider concept140
49281-0011-10maps to wider concept140
49281-0011-50maps to wider concept140
49281-0012-10maps to wider concept140
49281-0012-50maps to wider concept140
49281-0013-10maps to wider concept140
49281-0013-50maps to wider concept140
49281-0014-50maps to wider concept140
49281-0111-25maps to wider concept140
49281-0112-25maps to wider concept140
49281-0113-25maps to wider concept140
49281-0215-10maps to wider concept113
49281-0215-15maps to wider concept113
49281-0225-10maps to wider concept28
49281-0250-51maps to wider concept175
49281-0278-10maps to wider concept28
49281-0286-01maps to wider concept106
49281-0286-05maps to wider concept106
49281-0286-10maps to wider concept106
49281-0291-10maps to wider concept113
49281-0291-83maps to wider concept113
49281-0298-10maps to wider concept20
49281-0386-15maps to wider concept141
49281-0387-65maps to wider concept135
49281-0388-15maps to wider concept141
49281-0389-65maps to wider concept135
49281-0390-15maps to wider concept141
49281-0391-65maps to wider concept135
49281-0392-15maps to wider concept141
49281-0393-65maps to wider concept135
49281-0394-15maps to wider concept141
49281-0395-65maps to wider concept135
49281-0396-15maps to wider concept141
49281-0397-65maps to wider concept135
49281-0399-65maps to wider concept135
49281-0400-05maps to wider concept115
49281-0400-10maps to wider concept115
49281-0400-15maps to wider concept115
49281-0400-20maps to wider concept115
49281-0401-65maps to wider concept135
49281-0403-65maps to wider concept135
49281-0413-10maps to wider concept150
49281-0413-50maps to wider concept150
49281-0414-10maps to wider concept150
49281-0414-50maps to wider concept150
49281-0415-10maps to wider concept150
49281-0416-10maps to wider concept150
49281-0416-50maps to wider concept150
49281-0417-10maps to wider concept150
49281-0417-50maps to wider concept150
49281-0418-10maps to wider concept150
49281-0418-50maps to wider concept150
49281-0489-01maps to wider concept32
49281-0489-91maps to wider concept32
49281-0510-05maps to wider concept120
49281-0510-05maps to wider concept120
49281-0513-25maps to wider concept161
49281-0514-25maps to wider concept161
49281-0516-25maps to wider concept161
49281-0517-25maps to wider concept161
49281-0518-25maps to wider concept161
49281-0545-03maps to wider concept48
49281-0545-05maps to wider concept48
49281-0562-10maps to wider concept130
49281-0589-05maps to wider concept114
49281-0621-15maps to wider concept158
49281-0625-15maps to wider concept158
49281-0627-15maps to wider concept158
49281-0629-15maps to wider concept158
49281-0640-15maps to wider concept127
49281-0650-10maps to wider concept126
49281-0650-25maps to wider concept126
49281-0650-50maps to wider concept126
49281-0650-70maps to wider concept126
49281-0650-90maps to wider concept126
49281-0703-55maps to wider concept144
49281-0705-55maps to wider concept144
49281-0707-55maps to wider concept144
49281-0708-40maps to wider concept166
49281-0709-55maps to wider concept144
49281-0710-40maps to wider concept166
49281-0712-40maps to wider concept166
49281-0718-10maps to wider concept185
49281-0790-20maps to wider concept101
49281-0790-51maps to wider concept101
49281-0800-83maps to wider concept35
49281-0820-10maps to wider concept35
49281-0860-10maps to wider concept10
49281-0860-10maps to wider concept10
49281-0860-55maps to wider concept10
49281-0913-01maps to wider concept183
49281-0915-01maps to wider concept37
49281-0915-05maps to wider concept37
50090-1693-09maps to wider concept10
50090-2883-00maps to wider concept20
50090-3096-00maps to wider concept176
50090-3469-00maps to wider concept189
51285-0138-50maps to wider concept143
51285-0138-50maps to wider concept143
54868-0734-00maps to wider concept43
54868-0980-00maps to wider concept03
54868-2219-00maps to wider concept43
54868-2219-01maps to wider concept43
54868-3339-01maps to wider concept33
54868-4320-00maps to wider concept33
54868-6177-00maps to wider concept141
54868-6180-00maps to wider concept140
55045-3841-01maps to wider concept52
58160-0801-11maps to wider concept148
58160-0806-05maps to wider concept48
58160-0808-15maps to wider concept160
58160-0808-15maps to wider concept160
58160-0809-05maps to wider concept148
58160-0810-11maps to wider concept20
58160-0810-52maps to wider concept20
58160-0811-51maps to wider concept110
58160-0811-52maps to wider concept110
58160-0812-11maps to wider concept130
58160-0812-52maps to wider concept130
58160-0815-11maps to wider concept104
58160-0815-34maps to wider concept104
58160-0815-46maps to wider concept104
58160-0815-48maps to wider concept104
58160-0815-52maps to wider concept104
58160-0816-05maps to wider concept48
58160-0818-11maps to wider concept48
58160-0819-12maps to wider concept187
58160-0820-11maps to wider concept08
58160-0820-52maps to wider concept08
58160-0821-11maps to wider concept43
58160-0821-34maps to wider concept43
58160-0821-52maps to wider concept43
58160-0823-11maps to wider concept187
58160-0825-11maps to wider concept83
58160-0825-52maps to wider concept83
58160-0826-11maps to wider concept52
58160-0826-34maps to wider concept52
58160-0826-52maps to wider concept52
58160-0830-34maps to wider concept118
58160-0830-52maps to wider concept118
58160-0842-11maps to wider concept115
58160-0842-34maps to wider concept115
58160-0842-51maps to wider concept115
58160-0842-52maps to wider concept115
58160-0854-52maps to wider concept119
58160-0879-52maps to wider concept140
58160-0880-52maps to wider concept140
58160-0881-52maps to wider concept140
58160-0883-52maps to wider concept140
58160-0898-52maps to wider concept150
58160-0900-52maps to wider concept150
58160-0901-52maps to wider concept150
58160-0903-52maps to wider concept150
58160-0905-52maps to wider concept150
58160-0907-52maps to wider concept150
58160-0955-09maps to wider concept136
58160-0955-09maps to wider concept136
58160-0964-12maps to wider concept176
58160-0964-12maps to wider concept176
58160-0976-06maps to wider concept163
58160-0976-20maps to wider concept163
62195-0051-10maps to wider concept134
62577-0613-01maps to wider concept153
62577-0614-01maps to wider concept153
63851-0501-01maps to wider concept176
63851-0501-02maps to wider concept176
63851-0612-01maps to wider concept153
63851-0613-01maps to wider concept153
64678-0211-01maps to wider concept24
66019-0107-01maps to wider concept111
66019-0108-10maps to wider concept111
66019-0109-10maps to wider concept111
66019-0110-10maps to wider concept111
66019-0200-10maps to wider concept125
66019-0300-10maps to wider concept149
66019-0301-10maps to wider concept149
66019-0302-10maps to wider concept149
66019-0303-10maps to wider concept149
66019-0304-10maps to wider concept149
66019-0305-10maps to wider concept149
66521-0000-01maps to wider concept168
66521-0112-02maps to wider concept140
66521-0112-10maps to wider concept141
66521-0113-02maps to wider concept140
66521-0113-10maps to wider concept141
66521-0114-02maps to wider concept140
66521-0114-10maps to wider concept141
66521-0115-02maps to wider concept140
66521-0115-10maps to wider concept141
66521-0116-02maps to wider concept140
66521-0116-10maps to wider concept141
66521-0117-02maps to wider concept140
66521-0117-10maps to wider concept141
66521-0118-02maps to wider concept140
66521-0118-10maps to wider concept141
66521-0200-02maps to wider concept127
66521-0200-10maps to wider concept126
69401-0000-01maps to wider concept25
69401-0000-02maps to wider concept25
70460-0001-01maps to wider concept174
70461-0001-01maps to wider concept168
70461-0002-01maps to wider concept168
70461-0018-03maps to wider concept168
70461-0119-02maps to wider concept140
70461-0119-10maps to wider concept141
70461-0120-02maps to wider concept140
70461-0120-10maps to wider concept141
70461-0200-01maps to wider concept171
70461-0201-01maps to wider concept171
70461-0301-10maps to wider concept186
70461-0318-03maps to wider concept171
70461-0418-10maps to wider concept186
76420-0482-01maps to wider concept150
76420-0483-01maps to wider concept150
63361-0245-10maps to wider concept146
-
- - - - - <status value="active"/> - <date value="2019-05-21"/> - <publisher value="HL7 US Realm Steering Committee"/> - <description value="Unit of Use [NDC code] (https://www2a.cdc.gov/vaccines/iis/iisstandards/ndc_crosswalk.asp) mapping to the [CVX Vaccine codes](https://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx). Note: source = NDC and target = CVX"/> - <jurisdiction> - <coding> - <system value="urn:iso:std:iso:3166"/> - <code value="US"/> - <display value="United States of America"/> - </coding> - </jurisdiction> - <purpose value="Based upon the 2015 Edition Certification Requirements, the NDC vaccine codes SHOULD be supported as translations to the CVX vaccine codes."/> - <sourceCanonical value="http://hl7.org/fhir/us/core/ValueSet/us-core-ndc-vaccine-codes"/> - <targetCanonical value="http://hl7.org/fhir/us/core/ValueSet/us-core-vaccines-cvx"/> - <group> - <element> - <code value="00005-0100-02"/> - <target> - <code value="162"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00005-0100-05"/> - <target> - <code value="162"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00005-0100-10"/> - <target> - <code value="162"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00005-1970-50"/> - <target> - <code value="100"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00005-1971-02"/> - <target> - <code value="133"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00005-1971-04"/> - <target> - <code value="133"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00005-1971-05"/> - <target> - <code value="133"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4045-00"/> - <target> - <code value="62"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4045-41"/> - <target> - <code value="62"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4047-20"/> - <target> - <code value="116"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4047-41"/> - <target> - <code value="116"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4093-02"/> - <target> - <code value="08"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4093-09"/> - <target> - <code value="08"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4094-02"/> - <target> - <code value="43"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4094-09"/> - <target> - <code value="43"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4095-02"/> - <target> - <code value="83"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4095-09"/> - <target> - <code value="83"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4096-02"/> - <target> - <code value="52"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4096-09"/> - <target> - <code value="52"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4109-02"/> - <target> - <code value="62"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4109-09"/> - <target> - <code value="62"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4119-02"/> - <target> - <code value="165"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4119-03"/> - <target> - <code value="165"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4121-02"/> - <target> - <code value="165"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4133-41"/> - <target> - <code value="09"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4171-00"/> - <target> - <code value="94"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4681-00"/> - <target> - <code value="03"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4739-00"/> - <target> - <code value="33"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4826-00"/> - <target> - <code value="21"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4827-00"/> - <target> - <code value="21"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4831-41"/> - <target> - <code value="83"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4837-02"/> - <target> - <code value="33"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4837-03"/> - <target> - <code value="33"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4841-00"/> - <target> - <code value="52"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4841-41"/> - <target> - <code value="52"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4897-00"/> - <target> - <code value="49"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4898-00"/> - <target> - <code value="51"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4943-00"/> - <target> - <code value="33"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4963-00"/> - <target> - <code value="121"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4963-41"/> - <target> - <code value="121"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4980-00"/> - <target> - <code value="08"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4981-00"/> - <target> - <code value="08"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4992-00"/> - <target> - <code value="44"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4995-00"/> - <target> - <code value="43"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4995-41"/> - <target> - <code value="43"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00006-4999-00"/> - <target> - <code value="94"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="00052-0603-02"/> - <target> - <code value="19"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="13533-0131-01"/> - <target> - <code value="09"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="14362-0111-04"/> - <target> - <code value="09"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="17478-0131-01"/> - <target> - <code value="09"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="19515-0845-11"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="19515-0850-52"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="19515-0889-07"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="19515-0890-07"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="19515-0891-11"/> - <target> - <code value="158"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="19515-0893-07"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="19515-0894-52"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="19515-0895-11"/> - <target> - <code value="158"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="19515-0896-11"/> - <target> - <code value="158"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="19515-0898-11"/> - <target> - <code value="158"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="19515-0900-11"/> - <target> - <code value="158"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="19515-0901-52"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="19515-0903-11"/> - <target> - <code value="158"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="19515-0908-52"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="19515-0909-52"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="19515-0912-52"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="21695-0413-01"/> - <target> - <code value="09"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0010-01"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0013-01"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0014-01"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0015-01"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0016-01"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0017-01"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0018-01"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0110-10"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0113-10"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0114-10"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0115-10"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0116-10"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0117-10"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0118-10"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0316-01"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0317-01"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0318-01"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0416-10"/> - <target> - <code value="158"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0417-10"/> - <target> - <code value="158"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0418-10"/> - <target> - <code value="158"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0519-01"/> - <target> - <code value="126"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0519-25"/> - <target> - <code value="126"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="33332-0629-10"/> - <target> - <code value="127"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="42515-0001-01"/> - <target> - <code value="134"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="42515-0001-01"/> - <target> - <code value="134"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="42515-0001-01"/> - <target> - <code value="134"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="42515-0001-01"/> - <target> - <code value="134"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="42515-0002-01"/> - <target> - <code value="134"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="42874-0012-10"/> - <target> - <code value="155"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="42874-0013-10"/> - <target> - <code value="155"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="42874-0014-10"/> - <target> - <code value="155"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="42874-0015-10"/> - <target> - <code value="155"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="42874-0016-10"/> - <target> - <code value="155"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="42874-0017-10"/> - <target> - <code value="155"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="42874-0117-10"/> - <target> - <code value="185"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="43528-0002-05"/> - <target> - <code value="189"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="43528-0003-05"/> - <target> - <code value="189"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="46028-0114-01"/> - <target> - <code value="163"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="46028-0114-02"/> - <target> - <code value="163"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="46028-0208-01"/> - <target> - <code value="136"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="46028-0208-01"/> - <target> - <code value="136"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0010-10"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0010-25"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0010-50"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0011-10"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0011-50"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0012-10"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0012-50"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0013-10"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0013-50"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0014-50"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0111-25"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0112-25"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0113-25"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0215-10"/> - <target> - <code value="113"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0215-15"/> - <target> - <code value="113"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0225-10"/> - <target> - <code value="28"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0250-51"/> - <target> - <code value="175"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0278-10"/> - <target> - <code value="28"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0286-01"/> - <target> - <code value="106"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0286-05"/> - <target> - <code value="106"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0286-10"/> - <target> - <code value="106"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0291-10"/> - <target> - <code value="113"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0291-83"/> - <target> - <code value="113"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0298-10"/> - <target> - <code value="20"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0386-15"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0387-65"/> - <target> - <code value="135"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0388-15"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0389-65"/> - <target> - <code value="135"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0390-15"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0391-65"/> - <target> - <code value="135"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0392-15"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0393-65"/> - <target> - <code value="135"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0394-15"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0395-65"/> - <target> - <code value="135"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0396-15"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0397-65"/> - <target> - <code value="135"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0399-65"/> - <target> - <code value="135"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0400-05"/> - <target> - <code value="115"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0400-10"/> - <target> - <code value="115"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0400-15"/> - <target> - <code value="115"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0400-20"/> - <target> - <code value="115"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0401-65"/> - <target> - <code value="135"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0403-65"/> - <target> - <code value="135"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0413-10"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0413-50"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0414-10"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0414-50"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0415-10"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0416-10"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0416-50"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0417-10"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0417-50"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0418-10"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0418-50"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0489-01"/> - <target> - <code value="32"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0489-91"/> - <target> - <code value="32"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0510-05"/> - <target> - <code value="120"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0510-05"/> - <target> - <code value="120"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0513-25"/> - <target> - <code value="161"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0514-25"/> - <target> - <code value="161"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0516-25"/> - <target> - <code value="161"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0517-25"/> - <target> - <code value="161"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0518-25"/> - <target> - <code value="161"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0545-03"/> - <target> - <code value="48"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0545-05"/> - <target> - <code value="48"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0562-10"/> - <target> - <code value="130"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0589-05"/> - <target> - <code value="114"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0621-15"/> - <target> - <code value="158"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0625-15"/> - <target> - <code value="158"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0627-15"/> - <target> - <code value="158"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0629-15"/> - <target> - <code value="158"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0640-15"/> - <target> - <code value="127"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0650-10"/> - <target> - <code value="126"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0650-25"/> - <target> - <code value="126"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0650-50"/> - <target> - <code value="126"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0650-70"/> - <target> - <code value="126"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0650-90"/> - <target> - <code value="126"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0703-55"/> - <target> - <code value="144"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0705-55"/> - <target> - <code value="144"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0707-55"/> - <target> - <code value="144"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0708-40"/> - <target> - <code value="166"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0709-55"/> - <target> - <code value="144"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0710-40"/> - <target> - <code value="166"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0712-40"/> - <target> - <code value="166"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0718-10"/> - <target> - <code value="185"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0790-20"/> - <target> - <code value="101"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0790-51"/> - <target> - <code value="101"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0800-83"/> - <target> - <code value="35"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0820-10"/> - <target> - <code value="35"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0860-10"/> - <target> - <code value="10"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0860-10"/> - <target> - <code value="10"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0860-55"/> - <target> - <code value="10"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0913-01"/> - <target> - <code value="183"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0915-01"/> - <target> - <code value="37"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="49281-0915-05"/> - <target> - <code value="37"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="50090-1693-09"/> - <target> - <code value="10"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="50090-2883-00"/> - <target> - <code value="20"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="50090-3096-00"/> - <target> - <code value="176"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="50090-3469-00"/> - <target> - <code value="189"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="51285-0138-50"/> - <target> - <code value="143"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="51285-0138-50"/> - <target> - <code value="143"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="54868-0734-00"/> - <target> - <code value="43"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="54868-0980-00"/> - <target> - <code value="03"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="54868-2219-00"/> - <target> - <code value="43"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="54868-2219-01"/> - <target> - <code value="43"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="54868-3339-01"/> - <target> - <code value="33"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="54868-4320-00"/> - <target> - <code value="33"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="54868-6177-00"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="54868-6180-00"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="55045-3841-01"/> - <target> - <code value="52"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0801-11"/> - <target> - <code value="148"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0806-05"/> - <target> - <code value="48"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0808-15"/> - <target> - <code value="160"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0808-15"/> - <target> - <code value="160"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0809-05"/> - <target> - <code value="148"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0810-11"/> - <target> - <code value="20"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0810-52"/> - <target> - <code value="20"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0811-51"/> - <target> - <code value="110"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0811-52"/> - <target> - <code value="110"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0812-11"/> - <target> - <code value="130"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0812-52"/> - <target> - <code value="130"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0815-11"/> - <target> - <code value="104"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0815-34"/> - <target> - <code value="104"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0815-46"/> - <target> - <code value="104"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0815-48"/> - <target> - <code value="104"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0815-52"/> - <target> - <code value="104"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0816-05"/> - <target> - <code value="48"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0818-11"/> - <target> - <code value="48"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0819-12"/> - <target> - <code value="187"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0820-11"/> - <target> - <code value="08"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0820-52"/> - <target> - <code value="08"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0821-11"/> - <target> - <code value="43"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0821-34"/> - <target> - <code value="43"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0821-52"/> - <target> - <code value="43"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0823-11"/> - <target> - <code value="187"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0825-11"/> - <target> - <code value="83"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0825-52"/> - <target> - <code value="83"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0826-11"/> - <target> - <code value="52"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0826-34"/> - <target> - <code value="52"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0826-52"/> - <target> - <code value="52"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0830-34"/> - <target> - <code value="118"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0830-52"/> - <target> - <code value="118"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0842-11"/> - <target> - <code value="115"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0842-34"/> - <target> - <code value="115"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0842-51"/> - <target> - <code value="115"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0842-52"/> - <target> - <code value="115"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0854-52"/> - <target> - <code value="119"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0879-52"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0880-52"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0881-52"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0883-52"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0898-52"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0900-52"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0901-52"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0903-52"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0905-52"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0907-52"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0955-09"/> - <target> - <code value="136"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0955-09"/> - <target> - <code value="136"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0964-12"/> - <target> - <code value="176"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0964-12"/> - <target> - <code value="176"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0976-06"/> - <target> - <code value="163"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="58160-0976-20"/> - <target> - <code value="163"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="62195-0051-10"/> - <target> - <code value="134"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="62577-0613-01"/> - <target> - <code value="153"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="62577-0614-01"/> - <target> - <code value="153"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="63851-0501-01"/> - <target> - <code value="176"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="63851-0501-02"/> - <target> - <code value="176"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="63851-0612-01"/> - <target> - <code value="153"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="63851-0613-01"/> - <target> - <code value="153"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="64678-0211-01"/> - <target> - <code value="24"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66019-0107-01"/> - <target> - <code value="111"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66019-0108-10"/> - <target> - <code value="111"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66019-0109-10"/> - <target> - <code value="111"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66019-0110-10"/> - <target> - <code value="111"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66019-0200-10"/> - <target> - <code value="125"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66019-0300-10"/> - <target> - <code value="149"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66019-0301-10"/> - <target> - <code value="149"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66019-0302-10"/> - <target> - <code value="149"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66019-0303-10"/> - <target> - <code value="149"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66019-0304-10"/> - <target> - <code value="149"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66019-0305-10"/> - <target> - <code value="149"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66521-0000-01"/> - <target> - <code value="168"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66521-0112-02"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66521-0112-10"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66521-0113-02"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66521-0113-10"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66521-0114-02"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66521-0114-10"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66521-0115-02"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66521-0115-10"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66521-0116-02"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66521-0116-10"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66521-0117-02"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66521-0117-10"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66521-0118-02"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66521-0118-10"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66521-0200-02"/> - <target> - <code value="127"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="66521-0200-10"/> - <target> - <code value="126"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="69401-0000-01"/> - <target> - <code value="25"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="69401-0000-02"/> - <target> - <code value="25"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="70460-0001-01"/> - <target> - <code value="174"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="70461-0001-01"/> - <target> - <code value="168"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="70461-0002-01"/> - <target> - <code value="168"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="70461-0018-03"/> - <target> - <code value="168"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="70461-0119-02"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="70461-0119-10"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="70461-0120-02"/> - <target> - <code value="140"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="70461-0120-10"/> - <target> - <code value="141"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="70461-0200-01"/> - <target> - <code value="171"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="70461-0201-01"/> - <target> - <code value="171"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="70461-0301-10"/> - <target> - <code value="186"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="70461-0318-03"/> - <target> - <code value="171"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="70461-0418-10"/> - <target> - <code value="186"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="76420-0482-01"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="76420-0483-01"/> - <target> - <code value="150"/> - <equivalence value="wider"/> - </target> - </element> - <element> - <code value="63361-0245-10"/> - <target> - <code value="146"/> - <equivalence value="wider"/> - </target> - </element> - </group> -</ConceptMap> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Condition-example.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Condition-example.xml deleted file mode 100644 index 9c87aa7e1b1..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Condition-example.xml +++ /dev/null @@ -1,48 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Condition xmlns="http://hl7.org/fhir"> - <id value="example"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: example</p><p><b>meta</b>: </p><p><b>clinicalStatus</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/condition-clinical active}">Active</span></p><p><b>verificationStatus</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/condition-ver-status confirmed}">Confirmed</span></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/condition-category problem-list-item}">Problem</span></p><p><b>code</b>: <span title="Codes: {http://snomed.info/sct 442311008}">Single liveborn, born in hospital</span></p><p><b>subject</b>: <a href="Patient-example.html">Amy V. 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</a></p><p><b>onset</b>: 2016-08-10</p></div> - </text> - <clinicalStatus> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/condition-clinical"/> - <code value="active"/> - <display value="Active"/> - </coding> - <text value="Active"/> - </clinicalStatus> - <verificationStatus> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/condition-ver-status"/> - <code value="confirmed"/> - <display value="Confirmed"/> - </coding> - <text value="Confirmed"/> - </verificationStatus> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/condition-category"/> - <code value="problem-list-item"/> - <display value="Problem List Item"/> - </coding> - <text value="Problem"/> - </category> - <code> - <coding> - <system value="http://snomed.info/sct"/> - <code value="442311008"/> - <display value="Liveborn born in hospital"/> - </coding> - <text value="Single liveborn, born in hospital"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy V. Shaw"/> - </subject> - <onsetDateTime value="2016-08-10"/> -</Condition> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Condition-hc1.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Condition-hc1.xml deleted file mode 100644 index 8fa7c599e85..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Condition-hc1.xml +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Condition xmlns="http://hl7.org/fhir"> - <id value="hc1"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: hc1</p><p><b>meta</b>: </p><p><b>clinicalStatus</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/condition-clinical active}">Active</span></p><p><b>verificationStatus</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/condition-ver-status confirmed}">Confirmed</span></p><p><b>category</b>: <span title="Codes: {http://hl7.org/fhir/us/core/CodeSystem/condition-category health-concern}">Health Concern</span></p><p><b>code</b>: <span title="Codes: ">Cost of medications</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>onset</b>: 2007-12-14</p></div> - </text> - <clinicalStatus> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/condition-clinical"/> - <code value="active"/> - <display value="Active"/> - </coding> - <text value="Active"/> - </clinicalStatus> - <verificationStatus> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/condition-ver-status"/> - <code value="confirmed"/> - <display value="Confirmed"/> - </coding> - <text value="Confirmed"/> - </verificationStatus> - <category> - <coding> - <system value="http://hl7.org/fhir/us/core/CodeSystem/condition-category"/> - <code value="health-concern"/> - <display value="Health Concern"/> - </coding> - <text value="Health Concern"/> - </category> - <code> - <text value="Cost of medications"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <onsetDateTime value="2007-12-14"/> -</Condition> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Device-udi-1.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Device-udi-1.xml deleted file mode 100644 index fb6f41cff05..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Device-udi-1.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Device xmlns="http://hl7.org/fhir"> - <id value="udi-1"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: udi-1</p><p><b>meta</b>: </p><h3>UdiCarriers</h3><table class="grid"><tr><td>-</td><td><b>DeviceIdentifier</b></td><td><b>CarrierHRF</b></td></tr><tr><td>*</td><td>09504000059118</td><td>(01)09504000059118(17)141120(10)7654321D(21)10987654d321</td></tr></table><p><b>status</b>: active</p><p><b>expirationDate</b>: 2014-11-20</p><p><b>lotNumber</b>: 7654321D</p><p><b>serialNumber</b>: 10987654d321</p><p><b>type</b>: <span title="Codes: {http://snomed.info/sct 468063009}">Coated femoral stem prosthesis, modular</span></p><p><b>patient</b>: <a href="Patient-example.html">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</a></p></div> - </text> - <udiCarrier> - <deviceIdentifier value="09504000059118"/> - <carrierHRF value="(01)09504000059118(17)141120(10)7654321D(21)10987654d321"/> - </udiCarrier> - <status value="active"/> -<!-- manufactureDate value = ""/ --> - <expirationDate value="2014-11-20"/> - <lotNumber value="7654321D"/> - <serialNumber value="10987654d321"/> - <type> - <coding> - <system value="http://snomed.info/sct"/> - <code value="468063009"/> - <display value="Coated femoral stem prosthesis, modular"/> - </coding> - </type> - <patient> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </patient> -</Device> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Device-udi-2.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Device-udi-2.xml deleted file mode 100644 index 76cfcbcb3eb..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Device-udi-2.xml +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Device xmlns="http://hl7.org/fhir"> - <id value="udi-2"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: udi-2</p><p><b>meta</b>: </p><h3>UdiCarriers</h3><table class="grid"><tr><td>-</td><td><b>DeviceIdentifier</b></td><td><b>CarrierHRF</b></td><td><b>EntryType</b></td></tr><tr><td>*</td><td>99863313444316</td><td>(01)99863313444316(17)220101(10)M320(21)AC221</td><td>rfid</td></tr></table><p><b>status</b>: active</p><p><b>manufacturer</b>: ACME Biomedical</p><p><b>expirationDate</b>: 2022-01-01</p><p><b>lotNumber</b>: M320</p><p><b>serialNumber</b>: AC221</p><h3>DeviceNames</h3><table class="grid"><tr><td>-</td><td><b>Name</b></td><td><b>Type</b></td></tr><tr><td>*</td><td>ACME Defibrillator Analyzer, with Transcutaneous Pacemaker Input</td><td>udi-label-name</td></tr></table><p><b>modelNumber</b>: 1.0</p><p><b>type</b>: <span title="Codes: {http://snomed.info/sct 19257004}">Implant</span></p><p><b>patient</b>: <a href="Patient-example.html">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</a></p></div> - </text> - <udiCarrier> - <deviceIdentifier value="99863313444316"/> - <carrierHRF value="(01)99863313444316(17)220101(10)M320(21)AC221"/> - <entryType value="rfid"/> - </udiCarrier> - <status value="active"/> - <manufacturer value="ACME Biomedical"/> - <expirationDate value="2022-01-01"/> - <lotNumber value="M320"/> - <serialNumber value="AC221"/> - <deviceName> - <name value="ACME Defibrillator Analyzer, with Transcutaneous Pacemaker Input"/> - <type value="udi-label-name"/> - </deviceName> - <modelNumber value="1.0"/> - <type> - <coding> - <system value="http://snomed.info/sct"/> - <code value="19257004"/> - <display value="Defibrillator, device"/> - </coding> - <text value="Implant"/> - </type> - <patient> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </patient> -</Device> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Device-udi-3.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Device-udi-3.xml deleted file mode 100644 index abfa8b6e4f2..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Device-udi-3.xml +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Device xmlns="http://hl7.org/fhir"> - <id value="udi-3"/> - <meta> - <versionId value="2"/> - <lastUpdated value="2019-04-11T16:21:48.921+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: udi-3</p><p><b>meta</b>: </p><h3>UdiCarriers</h3><table class="grid"><tr><td>-</td><td><b>DeviceIdentifier</b></td><td><b>CarrierHRF</b></td><td><b>EntryType</b></td></tr><tr><td>*</td><td>987979879879</td><td>(01)987979879879(11)191015(17)220101(10)M320(21)AC221</td><td>rfid</td></tr></table><p><b>status</b>: active</p><p><b>manufacturer</b>: ACME Biomedical</p><p><b>manufactureDate</b>: 2015-10-15</p><p><b>expirationDate</b>: 2022-01-01</p><p><b>lotNumber</b>: M320</p><p><b>serialNumber</b>: AC221</p><h3>DeviceNames</h3><table class="grid"><tr><td>-</td><td><b>Name</b></td><td><b>Type</b></td></tr><tr><td>*</td><td>ACME Knee Replacement Device</td><td>udi-label-name</td></tr></table><p><b>modelNumber</b>: 1.0</p><p><b>type</b>: <span title="Codes: {http://snomed.info/sct 109228008}">Knee joint prosthesis</span></p><p><b>patient</b>: <a href="Patient-example.html">Amy V. 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</a></p></div> - </text> - <udiCarrier> - <deviceIdentifier value="987979879879"/> - <carrierHRF value="(01)987979879879(11)191015(17)220101(10)M320(21)AC221"/> - <entryType value="rfid"/> - </udiCarrier> - <status value="active"/> - <manufacturer value="ACME Biomedical"/> - <manufactureDate value="2015-10-15"/> - <expirationDate value="2022-01-01"/> - <lotNumber value="M320"/> - <serialNumber value="AC221"/> - <deviceName> - <name value="ACME Knee Replacement Device"/> - <type value="udi-label-name"/> - </deviceName> - <modelNumber value="1.0"/> - <type> - <coding> - <system value="http://snomed.info/sct"/> - <code value="109228008"/> - <display value="Knee joint prosthesis"/> - </coding> - <text value="Knee joint prosthesis"/> - </type> - <patient> - <reference value="Patient/example"/> - <display value="Amy V. Shaw"/> - </patient> -</Device> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DiagnosticReport-cardiology-report.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DiagnosticReport-cardiology-report.xml deleted file mode 100644 index b7d1ec9a604..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DiagnosticReport-cardiology-report.xml +++ /dev/null @@ -1,50 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<DiagnosticReport xmlns="http://hl7.org/fhir"> - <id value="cardiology-report"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Generated Narrative</strong></p> -<p><strong>id:</strong> cardiology-report</p> -<p><strong>meta:</strong></p> -<p> profile: <a href="http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note">http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note</a></p> -<p><strong>status:</strong> final</p> -<p><strong>category:</strong> Cardiology</p> -<p><strong>code:</strong> Cardiovascular physiologic and EKG assessment panel</p> -<p><strong>subject:</strong> <a href="Patient-example.html">Patient-example.html</a></p> -<p><strong>effectiveDateTime:</strong> '2011-01-01T21:39:30.000Z'</p> -<p><strong>presentedForm:</strong></p> -<ul> -<li>contentType: application/pdf -url: <a href="http://example.org/pdfdownloads/cardiopanel-report-123.pdf">http://example.org/pdfdownloads/cardiopanel-report-123.pdf</a></li> -</ul></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://loinc.org"/> - <code value="LP29708-2"/> - <display value="Cardiology"/> - </coding> - <text value="Cardiology"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="45033-8"/> - <display value="Cardiovascular physiologic and EKG assessment panel"/> - </coding> - <text value="Cardiovascular physiologic and EKG assessment panel"/> - </code> - <subject> - <reference value="Patient/example"/> - </subject> - <effectiveDateTime value="2011-01-01T21:39:30.000Z"/> - <presentedForm> - <contentType value="application/pdf"/> - <url value="http://example.org/pdfdownloads/cardiopanel-report-123.pdf"/> - <hash value="RVFILy4uQWdNRQo="/> - </presentedForm> -</DiagnosticReport> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DiagnosticReport-cbc.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DiagnosticReport-cbc.xml deleted file mode 100644 index 09cabf33bb2..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DiagnosticReport-cbc.xml +++ /dev/null @@ -1,54 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<DiagnosticReport xmlns="http://hl7.org/fhir"> - <id value="cbc"/> - <meta> - <versionId value="205814"/> - <lastUpdated value="2016-03-09T15:35:58.045+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><h2>to do (to do) to do</h2><table class="grid"><tr><td>to do</td><td><b>Report Details</b><br/> to do to do to do to do</td></tr></table><table class="none"><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr></table><p><b>Coded Diagnoses :</b></p></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0074"/> - <code value="LAB"/> - <display value="Laboratory"/> - </coding> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="58410-2"/> - <display value="CBC panel - Blood by Automated count"/> - </coding> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <issued value="2005-07-06T11:45:33+11:00"/> - <performer> - <reference value="Organization/acme-lab"/> - <display value="Acme Laboratory, Inc"/> - </performer> - <result> - <reference value="Observation/neutrophils"/> - <display value="NEUTROPHILS"/> - </result> - <result> - <reference value="Observation/mchc"/> - <display value="MCHC"/> - </result> - <result> - <reference value="Observation/hemoglobin"/> - <display value="HEMOGLOBIN"/> - </result> - <result> - <reference value="Observation/erythrocytes"/> - <display value="ERYTHROCYTES"/> - </result> -</DiagnosticReport> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DiagnosticReport-chest-xray-report.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DiagnosticReport-chest-xray-report.xml deleted file mode 100644 index 596de6f2a75..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DiagnosticReport-chest-xray-report.xml +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<DiagnosticReport xmlns="http://hl7.org/fhir"> - <id value="chest-xray-report"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: chest-xray-report</p><p><b>meta</b>: </p><p><b>status</b>: final</p><p><b>category</b>: Radiology <span style="background: LightGoldenRodYellow">(Details : {LOINC code 'LP29684-5' = 'LP29684-5', given as 'Radiology'})</span></p><p><b>code</b>: Portable XR Chest Views <span style="background: LightGoldenRodYellow">(Details : {LOINC code '30746-2' = 'Portable XR Chest Views', given as 'Portable XR Chest Views'})</span></p><p><b>subject</b>: <a href="Patient-example.html">Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: Feb 20, 2007</a></p><p><b>effective</b>: Feb 3, 2019 7:43:30 PM</p><p><b>presentedForm</b>: </p></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://loinc.org"/> - <code value="LP29684-5"/> - <display value="Radiology"/> - </coding> - <text value="Radiology"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="30746-2"/> - <display value="Portable XR Chest Views"/> - </coding> - <text value="Portable XR Chest Views"/> - </code> - <subject> - <reference value="Patient/example"/> - </subject> - <effectiveDateTime value="2019-02-03T19:43:30.000Z"/> - <presentedForm> - <contentType value="application/xhtml"/> - <data value="PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFsLy9FTiIgIkRURC94aHRtbDEtdHJhbnNpdGlvbmFsLmR0ZCI+CgkJPGh0bWwgeG1sOmxhbmc9ImVuIiBsYW5nPSJlbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiPgkJCiAgPGhlYWQ+CiAgICA8dGl0bGU+Q2hlc3QgUG9ydGFibGU8L3RpdGxlPgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxwPlJlc3VsdDwvcD4KICAgIDxici8+Q2hlc3QgUG9ydGFibGUgCiAgICAgIAogICAgICA8cD5JTkRJQ0FUSU9OL0NMSU5JQ0FMIFFVRVNUSU9OOiBGZXZlciAvIFBuZXVtb25pYTwvcD4KICAgICAgCiAgICAgIDxwPkNPTVBBUklTT046IE5vbmUuPC9wPgogICAgICAKICAgICAgPHA+RklORElOR1M6PC9wPgogICAgICAKICAgICAgPHA+TElORVMgQU5EIFRVQkVTOiBOb25lLjwvcD4KICAgICAgCiAgICAgIDxwPkxVTkdTIEFORCBQTEVVUkE6PC9wPgogICAgICA8YnIvPkNsZWFyIGx1bmdzLiBOb3JtYWwgcHVsbW9uYXJ5IHZhc2N1bGFyaXR5LgogICAgICA8YnIvPk5vIHBsZXVyYWwgZWZmdXNpb24uCiAgICAgIDxici8+Tm8gcG5ldW1vdGhvcmF4LgogICAgICAKICAgICAgPHA+SEVBUlQsIE1FRElBU1RJTlVNIEFORCBISUxBOjwvcD4KICAgICAgPGJyLz5IZWFydCBpcyBub3JtYWwgaW4gc2l6ZS4KICAgICAgPGJyLz5Ob3JtYWwgbWVkaWFzdGluYWwgYW5kIGhpbGFyIGNvbnRvdXIuCiAgICAgIAogICAgICA8cD5CT05FUyBBTkQgU09GVCBUSVNTVUVTOjwvcD4KICAgICAgPGJyLz5ObyBhY3V0ZSBhYm5vcm1hbGl0eS4KICAgICAgCiAgICAgIDxwPklNUFJFU1NJT046PC9wPgogICAgICA8YnIvPk5vIGFjdXRlIGFibm9ybWFsaXR5LgogICAgICAKICAgICAgPHA+V1NOOiBPMTlJQy1TQy0wMjExPC9wPgogICAgICAKICAgICAgPHA+RGljdGF0ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgRGljdGF0ZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQ0IHBtCiAgICAgICAgUmV2aWV3ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgU2lnbmVkIEJ5OiBDdXJlIE1ELCBDaHJpc3RpbmUgSgogICAgICAgIFNpZ25lZCBEYXRlL1RpbWU6IDAyLzAzLzE5IDc6NDQgcG0KICAgICAgICBUcmFuc2NyaWJlZCBCeTogQ1NCCiAgICAgICAgVHJhbnNjcmliZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQzIHBtPC9wPgogICAgICAKICAgICAgCiAgPC9ib2R5Pgo8L2h0bWw+Cg=="/> - </presentedForm> -</DiagnosticReport> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DiagnosticReport-metabolic-panel.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DiagnosticReport-metabolic-panel.xml deleted file mode 100644 index 711f6681323..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DiagnosticReport-metabolic-panel.xml +++ /dev/null @@ -1,74 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<DiagnosticReport xmlns="http://hl7.org/fhir"> - <id value="metabolic-panel"/> - <meta> - <versionId value="205790"/> - <lastUpdated value="2016-03-09T15:35:58.018+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><h2>to do (to do) to do</h2><table class="grid"><tr><td>to do</td><td><b>Report Details</b><br/> to do to do to do to do to do to do to do to do to do</td></tr></table><table class="none"><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr></table><p><b>Coded Diagnoses :</b></p></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0074"/> - <code value="LAB"/> - <display value="Laboratory"/> - </coding> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="24323-8"/> - <display value="Comprehensive metabolic 2000 panel - Serum or Plasma"/> - </coding> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-04"/> - <issued value="2005-07-06T11:45:33+11:00"/> - <performer> - <reference value="Organization/acme-lab"/> - <display value="Acme Laboratory, Inc"/> - </performer> - <result> - <reference value="Observation/serum-total-bilirubin"/> - <display value="TOTAL BILIRUBIN"/> - </result> - <result> - <reference value="Observation/serum-sodium"/> - <display value="SODIUM"/> - </result> - <result> - <reference value="Observation/serum-potassium"/> - <display value="Potassium"/> - </result> - <result> - <reference value="Observation/serum-creatinine"/> - <display value="CREATININE"/> - </result> - <result> - <reference value="Observation/serum-co2"/> - <display value="TOTAL CO2"/> - </result> - <result> - <reference value="Observation/serum-chloride"/> - <display value="CHLORIDE"/> - </result> - <result> - <reference value="Observation/serum-calcium"/> - <display value="CALCIUM"/> - </result> - <result> - <reference value="Observation/bun"/> - <display value="BUN"/> - </result> - <result> - <reference value="Observation/blood-glucose"/> - <display value="GLUCOSE"/> - </result> -</DiagnosticReport> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DiagnosticReport-urinalysis.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DiagnosticReport-urinalysis.xml deleted file mode 100644 index de36e6e77db..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DiagnosticReport-urinalysis.xml +++ /dev/null @@ -1,107 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<DiagnosticReport xmlns="http://hl7.org/fhir"> - <id value="urinalysis"/> - <meta> - <versionId value="209563"/> - <lastUpdated value="2016-04-19T17:28:11.308+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><h2>to do (to do) to do</h2><table class="grid"><tr><td>to do</td><td><b>Report Details</b><br/> to do to do to do to do to do to do to do to do to do to do to do to do to do to do to do to do to do</td></tr></table><table class="none"><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr><tr><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td><td>to do</td></tr></table><p><b>Coded Diagnoses :</b></p></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0074"/> - <code value="LAB"/> - <display value="Laboratory"/> - </coding> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="24356-8"/> - <display value="Urinalysis complete panel - Urine"/> - </coding> - <text value="Complete Urinalysis"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <issued value="2005-07-06T11:45:33+11:00"/> - <performer> - <reference value="Organization/acme-lab"/> - <display value="Acme Laboratory, Inc"/> - </performer> - <result> - <reference value="Observation/urine-color"/> - <display value="COLOR=Yellow"/> - </result> - <result> - <reference value="Observation/urine-clarity"/> - <display value="APPEARANCE=Hazy"/> - </result> - <result> - <reference value="Observation/urine-glucose"/> - <display value="GLUCOSE=Negative"/> - </result> - <result> - <reference value="Observation/urine-bilirubin"/> - <display value="BILIRUBIN=Negative"/> - </result> - <result> - <reference value="Observation/urine-ketone"/> - <display value="KETONE=Negative"/> - </result> - <result> - <reference value="Observation/usg"/> - <display value="SPEC GRAV=1.017"/> - </result> - <result> - <reference value="Observation/urine-ph"/> - <display value="PH=6 (pH)"/> - </result> - <result> - <reference value="Observation/urine-protein"/> - <display value="PROTEIN=Negative"/> - </result> - <result> - <reference value="Observation/urobilinogen"/> - <display value="UROBILINOGEN=0.3 mg/dL"/> - </result> - <result> - <reference value="Observation/urine-nitrite"/> - <display value="NITRITE=Positive"/> - </result> - <result> - <reference value="Observation/urine-hemoglobin"/> - <display value="BLOOD=Trace"/> - </result> - <result> - <reference value="Observation/urine-leukocyte-esterase"/> - <display value="LEUK ESTERASE=2+e"/> - </result> - <result> - <reference value="Observation/urine-sediment"/> - <display value="COMMENT=Recommend Urine Culture"/> - </result> - <result> - <reference value="Observation/urine-bacteria"/> - <display value="BACTERIA=4+"/> - </result> - <result> - <reference value="Observation/urine-epi-cells"/> - <display value="EPITHELIAL CELLS=1-5 cells/HPF"/> - </result> - <result> - <reference value="Observation/urine-wbcs"/> - <display value="WBC=20-30 cells/HPF"/> - </result> - <result> - <reference value="Observation/urine-rbcs"/> - <display value="RBC=Occasional cells/HPF"/> - </result> -</DiagnosticReport> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DocumentReference-episode-summary.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DocumentReference-episode-summary.xml deleted file mode 100644 index cf737cb5acc..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/DocumentReference-episode-summary.xml +++ /dev/null @@ -1,61 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<DocumentReference xmlns="http://hl7.org/fhir"> - <id value="episode-summary"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: episode-summary</p><p><b>meta</b>: </p><p><b>identifier</b>: urn:oid:2.16.840.1.113883.19.5.99999.1</p><p><b>status</b>: current</p><p><b>type</b>: <span title="Codes: {http://loinc.org 34133-9}">CCD Document</span></p><p><b>category</b>: <span title="Codes: {http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category clinical-note}">Clinical Note</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>date</b>: Mar 9, 2016, 3:29:46 PM</p><p><b>author</b>: <a href="Practitioner-practitioner-1.html">Ronald Bone, MD. Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone </a></p><p><b>description</b>: Pulmonology clinic acute visit</p><h3>Contents</h3><table class="grid"><tr><td>-</td><td><b>Attachment</b></td><td><b>Format</b></td></tr><tr><td>*</td><td></td><td><span title="{urn:oid:1.3.6.1.4.1.19376.1.2.3 urn:hl7-org:sdwg:ccda-structuredBody:2.1}">Documents following C-CDA constraints using a structured body</span></td></tr></table><h3>Contexts</h3><table class="grid"><tr><td>-</td><td><b>Period</b></td></tr><tr><td>*</td><td>Dec 22, 2004, 9:00:00 PM --> Dec 22, 2004, 9:01:00 PM</td></tr></table></div> - </text> - <identifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:oid:2.16.840.1.113883.19.5.99999.1"/> - </identifier> - <status value="current"/> - <type> - <coding> - <system value="http://loinc.org"/> - <code value="34133-9"/> - <display value="Summary of episode note"/> - </coding> - <text value="CCD Document"/> - </type> - <category> - <coding> - <system value="http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category"/> - <code value="clinical-note"/> - <display value="Clinical Note"/> - </coding> - <text value="Clinical Note"/> - </category> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <date value="2016-03-09T15:29:46Z"/> - <author> - <reference value="Practitioner/practitioner-1"/> - <display value="Ronald Bone, MD"/> - </author> - <description value="Pulmonology clinic acute visit"/> - <content> - <attachment> - <contentType value="text/plain"/> - <url value="/Binary/1-note"/> - <title value="Uri where the data can be found: [base]/Binary/1-note"/> - </attachment> - <!-- http://wiki.hl7.org/index.php?title=CDA_Format_Codes_for_IHE_XDS --> - <format> - <system value="urn:oid:1.3.6.1.4.1.19376.1.2.3"/> - <code value="urn:hl7-org:sdwg:ccda-structuredBody:2.1"/> - <display value="Documents following C-CDA constraints using a structured body"/> - </format> - </content> - <context> - <period> - <start value="2004-12-23T08:00:00+11:00"/> - <end value="2004-12-23T08:01:00+11:00"/> - </period> - </context> -</DocumentReference> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Encounter-1036.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Encounter-1036.xml deleted file mode 100644 index 09088f03fa5..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Encounter-1036.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Encounter xmlns="http://hl7.org/fhir"> - <id value="1036"/> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: 1036</p><p><b>status</b>: in-progress</p><p><b>class</b>: <span title="{http://terminology.hl7.org/CodeSystem/v3-ActCode IMP}">inpatient encounter</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p></div> - </text> - <status value="in-progress"/> - <class> - <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> - <code value="IMP"/> - <display value="inpatient encounter"/> - </class> - <subject> - <reference value="Patient/example"/> - </subject> -</Encounter> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Encounter-example-1.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Encounter-example-1.xml deleted file mode 100644 index 78c1052c831..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Encounter-example-1.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Encounter xmlns="http://hl7.org/fhir"> - <id value="example-1"/> - <meta> - <lastUpdated value="2017-05-26T11:56:57.250-04:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: example-1</p><p><b>meta</b>: </p><p><b>status</b>: finished</p><p><b>class</b>: <span title="{http://terminology.hl7.org/CodeSystem/v3-ActCode AMB}">ambulatory</span></p><p><b>type</b>: <span title="Codes: {http://www.ama-assn.org/go/cpt 99201}">Office Visit</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>period</b>: Nov 1, 2015, 10:00:14 PM --> Nov 1, 2015, 11:00:14 PM</p></div> - </text> - <status value="finished"/> - <class> - <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> - <code value="AMB"/> - <display value="ambulatory"/> - </class> - <type> - <coding> - <system value="http://www.ama-assn.org/go/cpt"/> - <code value="99201"/> - </coding> - <text value="Office Visit"/> - </type> - <subject> - <reference value="Patient/example"/> - </subject> - <period> - <start value="2015-11-01T17:00:14-05:00"/> - <end value="2015-11-01T18:00:14-05:00"/> - </period> -</Encounter> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Goal-goal-1.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Goal-goal-1.xml deleted file mode 100644 index 510a6e2e9cf..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Goal-goal-1.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Goal xmlns="http://hl7.org/fhir"> - <id value="goal-1"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: goal-1</p><p><b>meta</b>: </p><p><b>lifecycleStatus</b>: active</p><p><b>description</b>: <span title="Codes: ">Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><h3>Targets</h3><table class="grid"><tr><td>-</td><td><b>Due[x]</b></td></tr><tr><td>*</td><td>2016-04-05</td></tr></table></div> - </text> - <lifecycleStatus value="active"/> - <description> - <text value="Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs"/> - </description> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <target> - <dueDate value="2016-04-05"/> - </target> -</Goal> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Immunization-imm-1.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Immunization-imm-1.xml deleted file mode 100644 index 039045e0992..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Immunization-imm-1.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Immunization xmlns="http://hl7.org/fhir"> - <id value="imm-1"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: imm-1</p><p><b>meta</b>: </p><p><b>status</b>: completed</p><p><b>vaccineCode</b>: <span title="Codes: {http://hl7.org/fhir/sid/cvx 158}, {http://hl7.org/fhir/sid/ndc 49281-0631-15}">influenza, injectable, quadrivalent</span></p><p><b>patient</b>: <a href="Patient-example.html">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</a></p><p><b>occurrence</b>: 2016-01-08</p><p><b>primarySource</b>: false</p></div> - </text> - <status value="completed"/> - <vaccineCode> - <coding> - <system value="http://hl7.org/fhir/sid/cvx"/> - <code value="158"/> - <display value="influenza, injectable, quadrivalent"/> - </coding> - <coding> - <system value="http://hl7.org/fhir/sid/ndc"/> - <code value="49281-0631-15"/> - <display value="FLUZONE QUADRIVALENT"/> - </coding> - </vaccineCode> - <patient> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </patient> - <occurrenceDateTime value="2016-01-08"/> - <primarySource value="false"/> -</Immunization> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Location-hl7east.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Location-hl7east.xml deleted file mode 100644 index 19d5581cd06..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Location-hl7east.xml +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Location xmlns="http://hl7.org/fhir"> - <id value="hl7east"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-location"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: hl7east</p><p><b>meta</b>: </p><p><b>identifier</b>: 29</p><p><b>status</b>: active</p><p><b>name</b>: Health Level Seven International - Amherst</p><p><b>description</b>: HL7 Headquarters - East</p><p><b>telecom</b>: ph: (+1) 734-677-7777</p><p><b>address</b>: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA </p><h3>Positions</h3><table class="grid"><tr><td>-</td><td><b>Longitude</b></td><td><b>Latitude</b></td></tr><tr><td>*</td><td>-72.519854</td><td>42.373222</td></tr></table><p><b>managingOrganization</b>: <span>Health Level Seven International</span></p></div> - </text> -<!-- HL7 East --> - <identifier> - <system value="http://www.acme.org/location"/> - <value value="29"/> - </identifier> - <status value="active"/> - <name value="Health Level Seven International - Amherst"/> - <description value="HL7 Headquarters - East"/> - <telecom> - <system value="phone"/> - <value value="(+1) 734-677-7777"/> - </telecom> - <address> - <line value="3300 Washtenaw Avenue, Suite 227"/> - <city value="Amherst"/> - <state value="MA"/> - <postalCode value="01002"/> - <country value="USA"/> - </address> - <position> - <longitude value="-72.519854"/> - <latitude value="42.373222"/> - </position> - <managingOrganization> - <display value="Health Level Seven International"/> - </managingOrganization> -</Location> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Medication-uscore-med1.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Medication-uscore-med1.xml deleted file mode 100644 index 494adf6ead6..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Medication-uscore-med1.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Medication xmlns="http://hl7.org/fhir"> - <id value="uscore-med1"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: uscore-med1</p><p><b>meta</b>: </p><p><b>code</b>: <span title="Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 206765}">lisinopril oral 10 mg</span></p></div> - </text> - <code> - <coding> - <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/> - <code value="206765"/> - <display value="Prinivil 10 MG Oral Tablet"/> - </coding> - <text value="lisinopril oral 10 mg"/> - </code> -</Medication> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Medication-uscore-med2.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Medication-uscore-med2.xml deleted file mode 100644 index d6cf8c6177d..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Medication-uscore-med2.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Medication xmlns="http://hl7.org/fhir"> - <id value="uscore-med2"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: uscore-med2</p><p><b>meta</b>: </p><p><b>code</b>: <span title="Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 582620}">Nizatidine 15 MG/ML Oral Solution [Axid]</span></p></div> - </text> - <code> - <coding> - <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/> - <code value="582620"/> - <display value="Nizatidine 15 MG/ML Oral Solution [Axid]"/> - </coding> - <text value="Nizatidine 15 MG/ML Oral Solution [Axid]"/> - </code> -</Medication> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/MedicationRequest-self-tylenol.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/MedicationRequest-self-tylenol.xml deleted file mode 100644 index 171b21564d1..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/MedicationRequest-self-tylenol.xml +++ /dev/null @@ -1,44 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<MedicationRequest xmlns="http://hl7.org/fhir"> - <id value="self-tylenol"/> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: self-tylenol</p><p><b>identifier</b>: 12345689 (OFFICIAL)</p><p><b>status</b>: active</p><p><b>intent</b>: plan</p><p><b>reported</b>: true</p><p><b>medication</b>: <span title="Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 1187314}">Tylenol PM Pill</span></p><p><b>subject</b>: <a href="Patient-example.html">Amy V. 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</a></p><p><b>encounter</b>: <a href="Encounter-example-1.html">Office Visit. Generated Summary: id: example-1; status: finished; <span title="{http://terminology.hl7.org/CodeSystem/v3-ActCode AMB}">ambulatory</span>; <span title="Codes: {http://www.ama-assn.org/go/cpt 99201}">Office Visit</span>; period: Nov 1, 2015, 10:00:14 PM --> Nov 1, 2015, 11:00:14 PM</a></p><p><b>authoredOn</b>: 2019-06-24</p><p><b>requester</b>: <a href="Patient-example.html">**self-prescribed**. 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</a></p><p><b>dosageInstruction</b>: </p></div> - </text> - <identifier> - <use value="official"/> - <system value="http://acme.org/prescriptions"/> - <value value="12345689"/> - </identifier> - <status value="active"/> - <intent value="plan"/> -<!-- reported by patient vs primary source by system --> - <reportedBoolean value="true"/> - <medicationCodeableConcept> - <coding> - <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/> - <code value="1187314"/> - <display value="Tylenol PM Pill"/> - </coding> - <text value="Tylenol PM Pill"/> - </medicationCodeableConcept> - <subject> - <!-- Linked to the resource patient who needs the medication --> - <reference value="Patient/example"/> - <display value="Amy V. Shaw"/> - </subject> - <encounter> - <!-- Linked to a resource Encounter between patient and practitioner --> - <reference value="Encounter/example-1"/> - <display value="Office Visit"/> - </encounter> - <authoredOn value="2019-06-24"/> - <requester> - <!-- self-prescribed by patient --> - <reference value="Patient/example"/> - <display value="**self-prescribed**"/> - </requester> - <dosageInstruction> - <text value="Takes 1-2 tablets once daily at bedtime as needed for restless legs"/> - </dosageInstruction> -</MedicationRequest> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/MedicationRequest-uscore-mo1.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/MedicationRequest-uscore-mo1.xml deleted file mode 100644 index 36e3f078a18..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/MedicationRequest-uscore-mo1.xml +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<MedicationRequest xmlns="http://hl7.org/fhir"> -<!-- example using medication codes --> - <id value="uscore-mo1"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: uscore-mo1</p><p><b>meta</b>: </p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>medication</b>: <span title="Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 582620}">Nizatidine 15 MG/ML Oral Solution [Axid]</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>authoredOn</b>: 2008-04-05</p><p><b>requester</b>: <a href="Practitioner-practitioner-1.html">Ronald Bone, MD. Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone </a></p><p><b>dosageInstruction</b>: </p><h3>DispenseRequests</h3><table class="grid"><tr><td>-</td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td><td><b>ExpectedSupplyDuration</b></td></tr><tr><td>*</td><td>1</td><td>480 mL</td><td>30 days</td></tr></table></div> - </text> - <status value="active"/> - <intent value="order"/> - <medicationCodeableConcept> - <coding> - <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/> - <code value="582620"/> - <display value="Nizatidine 15 MG/ML Oral Solution [Axid]"/> - </coding> - <text value="Nizatidine 15 MG/ML Oral Solution [Axid]"/> - </medicationCodeableConcept> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <authoredOn value="2008-04-05"/> - <requester> - <reference value="Practitioner/practitioner-1"/> - <display value="Ronald Bone, MD"/> - </requester> -<!-- either a code or a reference to the medication being prescribed. As described earlier, this could be contained, separately within a bundle or simply a reference to a remote server. --> -<!-- The following elements are not mandatory for the uscorenaut Profile --> - <dosageInstruction> - <text value="10 mL bid"/> - <timing> - <repeat> - <boundsPeriod> - <start value="2008-04-05"/> - </boundsPeriod> - </repeat> - </timing> - </dosageInstruction> - <dispenseRequest> - <numberOfRepeatsAllowed value="1"/> - <quantity> - <value value="480"/> - <unit value="mL"/> - <system value="http://unitsofmeasure.org"/> - <code value="mL"/> - </quantity> - <expectedSupplyDuration> - <value value="30"/> - <unit value="days"/> - <system value="http://unitsofmeasure.org"/> - <code value="d"/> - </expectedSupplyDuration> - </dispenseRequest> -</MedicationRequest> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/MedicationRequest-uscore-mo2.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/MedicationRequest-uscore-mo2.xml deleted file mode 100644 index b95ccdb1b37..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/MedicationRequest-uscore-mo2.xml +++ /dev/null @@ -1,67 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<MedicationRequest xmlns="http://hl7.org/fhir"> -<!-- this is an example using a contained reference to a medication --> - <id value="uscore-mo2"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p></div> - </text> - <contained> - <Medication> - <id value="med2"/> - <code> - <coding> - <system value="http://www.nlm.nih.gov/research/umls/rxnorm"/> - <code value="582620"/> - <display value="Nizatidine 15 MG/ML Oral Solution [Axid]"/> - </coding> - <text value="Nizatidine 15 MG/ML Oral Solution [Axid]"/> - </code> - </Medication> - </contained> - <status value="active"/> - <intent value="order"/> -<!-- either a code or a reference to the medication being prescribed. As described earlier, this could be contained, separately within a bundle or simply a reference to a remote server. --> - <medicationReference> - <reference value="#med2"/> - <display value="Nizatidine 15 MG/ML Oral Solution [Axid]"/> - </medicationReference> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <authoredOn value="2008-04-05"/> - <requester> - <reference value="Practitioner/practitioner-1"/> - <display value="Ronald Bone, MD"/> - </requester> -<!-- The following elements are not mandatory for the uscorenaut Profile --> - <dosageInstruction> - <text value="10 mL bid"/> - <timing> - <repeat> - <boundsPeriod> - <start value="2008-04-05"/> - </boundsPeriod> - </repeat> - </timing> - </dosageInstruction> - <dispenseRequest> - <numberOfRepeatsAllowed value="1"/> - <quantity> - <value value="480"/> - <unit value="mL"/> - <system value="http://unitsofmeasure.org"/> - <code value="mL"/> - </quantity> - <expectedSupplyDuration> - <value value="30"/> - <unit value="days"/> - <system value="http://unitsofmeasure.org"/> - <code value="d"/> - </expectedSupplyDuration> - </dispenseRequest> -</MedicationRequest> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-blood-glucose.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-blood-glucose.xml deleted file mode 100644 index 1ff7b27bb4e..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-blood-glucose.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="blood-glucose"/> - <meta> - <versionId value="1165"/> - <lastUpdated value="2016-03-09T15:29:58.328+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: blood-glucose</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 2339-0}">Glucose Bld-mCnc</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 76.0 mg/dL</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td><td><b>AppliesTo</b></td></tr><tr><td>*</td><td>40.0 mg/dL</td><td>109.0 mg/dL</td><td><span title="Codes: {http://terminology.hl7.org/CodeSystem/referencerange-meaning normal}">Normal Range</span></td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="2339-0"/> - <display value="Glucose Bld-mCnc"/> - </coding> - <text value="Glucose Bld-mCnc"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueQuantity> - <value value="76.0"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - </valueQuantity> - <referenceRange> - <low> - <value value="40.0"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - <code value="mg/dL"/> - </low> - <high> - <value value="109.0"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - <code value="mg/dL"/> - </high> - <appliesTo> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/referencerange-meaning"/> - <code value="normal"/> - <display value="Normal Range"/> - </coding> - <text value="Normal Range"/> - </appliesTo> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-blood-pressure.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-blood-pressure.xml deleted file mode 100644 index 2799d894640..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-blood-pressure.xml +++ /dev/null @@ -1,68 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="blood-pressure"/> - <meta> - <profile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: blood-pressure</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 85354-9}">Blood pressure systolic and diastolic</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>encounter</b>: <span>GP Visit</span></p><p><b>effective</b>: 1999-07-02</p><blockquote><p><b>component</b></p><p><b>code</b>: <span title="Codes: {http://loinc.org 8480-6}">Systolic blood pressure</span></p><p><b>value</b>: 109 mmHg</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title="Codes: {http://loinc.org 8462-4}">Diastolic blood pressure</span></p><p><b>value</b>: 44 mmHg</p></blockquote></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="vital-signs"/> - <display value="Vital Signs"/> - </coding> - <text value="Vital Signs"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="85354-9"/> - <display value="Blood pressure panel with all children optional"/> - </coding> - <text value="Blood pressure systolic and diastolic"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <encounter> - <display value="GP Visit"/> - </encounter> - <effectiveDateTime value="1999-07-02"/> - <component> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="8480-6"/> - <display value="Systolic blood pressure"/> - </coding> - <text value="Systolic blood pressure"/> - </code> - <valueQuantity> - <value value="109"/> - <unit value="mmHg"/> - <system value="http://unitsofmeasure.org"/> - <code value="mm[Hg]"/> - </valueQuantity> - </component> - <component> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="8462-4"/> - <display value="Diastolic blood pressure"/> - </coding> - <text value="Diastolic blood pressure"/> - </code> - <valueQuantity> - <value value="44"/> - <unit value="mmHg"/> - <system value="http://unitsofmeasure.org"/> - <code value="mm[Hg]"/> - </valueQuantity> - </component> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-bmi.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-bmi.xml deleted file mode 100644 index b21e023b4df..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-bmi.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="bmi"/> - <meta> - <profile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: bmi</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 39156-5}">BMI</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>encounter</b>: <span>GP Visit</span></p><p><b>effective</b>: 1999-07-02</p><p><b>value</b>: 16.2 kg/m2</p></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="vital-signs"/> - <display value="Vital Signs"/> - </coding> - <text value="Vital Signs"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="39156-5"/> - <display value="Body mass index (BMI) [Ratio]"/> - </coding> - <text value="BMI"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <encounter> - <display value="GP Visit"/> - </encounter> - <effectiveDateTime value="1999-07-02"/> - <valueQuantity> - <value value="16.2"/> - <unit value="kg/m2"/> - <system value="http://unitsofmeasure.org"/> - <code value="kg/m2"/> - </valueQuantity> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-bp-data-absent.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-bp-data-absent.xml deleted file mode 100644 index 73d6fb7731c..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-bp-data-absent.xml +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="bp-data-absent"/> - <meta> - <profile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: bp-data-absent</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 85354-9}">Blood pressure systolic and diastolic</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>encounter</b>: <a href="Encounter-1036.html">Generated Summary: id: 1036; status: in-progress; <span title="{http://terminology.hl7.org/CodeSystem/v3-ActCode IMP}">inpatient encounter</span></a></p><p><b>effective</b>: 1999-07-02</p><blockquote><p><b>component</b></p><p><b>code</b>: <span title="Codes: {http://loinc.org 8480-6}">Systolic blood pressure</span></p><p><b>value</b>: 109 mmHg</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title="Codes: {http://loinc.org 8462-4}">Diastolic blood pressure</span></p><p><b>dataAbsentReason</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/data-absent-reason unknown}">Unknown</span></p></blockquote></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="vital-signs"/> - <display value="Vital Signs"/> - </coding> - <text value="Vital Signs"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="85354-9"/> - <display value="Blood pressure panel with all children optional"/> - </coding> - <text value="Blood pressure systolic and diastolic"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <encounter> - <reference value="Encounter/1036"/> - </encounter> - <effectiveDateTime value="1999-07-02"/> - <component> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="8480-6"/> - <display value="Systolic blood pressure"/> - </coding> - <text value="Systolic blood pressure"/> - </code> - <valueQuantity> - <value value="109"/> - <unit value="mmHg"/> - <system value="http://unitsofmeasure.org"/> - <code value="mm[Hg]"/> - </valueQuantity> - </component> - <component> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="8462-4"/> - <display value="Diastolic blood pressure"/> - </coding> - <text value="Diastolic blood pressure"/> - </code> - <dataAbsentReason> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/data-absent-reason"/> - <code value="unknown"/> - <display value="Unknown"/> - </coding> - <text value="Unknown"/> - </dataAbsentReason> - </component> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-bun.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-bun.xml deleted file mode 100644 index 30cfb171e2a..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-bun.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="bun"/> - <meta> - <versionId value="1237"/> - <lastUpdated value="2016-03-09T15:29:58.597+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: bun</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 3094-0}">BUN SerPl-mCnc</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 10.0 mg/dL</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td><td><b>AppliesTo</b></td></tr><tr><td>*</td><td>5.0 mg/dL</td><td>20.0 mg/dL</td><td><span title="Codes: {http://terminology.hl7.org/CodeSystem/referencerange-meaning normal}">Normal Range</span></td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="3094-0"/> - <display value="BUN SerPl-mCnc"/> - </coding> - <text value="BUN SerPl-mCnc"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueQuantity> - <value value="10.0"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - </valueQuantity> - <referenceRange> - <low> - <value value="5.0"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - <code value="mg/dL"/> - </low> - <high> - <value value="20.0"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - <code value="mg/dL"/> - </high> - <appliesTo> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/referencerange-meaning"/> - <code value="normal"/> - <display value="Normal Range"/> - </coding> - <text value="Normal Range"/> - </appliesTo> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-erythrocytes.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-erythrocytes.xml deleted file mode 100644 index bafd9c4c0c0..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-erythrocytes.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="erythrocytes"/> - <meta> - <versionId value="1189"/> - <lastUpdated value="2016-03-09T15:29:58.419+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: erythrocytes</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 789-8}">RBC # Bld Auto</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 4.58 10*6/uL</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td><td><b>AppliesTo</b></td></tr><tr><td>*</td><td>4.1 10*6/uL</td><td>6.1 10*6/uL</td><td><span title="Codes: {http://terminology.hl7.org/CodeSystem/referencerange-meaning normal}">Normal Range</span></td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="789-8"/> - <display value="RBC # Bld Auto"/> - </coding> - <text value="RBC # Bld Auto"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueQuantity> - <value value="4.58"/> - <unit value="10*6/uL"/> - <system value="http://unitsofmeasure.org"/> - </valueQuantity> - <referenceRange> - <low> - <value value="4.1"/> - <unit value="10*6/uL"/> - <system value="http://unitsofmeasure.org"/> - <code value="10*6/uL"/> - </low> - <high> - <value value="6.1"/> - <unit value="10*6/uL"/> - <system value="http://unitsofmeasure.org"/> - <code value="10*6/uL"/> - </high> - <appliesTo> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/referencerange-meaning"/> - <code value="normal"/> - <display value="Normal Range"/> - </coding> - <text value="Normal Range"/> - </appliesTo> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-heart-rate.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-heart-rate.xml deleted file mode 100644 index 5a8f261fc1d..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-heart-rate.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="heart-rate"/> - <meta> - <profile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: heart-rate</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 8867-4}">heart_rate</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>encounter</b>: <span>GP Visit</span></p><p><b>effective</b>: 1999-07-02</p><p><b>value</b>: 44.0 beats/min</p></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="vital-signs"/> - <display value="Vital Signs"/> - </coding> - <text value="Vital Signs"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="8867-4"/> - <display value="Heart Rate"/> - </coding> - <text value="heart_rate"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <encounter> - <display value="GP Visit"/> - </encounter> - <effectiveDateTime value="1999-07-02"/> - <valueQuantity> - <value value="44.0"/> - <unit value="beats/min"/> - <system value="http://unitsofmeasure.org"/> - <code value="/min"/> - </valueQuantity> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-height.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-height.xml deleted file mode 100644 index 2a833aa9889..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-height.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="height"/> - <meta> - <profile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: height</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 8302-2}">height</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>encounter</b>: <span>GP Visit</span></p><p><b>effective</b>: 1999-07-02</p><p><b>value</b>: 111.506 cm</p></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="vital-signs"/> - <display value="Vital Signs"/> - </coding> - <text value="Vital Signs"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="8302-2"/> - <display value="Body height"/> - </coding> - <text value="height"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <encounter> - <display value="GP Visit"/> - </encounter> - <effectiveDateTime value="1999-07-02"/> - <valueQuantity> - <value value="111.506"/> - <unit value="cm"/> - <system value="http://unitsofmeasure.org"/> - <code value="cm"/> - </valueQuantity> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-hemoglobin.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-hemoglobin.xml deleted file mode 100644 index 25c271ca39f..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-hemoglobin.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="hemoglobin"/> - <meta> - <versionId value="1046"/> - <lastUpdated value="2016-03-09T15:29:57.818+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: hemoglobin</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 718-7}">Hgb Bld-mCnc</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 17.0 g/dL</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td><td><b>AppliesTo</b></td></tr><tr><td>*</td><td>16.5 g/dL</td><td>21.5 g/dL</td><td><span title="Codes: {http://terminology.hl7.org/CodeSystem/referencerange-meaning normal}">Normal Range</span></td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="718-7"/> - <display value="Hgb Bld-mCnc"/> - </coding> - <text value="Hgb Bld-mCnc"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueQuantity> - <value value="17.0"/> - <unit value="g/dL"/> - <system value="http://unitsofmeasure.org"/> - </valueQuantity> - <referenceRange> - <low> - <value value="16.5"/> - <unit value="g/dL"/> - <system value="http://unitsofmeasure.org"/> - <code value="g/dL"/> - </low> - <high> - <value value="21.5"/> - <unit value="g/dL"/> - <system value="http://unitsofmeasure.org"/> - <code value="g/dL"/> - </high> - <appliesTo> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/referencerange-meaning"/> - <code value="normal"/> - <display value="Normal Range"/> - </coding> - <text value="Normal Range"/> - </appliesTo> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-length.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-length.xml deleted file mode 100644 index 78515bfc9ac..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-length.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="length"/> - <meta> - <profile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: length</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 8306-3}">length</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>encounter</b>: <span>GP Visit</span></p><p><b>effective</b>: 1999-07-02</p><p><b>value</b>: 25 cm</p></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="vital-signs"/> - <display value="Vital Signs"/> - </coding> - <text value="Vital Signs"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="8306-3"/> - <display value="Body height --lying"/> - </coding> - <text value="length"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <encounter> - <display value="GP Visit"/> - </encounter> - <effectiveDateTime value="1999-07-02"/> - <valueQuantity> - <value value="25"/> - <unit value="cm"/> - <system value="http://unitsofmeasure.org"/> - <code value="cm"/> - </valueQuantity> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-mchc.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-mchc.xml deleted file mode 100644 index 29bf7887308..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-mchc.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="mchc"/> - <meta> - <versionId value="879"/> - <lastUpdated value="2016-03-09T15:29:57.124+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: mchc</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 786-4}">MCHC RBC Auto-mCnc</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 34.7 g/dL</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td><td><b>AppliesTo</b></td></tr><tr><td>*</td><td>30.0 g/dL</td><td>34.0 g/dL</td><td><span title="Codes: {http://terminology.hl7.org/CodeSystem/referencerange-meaning normal}">Normal Range</span></td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="786-4"/> - <display value="MCHC RBC Auto-mCnc"/> - </coding> - <text value="MCHC RBC Auto-mCnc"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueQuantity> - <value value="34.7"/> - <unit value="g/dL"/> - <system value="http://unitsofmeasure.org"/> - </valueQuantity> - <referenceRange> - <low> - <value value="30.0"/> - <unit value="g/dL"/> - <system value="http://unitsofmeasure.org"/> - <code value="g/dL"/> - </low> - <high> - <value value="34.0"/> - <unit value="g/dL"/> - <system value="http://unitsofmeasure.org"/> - <code value="g/dL"/> - </high> - <appliesTo> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/referencerange-meaning"/> - <code value="normal"/> - <display value="Normal Range"/> - </coding> - <text value="Normal Range"/> - </appliesTo> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-neutrophils.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-neutrophils.xml deleted file mode 100644 index 4057f5bf157..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-neutrophils.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="neutrophils"/> - <meta> - <versionId value="1106"/> - <lastUpdated value="2016-03-09T15:29:58.052+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: neutrophils</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 770-8}">Neutrophils %</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 40.0 %</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td><td><b>AppliesTo</b></td></tr><tr><td>*</td><td>37.0 %</td><td>67.0 %</td><td><span title="Codes: {http://terminology.hl7.org/CodeSystem/referencerange-meaning normal}">Normal Range</span></td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="770-8"/> - <display value="Neutrophils/100 leukocytes in Blood by Automated count"/> - </coding> - <text value="Neutrophils %"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueQuantity> - <value value="40.0"/> - <unit value="%"/> - <system value="http://unitsofmeasure.org"/> - </valueQuantity> - <referenceRange> - <low> - <value value="37.0"/> - <unit value="%"/> - <system value="http://unitsofmeasure.org"/> - <code value="%"/> - </low> - <high> - <value value="67.0"/> - <unit value="%"/> - <system value="http://unitsofmeasure.org"/> - <code value="%"/> - </high> - <appliesTo> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/referencerange-meaning"/> - <code value="normal"/> - <display value="Normal Range"/> - </coding> - <text value="Normal Range"/> - </appliesTo> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-ofc-percentile.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-ofc-percentile.xml deleted file mode 100644 index fa83f9ce16d..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-ofc-percentile.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="ofc-percentile"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: ofc-percentile</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 8289-1}">Head Occipital-frontal circumference Percentile</span></p><p><b>subject</b>: <a href="Patient-infant-example.html">Infant Example. Generated Summary: id: infant-example; Medical Record Number = 1032703 (USUAL); active; Infant Example ; ph: 555-555-5555(HOME); gender: male; birthDate: 2020-06-02</a></p><p><b>effective</b>: 2020-07-01</p><p><b>value</b>: 82 %</p><p><b>note</b>: Annotation: WHO Males, 0-2 years Chart</p></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="vital-signs"/> - <display value="Vital Signs"/> - </coding> - <text value="Vital Signs"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="8289-1"/> - <display value="Head Occipital-frontal circumference Percentile"/> - </coding> - <text value="Head Occipital-frontal circumference Percentile"/> - </code> - <subject> - <reference value="Patient/infant-example"/> - <display value="Infant Example"/> - </subject> - <effectiveDateTime value="2020-07-01"/> - <valueQuantity> - <value value="82"/> - <unit value="%"/> - <system value="http://unitsofmeasure.org"/> - <code value="%"/> - </valueQuantity> - <note> - <text value="WHO Males, 0-2 years Chart"/> - </note> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-oxygen-saturation.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-oxygen-saturation.xml deleted file mode 100644 index a2ba0b185fc..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-oxygen-saturation.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="oxygen-saturation"/> - <meta> - <profile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: oxygen-saturation</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 59408-5}">oxygen_saturation</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>encounter</b>: <span>GP Visit</span></p><p><b>effective</b>: 1999-07-02</p><p><b>value</b>: 99.0 %O2</p></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="vital-signs"/> - <display value="Vital Signs"/> - </coding> - <text value="Vital Signs"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="59408-5"/> - <display value="Oxygen saturation in Arterial blood by Pulse oximetry"/> - </coding> - <text value="oxygen_saturation"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <encounter> - <display value="GP Visit"/> - </encounter> - <effectiveDateTime value="1999-07-02"/> - <valueQuantity> - <value value="99.0"/> - <unit value="%O2"/> - <system value="http://unitsofmeasure.org"/> - <code value="%"/> - </valueQuantity> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-pediatric-bmi-example.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-pediatric-bmi-example.xml deleted file mode 100644 index 93be72f379f..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-pediatric-bmi-example.xml +++ /dev/null @@ -1,45 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="pediatric-bmi-example"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: pediatric-bmi-example</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 59576-9}">BMI</span></p><p><b>subject</b>: <a href="Patient-child-example.html">Child Example. Generated Summary: id: child-example; Medical Record Number = 1032704 (USUAL); active; Child Example ; ph: 555-555-5555(HOME); gender: male; birthDate: 2016-01-15</a></p><p><b>encounter</b>: <span>GP Visit</span></p><p><b>effective</b>: May 4, 2019, 7:12:29 PM</p><p><b>value</b>: 65 %</p><p><b>note</b>: Annotation: CDC Males, 2-20 years Chart</p></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="vital-signs"/> - <display value="Vital Signs"/> - </coding> - <text value="Vital Signs"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="59576-9"/> - <display value="Body mass index (BMI) [Percentile] Per age and sex"/> - </coding> - <text value="BMI"/> - </code> - <subject> - <reference value="Patient/child-example"/> - <display value="Child Example"/> - </subject> - <encounter> - <display value="GP Visit"/> - </encounter> - <effectiveDateTime value="2019-05-04T12:12:29-07:00"/> - <valueQuantity> - <value value="65"/> - <unit value="%"/> - <system value="http://unitsofmeasure.org"/> - <code value="%"/> - </valueQuantity> - <note> - <text value="CDC Males, 2-20 years Chart"/> - </note> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-pediatric-wt-example.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-pediatric-wt-example.xml deleted file mode 100644 index 6ff43c5eddf..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-pediatric-wt-example.xml +++ /dev/null @@ -1,45 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="pediatric-wt-example"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: pediatric-wt-example</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 77606-2}">BMI</span></p><p><b>subject</b>: <a href="Patient-infant-example.html">Infant Example. Generated Summary: id: infant-example; Medical Record Number = 1032703 (USUAL); active; Infant Example ; ph: 555-555-5555(HOME); gender: male; birthDate: 2020-06-02</a></p><p><b>encounter</b>: <span>GP Visit</span></p><p><b>effective</b>: 2020-07-02</p><p><b>value</b>: 65 %</p><p><b>note</b>: Annotation: WHO Males, 0-2 years Chart</p></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="vital-signs"/> - <display value="Vital Signs"/> - </coding> - <text value="Vital Signs"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="77606-2"/> - <display value="Weight-for-length Per age and sex"/> - </coding> - <text value="BMI"/> - </code> - <subject> - <reference value="Patient/infant-example"/> - <display value="Infant Example"/> - </subject> - <encounter> - <display value="GP Visit"/> - </encounter> - <effectiveDateTime value="2020-07-02"/> - <valueQuantity> - <value value="65"/> - <unit value="%"/> - <system value="http://unitsofmeasure.org"/> - <code value="%"/> - </valueQuantity> - <note> - <text value="WHO Males, 0-2 years Chart"/> - </note> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-respiratory-rate.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-respiratory-rate.xml deleted file mode 100644 index b3b284da786..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-respiratory-rate.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="respiratory-rate"/> - <meta> - <profile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: respiratory-rate</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 9279-1}">respiratory_rate</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>encounter</b>: <span>GP Visit</span></p><p><b>effective</b>: 1999-07-02</p><p><b>value</b>: 26.0 breaths per minute</p></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="vital-signs"/> - <display value="Vital Signs"/> - </coding> - <text value="Vital Signs"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="9279-1"/> - <display value="Respiratory rate"/> - </coding> - <text value="respiratory_rate"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <encounter> - <display value="GP Visit"/> - </encounter> - <effectiveDateTime value="1999-07-02"/> - <valueQuantity> - <value value="26.0"/> - <unit value="breaths per minute"/> - <system value="http://unitsofmeasure.org"/> - <code value="/min"/> - </valueQuantity> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-satO2-fiO2.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-satO2-fiO2.xml deleted file mode 100644 index 90a2e3a874c..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-satO2-fiO2.xml +++ /dev/null @@ -1,92 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="satO2-fiO2"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: satO2-fiO2</p><p><b>meta</b>: </p><p><b>identifier</b>: o1223435-10</p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 2708-6}, {http://loinc.org 59408-5}, {urn:iso:std:iso:11073:10101 150456}">Oxygen saturation in Arterial blood</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: Dec 5, 2014, 8:30:10 AM</p><p><b>value</b>: 95 %</p><p><b>interpretation</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation N}">Normal (applies to non-numeric results)</span></p><p><b>device</b>: <span>Acme Pulse Oximeter 2000</span></p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td></tr><tr><td>*</td><td>90 %</td><td>99 %</td></tr></table><h3>Components</h3><table class="grid"><tr><td>-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td>*</td><td><span title="Codes: {http://loinc.org 3151-8}">Inhaled oxygen flow rate</span></td><td>6 liters/min</td></tr></table></div> - </text> - <identifier> - <system value="http://goodcare.org/observation/id"/> - <value value="o1223435-10"/> - </identifier> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="vital-signs"/> - <display value="Vital Signs"/> - </coding> - <text value="Vital Signs"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="2708-6"/> - <display value="Oxygen saturation in Arterial blood"/> - </coding> - <coding> - <system value="http://loinc.org"/> - <code value="59408-5"/> - <display value="Oxygen saturation in Arterial blood by Pulse oximetry"/> - </coding> - <coding> - <system value="urn:iso:std:iso:11073:10101"/> - <code value="150456"/> - <display value="MDC_PULS_OXIM_SAT_O2"/> - </coding> - </code> - <subject> - <reference value="Patient/example"/> - </subject> - <effectiveDateTime value="2014-12-05T09:30:10+01:00"/> - <valueQuantity> - <value value="95"/> - <unit value="%"/> - <system value="http://unitsofmeasure.org"/> - <code value="%"/> - </valueQuantity> - <interpretation> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"/> - <code value="N"/> - <display value="Normal"/> - </coding> - <text value="Normal (applies to non-numeric results)"/> - </interpretation> - <device> - <display value="Acme Pulse Oximeter 2000"/> - </device> - <referenceRange> - <low> - <value value="90"/> - <unit value="%"/> - <system value="http://unitsofmeasure.org"/> - <code value="%"/> - </low> - <high> - <value value="99"/> - <unit value="%"/> - <system value="http://unitsofmeasure.org"/> - <code value="%"/> - </high> - </referenceRange> - <component> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="3151-8"/> - <display value="Inhaled oxygen flow rate"/> - </coding> - <text value="Inhaled oxygen flow rate"/> - </code> - <valueQuantity> - <value value="6"/> - <unit value="liters/min"/> - <system value="http://unitsofmeasure.org"/> - <code value="L/min"/> - </valueQuantity> - </component> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-calcium.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-calcium.xml deleted file mode 100644 index b948ebb3b39..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-calcium.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="serum-calcium"/> - <meta> - <versionId value="902"/> - <lastUpdated value="2016-03-09T15:29:57.227+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: serum-calcium</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 17861-6}">Calcium SerPl-mCnc</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 7.7 mg/dL</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td><td><b>AppliesTo</b></td></tr><tr><td>*</td><td>8.5 mg/dL</td><td>10.5 mg/dL</td><td><span title="Codes: {http://terminology.hl7.org/CodeSystem/referencerange-meaning normal}">Normal Range</span></td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="17861-6"/> - <display value="Calcium SerPl-mCnc"/> - </coding> - <text value="Calcium SerPl-mCnc"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueQuantity> - <value value="7.7"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - </valueQuantity> - <referenceRange> - <low> - <value value="8.5"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - <code value="mg/dL"/> - </low> - <high> - <value value="10.5"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - <code value="mg/dL"/> - </high> - <appliesTo> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/referencerange-meaning"/> - <code value="normal"/> - <display value="Normal Range"/> - </coding> - <text value="Normal Range"/> - </appliesTo> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-chloride.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-chloride.xml deleted file mode 100644 index f7e113b1b46..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-chloride.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="serum-chloride"/> - <meta> - <versionId value="950"/> - <lastUpdated value="2016-03-09T15:29:57.427+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: serum-chloride</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 2075-0}">Chloride SerPl-sCnc</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 105.0 mmol/L</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td><td><b>AppliesTo</b></td></tr><tr><td>*</td><td>95.0 mmol/L</td><td>105.0 mmol/L</td><td><span title="Codes: {http://terminology.hl7.org/CodeSystem/referencerange-meaning normal}">Normal Range</span></td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="2075-0"/> - <display value="Chloride SerPl-sCnc"/> - </coding> - <text value="Chloride SerPl-sCnc"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueQuantity> - <value value="105.0"/> - <unit value="mmol/L"/> - <system value="http://unitsofmeasure.org"/> - </valueQuantity> - <referenceRange> - <low> - <value value="95.0"/> - <unit value="mmol/L"/> - <system value="http://unitsofmeasure.org"/> - <code value="mmol/L"/> - </low> - <high> - <value value="105.0"/> - <unit value="mmol/L"/> - <system value="http://unitsofmeasure.org"/> - <code value="mmol/L"/> - </high> - <appliesTo> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/referencerange-meaning"/> - <code value="normal"/> - <display value="Normal Range"/> - </coding> - <text value="Normal Range"/> - </appliesTo> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-co2.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-co2.xml deleted file mode 100644 index 5b5b8b668be..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-co2.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="serum-co2"/> - <meta> - <versionId value="962"/> - <lastUpdated value="2016-03-09T15:29:57.477+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: serum-co2</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 2028-9}">CO2 SerPl-sCnc</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 24.0 mmol/L</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td><td><b>AppliesTo</b></td></tr><tr><td>*</td><td>22.0 mmol/L</td><td>29.0 mmol/L</td><td><span title="Codes: {http://terminology.hl7.org/CodeSystem/referencerange-meaning normal}">Normal Range</span></td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="2028-9"/> - <display value="CO2 SerPl-sCnc"/> - </coding> - <text value="CO2 SerPl-sCnc"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueQuantity> - <value value="24.0"/> - <unit value="mmol/L"/> - <system value="http://unitsofmeasure.org"/> - </valueQuantity> - <referenceRange> - <low> - <value value="22.0"/> - <unit value="mmol/L"/> - <system value="http://unitsofmeasure.org"/> - <code value="mmol/L"/> - </low> - <high> - <value value="29.0"/> - <unit value="mmol/L"/> - <system value="http://unitsofmeasure.org"/> - <code value="mmol/L"/> - </high> - <appliesTo> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/referencerange-meaning"/> - <code value="normal"/> - <display value="Normal Range"/> - </coding> - <text value="Normal Range"/> - </appliesTo> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-creatinine.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-creatinine.xml deleted file mode 100644 index 0dc32625283..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-creatinine.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="serum-creatinine"/> - <meta> - <versionId value="926"/> - <lastUpdated value="2016-03-09T15:29:57.327+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: serum-creatinine</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 2160-0}">Creat SerPl-mCnc</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 1.0 mg/dL</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td><td><b>AppliesTo</b></td></tr><tr><td>*</td><td>0.2 mg/dL</td><td>0.6 mg/dL</td><td><span title="Codes: {http://terminology.hl7.org/CodeSystem/referencerange-meaning normal}">Normal Range</span></td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="2160-0"/> - <display value="Creat SerPl-mCnc"/> - </coding> - <text value="Creat SerPl-mCnc"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueQuantity> - <value value="1.0"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - </valueQuantity> - <referenceRange> - <low> - <value value="0.2"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - <code value="mg/dL"/> - </low> - <high> - <value value="0.6"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - <code value="mg/dL"/> - </high> - <appliesTo> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/referencerange-meaning"/> - <code value="normal"/> - <display value="Normal Range"/> - </coding> - <text value="Normal Range"/> - </appliesTo> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-potassium.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-potassium.xml deleted file mode 100644 index 54035b712c4..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-potassium.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="serum-potassium"/> - <meta> - <versionId value="938"/> - <lastUpdated value="2016-03-09T15:29:57.376+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: serum-potassium</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 2823-3}">Potassium SerPl-sCnc</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 5.4 mmol/L</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td><td><b>AppliesTo</b></td></tr><tr><td>*</td><td>3.5 mmol/L</td><td>5.5 mmol/L</td><td><span title="Codes: {http://terminology.hl7.org/CodeSystem/referencerange-meaning normal}">Normal Range</span></td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="2823-3"/> - <display value="Potassium SerPl-sCnc"/> - </coding> - <text value="Potassium SerPl-sCnc"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueQuantity> - <value value="5.4"/> - <unit value="mmol/L"/> - <system value="http://unitsofmeasure.org"/> - </valueQuantity> - <referenceRange> - <low> - <value value="3.5"/> - <unit value="mmol/L"/> - <system value="http://unitsofmeasure.org"/> - <code value="mmol/L"/> - </low> - <high> - <value value="5.5"/> - <unit value="mmol/L"/> - <system value="http://unitsofmeasure.org"/> - <code value="mmol/L"/> - </high> - <appliesTo> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/referencerange-meaning"/> - <code value="normal"/> - <display value="Normal Range"/> - </coding> - <text value="Normal Range"/> - </appliesTo> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-sodium.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-sodium.xml deleted file mode 100644 index 298f50cdb68..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-sodium.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="serum-sodium"/> - <meta> - <versionId value="914"/> - <lastUpdated value="2016-03-09T15:29:57.277+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: serum-sodium</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 2951-2}">Sodium SerPl-sCnc</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 137.0 mmol/L</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td><td><b>AppliesTo</b></td></tr><tr><td>*</td><td>135.0 mmol/L</td><td>145.0 mmol/L</td><td><span title="Codes: {http://terminology.hl7.org/CodeSystem/referencerange-meaning normal}">Normal Range</span></td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="2951-2"/> - <display value="Sodium SerPl-sCnc"/> - </coding> - <text value="Sodium SerPl-sCnc"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueQuantity> - <value value="137.0"/> - <unit value="mmol/L"/> - <system value="http://unitsofmeasure.org"/> - </valueQuantity> - <referenceRange> - <low> - <value value="135.0"/> - <unit value="mmol/L"/> - <system value="http://unitsofmeasure.org"/> - <code value="mmol/L"/> - </low> - <high> - <value value="145.0"/> - <unit value="mmol/L"/> - <system value="http://unitsofmeasure.org"/> - <code value="mmol/L"/> - </high> - <appliesTo> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/referencerange-meaning"/> - <code value="normal"/> - <display value="Normal Range"/> - </coding> - <text value="Normal Range"/> - </appliesTo> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-total-bilirubin.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-total-bilirubin.xml deleted file mode 100644 index ad1ed748297..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-serum-total-bilirubin.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="serum-total-bilirubin"/> - <meta> - <versionId value="1364"/> - <lastUpdated value="2016-03-09T15:29:59.089+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: serum-total-bilirubin</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 1975-2}">Bilirub SerPl-mCnc</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-07</p><p><b>value</b>: 8.6 mg/dL</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td><td><b>AppliesTo</b></td></tr><tr><td>*</td><td>2.0 mg/dL</td><td>7.0 mg/dL</td><td><span title="Codes: {http://terminology.hl7.org/CodeSystem/referencerange-meaning normal}">Normal Range</span></td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="1975-2"/> - <display value="Bilirub SerPl-mCnc"/> - </coding> - <text value="Bilirub SerPl-mCnc"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-07"/> - <valueQuantity> - <value value="8.6"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - </valueQuantity> - <referenceRange> - <low> - <value value="2.0"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - <code value="mg/dL"/> - </low> - <high> - <value value="7.0"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - <code value="mg/dL"/> - </high> - <appliesTo> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/referencerange-meaning"/> - <code value="normal"/> - <display value="Normal Range"/> - </coding> - <text value="Normal Range"/> - </appliesTo> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-some-day-smoker.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-some-day-smoker.xml deleted file mode 100644 index c2025abba0e..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-some-day-smoker.xml +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="some-day-smoker"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: some-day-smoker</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category social-history}">Social History</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 72166-2}">Tobacco smoking status</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>issued</b>: Mar 18, 2016, 5:27:04 AM</p><p><b>value</b>: <span title="Codes: {http://snomed.info/sct 428041000124106}">Current some day smoker</span></p></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="social-history"/> - <display value="Social History"/> - </coding> - <text value="Social History"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="72166-2"/> - <display value="Tobacco smoking status"/> - </coding> - <text value="Tobacco smoking status"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <issued value="2016-03-18T05:27:04Z"/> - <valueCodeableConcept> - <coding> - <system value="http://snomed.info/sct"/> - <code value="428041000124106"/> - </coding> - <text value="Current some day smoker"/> - </valueCodeableConcept> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-temperature.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-temperature.xml deleted file mode 100644 index 52e83d5bd32..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-temperature.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="temperature"/> - <meta> - <profile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: temperature</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 8310-5}">temperature</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>encounter</b>: <span>GP Visit</span></p><p><b>effective</b>: 1999-07-02</p><p><b>value</b>: 36.55556 Cel</p></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="vital-signs"/> - <display value="Vital Signs"/> - </coding> - <text value="Vital Signs"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="8310-5"/> - <display value="Body temperature"/> - </coding> - <text value="temperature"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <encounter> - <display value="GP Visit"/> - </encounter> - <effectiveDateTime value="1999-07-02"/> - <valueQuantity> - <value value="36.55556"/> - <unit value="Cel"/> - <system value="http://unitsofmeasure.org"/> - <code value="Cel"/> - </valueQuantity> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-bacteria.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-bacteria.xml deleted file mode 100644 index a7bfe67d080..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-bacteria.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="urine-bacteria"/> - <meta> - <versionId value="206540"/> - <lastUpdated value="2016-04-18T03:56:41.250+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: urine-bacteria</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 25145-4}">BACTERIA</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: <span title="Codes: {http://snomed.info/sct 260350009}">4+</span></p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Text</b></td></tr><tr><td>*</td><td>0-1+</td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="25145-4"/> - <display value="Bacteria [Presence] in Urine sediment by Light microscopy"/> - </coding> - <text value="BACTERIA"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueCodeableConcept> - <coding> - <system value="http://snomed.info/sct"/> - <code value="260350009"/> - <display value="++++"/> - </coding> - <text value="4+"/> - </valueCodeableConcept> - <referenceRange> - <text value="0-1+"/> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-bilirubin.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-bilirubin.xml deleted file mode 100644 index 376d66ad49f..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-bilirubin.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="urine-bilirubin"/> - <meta> - <versionId value="206456"/> - <lastUpdated value="2016-04-18T03:37:21.259+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: urine-bilirubin</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 5770-3}">BILIRUBIN</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: <span title="Codes: {http://snomed.info/sct 260385009}">Negative</span></p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Text</b></td></tr><tr><td>*</td><td>Negative</td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="5770-3"/> - <display value="Bilirubin.total [Presence] in Urine by Test strip"/> - </coding> - <text value="BILIRUBIN"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueCodeableConcept> - <coding> - <system value="http://snomed.info/sct"/> - <code value="260385009"/> - <display value="Negative"/> - </coding> - <text value="Negative"/> - </valueCodeableConcept> - <referenceRange> - <text value="Negative"/> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-cells.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-cells.xml deleted file mode 100644 index 1b194ee9091..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-cells.xml +++ /dev/null @@ -1,52 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="urine-cells"/> - <meta> - <versionId value="206624"/> - <lastUpdated value="2016-04-18T04:23:12.123+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: urine-cells</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 5787-7}">EPITHELIAL CELLS</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 1-5 cells/HPF</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Text</b></td></tr><tr><td>*</td><td>None Seen/HPF</td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="5787-7"/> - <display value="Epithelial cells [#/area] in Urine sediment by Microscopy high power field"/> - </coding> - <text value="EPITHELIAL CELLS"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueRange> - <low> - <value value="1"/> - <unit value="cells/HPF"/> - <system value="http://unitsofmeasure.org"/> - <code value="/[HPF]"/> - </low> - <high> - <value value="5"/> - <unit value="cells/HPF"/> - <system value="http://unitsofmeasure.org"/> - <code value="/[HPF]"/> - </high> - </valueRange> - <referenceRange> - <text value="None Seen/HPF"/> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-clarity.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-clarity.xml deleted file mode 100644 index f6830db35ac..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-clarity.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="urine-clarity"/> - <meta> - <versionId value="206432"/> - <lastUpdated value="2016-04-18T03:33:00.502+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: urine-clarity</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 32167-9}">APPEARANCE</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: <span title="Codes: {http://snomed.info/sct 81858005}">Hazy</span></p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Text</b></td></tr><tr><td>*</td><td>Clear</td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="32167-9"/> - <display value="Clarity of Urine"/> - </coding> - <text value="APPEARANCE"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueCodeableConcept> - <coding> - <system value="http://snomed.info/sct"/> - <code value="81858005"/> - <display value="Cloudy"/> - </coding> - <text value="Hazy"/> - </valueCodeableConcept> - <referenceRange> - <text value="Clear"/> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-color.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-color.xml deleted file mode 100644 index 53007072549..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-color.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="urine-color"/> - <meta> - <versionId value="206419"/> - <lastUpdated value="2016-04-18T03:27:43.203+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: urine-color</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 5778-6}">COLOR</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: <span title="Codes: {http://snomed.info/sct 371244009}">Yellow</span></p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Text</b></td></tr><tr><td>*</td><td>Yellow</td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="5778-6"/> - <display value="Color of Urine"/> - </coding> - <text value="COLOR"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueCodeableConcept> - <coding> - <system value="http://snomed.info/sct"/> - <code value="371244009"/> - <display value="Yellow"/> - </coding> - <text value="Yellow"/> - </valueCodeableConcept> - <referenceRange> - <text value="Yellow"/> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-epi-cells.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-epi-cells.xml deleted file mode 100644 index d72830d2aa3..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-epi-cells.xml +++ /dev/null @@ -1,52 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="urine-epi-cells"/> - <meta> - <versionId value="206624"/> - <lastUpdated value="2016-04-18T04:23:12.123+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: urine-epi-cells</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 5787-7}">EPITHELIAL CELLS</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 1-5 cells/HPF</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Text</b></td></tr><tr><td>*</td><td>None Seen/HPF</td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="5787-7"/> - <display value="Epithelial cells [#/area] in Urine sediment by Microscopy high power field"/> - </coding> - <text value="EPITHELIAL CELLS"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueRange> - <low> - <value value="1"/> - <unit value="cells/HPF"/> - <system value="http://unitsofmeasure.org"/> - <code value="/[HPF]"/> - </low> - <high> - <value value="5"/> - <unit value="cells/HPF"/> - <system value="http://unitsofmeasure.org"/> - <code value="/[HPF]"/> - </high> - </valueRange> - <referenceRange> - <text value="None Seen/HPF"/> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-glucose.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-glucose.xml deleted file mode 100644 index 9d6e6ac4af4..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-glucose.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="urine-glucose"/> - <meta> - <versionId value="206444"/> - <lastUpdated value="2016-04-18T03:35:42.751+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: urine-glucose</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 25428-4}">GLUCOSE</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: <span title="Codes: {http://snomed.info/sct 260385009}">Negative</span></p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Text</b></td></tr><tr><td>*</td><td>Negative</td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="25428-4"/> - <display value="Glucose [Presence] in Urine by Test strip"/> - </coding> - <text value="GLUCOSE"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueCodeableConcept> - <coding> - <system value="http://snomed.info/sct"/> - <code value="260385009"/> - <display value="Negative"/> - </coding> - <text value="Negative"/> - </valueCodeableConcept> - <referenceRange> - <text value="Negative"/> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-hemoglobin.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-hemoglobin.xml deleted file mode 100644 index 9f0b8e480cd..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-hemoglobin.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="urine-hemoglobin"/> - <meta> - <versionId value="206504"/> - <lastUpdated value="2016-04-18T03:45:25.300+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: urine-hemoglobin</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 5794-3}">BLOOD</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: <span title="Codes: {http://snomed.info/sct 260405006}">Trace</span></p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Text</b></td></tr><tr><td>*</td><td>Negative</td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="5794-3"/> - <display value="Hemoglobin [Presence] in Urine by Test strip"/> - </coding> - <text value="BLOOD"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueCodeableConcept> - <coding> - <system value="http://snomed.info/sct"/> - <code value="260405006"/> - <display value="Trace"/> - </coding> - <text value="Trace"/> - </valueCodeableConcept> - <referenceRange> - <text value="Negative"/> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-ketone.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-ketone.xml deleted file mode 100644 index c08e2ca7859..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-ketone.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="urine-ketone"/> - <meta> - <versionId value="206468"/> - <lastUpdated value="2016-04-18T03:39:00.812+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: urine-ketone</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 2514-8}">KETONE</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: <span title="Codes: {http://snomed.info/sct 260385009}">Negative</span></p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Text</b></td></tr><tr><td>*</td><td>Negative</td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="2514-8"/> - <display value="Ketones [Presence] in Urine by Test strip"/> - </coding> - <text value="KETONE"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueCodeableConcept> - <coding> - <system value="http://snomed.info/sct"/> - <code value="260385009"/> - <display value="Negative"/> - </coding> - <text value="Negative"/> - </valueCodeableConcept> - <referenceRange> - <text value="Negative"/> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-leukocyte-esterase.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-leukocyte-esterase.xml deleted file mode 100644 index 76c353bb87f..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-leukocyte-esterase.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="urine-leukocyte-esterase"/> - <meta> - <versionId value="206552"/> - <lastUpdated value="2016-04-18T03:58:45.747+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: urine-leukocyte-esterase</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 5799-2}">LEUK ESTERASE</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: <span title="Codes: {http://snomed.info/sct 260348001}">2+</span></p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Text</b></td></tr><tr><td>*</td><td>Negative</td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="5799-2"/> - <display value="Leukocyte esterase [Presence] in Urine by Test strip"/> - </coding> - <text value="LEUK ESTERASE"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueCodeableConcept> - <coding> - <system value="http://snomed.info/sct"/> - <code value="260348001"/> - <display value="++"/> - </coding> - <text value="2+"/> - </valueCodeableConcept> - <referenceRange> - <text value="Negative"/> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-nitrite.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-nitrite.xml deleted file mode 100644 index 0637b6abaea..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-nitrite.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="urine-nitrite"/> - <meta> - <versionId value="206492"/> - <lastUpdated value="2016-04-18T03:42:34.440+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: urine-nitrite</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 5802-4}">NITRITE</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: <span title="Codes: {http://snomed.info/sct 10828004}">Positive</span></p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Text</b></td></tr><tr><td>*</td><td>Negative</td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="5802-4"/> - <display value="Nitrite [Presence] in Urine by Test strip"/> - </coding> - <text value="NITRITE"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueCodeableConcept> - <coding> - <system value="http://snomed.info/sct"/> - <code value="10828004"/> - <display value="Positive"/> - </coding> - <text value="Positive"/> - </valueCodeableConcept> - <referenceRange> - <text value="Negative"/> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-ph.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-ph.xml deleted file mode 100644 index a66c81df161..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-ph.xml +++ /dev/null @@ -1,55 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="urine-ph"/> - <meta> - <versionId value="206600"/> - <lastUpdated value="2016-04-18T04:12:25.425+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: urine-ph</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 5803-2}">PH</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 6.0 (pH)</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td></tr><tr><td>*</td><td>5.0 (pH)</td><td>8.0 (pH)</td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="5803-2"/> - <display value="pH of Urine by Test strip"/> - </coding> - <text value="PH"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueQuantity> - <value value="6.0"/> - <unit value="(pH)"/> - <system value="http://unitsofmeasure.org"/> - <code value="[pH]"/> - </valueQuantity> - <referenceRange> - <low> - <value value="5.0"/> - <unit value="(pH)"/> - <system value="http://unitsofmeasure.org"/> - <code value="[pH]"/> - </low> - <high> - <value value="8.0"/> - <unit value="(pH)"/> - <system value="http://unitsofmeasure.org"/> - <code value="[pH]"/> - </high> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-protein.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-protein.xml deleted file mode 100644 index 5c6cd39dcbf..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-protein.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="urine-protein"/> - <meta> - <versionId value="206480"/> - <lastUpdated value="2016-04-18T03:40:36.404+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: urine-protein</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 20454-5}">PROTEIN</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: <span title="Codes: {http://snomed.info/sct 260385009}">Negative</span></p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Text</b></td></tr><tr><td>*</td><td>Negative</td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="20454-5"/> - <display value="Protein [Presence] in Urine by Test strip"/> - </coding> - <text value="PROTEIN"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueCodeableConcept> - <coding> - <system value="http://snomed.info/sct"/> - <code value="260385009"/> - <display value="Negative"/> - </coding> - <text value="Negative"/> - </valueCodeableConcept> - <referenceRange> - <text value="Negative"/> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-rbcs.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-rbcs.xml deleted file mode 100644 index c27bd4f6819..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-rbcs.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="urine-rbcs"/> - <meta> - <versionId value="206565"/> - <lastUpdated value="2016-04-18T04:00:52.434+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: urine-rbcs</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 13945-1}">RBC</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: <span title="Codes: {http://snomed.info/sct 84638005}">Occasional</span></p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Text</b></td></tr><tr><td>*</td><td>None Seen/HPF</td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="13945-1"/> - <display value="Erythrocytes [#/area] in Urine sediment by Microscopy high power field"/> - </coding> - <text value="RBC"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueCodeableConcept> - <coding> - <system value="http://snomed.info/sct"/> - <code value="84638005"/> - <display value="Occasional"/> - </coding> - <text value="Occasional"/> - </valueCodeableConcept> - <referenceRange> - <text value="None Seen/HPF"/> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-sediment.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-sediment.xml deleted file mode 100644 index d3d72dce773..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-sediment.xml +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="urine-sediment"/> - <meta> - <versionId value="206577"/> - <lastUpdated value="2016-04-18T04:07:12.383+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: urine-sediment</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 11279-7}">COMMENT</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: Recommend Urine Culture</p></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="11279-7"/> - <display value="Urine sediment comments by Light microscopy Narrative"/> - </coding> - <text value="COMMENT"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueString value="Recommend Urine Culture"/> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-wbcs.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-wbcs.xml deleted file mode 100644 index 08447a283c7..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urine-wbcs.xml +++ /dev/null @@ -1,52 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="urine-wbcs"/> - <meta> - <versionId value="206635"/> - <lastUpdated value="2016-04-18T04:25:02.064+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: urine-wbcs</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 5821-4}">WBC</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 20-30 cells/HPF</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Text</b></td></tr><tr><td>*</td><td>None Seen/HPF</td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="5821-4"/> - <display value="Leukocytes [#/area] in Urine sediment by Microscopy high power field"/> - </coding> - <text value="WBC"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueRange> - <low> - <value value="20"/> - <unit value="cells/HPF"/> - <system value="http://unitsofmeasure.org"/> - <code value="/[HPF]"/> - </low> - <high> - <value value="30"/> - <unit value="cells/HPF"/> - <system value="http://unitsofmeasure.org"/> - <code value="/[HPF]"/> - </high> - </valueRange> - <referenceRange> - <text value="None Seen/HPF"/> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urobilinogen.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urobilinogen.xml deleted file mode 100644 index 7769a6ec5eb..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-urobilinogen.xml +++ /dev/null @@ -1,55 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="urobilinogen"/> - <meta> - <versionId value="206612"/> - <lastUpdated value="2016-04-18T04:20:46.618+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: urobilinogen</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 20405-7}">UROBILINOGEN</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 0.3 mg/dL</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td></tr><tr><td>*</td><td>0.1 mg/dL</td><td>1.0 mg/dL</td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="20405-7"/> - <display value="Urobilinogen [Mass/volume] in Urine by Test strip"/> - </coding> - <text value="UROBILINOGEN"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueQuantity> - <value value="0.3"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - <code value="mg/dL"/> - </valueQuantity> - <referenceRange> - <low> - <value value="0.1"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - <code value="mg/dL"/> - </low> - <high> - <value value="1.0"/> - <unit value="mg/dL"/> - <system value="http://unitsofmeasure.org"/> - <code value="mg/dL"/> - </high> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-usg.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-usg.xml deleted file mode 100644 index 747ec38895b..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-usg.xml +++ /dev/null @@ -1,52 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="usg"/> - <meta> - <versionId value="206588"/> - <lastUpdated value="2016-04-18T04:10:12.426+00:00"/> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: usg</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 5811-5}">SPEC GRAV</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>effective</b>: 2005-07-05</p><p><b>value</b>: 1.017 {urine specific gravity}</p><h3>ReferenceRanges</h3><table class="grid"><tr><td>-</td><td><b>Low</b></td><td><b>High</b></td></tr><tr><td>*</td><td>1.003 {urine specific gravity}</td><td>1.035 {urine specific gravity}</td></tr></table></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="laboratory"/> - <display value="Laboratory"/> - </coding> - <text value="Laboratory"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="5811-5"/> - <display value="Specific gravity of Urine by Test strip"/> - </coding> - <text value="SPEC GRAV"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <effectiveDateTime value="2005-07-05"/> - <valueQuantity> - <value value="1.017"/> - <system value="http://unitsofmeasure.org"/> - <code value="{urine specific gravity}"/> - </valueQuantity> - <referenceRange> - <low> - <value value="1.003"/> - <system value="http://unitsofmeasure.org"/> - <code value="{urine specific gravity}"/> - </low> - <high> - <value value="1.035"/> - <system value="http://unitsofmeasure.org"/> - <code value="{urine specific gravity}"/> - </high> - </referenceRange> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-vitals-panel.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-vitals-panel.xml deleted file mode 100644 index ba0f987de70..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-vitals-panel.xml +++ /dev/null @@ -1,48 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="vitals-panel"/> - <meta> - <profile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: vitals-panel</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 85353-1}">Vital signs panel</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>encounter</b>: <span>GP Visit</span></p><p><b>effective</b>: 1999-07-02</p><p><b>hasMember</b>: </p><ul><li><a href="Observation-respiratory-rate.html">Respiratory rate. Generated Summary: id: respiratory-rate; <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span>; <span title="Codes: {http://loinc.org 9279-1}">respiratory_rate</span>; effective: 1999-07-02; 26.0 breaths per minute</a></li><li><a href="Observation-heart-rate.html">Heart rate. Generated Summary: id: heart-rate; <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span>; <span title="Codes: {http://loinc.org 8867-4}">heart_rate</span>; effective: 1999-07-02; 44.0 beats/min</a></li><li><a href="Observation-blood-pressure.html">Blood Pressure. Generated Summary: id: blood-pressure; <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span>; <span title="Codes: {http://loinc.org 85354-9}">Blood pressure systolic and diastolic</span>; effective: 1999-07-02</a></li></ul></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="vital-signs"/> - <display value="Vital Signs"/> - </coding> - <text value="Vital Signs"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="85353-1"/> - <display value="Vital signs, weight, height, head circumference, oxygen saturation and BMI panel"/> - </coding> - <text value="Vital signs panel"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <encounter> - <display value="GP Visit"/> - </encounter> - <effectiveDateTime value="1999-07-02"/> - <hasMember> - <reference value="Observation/respiratory-rate"/> - <display value="Respiratory rate"/> - </hasMember> - <hasMember> - <reference value="Observation/heart-rate"/> - <display value="Heart rate"/> - </hasMember> - <hasMember> - <reference value="Observation/blood-pressure"/> - <display value="Blood Pressure"/> - </hasMember> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-weight.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-weight.xml deleted file mode 100644 index b7d9dc6799b..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Observation-weight.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Observation xmlns="http://hl7.org/fhir"> - <id value="weight"/> - <meta> - <profile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: weight</p><p><b>meta</b>: </p><p></p><p><b>category</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/observation-category vital-signs}">Vital Signs</span></p><p><b>code</b>: <span title="Codes: {http://loinc.org 29463-7}">weight</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>encounter</b>: <span>GP Visit</span></p><p><b>effective</b>: 1999-07-02</p><p><b>value</b>: 20.09414 kg</p></div> - </text> - <status value="final"/> - <category> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> - <code value="vital-signs"/> - <display value="Vital Signs"/> - </coding> - <text value="Vital Signs"/> - </category> - <code> - <coding> - <system value="http://loinc.org"/> - <code value="29463-7"/> - <display value="Body Weight"/> - </coding> - <text value="weight"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <encounter> - <display value="GP Visit"/> - </encounter> - <effectiveDateTime value="1999-07-02"/> - <valueQuantity> - <value value="20.09414"/> - <unit value="kg"/> - <system value="http://unitsofmeasure.org"/> - <code value="kg"/> - </valueQuantity> -</Observation> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/OperationDefinition-docref.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/OperationDefinition-docref.xml deleted file mode 100644 index 04cda187ba4..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/OperationDefinition-docref.xml +++ /dev/null @@ -1,123 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<OperationDefinition xmlns="http://hl7.org/fhir"> - <id value="docref"/> - <text> - <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml"><h2>USCoreFetchDocumentReferences</h2><p>OPERATION: USCoreFetchDocumentReferences</p><p>The official URL for this operation definition is: </p><pre>http://hl7.org/fhir/us/core/OperationDefinition/docref</pre><div><p>This operation is used to return all the references to documents related to a patient.</p> -<p>The operation takes the optional input parameters:</p> -<ul> -<li>patient id</li> -<li>start date</li> -<li>end date</li> -<li>document type</li> -</ul> -<p>and returns a <a href="http://hl7.org/fhir/bundle.html">Bundle</a> of type "searchset" containing <a href="http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference">US Core DocumentReference Profiles</a> for the patient. If the server has or can create documents that are related to the patient, and that are available for the given user, the server returns the DocumentReference profiles needed to support the records. The principle intended use for this operation is to provide a provider or patient with access to their available document information.</p> -<p>This operation is <em>different</em> from a search by patient and type and date range because:</p> -<ol> -<li> -<p>It is used to request a server <em>generate</em> a document based on the specified parameters.</p> -</li> -<li> -<p>If no parameters are specified, the server SHALL return a DocumentReference to the patient's most current CCD</p> -</li> -<li> -<p>If the server cannot <em>generate</em> a document based on the specified parameters, the operation will return an empty search bundle.</p> -</li> -</ol> -<p>This operation is the <em>same</em> as a FHIR RESTful search by patient,type and date range because:</p> -<ol> -<li>References for <em>existing</em> documents that meet the requirements of the request SHOULD also be returned unless the client indicates they are only interested in 'on-demand' documents using the <em>on-demand</em> parameter.</li> -</ol> -</div><p>Parameters</p><table class="grid"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>patient</td><td>1..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#id">id</a></td><td/><td><div><p>The id of the patient resource located on the server on which this operation is executed. If there is no match, an empty Bundle is returned</p> -</div></td></tr><tr><td>IN</td><td>start</td><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#date">date</a></td><td/><td><div><p>The date range relates to care dates, not record currency dates - e.g. all records relating to care provided in a certain date range. If no start date is provided, all documents prior to the end date are in scope. If neither a start date nor an end date is provided, the most recent or current document is in scope.</p> -</div></td></tr><tr><td>IN</td><td>end</td><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#date">date</a></td><td/><td><div><p>The date range relates to care dates, not record currency dates - e.g. all records relating to care provided in a certain date range. If no end date is provided, all documents subsequent to the start date are in scope. If neither a start date nor an end date is provided, the most recent or current document is in scope</p> -</div></td></tr><tr><td>IN</td><td>type</td><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td><a href="http://hl7.org/fhir/R4/valueset-c80-doc-typecodes.html">http://hl7.org/fhir/ValueSet/c80-doc-typecodes</a> (Required)</td><td><div><p>The type relates to document type e.g. for the LOINC code for a C-CDA Clinical Summary of Care (CCD) is 34133-9 (Summary of episode note). If no type is provided, the CCD document, if available, SHALL be in scope and all other document types MAY be in scope</p> -</div></td></tr><tr><td>IN</td><td>on-demand</td><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#boolean">boolean</a></td><td/><td><div><p>This on-demand parameter allows client to dictate whether they are requesting only ‘on-demand’ or both ‘on-demand’ and 'stable' documents (or delayed/deferred assembly) that meet the query parameters</p> -</div></td></tr><tr><td>OUT</td><td>return</td><td>1..1</td><td><a href="http://hl7.org/fhir/R4/bundle.html">Bundle</a></td><td/><td><div><p>The bundle type is "searchset"containing <a href="http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference">US Core DocumentReference Profiles</a></p> -</div></td></tr></table><div><ul> -<li> -<p>The server is responsible for determining what resources, if any, to return as <a href="http://hl7.org/fhir/R4/search.html#revinclude">included</a> resources rather than the client specifying which ones. This frees the client from needing to determine what it could or should ask for. For example, the server may return the referenced document as an included FHIR Binary resource within the return bundle. The server's CapabilityStatement should document this behavior.</p> -</li> -<li> -<p>The document itself can be subsequently retrieved using the link provided in the <code>DocumentReference.content.attachment.url element</code>. The link could be a FHIR endpoint to a <a href="http://hl7.org/fhir/R4/binary.html">Binary</a> Resource or some other document repository.</p> -</li> -<li> -<p>It is assumed that the server has identified and secured the context appropriately, and can either associate the authorization context with a single patient, or determine whether the context has the rights to the nominated patient, if there is one. If there is no nominated patient (e.g. the operation is invoked at the system level) and the context is not associated with a single patient record, then the server should return an error. Specifying the relationship between the context, a user and patient records is outside the scope of this specification</p> -</li> -</ul> -</div></div> - </text> - <url value="http://hl7.org/fhir/us/core/OperationDefinition/docref"/> - <version value="3.1.1"/> - <name value="USCoreFetchDocumentReferences"/> - <title value="US Core Fetch DocumentReferences"/> - <status value="active"/> - <kind value="operation"/> - <date value="2019-05-21"/> - <publisher value="US Core Project"/> - <description value="This operation is used to return all the references to documents related to a patient. The operation takes the optional input parameters: - patient id - start date - end date - document type and returns a [Bundle](http://hl7.org/fhir/bundle.html) of type "searchset" containing [US Core DocumentReference Profiles](http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference) for the patient. If the server has or can create documents that are related to the patient, and that are available for the given user, the server returns the DocumentReference profiles needed to support the records. The principle intended use for this operation is to provide a provider or patient with access to their available document information. This operation is *different* from a search by patient and type and date range because: 1. It is used to request a server *generate* a document based on the specified parameters. 1. If no parameters are specified, the server SHALL return a DocumentReference to the patient's most current CCD 1. If the server cannot *generate* a document based on the specified parameters, the operation will return an empty search bundle. This operation is the *same* as a FHIR RESTful search by patient,type and date range because: 1. References for *existing* documents that meet the requirements of the request SHOULD also be returned unless the client indicates they are only interested in 'on-demand' documents using the *on-demand* parameter."/> - <jurisdiction> - <coding> - <system value="urn:iso:std:iso:3166"/> - <code value="US"/> - <display value="United States of America"/> - </coding> - </jurisdiction> - <code value="docref"/> - <comment value=" - The server is responsible for determining what resources, if any, to return as [included](http://hl7.org/fhir/R4/search.html#revinclude) resources rather than the client specifying which ones. This frees the client from needing to determine what it could or should ask for. For example, the server may return the referenced document as an included FHIR Binary resource within the return bundle. The server's CapabilityStatement should document this behavior. - The document itself can be subsequently retrieved using the link provided in the `DocumentReference.content.attachment.url element`. The link could be a FHIR endpoint to a [Binary](http://hl7.org/fhir/R4/binary.html) Resource or some other document repository. - It is assumed that the server has identified and secured the context appropriately, and can either associate the authorization context with a single patient, or determine whether the context has the rights to the nominated patient, if there is one. If there is no nominated patient (e.g. the operation is invoked at the system level) and the context is not associated with a single patient record, then the server should return an error. Specifying the relationship between the context, a user and patient records is outside the scope of this specification"/> - <system value="false"/> - <type value="true"/> - <instance value="false"/> - <parameter> - <name value="patient"/> - <use value="in"/> - <min value="1"/> - <max value="1"/> - <documentation value="The id of the patient resource located on the server on which this operation is executed. If there is no match, an empty Bundle is returned"/> - <type value="id"/> - </parameter> - <parameter> - <name value="start"/> - <use value="in"/> - <min value="0"/> - <max value="1"/> - <documentation value="The date range relates to care dates, not record currency dates - e.g. all records relating to care provided in a certain date range. If no start date is provided, all documents prior to the end date are in scope. If neither a start date nor an end date is provided, the most recent or current document is in scope."/> - <type value="date"/> - </parameter> - <parameter> - <name value="end"/> - <use value="in"/> - <min value="0"/> - <max value="1"/> - <documentation value="The date range relates to care dates, not record currency dates - e.g. all records relating to care provided in a certain date range. If no end date is provided, all documents subsequent to the start date are in scope. If neither a start date nor an end date is provided, the most recent or current document is in scope"/> - <type value="date"/> - </parameter> - <parameter> - <name value="type"/> - <use value="in"/> - <min value="0"/> - <max value="1"/> - <documentation value="The type relates to document type e.g. for the LOINC code for a C-CDA Clinical Summary of Care (CCD) is 34133-9 (Summary of episode note). If no type is provided, the CCD document, if available, SHALL be in scope and all other document types MAY be in scope"/> - <type value="CodeableConcept"/> - <binding> - <strength value="required"/> - <valueSet value="http://hl7.org/fhir/ValueSet/c80-doc-typecodes"/> - </binding> - </parameter> - <parameter> - <name value="on-demand"/> - <use value="in"/> - <min value="0"/> - <max value="1"/> - <documentation value="This on-demand parameter allows client to dictate whether they are requesting only ‘on-demand’ or both ‘on-demand’ and 'stable' documents (or delayed/deferred assembly) that meet the query parameters"/> - <type value="boolean"/> - </parameter> - <parameter> - <name value="return"/> - <use value="out"/> - <min value="1"/> - <max value="1"/> - <documentation value="The bundle type is "searchset"containing [US Core DocumentReference Profiles](http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference)"/> - <type value="Bundle"/> - </parameter> -</OperationDefinition> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Organization-acme-lab.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Organization-acme-lab.xml deleted file mode 100644 index a834feb7e6c..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Organization-acme-lab.xml +++ /dev/null @@ -1,45 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Organization xmlns="http://hl7.org/fhir"> - <id value="acme-lab"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: acme-lab</p><p><b>meta</b>: </p><p><b>identifier</b>: 1144221847, 12D4567890</p><p><b>active</b>: true</p><p><b>type</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/organization-type prov}">Healthcare Provider</span></p><p><b>name</b>: Acme Labs</p><p><b>telecom</b>: ph: (+1) 734-677-7777, hq@acme.org</p><p><b>address</b>: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA </p></div> - </text> - <identifier> - <!-- an NPI --> - <system value="http://hl7.org.fhir/sid/us-npi"/> - <value value="1144221847"/> - </identifier> - <identifier> - <!-- a CLIA Number --> - <system value="urn:oid:2.16.840.1.113883.4.7"/> - <value value="12D4567890"/> - </identifier> - <active value="true"/> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/organization-type"/> - <code value="prov"/> - <display value="Healthcare Provider"/> - </coding> - </type> - <name value="Acme Labs"/> - <telecom> - <system value="phone"/> - <value value="(+1) 734-677-7777"/> - </telecom> - <telecom> - <system value="email"/> - <value value="hq@acme.org"/> - </telecom> - <address> - <line value="3300 Washtenaw Avenue, Suite 227"/> - <city value="Amherst"/> - <state value="MA"/> - <postalCode value="01002"/> - <country value="USA"/> - </address> -</Organization> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Organization-example-organization-2.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Organization-example-organization-2.xml deleted file mode 100644 index ef081536ffc..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Organization-example-organization-2.xml +++ /dev/null @@ -1,44 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Organization xmlns="http://hl7.org/fhir"> - <id value="example-organization-2"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: example-organization-2</p><p><b>meta</b>: </p><p><b>identifier</b>: 1407071236, 121111111</p><p><b>active</b>: true</p><p><b>type</b>: <span title="Codes: {http://terminology.hl7.org/CodeSystem/organization-type prov}">Healthcare Provider</span></p><p><b>name</b>: Acme Clinic</p><p><b>telecom</b>: ph: (+1) 734-677-7777, customer-service@acme-clinic.org</p><p><b>address</b>: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA </p></div> - </text> - <identifier> - <system value="http://hl7.org.fhir/sid/us-npi"/> - <value value="1407071236"/> - </identifier> - <identifier> - <system value="http://example.org/fhir/sid/us-tin"/> - <!-- The SSN or TIN is represented in resources with dashes removed --> - <value value="121111111"/> - </identifier> - <active value="true"/> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/organization-type"/> - <code value="prov"/> - <display value="Healthcare Provider"/> - </coding> - </type> - <name value="Acme Clinic"/> - <telecom> - <system value="phone"/> - <value value="(+1) 734-677-7777"/> - </telecom> - <telecom> - <system value="email"/> - <value value="customer-service@acme-clinic.org"/> - </telecom> - <address> - <line value="3300 Washtenaw Avenue, Suite 227"/> - <city value="Amherst"/> - <state value="MA"/> - <postalCode value="01002"/> - <country value="USA"/> - </address> -</Organization> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Organization-saint-luke-w-endpoint.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Organization-saint-luke-w-endpoint.xml deleted file mode 100644 index 4d8f041d288..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Organization-saint-luke-w-endpoint.xml +++ /dev/null @@ -1,72 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Organization xmlns="http://hl7.org/fhir"> - <id value="saint-luke-w-endpoint"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"> - <h1>Organization</h1> - <div> - <p>ID: 393872</p> - <p>Name: Saint Luke's Hospital of Kansas City </p> - <p>NPI: 1063494177</p> - <p>Phone:(816)932-2000</p> - <p>Address:4401 Wornall Rd,, MO, 64111</p> - </div> - </div> - </text> - <contained> - <Endpoint> - <id value="75"/> - <status value="active"/> - <connectionType> - <system value="http://terminology.hl7.org/CodeSystem/endpoint-connection-type"/> - <code value="direct-project"/> - </connectionType> - <name value="Dr. Ronald Bone Direct Address"/> - <managingOrganization> - <reference value="Organization/example-organization-2"/> - </managingOrganization> - <payloadType> - <coding> - <system value="urn:oid:1.3.6.1.4.1.19376.1.2.3"/> - <code value="urn:hl7-org:sdwg:ccda-structuredBody:1.1"/> - </coding> - </payloadType> - <payloadMimeType value="text/xml"/> - <address value="mailto:Interoperability@DirectAddress.com"/> - </Endpoint> - </contained> - <identifier> - <system value="http://example.org/fhir/sid/us-npi"/> - <value value="1063494177"/> - </identifier> - <identifier> - <system value="http://example.org/fhir/us/argo/sid/us-ein"/> - <value value="00-0000000"/> - </identifier> - <active value="true"/> - <name value="Saint Luke's Hospital of Kansas City"/> - <telecom> - <system value="phone"/> - <value value="(816)932-2000"/> - <use value="work"/> - </telecom> - <telecom> - <system value="other"/> - <value value="http://www.saintlukeshealthsystem.org/locations/saint-lukes-hospital-kansas-city"/> - <use value="work"/> - </telecom> - <address> - <text value="3300 Washtenaw Avenue, Suite 227 Amherst MA 01002"/> - <line value="4401 Wornall Rd,"/> - <city value="Amherst"/> - <state value="MA"/> - <postalCode value="64111"/> - </address> - <endpoint> - <reference value="#75"/> - </endpoint> -</Organization> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Patient-child-example.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Patient-child-example.xml deleted file mode 100644 index f64b40de57e..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Patient-child-example.xml +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Patient xmlns="http://hl7.org/fhir"> - <id value="child-example"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: child-example</p><p><b>meta</b>: </p><p><b>identifier</b>: Medical Record Number = 1032704 (USUAL)</p><p><b>active</b>: true</p><p><b>name</b>: Child Example </p><p><b>telecom</b>: ph: 555-555-5555(HOME)</p><p><b>gender</b>: male</p><p><b>birthDate</b>: 2016-01-15</p><p><b>address</b>: 49 Meadow St Mounds OK 74047 US </p></div> - </text> - <extension url="http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"> - <extension url="ombCategory"> - <valueCoding> - <system value="urn:oid:2.16.840.1.113883.6.238"/> - <code value="2028-9"/> - <display value="Asian"/> - </valueCoding> - </extension> - <extension url="text"> - <valueString value="Asian"/> - </extension> - </extension> - <extension url="http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"> - <extension url="ombCategory"> - <valueCoding> - <system value="urn:oid:2.16.840.1.113883.6.238"/> - <code value="2186-5"/> - <display value="Not Hispanic or Latino"/> - </valueCoding> - </extension> - <extension url="text"> - <valueString value="Not Hispanic or Latino"/> - </extension> - </extension> - <extension url="http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"> - <valueCode value="M"/> - </extension> - <identifier> - <use value="usual"/> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="MR"/> - <display value="Medical Record Number"/> - </coding> - <text value="Medical Record Number"/> - </type> - <system value="http://hospital.smarthealthit.org"/> - <value value="1032704"/> - </identifier> - <active value="true"/> - <name> - <family value="Example"/> - <given value="Child"/> - </name> - <telecom> - <system value="phone"/> - <value value="555-555-5555"/> - <use value="home"/> - </telecom> - <gender value="male"/> - <birthDate value="2016-01-15"/> - <address> - <line value="49 Meadow St"/> - <city value="Mounds"/> - <state value="OK"/> - <postalCode value="74047"/> - <country value="US"/> - </address> -</Patient> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Patient-example.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Patient-example.xml deleted file mode 100644 index 0d56d87ddae..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Patient-example.xml +++ /dev/null @@ -1,144 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Patient xmlns="http://hl7.org/fhir"> - <id value="example"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: example</p><p><b>meta</b>: </p><p><b>identifier</b>: Medical Record Number = 1032702 (USUAL)</p><p><b>active</b>: true</p><p><b>name</b>: Amy V. Shaw , Amy V. Baxter </p><p><b>telecom</b>: ph: 555-555-5555(HOME), amy.shaw@example.com</p><p><b>gender</b>: female</p><p><b>birthDate</b>: 1987-02-20</p><p><b>address</b>: </p><ul><li>49 Meadow St Mounds OK 74047 US </li><li>183 Mountain View St Mounds OK 74048 US </li></ul></div> - </text> - <extension url="http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"> - <extension url="ombCategory"> - <valueCoding> - <system value="urn:oid:2.16.840.1.113883.6.238"/> - <code value="2106-3"/> - <display value="White"/> - </valueCoding> - </extension> - <extension url="ombCategory"> - <valueCoding> - <system value="urn:oid:2.16.840.1.113883.6.238"/> - <code value="1002-5"/> - <display value="American Indian or Alaska Native"/> - </valueCoding> - </extension> - <extension url="ombCategory"> - <valueCoding> - <system value="urn:oid:2.16.840.1.113883.6.238"/> - <code value="2028-9"/> - <display value="Asian"/> - </valueCoding> - </extension> - <extension url="detailed"> - <valueCoding> - <system value="urn:oid:2.16.840.1.113883.6.238"/> - <code value="1586-7"/> - <display value="Shoshone"/> - </valueCoding> - </extension> - <extension url="detailed"> - <valueCoding> - <system value="urn:oid:2.16.840.1.113883.6.238"/> - <code value="2036-2"/> - <display value="Filipino"/> - </valueCoding> - </extension> - <extension url="text"> - <valueString value="Mixed"/> - </extension> - </extension> - <extension url="http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"> - <extension url="ombCategory"> - <valueCoding> - <system value="urn:oid:2.16.840.1.113883.6.238"/> - <code value="2135-2"/> - <display value="Hispanic or Latino"/> - </valueCoding> - </extension> - <extension url="detailed"> - <valueCoding> - <system value="urn:oid:2.16.840.1.113883.6.238"/> - <code value="2184-0"/> - <display value="Dominican"/> - </valueCoding> - </extension> - <extension url="detailed"> - <valueCoding> - <system value="urn:oid:2.16.840.1.113883.6.238"/> - <code value="2148-5"/> - <display value="Mexican"/> - </valueCoding> - </extension> - <extension url="text"> - <valueString value="Hispanic or Latino"/> - </extension> - </extension> - <extension url="http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"> - <valueCode value="F"/> - </extension> - <identifier> - <use value="usual"/> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="MR"/> - <display value="Medical Record Number"/> - </coding> - <text value="Medical Record Number"/> - </type> - <system value="http://hospital.smarthealthit.org"/> - <value value="1032702"/> - </identifier> - <active value="true"/> - <name> - <family value="Shaw"/> - <given value="Amy"/> - <given value="V."/> - <period> - <start value="2016-12-06"/> - <end value="2020-07-22"/> - </period> - </name> - <name> - <family value="Baxter"/> - <given value="Amy"/> - <given value="V."/> - <suffix value="PharmD"/> - <period> - <start value="2020-07-22"/> - </period> - </name> - <telecom> - <system value="phone"/> - <value value="555-555-5555"/> - <use value="home"/> - </telecom> - <telecom> - <system value="email"/> - <value value="amy.shaw@example.com"/> - </telecom> - <gender value="female"/> - <birthDate value="1987-02-20"/> - <address> - <line value="49 Meadow St"/> - <city value="Mounds"/> - <state value="OK"/> - <postalCode value="74047"/> - <country value="US"/> - <period> - <start value="2016-12-06"/> - <end value="2020-07-22"/> - </period> - </address> - <address> - <line value="183 Mountain View St"/> - <city value="Mounds"/> - <state value="OK"/> - <postalCode value="74048"/> - <country value="US"/> - <period> - <start value="2020-07-22"/> - </period> - </address> -</Patient> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Patient-infant-example.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Patient-infant-example.xml deleted file mode 100644 index da1ac285410..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Patient-infant-example.xml +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Patient xmlns="http://hl7.org/fhir"> - <id value="infant-example"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: infant-example</p><p><b>meta</b>: </p><p><b>identifier</b>: Medical Record Number = 1032703 (USUAL)</p><p><b>active</b>: true</p><p><b>name</b>: Infant Example </p><p><b>telecom</b>: ph: 555-555-5555(HOME)</p><p><b>gender</b>: male</p><p><b>birthDate</b>: 2020-06-02</p><p><b>address</b>: 49 Meadow St Mounds OK 74047 US </p></div> - </text> - <extension url="http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"> - <extension url="ombCategory"> - <valueCoding> - <system value="urn:oid:2.16.840.1.113883.6.238"/> - <code value="2028-9"/> - <display value="Asian"/> - </valueCoding> - </extension> - <extension url="text"> - <valueString value="Asian"/> - </extension> - </extension> - <extension url="http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"> - <extension url="ombCategory"> - <valueCoding> - <system value="urn:oid:2.16.840.1.113883.6.238"/> - <code value="2186-5"/> - <display value="Not Hispanic or Latino"/> - </valueCoding> - </extension> - <extension url="text"> - <valueString value="Not Hispanic or Latino"/> - </extension> - </extension> - <extension url="http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"> - <valueCode value="M"/> - </extension> - <identifier> - <use value="usual"/> - <type> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> - <code value="MR"/> - <display value="Medical Record Number"/> - </coding> - <text value="Medical Record Number"/> - </type> - <system value="http://hospital.smarthealthit.org"/> - <value value="1032703"/> - </identifier> - <active value="true"/> - <name> - <family value="Example"/> - <given value="Infant"/> - </name> - <telecom> - <system value="phone"/> - <value value="555-555-5555"/> - <use value="home"/> - </telecom> - <gender value="male"/> - <birthDate value="2020-06-02"/> - <address> - <line value="49 Meadow St"/> - <city value="Mounds"/> - <state value="OK"/> - <postalCode value="74047"/> - <country value="US"/> - </address> -</Patient> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Practitioner-practitioner-1.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Practitioner-practitioner-1.xml deleted file mode 100644 index 919d2e8cab1..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Practitioner-practitioner-1.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Practitioner xmlns="http://hl7.org/fhir"> - <id value="practitioner-1"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: practitioner-1</p><p><b>meta</b>: </p><p><b>identifier</b>: 9941339108, 25456</p><p><b>name</b>: Ronald Bone </p><p><b>address</b>: 1003 Healthcare Drive Amherst MA 01002 (HOME)</p></div> - </text> - <identifier> - <system value="http://hl7.org.fhir/sid/us-npi"/> - <value value="9941339108"/> - </identifier> - <identifier> - <system value="http://www.acme.org/practitioners"/> - <value value="25456"/> - </identifier> - <name> - <family value="Bone"/> - <given value="Ronald"/> - <prefix value="Dr"/> - </name> - <address> - <use value="home"/> - <line value="1003 Healthcare Drive"/> - <city value="Amherst"/> - <state value="MA"/> - <postalCode value="01002"/> - </address> -</Practitioner> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Practitioner-practitioner-2.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Practitioner-practitioner-2.xml deleted file mode 100644 index fecbccf8b52..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Practitioner-practitioner-2.xml +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Practitioner xmlns="http://hl7.org/fhir"> - <id value="practitioner-2"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: practitioner-2</p><p><b>meta</b>: </p><p><b>identifier</b>: 1245319599, 456789</p><p><b>name</b>: Fielding Kathy </p><p><b>telecom</b>: Kathy.Fielding@direct.ExampleMedicalPractice.net(WORK)</p><p><b>address</b>: 1080 FIRST COLONIAL RD Virginia Beach VA 21454-2406 (WORK)</p></div> - </text> - <identifier> - <system value="http://hl7.org.fhir/sid/us-npi"/> - <value value="1245319599"/> - </identifier> - <identifier> - <system value="http://www.acme.org/practitioners"/> - <value value="456789"/> - </identifier> - <name> - <family value="Kathy"/> - <given value="Fielding"/> - <prefix value="Dr"/> - </name> - <telecom> - <extension url="http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct"> - <valueBoolean value="true"/> - </extension> - <system value="email"/> - <value value="Kathy.Fielding@direct.ExampleMedicalPractice.net"/> - <use value="work"/> - </telecom> - <address> - <use value="work"/> - <line value="1080 FIRST COLONIAL RD"/> - <city value="Virginia Beach"/> - <state value="VA"/> - <postalCode value="21454-2406"/> - </address> -</Practitioner> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Procedure-defib-implant.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Procedure-defib-implant.xml deleted file mode 100644 index ee72abd0aab..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Procedure-defib-implant.xml +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Procedure xmlns="http://hl7.org/fhir"> - <id value="defib-implant"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: defib-implant</p><p><b>meta</b>: </p><p><b>identifier</b>: urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff</p><p><b>status</b>: completed</p><p><b>code</b>: <span title="Codes: {http://www.ama-assn.org/go/cpt 33249}">Insertion or replacement of permanent implantable defibrillator system with transvenous lead(s), single or dual chamber</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>performed</b>: Mar 26, 2019, 7:55:26 PM --> Mar 26, 2019, 8:25:26 PM</p><h3>Performers</h3><table class="grid"><tr><td>-</td><td><b>Actor</b></td></tr><tr><td>*</td><td><a href="Practitioner-practitioner-1.html">Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone </a></td></tr></table><h3>FocalDevices</h3><table class="grid"><tr><td>-</td><td><b>Manipulated</b></td></tr><tr><td>*</td><td><a href="Device-udi-2.html">Generated Summary: id: udi-2; status: active; manufacturer: ACME Biomedical; expirationDate: 2022-01-01; lotNumber: M320; serialNumber: AC221; modelNumber: 1.0; <span title="Codes: {http://snomed.info/sct 19257004}">Implant</span></a></td></tr></table></div> - </text> - <identifier> - <system value="urn:ietf:rfc:3986"/> - <value value="urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff"/> - </identifier> - <status value="completed"/> - <code> - <coding> - <system value="http://www.ama-assn.org/go/cpt"/> - <code value="33249"/> - </coding> - <text value="Insertion or replacement of permanent implantable defibrillator system with transvenous lead(s), single or dual chamber"/> - </code> - <subject> - <reference value="Patient/example"/> - </subject> - <performedPeriod> - <start value="2019-03-26T12:55:26-07:00"/> - <end value="2019-03-26T13:25:26-07:00"/> - </performedPeriod> - <performer> - <actor> - <reference value="Practitioner/practitioner-1"/> - </actor> - </performer> - <focalDevice> - <manipulated> - <reference value="Device/udi-2"/> - </manipulated> - </focalDevice> -</Procedure> \ No newline at end of file diff --git a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Procedure-rehab.xml b/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Procedure-rehab.xml deleted file mode 100644 index f974108d129..00000000000 --- a/fhir-examples/src/main/resources/xml/profiles/fhir-ig-us-core/Procedure-rehab.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<Procedure xmlns="http://hl7.org/fhir"> - <id value="rehab"/> - <meta> - <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure"/> - </meta> - <text> - <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>id</b>: rehab</p><p><b>meta</b>: </p><p><b>status</b>: completed</p><p><b>code</b>: <span title="Codes: {http://snomed.info/sct 35637008}, {http://www.cms.gov/Medicare/Coding/ICD10 HZ30ZZZ}">Alcohol rehabilitation</span></p><p><b>subject</b>: <a href="Patient-example.html">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</a></p><p><b>performed</b>: 2002-05-23</p></div> - </text> - <status value="completed"/> - <code> - <coding> - <system value="http://snomed.info/sct"/> - <code value="35637008"/> - <display value="Alcohol rehabilitation"/> - </coding> - <coding> - <system value="http://www.cms.gov/Medicare/Coding/ICD10"/> - <code value="HZ30ZZZ"/> - <display value="Individual Counseling for Substance Abuse Treatment, Cognitive"/> - </coding> - <text value="Alcohol rehabilitation"/> - </code> - <subject> - <reference value="Patient/example"/> - <display value="Amy Shaw"/> - </subject> - <performedDateTime value="2002-05-23"/> -</Procedure> \ No newline at end of file diff --git a/fhir-server-test/pom.xml b/fhir-server-test/pom.xml index 8e963f582e7..9c9ee4577e7 100644 --- a/fhir-server-test/pom.xml +++ b/fhir-server-test/pom.xml @@ -135,6 +135,13 @@ <type>test-jar</type> <scope>test</scope> </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>fhir-ig-us-core</artifactId> + <version>${project.version}</version> + <type>test-jar</type> + <scope>test</scope> + </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jcl-over-slf4j</artifactId> diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/ProfilesTestBase.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/ProfilesTestBase.java index a22ef2a8db9..82f33343907 100644 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/ProfilesTestBase.java +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/ProfilesTestBase.java @@ -18,14 +18,21 @@ import java.util.logging.Logger; import java.util.stream.Collectors; +import javax.ws.rs.client.Entity; +import javax.ws.rs.client.WebTarget; import javax.ws.rs.core.Response; +import org.testng.SkipException; import org.testng.annotations.BeforeClass; +import org.testng.annotations.BeforeMethod; import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.core.FHIRMediaType; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; import com.ibm.fhir.model.resource.Bundle; import com.ibm.fhir.model.resource.CapabilityStatement; import com.ibm.fhir.model.resource.OperationOutcome; +import com.ibm.fhir.model.resource.Resource; import com.ibm.fhir.path.FHIRPathNode; import com.ibm.fhir.path.evaluator.FHIRPathEvaluator; import com.ibm.fhir.path.evaluator.FHIRPathEvaluator.EvaluationContext; @@ -49,6 +56,8 @@ public abstract class ProfilesTestBase extends FHIRServerTestBase { private Collection<String> listOfProfiles = null; + private Boolean skip = Boolean.TRUE; + /* * Each Test asserts the required profiles, and subsequent BeforeClass checks if it's on the server. */ @@ -64,6 +73,37 @@ public void assertBaseBundleNotEmpty(Bundle bundle) { assertFalse(bundle.getEntry().isEmpty()); } + /** + * builds a valid us core object + * @param cls + * @param version + * @param resource + * @return + * @throws Exception + */ + public String buildAndAssertOnResourceForUsCore(String cls, String version, String resource) throws Exception { + WebTarget target = getWebTarget(); + Resource goal = USCoreExamplesUtil.readLocalJSONResource(version, resource); + + Entity<? extends Resource> entity = Entity.entity(goal, FHIRMediaType.APPLICATION_FHIR_JSON); + Response response = target.path(cls).request().post(entity, Response.class); + assertResponse(response, Response.Status.CREATED.getStatusCode()); + + // GET [base]/MedicationRequest/12354 (first actual test, but simple) + String id = getLocationLogicalId(response); + response = target.path(cls + "/" + id).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); + assertResponse(response, Response.Status.OK.getStatusCode()); + this.addToResourceRegistry(cls, id); + return id; + } + + @BeforeMethod + protected void checkProfile() { + if (skip) { + throw new SkipException("Skipping tests profile " + getClass().getCanonicalName()); + } + } + /** * checks that the bundle contains resources with the given ids. * @@ -143,5 +183,25 @@ public void checkProfileExistsOnServer() throws Exception { skip = skip || entry.getValue() == 0; } setCheck(skip); + this.skip = skip; + } + + /** + * V2 which hides check values. + */ + public abstract static class ProfilesTestBaseV2 extends ProfilesTestBase { + Boolean check = false; + + @Override + public void setCheck(Boolean check) { + this.check = check; + } + + @BeforeClass + public void runLoad() throws Exception { + loadResources(); + } + + public abstract void loadResources() throws Exception; } } \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreAllergyIntoleranceTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreAllergyIntoleranceTest.java deleted file mode 100644 index 6c0b98ebbfe..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreAllergyIntoleranceTest.java +++ /dev/null @@ -1,284 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020, 2021 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.core.Response; - -import org.testng.SkipException; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.BeforeMethod; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.model.resource.AllergyIntolerance; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Provenance; -import com.ibm.fhir.model.resource.Provenance.Agent; -import com.ibm.fhir.model.test.TestUtil; -import com.ibm.fhir.model.type.Canonical; -import com.ibm.fhir.model.type.Code; -import com.ibm.fhir.model.type.CodeableConcept; -import com.ibm.fhir.model.type.Coding; -import com.ibm.fhir.model.type.Instant; -import com.ibm.fhir.model.type.Meta; -import com.ibm.fhir.model.type.Narrative; -import com.ibm.fhir.model.type.Reference; -import com.ibm.fhir.model.type.Uri; -import com.ibm.fhir.model.type.Xhtml; -import com.ibm.fhir.model.type.code.NarrativeStatus; - -/** - * Tests the US Core 3.1.1 Profile with AllergyIntolerance and a related Provenance. - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-provenance.html - */ -public class USCoreAllergyIntoleranceTest extends ProfilesTestBase { - private static final String CLASSNAME = USCoreAllergyIntoleranceTest.class.getName(); - private static final Logger LOG = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - - private String allergyIntoleranceIdActive = null; - private String allergyIntoleranceIdInactive = null; - private String allergyIntoleranceIdResolved = null; - private String provenanceId = null; - - @Override - public List<String> getRequiredProfiles() { - return Arrays.asList( - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance|3.1.1", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance|3.1.1"); - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - LOG.info("Skipping Tests for 'fhir-ig-us-core - AllergyIntolerance', the profiles don't exist"); - } - } - - @BeforeMethod - protected void checkProfile() { - if (skip) { - throw new SkipException("Skipping tests profile - 'fhir-ig-us-core/AllergyIntolerance' not loaded"); - } - } - - public void loadAllergyIntoleranceActive() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/AllergyIntolerance-example.json"; - - AllergyIntolerance r = TestUtil.readExampleResource(resource); - - allergyIntoleranceIdActive = createResourceAndReturnTheLogicalId("AllergyIntolerance", r); - } - - public void loadAllergyIntoleranceInactive() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/AllergyIntolerance-example.json"; - - AllergyIntolerance r = TestUtil.readExampleResource(resource); - // @formatter:off - CodeableConcept allergyIntoleranceClinicalStatusCodes = CodeableConcept.builder() - .coding(Coding.builder() - .code(Code.of("inactive")) - .display(com.ibm.fhir.model.type.String.of("Inactive")) - .system(Uri.of("http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical")) - .build()) - .build(); - // @formatter:on - r = r.toBuilder().clinicalStatus(allergyIntoleranceClinicalStatusCodes).build(); - - allergyIntoleranceIdInactive = createResourceAndReturnTheLogicalId("AllergyIntolerance", r); - } - - public void loadAllergyIntoleranceResolved() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/AllergyIntolerance-example.json"; - - AllergyIntolerance r = TestUtil.readExampleResource(resource); - // @formatter:off - CodeableConcept allergyIntoleranceClinicalStatusCodes = CodeableConcept.builder() - .coding(Coding.builder() - .code(Code.of("resolved")) - .display(com.ibm.fhir.model.type.String.of("Resolved")) - .system(Uri.of("http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical")) - .build()) - .build(); - // @formatter:on - r = r.toBuilder().clinicalStatus(allergyIntoleranceClinicalStatusCodes).build(); - - allergyIntoleranceIdResolved = createResourceAndReturnTheLogicalId("AllergyIntolerance", r); - } - - public void loadProvenanceForAllergyIntoleranceIdActive() throws Exception { - // Build the Provenance - Canonical profile = Canonical.of("http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance"); - Meta meta = Meta.builder().profile(profile).build(); - - // @formatter:off - CodeableConcept type = CodeableConcept.builder() - .coding(Coding.builder() - .code(Code.of("author")) - .display(com.ibm.fhir.model.type.String.of("Author")) - .system(Uri.of("http://terminology.hl7.org/CodeSystem/provenance-participant-type")) - .build()) - .build(); - // @formatter:on - - Provenance provenance = Provenance.builder() - .meta(meta) - .text(Narrative.builder() - .div(Xhtml.of("<div xmlns=\"http://www.w3.org/1999/xhtml\">loaded from the datastore</div>")) - .status(NarrativeStatus.GENERATED).build()) - .target(Reference.builder() - .reference(com.ibm.fhir.model.type.String.of("AllergyIntolerance/" + allergyIntoleranceIdActive)) - .build()) - .recorded(Instant.now()) - .agent(Agent.builder() - .type(type) - .who( - Reference.builder() - .reference(com.ibm.fhir.model.type.String.of("Practitioner/practitioner-1")) - .build()) - .onBehalfOf( - Reference.builder() - .reference(com.ibm.fhir.model.type.String.of("Organization/saint-luke-w-endpoint")) - .build()) - .build()) - .build(); - - provenanceId = createResourceAndReturnTheLogicalId("Provenance", provenance); - } - - // Load Resources - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadAllergyIntoleranceActive(); - loadAllergyIntoleranceInactive(); - loadAllergyIntoleranceResolved(); - loadProvenanceForAllergyIntoleranceIdActive(); - } - } - - @Test - public void testSearchForAllAllergiesForAPatient() throws Exception { - // SHALL support searching for all allergies for a patient using the patient search parameter - // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#mandatory-search-parameters - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, allergyIntoleranceIdResolved); - assertContainsIds(bundle, allergyIntoleranceIdActive); - assertContainsIds(bundle, allergyIntoleranceIdInactive); - } - - @Test - public void testSearchForAllAllergiesForAPatientByInactiveStatusWithSystem() throws Exception { - // SHOULD support searching using the combination of the patient and clinical-status search parameters - // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("clinical-status", "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical|inactive"); - FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, allergyIntoleranceIdInactive); - } - - @Test - public void testSearchForAllAllergiesForAPatientByResolvedStatusWithSystem() throws Exception { - // SHOULD support searching using the combination of the patient and clinical-status search parameters - // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("clinical-status", "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical|resolved"); - FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, allergyIntoleranceIdResolved); - } - - @Test - public void testSearchForAllAllergiesForAPatientByActiveStatusWithSystem() throws Exception { - // SHOULD support searching using the combination of the patient and clinical-status search parameters - // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("clinical-status", "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical|active"); - FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, allergyIntoleranceIdActive); - } - - @Test - public void testSearchForAllAllergiesForAPatientByInactiveStatusWithoutSystem() throws Exception { - // SHOULD support searching using the combination of the patient and clinical-status search parameters - // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("clinical-status", "inactive"); - FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, allergyIntoleranceIdInactive); - } - - @Test - public void testSearchForAllAllergiesForAPatientByResolvedStatusWithoutSystem() throws Exception { - // SHOULD support searching using the combination of the patient and clinical-status search parameters - // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("clinical-status", "resolved"); - FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, allergyIntoleranceIdResolved); - } - - @Test - public void testSearchForAllAllergiesForAPatientByActiveStatusWithoutSystem() throws Exception { - // SHOULD support searching using the combination of the patient and clinical-status search parameters - // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("clinical-status", "active"); - FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, allergyIntoleranceIdActive); - } - - @Test - public void testSearchForAllAllergiesForAPatientByActiveStatusWithoutSystemAndRevinclude() throws Exception { - // http://example.org/fhir/AllergyIntolerance?_revinclude=Provenance%3Atarget&patient=Examples - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("_revinclude", "Provenance:target"); - FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, allergyIntoleranceIdActive); - assertContainsIds(bundle, provenanceId); - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreCarePlanTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreCarePlanTest.java deleted file mode 100644 index f914300c0c2..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreCarePlanTest.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020, 2021 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.core.Response; - -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.CarePlan; -import com.ibm.fhir.model.test.TestUtil; -import com.ibm.fhir.model.type.DateTime; -import com.ibm.fhir.model.type.code.CarePlanStatus; - -/** - * Tests the US Core 3.1.1 Profile with CarePlan. - * - *The specification says the following parameters should work: - * <code>status=http://hl7.org/fhir/ValueSet/request-status|active</code> - * It's a default binding and should work without a bound system. We only extract active, and not the default system. - */ -public class USCoreCarePlanTest extends ProfilesTestBase { - private static final String CLASSNAME = USCoreCarePlanTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - - private String carePlanId = null; - - @Override - public List<String> getRequiredProfiles() { - return Arrays.asList( - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan|3.1.1"); - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - CarePlan', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (skip) { - return; - } - loadCarePlan(); - } - - public void loadCarePlan() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/CarePlan-colonoscopy.json"; - - CarePlan carePlan = TestUtil.readExampleResource(resource); - com.ibm.fhir.model.type.Period period = com.ibm.fhir.model.type.Period.builder() - .start(DateTime.of("2019-01-01")) - .end(DateTime.of("2020-01-01")) - .build(); - - // Note: The test uses ACTIVE as a CodeableConcept rather than a plain string. - carePlan = carePlan.toBuilder().period(period).status(CarePlanStatus.ACTIVE).build(); - carePlanId = createResourceAndReturnTheLogicalId("CarePlan", carePlan); - } - - @Test - public void testSearchForPatientAndCategory() throws Exception { - // SHALL support searching using the combination of the patient and category search parameters - // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html - if (!skip) { - return; - } - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); - FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, carePlanId); - } - - @Test - public void testSearchForPatientAndCategoryAndDate() throws Exception { - // SHOULD support searching using the combination of the patient and category and date search parameters - // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html - if (!skip) { - return; - } - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); - parameters.searchParam("date", "gt2018"); - parameters.searchParam("date", "le2021"); - FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, carePlanId); - } - - @Test - public void testSearchForPatientAndCategoryAndDateGe() throws Exception { - // SHOULD support searching using the combination of the patient and category and date search parameters - // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); - parameters.searchParam("date", "ge2019"); - parameters.searchParam("date", "le2021"); - FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, carePlanId); - } - } - - @Test - public void testSearchForPatientAndCategoryAndStatus() throws Exception { - // SHOULD support searching using the combination of the patient and category and status search parameters: - // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); - parameters.searchParam("status", "active"); - FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, carePlanId); - } - } - - // See the note at the top of this class as to why this test is disabled. - @Test (enabled = false) - public void testSearchForPatientAndCategoryAndStatusSystem() throws Exception { - // SHOULD support searching using the combination of the patient and category and status search parameters: - // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); - parameters.searchParam("status", "http://hl7.org/fhir/ValueSet/request-status|"); - FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, carePlanId); - } - } - - @Test - public void testSearchForPatientAndCategoryAndStatusSystemStatus() throws Exception { - // SHOULD support searching using the combination of the patient and category and status search parameters: - // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); - parameters.searchParam("status", "active"); - FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, carePlanId); - } - } - - @Test - public void testSearchForPatientAndCategoryAndStatusSystemStatusAndDate() throws Exception { - // SHOULD support searching using the combination of the patient and category and status search parameters: - // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); - parameters.searchParam("status", "active"); - parameters.searchParam("date", "ge2019"); - parameters.searchParam("date", "le2021"); - FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, carePlanId); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreCareTeamTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreCareTeamTest.java deleted file mode 100644 index cb4215c566a..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreCareTeamTest.java +++ /dev/null @@ -1,92 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.core.Response; - -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.CareTeam; -import com.ibm.fhir.model.test.TestUtil; -import com.ibm.fhir.model.type.code.CareTeamStatus; - -/** - * Tests the US Core 3.1.1 Profile with CareTeam. - * - *The specification says the following parameters should work: - * <code>status=http://hl7.org/fhir/care-team-status|active</code> - * It's a default binding and should work without a bound system. We only extract active, and not the default system. - */ -public class USCoreCareTeamTest extends ProfilesTestBase { - private static final String CLASSNAME = USCoreCareTeamTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - - private String careTeamId = null; - - @Override - public List<String> getRequiredProfiles() { - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam|3.1.1"); - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - CareTeam', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadCareTeam(); - } - } - - public void loadCareTeam() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/CareTeam-example.json"; - - CareTeam careTeam = TestUtil.readExampleResource(resource); - - // Note: The test uses ACTIVE as a CodeableConcept rather than a plain string. - careTeam = careTeam.toBuilder().status(CareTeamStatus.ACTIVE).build(); - - careTeamId = createResourceAndReturnTheLogicalId("CareTeam", careTeam); - } - - @Test - public void testSearchForPatientAndCategory() throws Exception { - // SHALL support searching using the combination of the patient and status search parameters: - // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) - // GET [base]/CareTeam?patient=[reference]&status=active - // http://hl7.org/fhir/us/core/StructureDefinition-us-core-careteam.html - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("status", "http://hl7.org/fhir/care-team-status|active"); - FHIRResponse response = client.search(CareTeam.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, careTeamId); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreConditionTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreConditionTest.java deleted file mode 100644 index 023281f979e..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreConditionTest.java +++ /dev/null @@ -1,271 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020, 2021 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.core.Response; - -import org.testng.SkipException; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.BeforeMethod; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Condition; -import com.ibm.fhir.model.test.TestUtil; - -/** - * Tests the US Core 3.1.1 Profile with Condition. - */ -public class USCoreConditionTest extends ProfilesTestBase { - private static final String CLASSNAME = USCoreConditionTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String conditionId1 = null; - private String conditionId2 = null; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - Condition', the profiles don't exist"); - } - } - - @BeforeMethod - protected void checkProfile() { - if (skip) { - throw new SkipException("Skipping tests profile - fhir-ig-us-core/Condition not loaded"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadCondition1(); - loadCondition2(); - } - } - - public void loadCondition1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Condition-example.json"; - - Condition condition = TestUtil.readExampleResource(resource); - conditionId1 = createResourceAndReturnTheLogicalId("Condition", condition); - } - - public void loadCondition2() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Condition-hc1.json"; - - Condition condition = TestUtil.readExampleResource(resource); - conditionId2 = createResourceAndReturnTheLogicalId("Condition", condition); - } - - @Test - public void testSearchForPatient() throws Exception { - // SHALL support searching for all conditions including problems, health concerns, and encounter diagnosis for a - // patient using the patient search parameter: - // GET [base]/Condition?patient=[reference] - // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, conditionId1); - assertContainsIds(bundle, conditionId2); - } - - @Test - public void testSearchForPatientAndClinicalStatus() throws Exception { - // SHOULD support searching using the combination of the patient and clinical-status search parameters: - // GET - // [base]/Condition?patient=[reference]&clinical-status=http://terminology.hl7.org/CodeSystem/condition-clinical|active,http://terminology.hl7.org/CodeSystem/condition-clinical|recurrance,http://terminology.hl7.org/CodeSystem/condition-clinical|remission - // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("clinical-status", "http://terminology.hl7.org/CodeSystem/condition-clinical|active,http://terminology.hl7.org/CodeSystem/condition-clinical|recurrance,http://terminology.hl7.org/CodeSystem/condition-clinical|remission"); - FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, conditionId1); - assertContainsIds(bundle, conditionId2); - } - - @Test - public void testSearchForPatientAndCategoryProblemListItem() throws Exception { - // SHOULD support searching using the combination of the patient and category search parameters: - // GET [base]/Condition?patient=[reference]&category={system|}[code] - // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/condition-category|problem-list-item"); - FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() == 0); - } - } - - @Test - public void testSearchForPatientAndCategoryHealthConcern() throws Exception { - // SHOULD support searching using the combination of the patient and category search parameters: - // GET [base]/Condition?patient=[reference]&category={system|}[code] - // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/condition-category|health-concern"); - FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, conditionId2); - } - } - - @Test - public void testSearchForPatientAndCategoryDoesNotExist() throws Exception { - // SHOULD support searching using the combination of the patient and category search parameters: - // GET [base]/Condition?patient=[reference]&category={system|}[code] - // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/condition-category|encounter-diagnosis"); - FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().isEmpty()); - } - } - - @Test - public void testSearchForPatientAndCode() throws Exception { - // SHOULD support searching using the combination of the patient and code search parameters: - // GET [base]/Condition?patient=[reference]&code={system|}[code] - // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("code", "http://snomed.info/sct|442311008"); - FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, conditionId1); - } - } - - @Test - public void testSearchForPatientAndOnsetDateGe() throws Exception { - // SHOULD support searching using the combination of the patient and onset-date search parameters: - // including support for these onset-date comparators: gt,lt,ge,le - // including optional support for composite AND search on onset-date (e.g.onset-date=[date]&onset-date=[date]]&...) - // GET [base]/Condition?patient=[reference]&onset-date={gt|lt|ge|le}[date]{&onset-date={gt|lt|ge|le}[date]&...} - // "onsetDateTime": "2016-08-10" - // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("onset-date", "ge2016"); - FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, conditionId1); - } - } - - @Test - public void testSearchForPatientAndOnsetDateGt() throws Exception { - // SHOULD support searching using the combination of the patient and onset-date search parameters: - // including support for these onset-date comparators: gt,lt,ge,le - // including optional support for composite AND search on onset-date (e.g.onset-date=[date]&onset-date=[date]]&...) - // GET [base]/Condition?patient=[reference]&onset-date={gt|lt|ge|le}[date]{&onset-date={gt|lt|ge|le}[date]&...} - // "onsetDateTime": "2016-08-10" - // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("onset-date", "gt2015"); - FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, conditionId1); - } - } - - @Test - public void testSearchForPatientAndOnsetDateLt() throws Exception { - // SHOULD support searching using the combination of the patient and onset-date search parameters: - // including support for these onset-date comparators: gt,lt,ge,le - // including optional support for composite AND search on onset-date (e.g.onset-date=[date]&onset-date=[date]]&...) - // GET [base]/Condition?patient=[reference]&onset-date={gt|lt|ge|le}[date]{&onset-date={gt|lt|ge|le}[date]&...} - // "onsetDateTime": "2016-08-10" - // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("onset-date", "lt2019"); - FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, conditionId1); - } - } - - @Test - public void testSearchForPatientAndOnsetDateLe() throws Exception { - // SHOULD support searching using the combination of the patient and onset-date search parameters: - // including support for these onset-date comparators: gt,lt,ge,le - // including optional support for composite AND search on onset-date (e.g.onset-date=[date]&onset-date=[date]]&...) - // GET [base]/Condition?patient=[reference]&onset-date={gt|lt|ge|le}[date]{&onset-date={gt|lt|ge|le}[date]&...} - // "onsetDateTime": "2016-08-10" - // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("onset-date", "le2016"); - FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, conditionId1); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreDiagnosticReportLabTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreDiagnosticReportLabTest.java deleted file mode 100644 index 634aac0eb7a..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreDiagnosticReportLabTest.java +++ /dev/null @@ -1,254 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020, 2021 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.core.Response; - -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.DiagnosticReport; -import com.ibm.fhir.model.test.TestUtil; - -/** - * Tests the US Core 3.1.1 Profile with DiagnosticReport Lab. - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-diagnosticreport-lab.html - */ -public class USCoreDiagnosticReportLabTest extends ProfilesTestBase { - - private static final String CLASSNAME = USCoreDiagnosticReportLabTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String diagnosticReportId1 = null; - private String diagnosticReportId2 = null; - private String diagnosticReportId3 = null; - - @Override - public List<String> getRequiredProfiles() { - return Arrays.asList( - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab|3.1.1"); - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - DiagnosticReport', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadDiagnosticReport1(); - loadDiagnosticReport2(); - loadDiagnosticReport3(); - } - } - - public void loadDiagnosticReport1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/DiagnosticReport-urinalysis.json"; - - DiagnosticReport diagnosticReport = TestUtil.readExampleResource(resource); - diagnosticReportId1 = createResourceAndReturnTheLogicalId("DiagnosticReport", diagnosticReport); - } - - public void loadDiagnosticReport2() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/DiagnosticReport-metabolic-panel.json"; - DiagnosticReport diagnosticReport = TestUtil.readExampleResource(resource); - diagnosticReportId2 = createResourceAndReturnTheLogicalId("DiagnosticReport", diagnosticReport); - } - - public void loadDiagnosticReport3() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/DiagnosticReport-cbc.json"; - - DiagnosticReport diagnosticReport = TestUtil.readExampleResource(resource); - diagnosticReportId3 = createResourceAndReturnTheLogicalId("DiagnosticReport", diagnosticReport); - } - - @Test - public void testSearchForPatient() throws Exception { - // SHALL support searching for all diagnostic reports for a patient using the patient search parameter: - // GET [base]/DiagnosticReport?patient=[reference] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, diagnosticReportId1); - assertContainsIds(bundle, diagnosticReportId2); - assertContainsIds(bundle, diagnosticReportId3); - } - } - - @Test - public void testSearchForPatientAndCategory() throws Exception { - // SHALL support searching using the combination of the patient and category search parameters: - // GET [base]/DiagnosticReport?patient=[reference]&type={[system]}|[code] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/v2-0074|LAB"); - FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, diagnosticReportId1); - assertContainsIds(bundle, diagnosticReportId2); - assertContainsIds(bundle, diagnosticReportId3); - } - } - - @Test - public void testSearchForPatientAndCode() throws Exception { - // SHALL support searching using the combination of the patient and code search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // GET [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...} - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("code", "http://loinc.org|24356-8"); - FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, diagnosticReportId1); - assertDoesNotContainsIds(bundle, diagnosticReportId2); - assertDoesNotContainsIds(bundle, diagnosticReportId3); - } - } - - @Test - public void testSearchForPatientAndCodeWithoutSystem() throws Exception { - // SHALL support searching using the combination of the patient and code search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // GET [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...} - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("code", "http://loinc.org|24356-8"); - FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, diagnosticReportId1); - assertDoesNotContainsIds(bundle, diagnosticReportId2); - assertDoesNotContainsIds(bundle, diagnosticReportId3); - } - } - - @Test - public void testSearchForPatientAndMultipleCodes() throws Exception { - // SHALL support searching using the combination of the patient and code search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // GET [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...} - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("code", "http://loinc.org|24356-8,http://loinc.org|24323-8"); - FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, diagnosticReportId1); - assertContainsIds(bundle, diagnosticReportId2); - assertDoesNotContainsIds(bundle, diagnosticReportId3); - } - } - - @Test - public void testSearchForPatientAndCategoryAndDate() throws Exception { - // SHALL support searching using the combination of the patient and category and date search parameters: - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - // GET - // [base]/DiagnosticReport?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/v2-0074|LAB&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/v2-0074|LAB"); - parameters.searchParam("date", "2005-07-05"); - FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, diagnosticReportId1); - assertDoesNotContainsIds(bundle, diagnosticReportId2); - assertContainsIds(bundle, diagnosticReportId3); - } - } - - @Test - public void testSearchForPatientAndCategoryAndDateLeGe() throws Exception { - // SHALL support searching using the combination of the patient and category and date search parameters: - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - // GET - // [base]/DiagnosticReport?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/v2-0074|LAB&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/v2-0074|LAB"); - parameters.searchParam("date", "ge2005-01"); - parameters.searchParam("date", "lt2005-07-05"); - FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertDoesNotContainsIds(bundle, diagnosticReportId1); - assertContainsIds(bundle, diagnosticReportId2); - assertDoesNotContainsIds(bundle, diagnosticReportId3); - } - } - - @Test - public void testSearchForPatientAndCategoryAndDateAndStatus() throws Exception { - // SHOULD support searching using the combination of the patient and status search parameters: - // GET [base]/DiagnosticReport?patient=[reference]&status={system|}[code]{,{system|}[code],...} - // Note: implied system, and we only pass in the token. - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/v2-0074|LAB"); - parameters.searchParam("date", "ge2005-01"); - parameters.searchParam("status", "final"); - FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, diagnosticReportId1); - assertContainsIds(bundle, diagnosticReportId2); - assertContainsIds(bundle, diagnosticReportId3); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreDiagnosticReportNoteTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreDiagnosticReportNoteTest.java deleted file mode 100644 index 3e2184f4424..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreDiagnosticReportNoteTest.java +++ /dev/null @@ -1,231 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020, 2021 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.core.Response; - -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.DiagnosticReport; -import com.ibm.fhir.model.test.TestUtil; - -/** - * Tests the US Core 3.1.1 Profile with DiagnosticReport Lab. - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-diagnosticreport-note.html - */ -public class USCoreDiagnosticReportNoteTest extends ProfilesTestBase { - private static final String CLASSNAME = USCoreDiagnosticReportNoteTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String diagnosticReportId1 = null; - private String diagnosticReportId2 = null; - - @Override - public List<String> getRequiredProfiles() { - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1"); - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - DiagnosticReport - Note', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadDiagnosticReport1(); - loadDiagnosticReport2(); - } - } - - public void loadDiagnosticReport1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/DiagnosticReport-cardiology-report.json"; - DiagnosticReport diagnosticReport = TestUtil.readExampleResource(resource); - diagnosticReportId1 = createResourceAndReturnTheLogicalId("DiagnosticReport", diagnosticReport); - } - - public void loadDiagnosticReport2() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/DiagnosticReport-chest-xray-report.json"; - DiagnosticReport diagnosticReport = TestUtil.readExampleResource(resource); - diagnosticReportId2 = createResourceAndReturnTheLogicalId("DiagnosticReport", diagnosticReport); - } - - @Test - public void testSearchForPatient() throws Exception { - // SHALL support searching for all diagnosticreports for a patient using the patient search parameter: - // GET [base]/DiagnosticReport?patient=[reference] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, diagnosticReportId1); - assertContainsIds(bundle, diagnosticReportId2); - } - } - - @Test - public void testSearchForPatientAndCategory() throws Exception { - // SHALL support searching using the combination of the patient and category search parameters: - // GET [base]/DiagnosticReport?patient=[reference]&category={system|}[code] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "LP29708-2"); - FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, diagnosticReportId1); - assertDoesNotContainsIds(bundle, diagnosticReportId2); - } - } - - @Test - public void testSearchForPatientAndCategoryAndSystem() throws Exception { - // SHALL support searching using the combination of the patient and category search parameters: - // GET [base]/DiagnosticReport?patient=[reference]&category={system|}[code] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://loinc.org|LP29708-2"); - FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, diagnosticReportId1); - assertDoesNotContainsIds(bundle, diagnosticReportId2); - } - } - - @Test - public void testSearchForPatientAndCode() throws Exception { - // SHALL support searching using the combination of the patient and code search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // GET [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...} - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("code", "http://loinc.org|45033-8"); - FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, diagnosticReportId1); - assertDoesNotContainsIds(bundle, diagnosticReportId2); - } - } - - @Test - public void testSearchForPatientAndCodes() throws Exception { - // SHALL support searching using the combination of the patient and code search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // GET [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...} - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("code", "http://loinc.org|45033-8,http://loinc.org|30746-2"); - FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, diagnosticReportId1); - assertContainsIds(bundle, diagnosticReportId2); - } - } - - @Test - public void testSearchForPatientAndCategoryAndDate() throws Exception { - // SHALL support searching using the combination of the patient and category and date search parameters: - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - // GET - // [base]/DiagnosticReport?patient=[reference]&category={system|}[code]&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "LP29708-2"); - parameters.searchParam("date", "2011-01-01T21Z"); - FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, diagnosticReportId1); - assertDoesNotContainsIds(bundle, diagnosticReportId2); - } - } - - @Test - public void testSearchForPatientAndStatus() throws Exception { - // SHOULD support searching using the combination of the patient and status search parameters: - // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) - // GET [base]/DiagnosticReport?patient=[reference]&status={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("status", "final"); - FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, diagnosticReportId1); - assertContainsIds(bundle, diagnosticReportId2); - } - } - - @Test - public void testSearchForPatientAndCodeAndDate() throws Exception { - // SHOULD support searching using the combination of the patient and code and date search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - // GET - // [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...}&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("code", "http://loinc.org|45033-8,http://loinc.org|30746-2"); - parameters.searchParam("date", "2011-01-01T21Z"); - FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, diagnosticReportId1); - assertDoesNotContainsIds(bundle, diagnosticReportId2); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreDocumentReferenceTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreDocumentReferenceTest.java deleted file mode 100644 index 1c865d363c7..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreDocumentReferenceTest.java +++ /dev/null @@ -1,209 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020, 2021 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.core.Response; - -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.DocumentReference; -import com.ibm.fhir.model.test.TestUtil; - -/** - * Tests the US Core 3.1.1 Profile with DocumentReference. - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-documentreference.html - * https://www.hl7.org/fhir/us/core/clinical-notes-guidance.html - */ -public class USCoreDocumentReferenceTest extends ProfilesTestBase { - - private static final String CLASSNAME = USCoreImmunizationTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String documentReferenceId1 = null; - - @Override - public List<String> getRequiredProfiles() { - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1"); - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - DocumentReference', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadDocumentReference1(); - } - } - - public void loadDocumentReference1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/DocumentReference-episode-summary.json"; - - DocumentReference documentReference = TestUtil.readExampleResource(resource); - documentReferenceId1 = createResourceAndReturnTheLogicalId("DocumentReference", documentReference); - } - - @Test - public void testSearchForId() throws Exception { - // SHALL support fetching a DocumentReference using the _id search parameter: - // GET [base]/DocumentReference[id] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("_id", documentReferenceId1); - FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, documentReferenceId1); - } - } - - @Test - public void testSearchForPatient() throws Exception { - // SHALL support searching for all documentreferences for a patient using the patient search parameter: - // GET [base]/DocumentReference?patient=[reference] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, documentReferenceId1); - } - } - - @Test - public void testSearchForPatientAndCategory() throws Exception { - // SHALL support searching using the combination of the patient and category search parameters: - // GET [base]/DocumentReference?patient=[reference]&category=http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note"); - FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, documentReferenceId1); - } - } - - @Test - public void testSearchForPatientAndCategoryAndDate() throws Exception { - // SHALL support searching using the combination of the patient and category and date search parameters: - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - // GET [base]/DocumentReference?patient=[reference]&category=http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note"); - parameters.searchParam("date", "ge2016"); - FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, documentReferenceId1); - } - } - - @Test - public void testSearchForPatientAndCategoryAndBadDate() throws Exception { - // SHALL support searching using the combination of the patient and category and date search parameters: - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - // GET [base]/DocumentReference?patient=[reference]&category=http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note"); - parameters.searchParam("date", "ge2017"); - FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() == 0); - } - } - - @Test - public void testSearchForPatientAndType() throws Exception { - // SHALL support searching using the combination of the patient and type search parameters: - // GET [base]/DocumentReference?patient=[reference]&type={system|}[code] - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("type", "http://loinc.org|34133-9"); - FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, documentReferenceId1); - } - } - - @Test - public void testSearchForPatientAndStatus() throws Exception { - // SHOULD support searching using the combination of the patient and status search parameters: - // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) - // GET [base]/DocumentReference?patient=[reference]&status={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("type", "http://loinc.org|34133-9"); - FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, documentReferenceId1); - } - } - - @Test - public void testSearchForPatientAndTypeAndPeriod() throws Exception { - // SHOULD support searching using the combination of the patient and type and period search parameters: - // including support for these period comparators: gt,lt,ge,le - // including optional support for composite AND search on period (e.g.period=[date]&period=[date]]&...) - // GET [base]/DocumentReference?patient=[reference]&type={system|}[code]&period={gt|lt|ge|le}[date]{&period={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("type", "http://loinc.org|34133-9"); - parameters.searchParam("period", "2004"); - FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertBaseBundleNotEmpty(bundle); - assertContainsIds(bundle, documentReferenceId1); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreEncounterTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreEncounterTest.java deleted file mode 100644 index 9bc83785da3..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreEncounterTest.java +++ /dev/null @@ -1,281 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; - -import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.core.FHIRMediaType; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Encounter; -import com.ibm.fhir.model.test.TestUtil; -import com.ibm.fhir.model.type.Code; -import com.ibm.fhir.model.type.CodeableConcept; -import com.ibm.fhir.model.type.Coding; -import com.ibm.fhir.model.type.Identifier; -import com.ibm.fhir.model.type.Uri; -import com.ibm.fhir.model.type.code.IdentifierUse; - -/** - * Tests the US Core 3.1.1 Profile with Encounter. - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-encounter.html - */ -public class USCoreEncounterTest extends ProfilesTestBase { - - private static final String CLASSNAME = USCoreEncounterTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String encounterId1 = null; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - Encounter', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadEncounter1(); - } - } - - @AfterClass - public void deleteResources() throws Exception { - if (!skip) { - deleteEncounter1(); - } - } - - public void loadEncounter1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Encounter-example-1.json"; - WebTarget target = getWebTarget(); - - // @formatter:off - CodeableConcept type = CodeableConcept.builder() - .coding(Coding.builder() - .code(Code.of("DL")) - .display(com.ibm.fhir.model.type.String.of("Driver's license number")) - .system(Uri.of("http://terminology.hl7.org/CodeSystem/v2-0203")) - .build()) - .build(); - // @formatter:on - - Identifier identifier = - Identifier.builder() - .system(Uri.of("urn:oid:0.1.2.3.4.5.6.7")) - .use(IdentifierUse.OFFICIAL) - .value(com.ibm.fhir.model.type.String.of("654321")) - .type(type) - .build(); - - Encounter encounter = TestUtil.readExampleResource(resource); - encounter = encounter.toBuilder().identifier(identifier).build(); - - Entity<Encounter> entity = Entity.entity(encounter, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Encounter").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Encounter/12354 (first actual test, but simple) - encounterId1 = getLocationLogicalId(response); - response = target.path("Encounter/" + encounterId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteEncounter1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Encounter/" + encounterId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - @Test - public void testSearchForId() throws Exception { - // SHALL support fetching an encounter using the _id search parameter: - // GET [base]/Encounter?_id=12354 - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("_id", encounterId1); - FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() == 1); - assertContainsIds(bundle, encounterId1); - } - } - - @Test - public void testSearchForPatient() throws Exception { - // SHALL support searching for all Encounters for a patient using the patient search parameter: - // GET [base]/Encounter?patient=[reference] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, encounterId1); - } - } - - @Test - public void testSearchForPatientAndDate() throws Exception { - // SHALL support searching using the combination of the date and patient search parameters: - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - // GET [base]/Encounter?date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...}&patient=[reference] - // date is actually a period -> Encounter.period - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("date", "ge2015-11-01"); - FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, encounterId1); - } - } - - @Test - public void testSearchForIdentifierAndDate() throws Exception { - // SHOULD support searching using the identifier search parameter: - // GET [base]/Encounter?identifier={system|}[code] - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("identifier", "654321"); - parameters.searchParam("date", "ge2015-11-01"); - FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, encounterId1); - } - } - - @Test - public void testSearchForClassAndPatient() throws Exception { - // SHOULD support searching using the combination of the class and patient search parameters: - // GET [base]/Encounter?class={system|}[code]&patient=[reference] - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("class", "AMB"); - FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, encounterId1); - } - } - - @Test - public void testSearchForClassAndPatientWithSystem() throws Exception { - // SHOULD support searching using the combination of the class and patient search parameters: - // GET [base]/Encounter?class={system|}[code]&patient=[reference] - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("class", "http://terminology.hl7.org/CodeSystem/v3-ActCode|AMB"); - FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, encounterId1); - } - } - - @Test - public void testSearchForTypeAndPatientWithSystem() throws Exception { - // SHOULD support searching using the combination of the patient and type search parameters: - // GET [base]/Encounter?patient=[reference]&type={system|}[code] - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("type", "http://www.ama-assn.org/go/cpt|99201"); - FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, encounterId1); - } - } - - @Test - public void testSearchForTypeAndPatient() throws Exception { - // SHOULD support searching using the combination of the patient and type search parameters: - // GET [base]/Encounter?patient=[reference]&type={system|}[code] - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("type", "99201"); - FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, encounterId1); - } - } - - @Test - public void testSearchForStatusAndPatient() throws Exception { - // SHOULD support searching using the combination of the patient and status search parameters: - // GET [base]/Encounter?patient=[reference]&status={system|}[code] - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("status", "finished"); - FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, encounterId1); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreGoalTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreGoalTest.java deleted file mode 100644 index b498c01b5ae..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreGoalTest.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; - -import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.core.FHIRMediaType; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Goal; -import com.ibm.fhir.model.test.TestUtil; - -/** - * Tests the US Core 3.1.1 Profile with Goal. - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-goal.html - */ -public class USCoreGoalTest extends ProfilesTestBase { - - private static final String CLASSNAME = USCoreImmunizationTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String goalId1 = null; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - Goal', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadGoal1(); - } - } - - @AfterClass - public void deleteResources() throws Exception { - if (!skip) { - deleteGoal1(); - } - } - - public void loadGoal1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Goal-goal-1.json"; - WebTarget target = getWebTarget(); - - Goal goal = TestUtil.readExampleResource(resource); - - Entity<Goal> entity = Entity.entity(goal, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Goal").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Goal/12354 (first actual test, but simple) - goalId1 = getLocationLogicalId(response); - response = target.path("Goal/" + goalId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteGoal1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Goal/" + goalId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - @Test - public void testSearchForPatient() throws Exception { - // SHALL support searching for all goals for a patient using the patient search parameter: - // GET [base]/Goal?patient=[reference] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - FHIRResponse response = client.search(Goal.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, goalId1); - } - } - - @Test - public void testSearchForPatientLifecycleStatus() throws Exception { - // SHOULD support searching using the combination of the patient and lifecycle-status search parameters: - // GET [base]/Goal?patient=[reference]&lifecycle-status={system|}[code] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("lifecycle-status", "active"); - FHIRResponse response = client.search(Goal.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, goalId1); - } - } - - @Test - public void testSearchForPatientTargetDate() throws Exception { - // SHOULD support searching using the combination of the patient and target-date search parameters: - // including support for these target-date comparators: gt,lt,ge,le - // including optional support for composite AND search on target-date - // (e.g.target-date=[date]&target-date=[date]]&...) - // GET [base]/Goal?patient=[reference]&target-date={gt|lt|ge|le}[date]{&target-date={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("target-date", "ge2016"); - FHIRResponse response = client.search(Goal.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, goalId1); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreImmunizationTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreImmunizationTest.java deleted file mode 100644 index ae7b8f1d231..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreImmunizationTest.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; - -import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.core.FHIRMediaType; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Immunization; -import com.ibm.fhir.model.test.TestUtil; - -/** - * Tests the US Core 3.1.1 Profile with Immunization. - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-Immunization.html - */ -public class USCoreImmunizationTest extends ProfilesTestBase { - private static final String CLASSNAME = USCoreImmunizationTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String immunizationId1 = null; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - Immunization', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadImmunization1(); - } - } - - @AfterClass - public void deleteResources() throws Exception { - if (!skip) { - deleteImmunization1(); - } - } - - public void loadImmunization1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Immunization-imm-1.json"; - WebTarget target = getWebTarget(); - - Immunization Immunization = TestUtil.readExampleResource(resource); - - Entity<Immunization> entity = Entity.entity(Immunization, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Immunization").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Immunization/12354 (first actual test, but simple) - immunizationId1 = getLocationLogicalId(response); - response = target.path("Immunization/" + immunizationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteImmunization1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Immunization/" + immunizationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - @Test - public void testSearchForPatient() throws Exception { - // SHALL support searching for all immunizations for a patient using the patient search parameter: - // GET [base]/Immunization?patient=[reference] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - FHIRResponse response = client.search(Immunization.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, immunizationId1); - } - } - - @Test - public void testSearchForPatientAndDate() throws Exception { - // SHOULD support searching using the combination of the patient and lifecycle-status search parameters: - // GET [base]/Immunization?patient=[reference]&lifecycle-status={system|}[code] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("date", "ge2016"); - parameters.searchParam("date", "lt2017"); - FHIRResponse response = client.search(Immunization.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, immunizationId1); - } - } - - @Test - public void testSearchForPatientAndStatus() throws Exception { - // SHOULD support searching using the combination of the patient and status search parameters: - // GET [base]/Immunization?patient=[reference]&status={system|}[code] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("status", "completed"); - FHIRResponse response = client.search(Immunization.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, immunizationId1); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreImplantableDeviceTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreImplantableDeviceTest.java deleted file mode 100644 index 4c404e55f62..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreImplantableDeviceTest.java +++ /dev/null @@ -1,196 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; - -import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.core.FHIRMediaType; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Device; -import com.ibm.fhir.model.test.TestUtil; - -/** - * Tests the US Core 3.1.1 Profile with Device. - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-implantable-device.html - */ -public class USCoreImplantableDeviceTest extends ProfilesTestBase { - - private static final String CLASSNAME = USCoreImplantableDeviceTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String deviceId1 = null; - private String deviceId2 = null; - private String deviceId3 = null; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - Device', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadDevice1(); - loadDevice2(); - loadDevice3(); - } - } - - @AfterClass - public void deleteResources() throws Exception { - if (!skip) { - deleteDevice1(); - deleteDevice2(); - deleteDevice3(); - } - } - - public void loadDevice1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Device-udi-1.json"; - WebTarget target = getWebTarget(); - - Device Device = TestUtil.readExampleResource(resource); - - Entity<Device> entity = Entity.entity(Device, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Device").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - deviceId1 = getLocationLogicalId(response); - response = target.path("Device/" + deviceId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void loadDevice2() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Device-udi-2.json"; - WebTarget target = getWebTarget(); - - Device Device = TestUtil.readExampleResource(resource); - - Entity<Device> entity = Entity.entity(Device, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Device").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - deviceId2 = getLocationLogicalId(response); - response = target.path("Device/" + deviceId2).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void loadDevice3() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Device-udi-3.json"; - WebTarget target = getWebTarget(); - - Device Device = TestUtil.readExampleResource(resource); - - Entity<Device> entity = Entity.entity(Device, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Device").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - deviceId3 = getLocationLogicalId(response); - response = target.path("Device/" + deviceId3).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteDevice1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Device/" + deviceId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteDevice2() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Device/" + deviceId2).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteDevice3() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Device/" + deviceId3).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - @Test - public void testSearchForPatient() throws Exception { - // SHALL support searching for all devices for a patient, including implantable devices using the patient search - // parameter: - // GET [base]/Device?patient=1137192 - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - FHIRResponse response = client.search(Device.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, deviceId1); - assertContainsIds(bundle, deviceId2); - assertContainsIds(bundle, deviceId3); - } - } - - @Test - public void testSearchForPatientAndMultipleTypes() throws Exception { - // SHOULD support searching using the combination of the patient and type search parameters: - // GET [base]/Device?patient=[reference]&type={[system]}|[code] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("type", "http://snomed.info/sct|468063009,http://snomed.info/sct|19257004"); - FHIRResponse response = client.search(Device.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, deviceId1); - assertContainsIds(bundle, deviceId2); - assertDoesNotContainsIds(bundle, deviceId3); - } - } - - @Test - public void testSearchForPatientAndType() throws Exception { - // SHOULD support searching using the combination of the patient and type search parameters: - // GET [base]/Device?patient=[reference]&type={[system]}|[code] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("type", "19257004"); - FHIRResponse response = client.search(Device.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertDoesNotContainsIds(bundle, deviceId1); - assertContainsIds(bundle, deviceId2); - assertDoesNotContainsIds(bundle, deviceId3); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreLocationTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreLocationTest.java deleted file mode 100644 index fa39174880f..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreLocationTest.java +++ /dev/null @@ -1,176 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; - -import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.core.FHIRMediaType; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Location; -import com.ibm.fhir.model.test.TestUtil; - -/** - * Tests the US Core 3.1.1 Profile with Location. - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-location.html - */ -public class USCoreLocationTest extends ProfilesTestBase { - - private static final String CLASSNAME = USCoreImmunizationTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String locationId1 = null; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-location|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - Location', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadLocation1(); - } - } - - @AfterClass - public void deleteResources() throws Exception { - if (!skip) { - deleteLocation1(); - } - } - - public void loadLocation1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Location-hl7east.json"; - WebTarget target = getWebTarget(); - - Location goal = TestUtil.readExampleResource(resource); - - Entity<Location> entity = Entity.entity(goal, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Location").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Location/12354 (first actual test, but simple) - locationId1 = getLocationLogicalId(response); - response = target.path("Location/" + locationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteLocation1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Location/" + locationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - @Test - public void testSearchForName() throws Exception { - // SHALL support searching by location name using the name search parameter: - // GET [base]/Location?name=[string] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("name", "Health Level Seven International - Amherst"); - FHIRResponse response = client.search(Location.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, locationId1); - } - } - - @Test - public void testSearchForAddress() throws Exception { - // SHALL support searching location based on text address using the address search parameter: - // GET [base]/Location?address=[string] - // "3300 Washtenaw Avenue, Suite 227" - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("address:contains", "Washtenaw"); - FHIRResponse response = client.search(Location.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, locationId1); - } - } - - @Test - public void testSearchForAddressCity() throws Exception { - // SHOULD support searching using the address-city search parameter: - // GET [base]/Location?address-city=[string] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("address-city", "Amherst"); - FHIRResponse response = client.search(Location.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, locationId1); - } - } - - @Test - public void testSearchForAddressState() throws Exception { - // SHOULD support searching using the address-state search parameter: - // GET [base]/Location?address-state=[string] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("address-state", "MA"); - FHIRResponse response = client.search(Location.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, locationId1); - } - } - - @Test - public void testSearchForAddressPostalCode() throws Exception { - // SHOULD support searching using the address-postalcode search parameter: - // GET [base]/Location?address-postalcode=[string] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("address-postalcode", "01002"); - FHIRResponse response = client.search(Location.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, locationId1); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreMedicationRequestTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreMedicationRequestTest.java deleted file mode 100644 index 331d70f2178..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreMedicationRequestTest.java +++ /dev/null @@ -1,351 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; - -import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.core.FHIRMediaType; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Bundle.Entry.Request; -import com.ibm.fhir.model.resource.MedicationRequest; -import com.ibm.fhir.model.test.TestUtil; -import com.ibm.fhir.model.type.Id; -import com.ibm.fhir.model.type.Meta; -import com.ibm.fhir.model.type.Uri; -import com.ibm.fhir.model.type.code.BundleType; -import com.ibm.fhir.model.type.code.HTTPVerb; - -/** - * Tests the US Core 3.1.1 Profile with MedicationRequest. - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-medicationrequest.html - */ -public class USCoreMedicationRequestTest extends ProfilesTestBase { - - private static final String CLASSNAME = USCoreImmunizationTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String medicationRequestId1 = null; - private String medicationRequestId2 = null; - private String medicationRequestId3 = "uscore-mo3"; - private String medicationId3 = "uscore-med2"; - private String medicationRequestId4 = null; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList( - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest|3.1.1", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - MedicationRequest', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadBundle1(); - loadMedicationRequest1(); - loadMedicationRequest2(); - loadMedicationRequest4(); - } - } - - @AfterClass - public void deleteResources() throws Exception { - if (!skip) { - deleteBundleEntry1(); - deleteBundleEntry2(); - deleteMedicationRequest1(); - deleteMedicationRequest2(); - deleteMedicationRequest4(); - } - } - - public void loadBundle1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Bundle-uscore-mo3.json"; - WebTarget target = getWebTarget(); - - Bundle bundle = TestUtil.readExampleResource(resource); - List<Bundle.Entry> entries = bundle.getEntry(); - List<Bundle.Entry> output = new ArrayList<>(); - for (Bundle.Entry entry : entries) { - Request request = Request.builder() - .method(HTTPVerb.PUT) - .url(Uri.of(entry.getResource().getClass().getSimpleName() + "/" + entry.getResource().getId())) - .build(); - - Meta meta = Meta.builder() - .versionId(Id.of("" + System.currentTimeMillis())) - .build(); - entry.getResource().toBuilder().meta(meta).build(); - - Bundle.Entry tmpEntry = entry.toBuilder().request(request).build(); - output.add(tmpEntry); - } - bundle = bundle.toBuilder().type(BundleType.BATCH).entry(output).build(); - - Entity<Bundle> entity = Entity.entity(bundle, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.request().header(PREFER_HEADER_NAME, PREFER_HEADER_RETURN_REPRESENTATION).post(entity, Response.class); - assertResponse(response, Response.Status.OK.getStatusCode()); - - String method = "loadBundle1"; - if (DEBUG) { - Bundle responseBundle = getEntityWithExtraWork(response, method); - printOutResource(DEBUG, responseBundle); - } - - response = target.path("MedicationRequest/" + medicationRequestId3).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - - response = target.path("Medication/" + medicationId3).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void loadMedicationRequest1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/MedicationRequest-uscore-mo1.json"; - WebTarget target = getWebTarget(); - - MedicationRequest goal = TestUtil.readExampleResource(resource); - - Entity<MedicationRequest> entity = Entity.entity(goal, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("MedicationRequest").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/MedicationRequest/12354 (first actual test, but simple) - medicationRequestId1 = getLocationLogicalId(response); - response = target.path("MedicationRequest/" + medicationRequestId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteMedicationRequest1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("MedicationRequest/" + medicationRequestId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void loadMedicationRequest2() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/MedicationRequest-uscore-mo2.json"; - WebTarget target = getWebTarget(); - - MedicationRequest goal = TestUtil.readExampleResource(resource); - - Entity<MedicationRequest> entity = Entity.entity(goal, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("MedicationRequest").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/MedicationRequest/12354 (first actual test, but simple) - medicationRequestId2 = getLocationLogicalId(response); - response = target.path("MedicationRequest/" + medicationRequestId2).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteMedicationRequest2() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("MedicationRequest/" + medicationRequestId2).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void loadMedicationRequest4() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/MedicationRequest-self-tylenol.json"; - WebTarget target = getWebTarget(); - - MedicationRequest goal = TestUtil.readExampleResource(resource); - - Entity<MedicationRequest> entity = Entity.entity(goal, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("MedicationRequest").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/MedicationRequest/12354 (first actual test, but simple) - medicationRequestId4 = getLocationLogicalId(response); - response = target.path("MedicationRequest/" + medicationRequestId4).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteMedicationRequest4() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("MedicationRequest/" + medicationRequestId4).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteBundleEntry1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("MedicationRequest/" + medicationRequestId3).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteBundleEntry2() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Medication/" + medicationId3).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - @Test - public void testSearchByPatientWithSingleIntent() throws Exception { - // SHALL support searching using the combination of the patient and intent search parameters: - // including support for composite OR search on intent (e.g.intent={system|}[code],{system|}[code],...) - // GET [base]/MedicationRequest?patient=[reference]&intent=order,plan - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("intent", "order"); - FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, medicationRequestId1); - assertContainsIds(bundle, medicationRequestId2); - assertContainsIds(bundle, medicationRequestId3); - assertDoesNotContainsIds(bundle, medicationRequestId4); - } - } - - @Test - public void testSearchByPatientWithMultipleIntents() throws Exception { - // SHALL support searching using the combination of the patient and intent search parameters: - // including support for composite OR search on intent (e.g.intent={system|}[code],{system|}[code],...) - // GET [base]/MedicationRequest?patient=[reference]&intent=order,plan - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("intent", "order,plan"); - FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, medicationRequestId1); - assertContainsIds(bundle, medicationRequestId2); - assertContainsIds(bundle, medicationRequestId3); - assertContainsIds(bundle, medicationRequestId4); - } - } - - @Test - public void testSearchByPatientWithSingleIntentAndStatus() throws Exception { - // SHALL support searching using the combination of the patient and intent and status search parameters: - // including support for composite OR search on intent (e.g.intent={system|}[code],{system|}[code],...) - // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) - // GET [base]/MedicationRequest?patient=[reference]&intent=order,plan&status={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("intent", "order"); - parameters.searchParam("status", "active"); - FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, medicationRequestId1); - assertContainsIds(bundle, medicationRequestId2); - assertContainsIds(bundle, medicationRequestId3); - assertDoesNotContainsIds(bundle, medicationRequestId4); - } - } - - @Test - public void testSearchByPatientWithSingleIntentAndEncounter() throws Exception { - // SHOULD support searching using the combination of the patient and intent and encounter search parameters: - // including support for composite OR search on intent (e.g.intent={system|}[code],{system|}[code],...) - // GET [base]/MedicationRequest?patient=[reference]&intent=order,plan&encounter=[reference] - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("intent", "plan"); - parameters.searchParam("encounter", "Encounter/example-1"); - FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertDoesNotContainsIds(bundle, medicationRequestId1); - assertDoesNotContainsIds(bundle, medicationRequestId2); - assertDoesNotContainsIds(bundle, medicationRequestId3); - assertContainsIds(bundle, medicationRequestId4); - } - } - - @Test - public void testSearchByPatientWithSingleIntentWithInclude() throws Exception { - // Tests the include - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("intent", "order,plan"); - parameters.searchParam("_include", "MedicationRequest:medication"); - FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, medicationRequestId1); - assertContainsIds(bundle, medicationRequestId2); - assertContainsIds(bundle, medicationRequestId3); - assertContainsIds(bundle, medicationRequestId4); - assertContainsIds(bundle, medicationId3); - } - } - - @Test - public void testSearchByPatientWithSingleIntentWithIncludeAndAuthoredOn() throws Exception { - // SHOULD support searching using the combination of the patient and intent and authoredon search parameters: - // including support for composite OR search on intent (e.g.intent={system|}[code],{system|}[code],...) - // including support for these authoredon comparators: gt,lt,ge,le - // including optional support for composite AND search on authoredon (e.g.authoredon=[date]&authoredon=[date]]&...) - // GET [base]/MedicationRequest?patient=[reference]&intent=order,plan&authoredon={gt|lt|ge|le}[date]{&authoredon={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("intent", "order,plan"); - parameters.searchParam("authoredon", "2019-06-24"); - parameters.searchParam("_include", "MedicationRequest:medication"); - FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertDoesNotContainsIds(bundle, medicationRequestId1); - assertDoesNotContainsIds(bundle, medicationRequestId2); - assertDoesNotContainsIds(bundle, medicationRequestId3); - assertContainsIds(bundle, medicationRequestId4); - assertDoesNotContainsIds(bundle, medicationId3); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreMedicationTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreMedicationTest.java deleted file mode 100644 index 65f4a2583c6..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreMedicationTest.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; - -import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.core.FHIRMediaType; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Medication; -import com.ibm.fhir.model.test.TestUtil; - -/** - * Tests the US Core 3.1.1 Profile with Medication. - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-medication.html - */ -public class USCoreMedicationTest extends ProfilesTestBase { - - private static final String CLASSNAME = USCoreImmunizationTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String medicationId1 = null; - private String medicationId2 = null; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - Medication', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadMedication1(); - loadMedication2(); - } - } - - @AfterClass - public void deleteResources() throws Exception { - if (!skip) { - deleteMedication1(); - deleteMedication2(); - } - } - - public void loadMedication1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Medication-uscore-med1.json"; - WebTarget target = getWebTarget(); - - Medication goal = TestUtil.readExampleResource(resource); - - Entity<Medication> entity = Entity.entity(goal, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Medication").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Medication/12354 (first actual test, but simple) - medicationId1 = getLocationLogicalId(response); - response = target.path("Medication/" + medicationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteMedication1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Medication/" + medicationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void loadMedication2() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Medication-uscore-med2.json"; - WebTarget target = getWebTarget(); - - Medication goal = TestUtil.readExampleResource(resource); - - Entity<Medication> entity = Entity.entity(goal, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Medication").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Medication/12354 (first actual test, but simple) - medicationId2 = getLocationLogicalId(response); - response = target.path("Medication/" + medicationId2).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteMedication2() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Medication/" + medicationId2).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - @Test - public void testSearchForCode() throws Exception { - // There are no specific search terms for Medication, using the base spec. - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("code", "http://www.nlm.nih.gov/research/umls/rxnorm|206765,http://www.nlm.nih.gov/research/umls/rxnorm|582620"); - FHIRResponse response = client.search(Medication.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, medicationId1); - assertContainsIds(bundle, medicationId2); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationLabTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationLabTest.java deleted file mode 100644 index 826e7f11cb5..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationLabTest.java +++ /dev/null @@ -1,273 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; - -import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.core.FHIRMediaType; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Observation; -import com.ibm.fhir.model.test.TestUtil; - -/** - * Tests the US Core 3.1.1 Profile with Observation. - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-Observation.html - */ -public class USCoreObservationLabTest extends ProfilesTestBase { - private static final String CLASSNAME = USCoreObservationLabTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String observationId1 = null; - private String observationId2 = null; - private String observationId3 = null; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - Observation', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadObservation1(); - loadObservation2(); - loadObservation3(); - } - } - - @AfterClass - public void deleteResources() throws Exception { - if (!skip) { - deleteObservation1(); - deleteObservation2(); - deleteObservation3(); - } - } - - public void loadObservation1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Observation-usg.json"; - WebTarget target = getWebTarget(); - - Observation observation = TestUtil.readExampleResource(resource); - - Entity<Observation> entity = Entity.entity(observation, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Observation").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Observation/12354 (first actual test, but simple) - observationId1 = getLocationLogicalId(response); - response = target.path("Observation/" + observationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void loadObservation2() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Observation-serum-total-bilirubin.json"; - WebTarget target = getWebTarget(); - - Observation observation = TestUtil.readExampleResource(resource); - - Entity<Observation> entity = Entity.entity(observation, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Observation").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Observation/12354 (first actual test, but simple) - observationId2 = getLocationLogicalId(response); - response = target.path("Observation/" + observationId2).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void loadObservation3() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Observation-erythrocytes.json"; - WebTarget target = getWebTarget(); - - Observation observation = TestUtil.readExampleResource(resource); - - Entity<Observation> entity = Entity.entity(observation, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Observation").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Observation/12354 (first actual test, but simple) - observationId3 = getLocationLogicalId(response); - response = target.path("Observation/" + observationId3).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteObservation1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Observation/" + observationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteObservation2() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Observation/" + observationId2).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteObservation3() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Observation/" + observationId3).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - @Test - public void testSearchForPatient() throws Exception { - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - assertContainsIds(bundle, observationId2); - assertContainsIds(bundle, observationId3); - } - } - - @Test - public void testSearchForPatientAndCategory() throws Exception { - // SHALL support searching using the combination of the patient and category search parameters: - // GET - // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|laboratory - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|laboratory"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - assertContainsIds(bundle, observationId2); - assertContainsIds(bundle, observationId3); - } - } - - @Test - public void testSearchForPatientAndMultipleCodes() throws Exception { - // SHALL support searching using the combination of the patient and code search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("code", "http://loinc.org|5811-5,1975-2"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - assertContainsIds(bundle, observationId2); - assertDoesNotContainsIds(bundle, observationId3); - } - } - - @Test - public void testSearchForPatientAndCategoryAndDate() throws Exception { - // SHALL support searching using the combination of the patient and category search parameters: - // GET - // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|laboratory - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|laboratory"); - parameters.searchParam("date", "ge2005"); - parameters.searchParam("date", "lt2006"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - assertContainsIds(bundle, observationId2); - assertContainsIds(bundle, observationId3); - } - } - - @Test - public void testSearchForPatientAndCategoryAndDateAndStatus() throws Exception { - // SHOULD support searching using the combination of the patient and category and status search parameters: - // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) - // GET - // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|laboratory&status={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|laboratory"); - parameters.searchParam("date", "ge2005"); - parameters.searchParam("date", "lt2006"); - parameters.searchParam("status", "final"); - - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - assertContainsIds(bundle, observationId2); - assertContainsIds(bundle, observationId3); - } - } - - @Test - public void testSearchForPatientAndMultipleCodesAndDate() throws Exception { - // SHOULD support searching using the combination of the patient and code and date search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("code", "http://loinc.org|5811-5,1975-2"); - parameters.searchParam("date", "2005-07-05"); - - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - assertDoesNotContainsIds(bundle, observationId2); - assertDoesNotContainsIds(bundle, observationId3); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationPediatricBMIForAgeTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationPediatricBMIForAgeTest.java deleted file mode 100644 index 04ca27fd1ec..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationPediatricBMIForAgeTest.java +++ /dev/null @@ -1,255 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; - -import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.core.FHIRMediaType; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Observation; -import com.ibm.fhir.model.test.TestUtil; - -/** - * Tests the US Core 3.1.1 Profile with Observation on Vital Signs - * - * https://www.hl7.org/fhir/us/core/StructureDefinition-pediatric-bmi-for-age.html - * - * using https://www.hl7.org/fhir/us/core/vitals-search.html as a guide - */ -public class USCoreObservationPediatricBMIForAgeTest extends ProfilesTestBase { - - private static final String CLASSNAME = USCoreObservationPediatricBMIForAgeTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String observationId1 = null; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - Observation', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadObservation1(); - } - } - - @AfterClass - public void deleteResources() throws Exception { - if (!skip) { - deleteObservation1(); - } - } - - public void loadObservation1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Observation-pediatric-bmi-example.json"; - WebTarget target = getWebTarget(); - - Observation observation = TestUtil.readExampleResource(resource); - - Entity<Observation> entity = Entity.entity(observation, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Observation").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Observation/12354 (first actual test, but simple) - observationId1 = getLocationLogicalId(response); - response = target.path("Observation/" + observationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteObservation1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Observation/" + observationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - @Test - public void testSearchForPatient() throws Exception { - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/child-example"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCategory() throws Exception { - // SHALL support searching using the combination of the patient and category search parameters: - // GET - // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs - // GET - // [base]/Observation?patient=1134281&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/child-example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCode() throws Exception { - // SHALL support searching using the combination of the patient and code search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/child-example"); - parameters.searchParam("code", "59576-9"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCodeAndSystem() throws Exception { - // SHALL support searching using the combination of the patient and code search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/child-example"); - parameters.searchParam("code", "http://loinc.org|59576-9"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCategoryAndDate() throws Exception { - // SHALL support searching using the combination of the patient and category and date search parameters: - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - // GET [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/child-example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - parameters.searchParam("date", "eq2019"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCategoryAndStatus() throws Exception { - // SHOULD support searching using the combination of the patient and category and status search parameters: - // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) - // GET [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&status={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/child-example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - parameters.searchParam("status", "final"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCodeAndDate() throws Exception { - // SHOULD support searching using the combination of the patient and code and date search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/child-example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - parameters.searchParam("code", "http://loinc.org|59576-9"); - parameters.searchParam("date", "eq2019"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCodeAndBadDate() throws Exception { - // SHOULD support searching using the combination of the patient and code and date search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/child-example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - parameters.searchParam("code", "http://loinc.org|59576-9"); - parameters.searchParam("date", "eq2020"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() == 0); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationPediatricHeadOccipitalFrontalCircumferencePercentileTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationPediatricHeadOccipitalFrontalCircumferencePercentileTest.java deleted file mode 100644 index 7c3ff89165c..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationPediatricHeadOccipitalFrontalCircumferencePercentileTest.java +++ /dev/null @@ -1,255 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; - -import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.core.FHIRMediaType; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Observation; -import com.ibm.fhir.model.test.TestUtil; - -/** - * Tests the US Core 3.1.1 Profile with Observation on Vital Signs - * - * https://www.hl7.org/fhir/us/core/StructureDefinition-head-occipital-frontal-circumference-percentile.html - * - * using https://www.hl7.org/fhir/us/core/vitals-search.html as a guide - */ -public class USCoreObservationPediatricHeadOccipitalFrontalCircumferencePercentileTest extends ProfilesTestBase { - - private static final String CLASSNAME = USCoreObservationPediatricHeadOccipitalFrontalCircumferencePercentileTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String observationId1 = null; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - Observation', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadObservation1(); - } - } - - @AfterClass - public void deleteResources() throws Exception { - if (!skip) { - deleteObservation1(); - } - } - - public void loadObservation1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Observation-ofc-percentile.json"; - WebTarget target = getWebTarget(); - - Observation observation = TestUtil.readExampleResource(resource); - - Entity<Observation> entity = Entity.entity(observation, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Observation").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Observation/12354 (first actual test, but simple) - observationId1 = getLocationLogicalId(response); - response = target.path("Observation/" + observationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteObservation1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Observation/" + observationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - @Test - public void testSearchForPatient() throws Exception { - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/infant-example"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCategory() throws Exception { - // SHALL support searching using the combination of the patient and category search parameters: - // GET - // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs - // GET - // [base]/Observation?patient=1134281&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/infant-example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCode() throws Exception { - // SHALL support searching using the combination of the patient and code search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/infant-example"); - parameters.searchParam("code", "8289-1"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCodeAndSystem() throws Exception { - // SHALL support searching using the combination of the patient and code search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/infant-example"); - parameters.searchParam("code", "http://loinc.org|8289-1"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCategoryAndDate() throws Exception { - // SHALL support searching using the combination of the patient and category and date search parameters: - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - // GET [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/infant-example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - parameters.searchParam("date", "eq2020"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCategoryAndStatus() throws Exception { - // SHOULD support searching using the combination of the patient and category and status search parameters: - // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) - // GET [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&status={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/infant-example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - parameters.searchParam("status", "final"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCodeAndDate() throws Exception { - // SHOULD support searching using the combination of the patient and code and date search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/infant-example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - parameters.searchParam("code", "http://loinc.org|8289-1"); - //parameters.searchParam("date", "eq2020"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCodeAndBadDate() throws Exception { - // SHOULD support searching using the combination of the patient and code and date search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/infant-example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - parameters.searchParam("code", "http://loinc.org|8289-1"); - parameters.searchParam("date", "eq2019"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() == 0); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationPediatricWeightForHeightTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationPediatricWeightForHeightTest.java deleted file mode 100644 index 99d4292fcb9..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationPediatricWeightForHeightTest.java +++ /dev/null @@ -1,255 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; - -import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.core.FHIRMediaType; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Observation; -import com.ibm.fhir.model.test.TestUtil; - -/** - * Tests the US Core 3.1.1 Profile with Observation on Vital Signs - * - * https://www.hl7.org/fhir/us/core/StructureDefinition-pediatric-weight-for-height.html - * - * using https://www.hl7.org/fhir/us/core/vitals-search.html as a guide - */ -public class USCoreObservationPediatricWeightForHeightTest extends ProfilesTestBase { - - private static final String CLASSNAME = USCoreObservationPediatricWeightForHeightTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String observationId1 = null; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - Observation', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadObservation1(); - } - } - - @AfterClass - public void deleteResources() throws Exception { - if (!skip) { - deleteObservation1(); - } - } - - public void loadObservation1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Observation-pediatric-wt-example.json"; - WebTarget target = getWebTarget(); - - Observation observation = TestUtil.readExampleResource(resource); - - Entity<Observation> entity = Entity.entity(observation, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Observation").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Observation/12354 (first actual test, but simple) - observationId1 = getLocationLogicalId(response); - response = target.path("Observation/" + observationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteObservation1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Observation/" + observationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - @Test - public void testSearchForPatient() throws Exception { - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/infant-example"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCategory() throws Exception { - // SHALL support searching using the combination of the patient and category search parameters: - // GET - // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs - // GET - // [base]/Observation?patient=1134281&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/infant-example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCode() throws Exception { - // SHALL support searching using the combination of the patient and code search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/infant-example"); - parameters.searchParam("code", "77606-2"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCodeAndSystem() throws Exception { - // SHALL support searching using the combination of the patient and code search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/infant-example"); - parameters.searchParam("code", "http://loinc.org|77606-2"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCategoryAndDate() throws Exception { - // SHALL support searching using the combination of the patient and category and date search parameters: - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - // GET [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/infant-example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - parameters.searchParam("date", "eq2020"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCategoryAndStatus() throws Exception { - // SHOULD support searching using the combination of the patient and category and status search parameters: - // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) - // GET [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&status={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/infant-example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - parameters.searchParam("status", "final"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCodeAndDate() throws Exception { - // SHOULD support searching using the combination of the patient and code and date search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/infant-example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - parameters.searchParam("code", "http://loinc.org|77606-2"); - //parameters.searchParam("date", "eq2020"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCodeAndBadDate() throws Exception { - // SHOULD support searching using the combination of the patient and code and date search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/infant-example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - parameters.searchParam("code", "http://loinc.org|77606-2"); - parameters.searchParam("date", "eq2019"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() == 0); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationPulseOximetryTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationPulseOximetryTest.java deleted file mode 100644 index 7faf7f4844f..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationPulseOximetryTest.java +++ /dev/null @@ -1,255 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; - -import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.core.FHIRMediaType; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Observation; -import com.ibm.fhir.model.test.TestUtil; - -/** - * Tests the US Core 3.1.1 Profile with Observation on Vital Signs - * - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-pulse-oximetry.html - * - * using https://www.hl7.org/fhir/us/core/vitals-search.html as a guide - */ -public class USCoreObservationPulseOximetryTest extends ProfilesTestBase { - - private static final String CLASSNAME = USCoreObservationPulseOximetryTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String observationId1 = null; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - Observation', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadObservation1(); - } - } - - @AfterClass - public void deleteResources() throws Exception { - if (!skip) { - deleteObservation1(); - } - } - - public void loadObservation1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Observation-satO2-fiO2.json"; - WebTarget target = getWebTarget(); - - Observation observation = TestUtil.readExampleResource(resource); - - Entity<Observation> entity = Entity.entity(observation, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Observation").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Observation/12354 (first actual test, but simple) - observationId1 = getLocationLogicalId(response); - response = target.path("Observation/" + observationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteObservation1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Observation/" + observationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - @Test - public void testSearchForPatient() throws Exception { - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCategory() throws Exception { - // SHALL support searching using the combination of the patient and category search parameters: - // GET - // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs - // GET - // [base]/Observation?patient=1134281&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCode() throws Exception { - // SHALL support searching using the combination of the patient and code search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("code", "2708-6"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCodeAndSystem() throws Exception { - // SHALL support searching using the combination of the patient and code search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("code", "http://loinc.org|2708-6"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCategoryAndDate() throws Exception { - // SHALL support searching using the combination of the patient and category and date search parameters: - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - // GET [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - parameters.searchParam("date", "eq2014-12"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCategoryAndStatus() throws Exception { - // SHOULD support searching using the combination of the patient and category and status search parameters: - // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) - // GET [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&status={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - parameters.searchParam("status", "final"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCodeAndDate() throws Exception { - // SHOULD support searching using the combination of the patient and code and date search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - parameters.searchParam("code", "http://loinc.org|2708-6"); - parameters.searchParam("date", "eq2014-12"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCodeAndBadDate() throws Exception { - // SHOULD support searching using the combination of the patient and code and date search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); - parameters.searchParam("code", "http://loinc.org|2708-6"); - parameters.searchParam("date", "eq2019"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() == 0); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationSmokingStatusTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationSmokingStatusTest.java deleted file mode 100644 index e778daf5226..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreObservationSmokingStatusTest.java +++ /dev/null @@ -1,256 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; - -import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.core.FHIRMediaType; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Observation; -import com.ibm.fhir.model.test.TestUtil; -import com.ibm.fhir.model.type.DateTime; - -/** - * Tests the US Core 3.1.1 Profile with Observation on Vital Signs - * - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-smokingstatus.html - * - * using https://www.hl7.org/fhir/us/core/vitals-search.html as a guide - */ -public class USCoreObservationSmokingStatusTest extends ProfilesTestBase { - - private static final String CLASSNAME = USCoreObservationSmokingStatusTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String observationId1 = null; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - Observation', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadObservation1(); - } - } - - @AfterClass - public void deleteResources() throws Exception { - if (!skip) { - deleteObservation1(); - } - } - - public void loadObservation1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Observation-some-day-smoker.json"; - WebTarget target = getWebTarget(); - - Observation observation = TestUtil.readExampleResource(resource); - observation = observation.toBuilder().effective(DateTime.of("2016")).build(); - Entity<Observation> entity = Entity.entity(observation, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Observation").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Observation/12354 (first actual test, but simple) - observationId1 = getLocationLogicalId(response); - response = target.path("Observation/" + observationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteObservation1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Observation/" + observationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - @Test - public void testSearchForPatient() throws Exception { - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCategory() throws Exception { - // SHALL support searching using the combination of the patient and category search parameters: - // GET - // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|social-history - // GET - // [base]/Observation?patient=1134281&category=http://terminology.hl7.org/CodeSystem/observation-category|social-history - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|social-history"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCode() throws Exception { - // SHALL support searching using the combination of the patient and code search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("code", "72166-2"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCodeAndSystem() throws Exception { - // SHALL support searching using the combination of the patient and code search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("code", "http://loinc.org|72166-2"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCategoryAndDate() throws Exception { - // SHALL support searching using the combination of the patient and category and date search parameters: - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - // GET [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|social-history&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|social-history"); - parameters.searchParam("date", "eq2016"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCategoryAndStatus() throws Exception { - // SHOULD support searching using the combination of the patient and category and status search parameters: - // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) - // GET [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|social-history&status={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|social-history"); - parameters.searchParam("status", "final"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCodeAndDate() throws Exception { - // SHOULD support searching using the combination of the patient and code and date search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|social-history"); - parameters.searchParam("code", "http://loinc.org|72166-2"); - parameters.searchParam("date", "eq2016"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, observationId1); - } - } - - @Test - public void testSearchForPatientAndCodeAndBadDate() throws Exception { - // SHOULD support searching using the combination of the patient and code and date search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|social-history"); - parameters.searchParam("code", "http://loinc.org|72166-2"); - parameters.searchParam("date", "eq2019"); - FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() == 0); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreOrganizationTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreOrganizationTest.java deleted file mode 100644 index b7d60aadbe0..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreOrganizationTest.java +++ /dev/null @@ -1,154 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; - -import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.core.FHIRMediaType; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Organization; -import com.ibm.fhir.model.test.TestUtil; - -/** - * Tests the US Core 3.1.1 Profile with Organization. - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-organization.html - */ -public class USCoreOrganizationTest extends ProfilesTestBase { - - private static final String CLASSNAME = USCoreImmunizationTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String organizationId1 = null; - private String organizationId2 = null; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - Organization', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadOrganization1(); - loadOrganization2(); - } - } - - @AfterClass - public void deleteResources() throws Exception { - if (!skip) { - deleteOrganization1(); - deleteOrganization2(); - } - } - - public void loadOrganization1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Organization-acme-lab.json"; - WebTarget target = getWebTarget(); - - Organization goal = TestUtil.readExampleResource(resource); - - Entity<Organization> entity = Entity.entity(goal, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Organization").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Organization/12354 (first actual test, but simple) - organizationId1 = getLocationLogicalId(response); - response = target.path("Organization/" + organizationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteOrganization1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Organization/" + organizationId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void loadOrganization2() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Organization-saint-luke-w-endpoint.json"; - WebTarget target = getWebTarget(); - - Organization goal = TestUtil.readExampleResource(resource); - - Entity<Organization> entity = Entity.entity(goal, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Organization").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Organization/12354 (first actual test, but simple) - organizationId2 = getLocationLogicalId(response); - response = target.path("Organization/" + organizationId2).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteOrganization2() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Organization/" + organizationId2).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - @Test - public void testSearchByName() throws Exception { - // SHALL support searching by organization name using the name search parameter: - // GET [base]/Organization?name=[string] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("name:contains", "Labs,Hospital"); - FHIRResponse response = client.search(Organization.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, organizationId1); - assertContainsIds(bundle, organizationId2); - } - } - - @Test - public void testSearchByAddress() throws Exception { - // SHALL support searching organization based on text address using the address search parameter: - // GET [base]/Organization?address=[string] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("address:contains", "Washtenaw,Wornall"); - FHIRResponse response = client.search(Organization.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, organizationId1); - assertContainsIds(bundle, organizationId2); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCorePatientTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCorePatientTest.java deleted file mode 100644 index 36046420482..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCorePatientTest.java +++ /dev/null @@ -1,259 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; - -import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.core.FHIRMediaType; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Patient; -import com.ibm.fhir.model.test.TestUtil; - -/** - * Tests the US Core 3.1.1 Profile with Patient. - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-patient.html - */ -public class USCorePatientTest extends ProfilesTestBase { - - private static final String CLASSNAME = USCoreImmunizationTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String patientId1 = null; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - Patient', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadPatient1(); - } - } - - @AfterClass - public void deleteResources() throws Exception { - if (!skip) { - deletePatient1(); - } - } - - public void loadPatient1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Patient-example.json"; - WebTarget target = getWebTarget(); - - Patient goal = TestUtil.readExampleResource(resource); - - Entity<Patient> entity = Entity.entity(goal, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Patient").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Patient/12354 (first actual test, but simple) - patientId1 = getLocationLogicalId(response); - response = target.path("Patient/" + patientId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deletePatient1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Patient/" + patientId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - @Test - public void testSearchForId() throws Exception { - // SHALL support fetching a Patient using the _id search parameter: - // GET [base]/Patient[id] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("_id", patientId1); - FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, patientId1); - } - } - - @Test - public void testSearchByIdentifier() throws Exception { - // SHALL support searching a patient by an identifier such as a MPI using the identifier search parameter: - // GET [base]/Patient?identifier={system|}[code] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("identifier", "http://hospital.smarthealthit.org|1032702"); - FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, patientId1); - } - } - - @Test - public void testSearchByIdentifierWithoutSystem() throws Exception { - // SHALL support searching a patient by an identifier such as a MPI using the identifier search parameter: - // GET [base]/Patient?identifier={system|}[code] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("identifier", "1032702"); - FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, patientId1); - } - } - - @Test - public void testSearchByName() throws Exception { - // SHALL support searching for a patient by a string match of any part of name using the name search parameter: - // GET [base]/Patient?name=[string] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("name:contains", "Shaw"); - FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, patientId1); - } - } - - @Test - public void testSearchByNameAndBirthDate() throws Exception { - // SHALL support searching using the combination of the birthdate and name search parameters: - // GET [base]/Patient?birthdate=[date]&name=[string] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("name:contains", "Shaw"); - parameters.searchParam("birthdate", "1987"); - FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, patientId1); - } - } - - @Test - public void testSearchByNameAndBirthDateNoPatient() throws Exception { - // SHALL support searching using the combination of the birthdate and name search parameters: - // GET [base]/Patient?birthdate=[date]&name=[string] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("name:contains", "Shaw"); - parameters.searchParam("birthdate", "1988"); - FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() == 0); - } - } - - @Test - public void testSearchByGenderAndName() throws Exception { - // SHALL support searching using the combination of the gender and name search parameters: - // GET [base]/Patient?gender={system|}[code]&name=[string] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("name:contains", "Shaw"); - parameters.searchParam("gender", "female"); - FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, patientId1); - } - } - - @Test - public void testSearchByNameAndGenderNoPatient() throws Exception { - // SHALL support searching using the combination of the gender and name search parameters: - // GET [base]/Patient?gender={system|}[code]&name=[string] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("name:contains", "Shaw"); - parameters.searchParam("gender", "male"); - FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() == 0); - } - } - - @Test - public void testSearchByBirthdateAndFamily() throws Exception { - // SHOULD support searching using the combination of the birthdate and family search parameters: - // GET [base]/Patient?birthdate=[date]&family=[string] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("family", "Shaw"); - parameters.searchParam("birthdate", "1987"); - FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, patientId1); - } - } - - @Test - public void testSearchByGenderAndFamily() throws Exception { - // SHOULD support searching using the combination of the family and gender search parameters: - // GET [base]/Patient?family=[string]&gender={system|}[code] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("family", "Shaw"); - parameters.searchParam("gender", "female"); - FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, patientId1); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCorePractitionerAndPractitionerRoleTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCorePractitionerAndPractitionerRoleTest.java deleted file mode 100644 index 2d870aadab5..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCorePractitionerAndPractitionerRoleTest.java +++ /dev/null @@ -1,287 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; - -import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.core.FHIRMediaType; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Bundle.Entry.Request; -import com.ibm.fhir.model.resource.Practitioner; -import com.ibm.fhir.model.resource.PractitionerRole; -import com.ibm.fhir.model.test.TestUtil; -import com.ibm.fhir.model.type.Id; -import com.ibm.fhir.model.type.Meta; -import com.ibm.fhir.model.type.Uri; -import com.ibm.fhir.model.type.code.BundleType; -import com.ibm.fhir.model.type.code.HTTPVerb; - -/** - * Tests the US Core 3.1.1 Profile with Practitioner and PractitionerRole - * - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitionerrole.html - */ -public class USCorePractitionerAndPractitionerRoleTest extends ProfilesTestBase { - - private static final String CLASSNAME = USCorePractitionerAndPractitionerRoleTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String practitionerId = "Practitioner-1011"; - private String practitionerRoleId = "PractitionerRole-1"; - private String endpointId = "71"; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|3.1.1", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - Observation', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadBundle1(); - } - } - - @AfterClass - public void deleteResources() throws Exception { - if (!skip) { - deleteBundleEntry1(); - deleteBundleEntry2(); - deleteBundleEntry3(); - } - } - - public void loadBundle1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json"; - WebTarget target = getWebTarget(); - - Bundle bundle = TestUtil.readExampleResource(resource); - List<Bundle.Entry> entries = bundle.getEntry(); - List<Bundle.Entry> output = new ArrayList<>(); - for (Bundle.Entry entry : entries) { - Request request = Request.builder() - .method(HTTPVerb.PUT) - .url(Uri.of(entry.getResource().getClass().getSimpleName() + "/" + entry.getResource().getId())) - .build(); - - Meta meta = Meta.builder() - .versionId(Id.of("" + System.currentTimeMillis())) - .build(); - entry.getResource().toBuilder().meta(meta).build(); - - Bundle.Entry tmpEntry = entry.toBuilder().request(request).build(); - output.add(tmpEntry); - } - bundle = bundle.toBuilder().type(BundleType.BATCH).entry(output).build(); - - Entity<Bundle> entity = Entity.entity(bundle, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.request().header(PREFER_HEADER_NAME, PREFER_HEADER_RETURN_REPRESENTATION).post(entity, Response.class); - assertResponse(response, Response.Status.OK.getStatusCode()); - - String method = "loadBundle1"; - if (DEBUG) { - Bundle responseBundle = getEntityWithExtraWork(response, method); - printOutResource(DEBUG, responseBundle); - } - - response = target.path("Practitioner/" + practitionerId).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - - response = target.path("PractitionerRole/" + practitionerRoleId).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - - response = target.path("Endpoint/" + endpointId).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteBundleEntry1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Practitioner/" + practitionerId).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteBundleEntry2() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("PractitionerRole/" + practitionerRoleId).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteBundleEntry3() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Endpoint/" + endpointId).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - @Test - public void testSearchForPractitionerByName() throws Exception { - // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitioner.html - // SHALL support searching for a practitioner by a string match of any part of name using the name search - // parameter: - // GET [base]/Practitioner?name=[string] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("name:contains", "Richard"); - FHIRResponse response = client.search(Practitioner.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, practitionerId); - } - } - - @Test - public void testSearchForPractitionerByIdentifierWithSystem() throws Exception { - // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitioner.html - // SHALL support searching a practitioner by an identifier such as an NPI using the identifier search parameter: - // GET [base]/Practitioner?identifier={system|}[code] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("identifier", "http://hl7.org/fhir/sid/us-ssn|000001011"); - FHIRResponse response = client.search(Practitioner.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, practitionerId); - } - } - - @Test - public void testSearchForPractitionerByIdentifierWithoutSystem() throws Exception { - // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitioner.html - // SHALL support searching a practitioner by an identifier such as an NPI using the identifier search parameter: - // GET [base]/Practitioner?identifier={system|}[code] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("identifier", "000001011"); - FHIRResponse response = client.search(Practitioner.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, practitionerId); - } - } - - @Test - public void testSearchForPractitionerByIdentifierWithSecondOfficial() throws Exception { - // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitioner.html - // SHALL support searching a practitioner by an identifier such as an NPI using the identifier search parameter: - // GET [base]/Practitioner?identifier={system|}[code] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("identifier", "http://hl7.org/fhir/sid/us-npi|9999991011"); - FHIRResponse response = client.search(Practitioner.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, practitionerId); - } - } - - @Test - public void testSearchForPractitionerRoleBySpeciality() throws Exception { - // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitionerrole.html - // SHALL support searching practitioner role by specialty using the specialty search parameter: - // including optional support for these _include parameters: - // PractitionerRole:endpoint,PractitionerRole:practitioner - // GET - // [base]/PractitionerRole?specialty={[system]}|[code]{&_include=PractitionerRole:practitioner}{&_include=PractitionerRole?endpoint} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("specialty", "http://nucc.org/provider-taxonomy|208D00000X"); - FHIRResponse response = client.search(PractitionerRole.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, practitionerRoleId); - } - } - - @Test - public void testSearchForPractitionerRoleBySpecialityWithInclude() throws Exception { - // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitionerrole.html - // SHALL support searching practitioner role by specialty using the specialty search parameter: - // including optional support for these _include parameters: - // PractitionerRole:endpoint,PractitionerRole:practitioner - // GET - // [base]/PractitionerRole?specialty={[system]}|[code]{&_include=PractitionerRole:practitioner}{&_include=PractitionerRole?endpoint} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("specialty", "http://nucc.org/provider-taxonomy|208D00000X"); - parameters.searchParam("_include", "PractitionerRole:practitioner"); - FHIRResponse response = client.search(PractitionerRole.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, practitionerId); - assertContainsIds(bundle, practitionerRoleId); - - } - } - - @Test - public void testSearchForPractitionerRoleBySpecialityWithMultipleIncludes() throws Exception { - // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitionerrole.html - // SHALL support searching practitioner role by specialty using the specialty search parameter: - // including optional support for these _include parameters: - // PractitionerRole:endpoint,PractitionerRole:practitioner - // GET - // [base]/PractitionerRole?specialty={[system]}|[code]{&_include=PractitionerRole:practitioner}{&_include=PractitionerRole?endpoint} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("specialty", "http://nucc.org/provider-taxonomy|208D00000X"); - parameters.searchParam("_include", "PractitionerRole:practitioner"); - parameters.searchParam("_include", "PractitionerRole:endpoint"); - FHIRResponse response = client.search(PractitionerRole.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, practitionerId); - assertContainsIds(bundle, practitionerRoleId); - assertContainsIds(bundle, endpointId); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreProcedureTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreProcedureTest.java deleted file mode 100644 index 60328a55434..00000000000 --- a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreProcedureTest.java +++ /dev/null @@ -1,271 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2020 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.server.test.profiles; - -import static org.testng.Assert.assertNotNull; -import static org.testng.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; - -import org.testng.annotations.AfterClass; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.Test; - -import com.ibm.fhir.client.FHIRParameters; -import com.ibm.fhir.client.FHIRResponse; -import com.ibm.fhir.core.FHIRMediaType; -import com.ibm.fhir.model.resource.Bundle; -import com.ibm.fhir.model.resource.Procedure; -import com.ibm.fhir.model.test.TestUtil; - -/** - * Tests the US Core 3.1.1 Profile with Procedure. - * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-procedure.html - */ -public class USCoreProcedureTest extends ProfilesTestBase { - - private static final String CLASSNAME = USCoreImmunizationTest.class.getName(); - private static final Logger logger = Logger.getLogger(CLASSNAME); - - public Boolean skip = Boolean.TRUE; - public Boolean DEBUG = Boolean.FALSE; - - private String procedureId1 = null; - private String procedureId2 = null; - - @Override - public List<String> getRequiredProfiles() { - //@formatter:off - return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure|3.1.1"); - //@formatter:on - } - - @Override - public void setCheck(Boolean check) { - this.skip = check; - if (skip) { - logger.info("Skipping Tests for 'fhir-ig-us-core - Procedure', the profiles don't exist"); - } - } - - @BeforeClass - public void loadResources() throws Exception { - if (!skip) { - loadProcedure1(); - loadProcedure2(); - } - } - - @AfterClass - public void deleteResources() throws Exception { - if (!skip) { - deleteProcedure1(); - deleteProcedure2(); - } - } - - public void loadProcedure1() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Procedure-rehab.json"; - WebTarget target = getWebTarget(); - - Procedure goal = TestUtil.readExampleResource(resource); - - Entity<Procedure> entity = Entity.entity(goal, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Procedure").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Procedure/12354 (first actual test, but simple) - procedureId1 = getLocationLogicalId(response); - response = target.path("Procedure/" + procedureId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteProcedure1() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Procedure/" + procedureId1).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void loadProcedure2() throws Exception { - String resource = "json/profiles/fhir-ig-us-core/Procedure-defib-implant.json"; - WebTarget target = getWebTarget(); - - Procedure goal = TestUtil.readExampleResource(resource); - - Entity<Procedure> entity = Entity.entity(goal, FHIRMediaType.APPLICATION_FHIR_JSON); - Response response = target.path("Procedure").request().post(entity, Response.class); - assertResponse(response, Response.Status.CREATED.getStatusCode()); - - // GET [base]/Procedure/12354 (first actual test, but simple) - procedureId2 = getLocationLogicalId(response); - response = target.path("Procedure/" + procedureId2).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - public void deleteProcedure2() throws Exception { - WebTarget target = getWebTarget(); - Response response = target.path("Procedure/" + procedureId2).request(FHIRMediaType.APPLICATION_FHIR_JSON).delete(); - assertResponse(response, Response.Status.OK.getStatusCode()); - } - - @Test - public void testSearchByPatient() throws Exception { - // SHALL support searching for all procedures for a patient using the patient search parameter: - // GET [base]/Procedure?patient=[reference] - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, procedureId1); - assertContainsIds(bundle, procedureId2); - } - } - - @Test - public void testSearchByPatientAndDate() throws Exception { - // SHALL support searching using the combination of the patient and date search parameters: - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - // GET [base]/Procedure?patient=[reference]&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("date", "2002,2019"); - FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, procedureId1); - assertContainsIds(bundle, procedureId2); - } - } - - @Test - public void testSearchByPatientAndDateAndCodeSct() throws Exception { - // SHOULD support searching using the combination of the patient and code and date search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - // GET - // [base]/Procedure?patient=[reference]&code={system|}[code]{,{system|}[code],...}&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("date", "2002,2019"); - parameters.searchParam("code", "http://snomed.info/sct|35637008"); - FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, procedureId1); - } - } - - @Test - public void testSearchByPatientAndDateAndCodeIcd10() throws Exception { - // SHOULD support searching using the combination of the patient and code and date search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - // GET - // [base]/Procedure?patient=[reference]&code={system|}[code]{,{system|}[code],...}&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("date", "2002,2019"); - parameters.searchParam("code", "http://www.cms.gov/Medicare/Coding/ICD10|HZ30ZZZ"); - FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, procedureId1); - } - } - - @Test - public void testSearchByPatientAndDateAndCodeWithoutSystem() throws Exception { - // SHOULD support searching using the combination of the patient and code and date search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - // GET - // [base]/Procedure?patient=[reference]&code={system|}[code]{,{system|}[code],...}&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("date", "2002,2019"); - parameters.searchParam("code", "HZ30ZZZ"); - FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, procedureId1); - } - } - - @Test - public void testSearchByPatientAndDateAndCodeWithoutSystemAndWithSystem() throws Exception { - // SHOULD support searching using the combination of the patient and code and date search parameters: - // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) - // including support for these date comparators: gt,lt,ge,le - // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) - // GET - // [base]/Procedure?patient=[reference]&code={system|}[code]{,{system|}[code],...}&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("date", "2002,2019"); - parameters.searchParam("code", "HZ30ZZZ,http://www.ama-assn.org/go/cpt|33249"); - FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, procedureId1); - assertContainsIds(bundle, procedureId2); - } - } - - @Test - public void testSearchByPatientAndStatus() throws Exception { - // SHOULD support searching using the combination of the patient and status search parameters: - // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) - // GET [base]/Procedure?patient=[reference]&status={system|}[code]{,{system|}[code],...} - - if (!skip) { - FHIRParameters parameters = new FHIRParameters(); - parameters.searchParam("patient", "Patient/example"); - parameters.searchParam("status", "completed"); - FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); - assertSearchResponse(response, Response.Status.OK.getStatusCode()); - Bundle bundle = response.getResource(Bundle.class); - assertNotNull(bundle); - assertTrue(bundle.getEntry().size() >= 1); - assertContainsIds(bundle, procedureId1); - assertContainsIds(bundle, procedureId2); - } - } -} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreAllergyIntoleranceTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreAllergyIntoleranceTest.java new file mode 100644 index 00000000000..7ddddb03198 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreAllergyIntoleranceTest.java @@ -0,0 +1,263 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.AllergyIntolerance; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Provenance; +import com.ibm.fhir.model.resource.Provenance.Agent; +import com.ibm.fhir.model.type.Canonical; +import com.ibm.fhir.model.type.Code; +import com.ibm.fhir.model.type.CodeableConcept; +import com.ibm.fhir.model.type.Coding; +import com.ibm.fhir.model.type.Instant; +import com.ibm.fhir.model.type.Meta; +import com.ibm.fhir.model.type.Narrative; +import com.ibm.fhir.model.type.Reference; +import com.ibm.fhir.model.type.Uri; +import com.ibm.fhir.model.type.Xhtml; +import com.ibm.fhir.model.type.code.NarrativeStatus; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with AllergyIntolerance and a related Provenance. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-provenance.html + */ +public class USCoreAllergyIntoleranceTest extends ProfilesTestBaseV2 { + + private String allergyIntoleranceIdActive = null; + private String allergyIntoleranceIdInactive = null; + private String allergyIntoleranceIdResolved = null; + private String provenanceId = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList( + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance|3.1.1"); + } + + public void loadAllergyIntoleranceActive() throws Exception { + String resource = "AllergyIntolerance-example.json"; + String cls = "AllergyIntolerance"; + allergyIntoleranceIdActive = buildAndAssertOnResourceForUsCore(cls, "311", resource); + } + + public void loadAllergyIntoleranceInactive() throws Exception { + String resource = "AllergyIntolerance-example.json"; + + AllergyIntolerance r = USCoreExamplesUtil.readLocalJSONResource("311", resource); + // @formatter:off + CodeableConcept allergyIntoleranceClinicalStatusCodes = CodeableConcept.builder() + .coding(Coding.builder() + .code(Code.of("inactive")) + .display(com.ibm.fhir.model.type.String.of("Inactive")) + .system(Uri.of("http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical")) + .build()) + .build(); + // @formatter:on + r = r.toBuilder().clinicalStatus(allergyIntoleranceClinicalStatusCodes).build(); + + allergyIntoleranceIdInactive = createResourceAndReturnTheLogicalId("AllergyIntolerance", r); + } + + public void loadAllergyIntoleranceResolved() throws Exception { + String resource = "AllergyIntolerance-example.json"; + + AllergyIntolerance r = USCoreExamplesUtil.readLocalJSONResource("311", resource); + // @formatter:off + CodeableConcept allergyIntoleranceClinicalStatusCodes = CodeableConcept.builder() + .coding(Coding.builder() + .code(Code.of("resolved")) + .display(com.ibm.fhir.model.type.String.of("Resolved")) + .system(Uri.of("http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical")) + .build()) + .build(); + // @formatter:on + r = r.toBuilder().clinicalStatus(allergyIntoleranceClinicalStatusCodes).build(); + + allergyIntoleranceIdResolved = createResourceAndReturnTheLogicalId("AllergyIntolerance", r); + } + + public void loadProvenanceForAllergyIntoleranceIdActive() throws Exception { + // Build the Provenance + Canonical profile = Canonical.of("http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance", "3.1.1"); + Meta meta = Meta.builder().profile(profile).build(); + + // @formatter:off + CodeableConcept type = CodeableConcept.builder() + .coding(Coding.builder() + .code(Code.of("author")) + .display(com.ibm.fhir.model.type.String.of("Author")) + .system(Uri.of("http://terminology.hl7.org/CodeSystem/provenance-participant-type")) + .build()) + .build(); + // @formatter:on + + Provenance provenance = + Provenance.builder() + .meta(meta) + .text(Narrative.builder() + .div(Xhtml.of("<div xmlns=\"http://www.w3.org/1999/xhtml\">loaded from the datastore</div>")) + .status(NarrativeStatus.GENERATED).build()) + .target(Reference.builder() + .reference(com.ibm.fhir.model.type.String.of("AllergyIntolerance/" + allergyIntoleranceIdActive)).build()) + .recorded(Instant.now()) + .agent(Agent.builder() + .type(type) + .who(Reference.builder() + .reference(com.ibm.fhir.model.type.String.of("Practitioner/practitioner-1")).build()) + .onBehalfOf(Reference.builder() + .reference(com.ibm.fhir.model.type.String.of("Organization/saint-luke-w-endpoint")) + .build()) + .build()) + .build(); + + provenanceId = createResourceAndReturnTheLogicalId("Provenance", provenance); + } + + // Load Resources + @Override + public void loadResources() throws Exception { + loadAllergyIntoleranceActive(); + loadAllergyIntoleranceInactive(); + loadAllergyIntoleranceResolved(); + loadProvenanceForAllergyIntoleranceIdActive(); + } + + @Test + public void testSearchForAllAllergiesForAPatient() throws Exception { + // SHALL support searching for all allergies for a patient using the patient search parameter + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#mandatory-search-parameters + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, allergyIntoleranceIdResolved); + assertContainsIds(bundle, allergyIntoleranceIdActive); + assertContainsIds(bundle, allergyIntoleranceIdInactive); + } + + @Test + public void testSearchForAllAllergiesForAPatientByInactiveStatusWithSystem() throws Exception { + // SHOULD support searching using the combination of the patient and clinical-status search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("clinical-status", "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical|inactive"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, allergyIntoleranceIdInactive); + } + + @Test + public void testSearchForAllAllergiesForAPatientByResolvedStatusWithSystem() throws Exception { + // SHOULD support searching using the combination of the patient and clinical-status search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("clinical-status", "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical|resolved"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, allergyIntoleranceIdResolved); + } + + @Test + public void testSearchForAllAllergiesForAPatientByActiveStatusWithSystem() throws Exception { + // SHOULD support searching using the combination of the patient and clinical-status search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("clinical-status", "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical|active"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, allergyIntoleranceIdActive); + } + + @Test + public void testSearchForAllAllergiesForAPatientByInactiveStatusWithoutSystem() throws Exception { + // SHOULD support searching using the combination of the patient and clinical-status search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("clinical-status", "inactive"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, allergyIntoleranceIdInactive); + } + + @Test + public void testSearchForAllAllergiesForAPatientByResolvedStatusWithoutSystem() throws Exception { + // SHOULD support searching using the combination of the patient and clinical-status search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("clinical-status", "resolved"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, allergyIntoleranceIdResolved); + } + + @Test + public void testSearchForAllAllergiesForAPatientByActiveStatusWithoutSystem() throws Exception { + // SHOULD support searching using the combination of the patient and clinical-status search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("clinical-status", "active"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, allergyIntoleranceIdActive); + } + + @Test + public void testSearchForAllAllergiesForAPatientByActiveStatusWithoutSystemAndRevinclude() throws Exception { + // http://example.org/fhir/AllergyIntolerance?_revinclude=Provenance%3Atarget&patient=Examples + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_revinclude", "Provenance:target"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, allergyIntoleranceIdActive); + assertContainsIds(bundle, provenanceId); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreCarePlanTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreCarePlanTest.java new file mode 100644 index 00000000000..69fa05c2630 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreCarePlanTest.java @@ -0,0 +1,164 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.CarePlan; +import com.ibm.fhir.model.type.DateTime; +import com.ibm.fhir.model.type.code.CarePlanStatus; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with CarePlan. + * + * The specification says the following parameters should work: + * <code>status=http://hl7.org/fhir/ValueSet/request-status|active</code> + * It's a default binding and should work without a bound system. We only extract active, and not the default system. + */ +public class USCoreCarePlanTest extends ProfilesTestBaseV2 { + private String carePlanId = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + String resource = "CarePlan-colonoscopy.json"; + + CarePlan carePlan = USCoreExamplesUtil.readLocalJSONResource("311", resource); + com.ibm.fhir.model.type.Period period = + com.ibm.fhir.model.type.Period.builder() + .start(DateTime.of("2019-01-01")) + .end(DateTime.of("2020-01-01")) + .build(); + + // Note: The test uses ACTIVE as a CodeableConcept rather than a plain string. + carePlan = carePlan.toBuilder().period(period).status(CarePlanStatus.ACTIVE).build(); + carePlanId = createResourceAndReturnTheLogicalId("CarePlan", carePlan); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); + FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, carePlanId); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and category and date search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); + parameters.searchParam("date", "gt2018"); + parameters.searchParam("date", "le2021"); + FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, carePlanId); + } + + @Test + public void testSearchForPatientAndCategoryAndDateGe() throws Exception { + // SHOULD support searching using the combination of the patient and category and date search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); + parameters.searchParam("date", "ge2019"); + parameters.searchParam("date", "le2021"); + FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, carePlanId); + } + + @Test + public void testSearchForPatientAndCategoryAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); + parameters.searchParam("status", "active"); + FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, carePlanId); + } + + // See the note at the top of this class as to why this test is disabled. + @Test(enabled = false) + public void testSearchForPatientAndCategoryAndStatusSystem() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); + parameters.searchParam("status", "http://hl7.org/fhir/ValueSet/request-status|"); + FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, carePlanId); + } + + @Test + public void testSearchForPatientAndCategoryAndStatusSystemStatus() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); + parameters.searchParam("status", "active"); + FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, carePlanId); + } + + @Test + public void testSearchForPatientAndCategoryAndStatusSystemStatusAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); + parameters.searchParam("status", "active"); + parameters.searchParam("date", "ge2019"); + parameters.searchParam("date", "le2021"); + FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, carePlanId); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreCareTeamTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreCareTeamTest.java new file mode 100644 index 00000000000..c4e70f77a53 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreCareTeamTest.java @@ -0,0 +1,65 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.CareTeam; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with CareTeam. + * + * The specification says the following parameters should work: + * <code>status=http://hl7.org/fhir/care-team-status|active</code> + * It's a default binding and should work without a bound system. We only extract active, and not the default system. + */ +public class USCoreCareTeamTest extends ProfilesTestBaseV2 { + + private String careTeamId = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + String resource = "CareTeam-example.json"; + String cls = "CareTeam"; + careTeamId = buildAndAssertOnResourceForUsCore(cls, "311", resource); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET [base]/CareTeam?patient=[reference]&status=active + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-careteam.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("status", "http://hl7.org/fhir/care-team-status|active"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(CareTeam.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, careTeamId); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreConditionTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreConditionTest.java new file mode 100644 index 00000000000..510a9e69a5c --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreConditionTest.java @@ -0,0 +1,237 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Condition; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with Condition. + */ +public class USCoreConditionTest extends ProfilesTestBaseV2 { + private String conditionId1 = null; + private String conditionId2 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition|3.1.1"); + } + + public void loadCondition1() throws Exception { + String resource = "Condition-example.json"; + Condition condition = USCoreExamplesUtil.readLocalJSONResource("311", resource); + conditionId1 = createResourceAndReturnTheLogicalId("Condition", condition); + } + + public void loadCondition2() throws Exception { + String resource = "Condition-hc1.json"; + Condition condition = USCoreExamplesUtil.readLocalJSONResource("311", resource); + conditionId2 = createResourceAndReturnTheLogicalId("Condition", condition); + } + + @Override + public void loadResources() throws Exception { + loadCondition1(); + loadCondition2(); + } + + @Test + public void testSearchForPatient() throws Exception { + // SHALL support searching for all conditions including problems, health concerns, and encounter diagnosis for a + // patient using the patient search parameter: + // GET [base]/Condition?patient=[reference] + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_id", conditionId1 + "," + conditionId2); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, conditionId1); + assertContainsIds(bundle, conditionId2); + } + + @Test + public void testSearchForPatientAndClinicalStatus() throws Exception { + // SHOULD support searching using the combination of the patient and clinical-status search parameters: + // GET + // [base]/Condition?patient=[reference]&clinical-status=http://terminology.hl7.org/CodeSystem/condition-clinical|active,http://terminology.hl7.org/CodeSystem/condition-clinical|recurrance,http://terminology.hl7.org/CodeSystem/condition-clinical|remission + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("clinical-status", "http://terminology.hl7.org/CodeSystem/condition-clinical|active,http://terminology.hl7.org/CodeSystem/condition-clinical|recurrance,http://terminology.hl7.org/CodeSystem/condition-clinical|remission"); + parameters.searchParam("_id", conditionId1 + "," + conditionId2); // Protect against bad data + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, conditionId1); + assertContainsIds(bundle, conditionId2); + } + + @Test + public void testSearchForPatientAndCategoryProblemListItem() throws Exception { + // SHOULD support searching using the combination of the patient and category search parameters: + // GET [base]/Condition?patient=[reference]&category={system|}[code] + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/condition-category|problem-list-item"); + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + + } + + @Test + public void testSearchForPatientAndCategoryHealthConcern() throws Exception { + // SHOULD support searching using the combination of the patient and category search parameters: + // GET [base]/Condition?patient=[reference]&category={system|}[code] + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/condition-category|health-concern"); + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, conditionId2); + } + + @Test + public void testSearchForPatientAndCategoryDoesNotExist() throws Exception { + // SHOULD support searching using the combination of the patient and category search parameters: + // GET [base]/Condition?patient=[reference]&category={system|}[code] + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/condition-category|encounter-diagnosis"); + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().isEmpty()); + + } + + @Test + public void testSearchForPatientAndCode() throws Exception { + // SHOULD support searching using the combination of the patient and code search parameters: + // GET [base]/Condition?patient=[reference]&code={system|}[code] + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://snomed.info/sct|442311008"); + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, conditionId1); + } + + @Test + public void testSearchForPatientAndOnsetDateGe() throws Exception { + // SHOULD support searching using the combination of the patient and onset-date search parameters: + // including support for these onset-date comparators: gt,lt,ge,le + // including optional support for composite AND search on onset-date + // (e.g.onset-date=[date]&onset-date=[date]]&...) + // GET [base]/Condition?patient=[reference]&onset-date={gt|lt|ge|le}[date]{&onset-date={gt|lt|ge|le}[date]&...} + // "onsetDateTime": "2016-08-10" + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("onset-date", "ge2016"); + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, conditionId1); + } + + @Test + public void testSearchForPatientAndOnsetDateGt() throws Exception { + // SHOULD support searching using the combination of the patient and onset-date search parameters: + // including support for these onset-date comparators: gt,lt,ge,le + // including optional support for composite AND search on onset-date + // (e.g.onset-date=[date]&onset-date=[date]]&...) + // GET [base]/Condition?patient=[reference]&onset-date={gt|lt|ge|le}[date]{&onset-date={gt|lt|ge|le}[date]&...} + // "onsetDateTime": "2016-08-10" + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("onset-date", "gt2015"); + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, conditionId1); + } + + @Test + public void testSearchForPatientAndOnsetDateLt() throws Exception { + // SHOULD support searching using the combination of the patient and onset-date search parameters: + // including support for these onset-date comparators: gt,lt,ge,le + // including optional support for composite AND search on onset-date + // (e.g.onset-date=[date]&onset-date=[date]]&...) + // GET [base]/Condition?patient=[reference]&onset-date={gt|lt|ge|le}[date]{&onset-date={gt|lt|ge|le}[date]&...} + // "onsetDateTime": "2016-08-10" + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("onset-date", "lt2019"); + parameters.searchParam("_id", conditionId1 + "," + conditionId2); // Protect against bad data + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, conditionId1); + } + + @Test + public void testSearchForPatientAndOnsetDateLe() throws Exception { + // SHOULD support searching using the combination of the patient and onset-date search parameters: + // including support for these onset-date comparators: gt,lt,ge,le + // including optional support for composite AND search on onset-date + // (e.g.onset-date=[date]&onset-date=[date]]&...) + // GET [base]/Condition?patient=[reference]&onset-date={gt|lt|ge|le}[date]{&onset-date={gt|lt|ge|le}[date]&...} + // "onsetDateTime": "2016-08-10" + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("onset-date", "le2016"); + parameters.searchParam("_id", conditionId1 + "," + conditionId2); // Protect against bad data + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, conditionId1); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreDiagnosticReportLabTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreDiagnosticReportLabTest.java new file mode 100644 index 00000000000..13df6d0bd60 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreDiagnosticReportLabTest.java @@ -0,0 +1,215 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.DiagnosticReport; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with DiagnosticReport Lab. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-diagnosticreport-lab.html + */ +public class USCoreDiagnosticReportLabTest extends ProfilesTestBaseV2 { + + private String diagnosticReportId1 = null; + private String diagnosticReportId2 = null; + private String diagnosticReportId3 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + loadDiagnosticReport1(); + loadDiagnosticReport2(); + loadDiagnosticReport3(); + } + + public void loadDiagnosticReport1() throws Exception { + String resource = "DiagnosticReport-urinalysis.json"; + DiagnosticReport diagnosticReport = USCoreExamplesUtil.readLocalJSONResource("311", resource); + diagnosticReportId1 = createResourceAndReturnTheLogicalId("DiagnosticReport", diagnosticReport); + } + + public void loadDiagnosticReport2() throws Exception { + String resource = "DiagnosticReport-metabolic-panel.json"; + DiagnosticReport diagnosticReport = USCoreExamplesUtil.readLocalJSONResource("311", resource); + diagnosticReportId2 = createResourceAndReturnTheLogicalId("DiagnosticReport", diagnosticReport); + } + + public void loadDiagnosticReport3() throws Exception { + String resource = "DiagnosticReport-cbc.json"; + DiagnosticReport diagnosticReport = USCoreExamplesUtil.readLocalJSONResource("311", resource); + diagnosticReportId3 = createResourceAndReturnTheLogicalId("DiagnosticReport", diagnosticReport); + } + + @Test + public void testSearchForPatient() throws Exception { + // SHALL support searching for all diagnostic reports for a patient using the patient search parameter: + // GET [base]/DiagnosticReport?patient=[reference] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertContainsIds(bundle, diagnosticReportId2); + assertContainsIds(bundle, diagnosticReportId3); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET [base]/DiagnosticReport?patient=[reference]&type={[system]}|[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/v2-0074|LAB"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertContainsIds(bundle, diagnosticReportId2); + assertContainsIds(bundle, diagnosticReportId3); + } + + @Test + public void testSearchForPatientAndCode() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|24356-8"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertDoesNotContainsIds(bundle, diagnosticReportId2); + assertDoesNotContainsIds(bundle, diagnosticReportId3); + } + + @Test + public void testSearchForPatientAndCodeWithoutSystem() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|24356-8"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertDoesNotContainsIds(bundle, diagnosticReportId2); + assertDoesNotContainsIds(bundle, diagnosticReportId3); + } + + @Test + public void testSearchForPatientAndMultipleCodes() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|24356-8,http://loinc.org|24323-8"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertContainsIds(bundle, diagnosticReportId2); + assertDoesNotContainsIds(bundle, diagnosticReportId3); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/DiagnosticReport?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/v2-0074|LAB&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/v2-0074|LAB"); + parameters.searchParam("date", "2005-07-05"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertDoesNotContainsIds(bundle, diagnosticReportId2); + assertContainsIds(bundle, diagnosticReportId3); + } + + @Test + public void testSearchForPatientAndCategoryAndDateLeGe() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/DiagnosticReport?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/v2-0074|LAB&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/v2-0074|LAB"); + parameters.searchParam("date", "ge2005-01"); + parameters.searchParam("date", "lt2005-07-05"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertDoesNotContainsIds(bundle, diagnosticReportId1); + assertContainsIds(bundle, diagnosticReportId2); + assertDoesNotContainsIds(bundle, diagnosticReportId3); + } + + @Test + public void testSearchForPatientAndCategoryAndDateAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and status search parameters: + // GET [base]/DiagnosticReport?patient=[reference]&status={system|}[code]{,{system|}[code],...} + // Note: implied system, and we only pass in the token. + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/v2-0074|LAB"); + parameters.searchParam("date", "ge2005-01"); + parameters.searchParam("status", "final"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertContainsIds(bundle, diagnosticReportId2); + assertContainsIds(bundle, diagnosticReportId3); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreDiagnosticReportNoteTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreDiagnosticReportNoteTest.java new file mode 100644 index 00000000000..b89ebd6ca37 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreDiagnosticReportNoteTest.java @@ -0,0 +1,206 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.DiagnosticReport; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with DiagnosticReport Lab. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-diagnosticreport-note.html + */ +public class USCoreDiagnosticReportNoteTest extends ProfilesTestBaseV2 { + + private String diagnosticReportId1 = null; + private String diagnosticReportId2 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + loadDiagnosticReport1(); + loadDiagnosticReport2(); + } + + public void loadDiagnosticReport1() throws Exception { + String resource = "DiagnosticReport-cardiology-report.json"; + DiagnosticReport diagnosticReport = USCoreExamplesUtil.readLocalJSONResource("311", resource); + diagnosticReportId1 = createResourceAndReturnTheLogicalId("DiagnosticReport", diagnosticReport); + } + + public void loadDiagnosticReport2() throws Exception { + String resource = "DiagnosticReport-chest-xray-report.json"; + DiagnosticReport diagnosticReport = USCoreExamplesUtil.readLocalJSONResource("311", resource); + diagnosticReportId2 = createResourceAndReturnTheLogicalId("DiagnosticReport", diagnosticReport); + } + + @Test + public void testSearchForPatient() throws Exception { + // SHALL support searching for all diagnosticreports for a patient using the patient search parameter: + // GET [base]/DiagnosticReport?patient=[reference] + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertContainsIds(bundle, diagnosticReportId2); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET [base]/DiagnosticReport?patient=[reference]&category={system|}[code] + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "LP29708-2"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertDoesNotContainsIds(bundle, diagnosticReportId2); + } + + @Test + public void testSearchForPatientAndCategoryAndSystem() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET [base]/DiagnosticReport?patient=[reference]&category={system|}[code] + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://loinc.org|LP29708-2"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertDoesNotContainsIds(bundle, diagnosticReportId2); + } + + @Test + public void testSearchForPatientAndCode() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|45033-8"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertDoesNotContainsIds(bundle, diagnosticReportId2); + } + + @Test + public void testSearchForPatientAndCodes() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|45033-8,http://loinc.org|30746-2"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertContainsIds(bundle, diagnosticReportId2); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/DiagnosticReport?patient=[reference]&category={system|}[code]&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "LP29708-2"); + parameters.searchParam("date", "2011-01-01T21Z"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertDoesNotContainsIds(bundle, diagnosticReportId2); + } + + @Test + public void testSearchForPatientAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET [base]/DiagnosticReport?patient=[reference]&status={system|}[code]{,{system|}[code],...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("status", "final"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertContainsIds(bundle, diagnosticReportId2); + + } + + @Test + public void testSearchForPatientAndCodeAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...}&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|45033-8,http://loinc.org|30746-2"); + parameters.searchParam("date", "2011-01-01T21Z"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertDoesNotContainsIds(bundle, diagnosticReportId2); + + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreDocumentReferenceTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreDocumentReferenceTest.java new file mode 100644 index 00000000000..430ebfe8dcf --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreDocumentReferenceTest.java @@ -0,0 +1,184 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.DocumentReference; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with DocumentReference. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-documentreference.html + * https://www.hl7.org/fhir/us/core/clinical-notes-guidance.html + */ +public class USCoreDocumentReferenceTest extends ProfilesTestBaseV2 { + + private String documentReferenceId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + loadDocumentReference1(); + } + + public void loadDocumentReference1() throws Exception { + String resource = "DocumentReference-episode-summary.json"; + DocumentReference documentReference = USCoreExamplesUtil.readLocalJSONResource("311", resource); + documentReferenceId1 = createResourceAndReturnTheLogicalId("DocumentReference", documentReference); + } + + @Test + public void testSearchForId() throws Exception { + // SHALL support fetching a DocumentReference using the _id search parameter: + // GET [base]/DocumentReference[id] + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("_id", documentReferenceId1); + FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, documentReferenceId1); + + } + + @Test + public void testSearchForPatient() throws Exception { + // SHALL support searching for all documentreferences for a patient using the patient search parameter: + // GET [base]/DocumentReference?patient=[reference] + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, documentReferenceId1); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET + // [base]/DocumentReference?patient=[reference]&category=http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note"); + FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, documentReferenceId1); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/DocumentReference?patient=[reference]&category=http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note"); + parameters.searchParam("date", "ge2016"); + FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, documentReferenceId1); + } + + @Test + public void testSearchForPatientAndCategoryAndBadDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/DocumentReference?patient=[reference]&category=http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note"); + parameters.searchParam("date", "ge2017"); + FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + } + + @Test + public void testSearchForPatientAndType() throws Exception { + // SHALL support searching using the combination of the patient and type search parameters: + // GET [base]/DocumentReference?patient=[reference]&type={system|}[code] + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("type", "http://loinc.org|34133-9"); + FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, documentReferenceId1); + } + + @Test + public void testSearchForPatientAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET [base]/DocumentReference?patient=[reference]&status={system|}[code]{,{system|}[code],...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("type", "http://loinc.org|34133-9"); + FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, documentReferenceId1); + } + + @Test + public void testSearchForPatientAndTypeAndPeriod() throws Exception { + // SHOULD support searching using the combination of the patient and type and period search parameters: + // including support for these period comparators: gt,lt,ge,le + // including optional support for composite AND search on period (e.g.period=[date]&period=[date]]&...) + // GET + // [base]/DocumentReference?patient=[reference]&type={system|}[code]&period={gt|lt|ge|le}[date]{&period={gt|lt|ge|le}[date]&...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("type", "http://loinc.org|34133-9"); + parameters.searchParam("period", "2004"); + FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, documentReferenceId1); + + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreEncounterTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreEncounterTest.java new file mode 100644 index 00000000000..2ea46899b50 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreEncounterTest.java @@ -0,0 +1,205 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Encounter; +import com.ibm.fhir.model.type.Code; +import com.ibm.fhir.model.type.CodeableConcept; +import com.ibm.fhir.model.type.Coding; +import com.ibm.fhir.model.type.Identifier; +import com.ibm.fhir.model.type.Uri; +import com.ibm.fhir.model.type.code.IdentifierUse; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with Encounter. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-encounter.html + */ +public class USCoreEncounterTest extends ProfilesTestBaseV2 { + + private String encounterId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Encounter-example-1.json"; + // @formatter:off + CodeableConcept type = CodeableConcept.builder() + .coding(Coding.builder() + .code(Code.of("DL")) + .display(com.ibm.fhir.model.type.String.of("Driver's license number")) + .system(Uri.of("http://terminology.hl7.org/CodeSystem/v2-0203")) + .build()) + .build(); + // @formatter:on + + Identifier identifier = + Identifier.builder().system(Uri.of("urn:oid:0.1.2.3.4.5.6.7")).use(IdentifierUse.OFFICIAL).value(com.ibm.fhir.model.type.String.of("654321")).type(type).build(); + + Encounter encounter = USCoreExamplesUtil.readLocalJSONResource("311", resource); + encounter = encounter.toBuilder().identifier(identifier).build(); + + encounterId1 = createResourceAndReturnTheLogicalId("Encounter", encounter); + } + + @Test + public void testSearchForId() throws Exception { + // SHALL support fetching an encounter using the _id search parameter: + // GET [base]/Encounter?_id=12354 + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("_id", encounterId1); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 1); + assertContainsIds(bundle, encounterId1); + } + + @Test + public void testSearchForPatient() throws Exception { + // SHALL support searching for all Encounters for a patient using the patient search parameter: + // GET [base]/Encounter?patient=[reference] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, encounterId1); + } + + @Test + public void testSearchForPatientAndDate() throws Exception { + // SHALL support searching using the combination of the date and patient search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET [base]/Encounter?date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...}&patient=[reference] + // date is actually a period -> Encounter.period + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("date", "ge2015-11-01"); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, encounterId1); + } + + @Test + public void testSearchForIdentifierAndDate() throws Exception { + // SHOULD support searching using the identifier search parameter: + // GET [base]/Encounter?identifier={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("identifier", "654321"); + parameters.searchParam("date", "ge2015-11-01"); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, encounterId1); + } + + @Test + public void testSearchForClassAndPatient() throws Exception { + // SHOULD support searching using the combination of the class and patient search parameters: + // GET [base]/Encounter?class={system|}[code]&patient=[reference] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("class", "AMB"); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, encounterId1); + } + + @Test + public void testSearchForClassAndPatientWithSystem() throws Exception { + // SHOULD support searching using the combination of the class and patient search parameters: + // GET [base]/Encounter?class={system|}[code]&patient=[reference] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("class", "http://terminology.hl7.org/CodeSystem/v3-ActCode|AMB"); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, encounterId1); + } + + @Test + public void testSearchForTypeAndPatientWithSystem() throws Exception { + // SHOULD support searching using the combination of the patient and type search parameters: + // GET [base]/Encounter?patient=[reference]&type={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("type", "http://www.ama-assn.org/go/cpt|99201"); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, encounterId1); + } + + @Test + public void testSearchForTypeAndPatient() throws Exception { + // SHOULD support searching using the combination of the patient and type search parameters: + // GET [base]/Encounter?patient=[reference]&type={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("type", "99201"); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, encounterId1); + } + + @Test + public void testSearchForStatusAndPatient() throws Exception { + // SHOULD support searching using the combination of the patient and status search parameters: + // GET [base]/Encounter?patient=[reference]&status={system|}[code] + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("status", "finished"); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, encounterId1); + } + +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreGoalTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreGoalTest.java new file mode 100644 index 00000000000..6001faf1926 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreGoalTest.java @@ -0,0 +1,94 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Goal; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with Goal. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-goal.html + */ +public class USCoreGoalTest extends ProfilesTestBaseV2 { + + private String goalId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Goal-goal-1.json"; + Goal goal = USCoreExamplesUtil.readLocalJSONResource("311", resource); + goalId1 = createResourceAndReturnTheLogicalId("Goal", goal); + } + + @Test + public void testSearchForPatient() throws Exception { + // SHALL support searching for all goals for a patient using the patient search parameter: + // GET [base]/Goal?patient=[reference] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Goal.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, goalId1); + } + + @Test + public void testSearchForPatientLifecycleStatus() throws Exception { + // SHOULD support searching using the combination of the patient and lifecycle-status search parameters: + // GET [base]/Goal?patient=[reference]&lifecycle-status={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("lifecycle-status", "active"); + FHIRResponse response = client.search(Goal.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, goalId1); + } + + @Test + public void testSearchForPatientTargetDate() throws Exception { + // SHOULD support searching using the combination of the patient and target-date search parameters: + // including support for these target-date comparators: gt,lt,ge,le + // including optional support for composite AND search on target-date + // (e.g.target-date=[date]&target-date=[date]]&...) + // GET [base]/Goal?patient=[reference]&target-date={gt|lt|ge|le}[date]{&target-date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("target-date", "ge2016"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Goal.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, goalId1); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreImmunizationTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreImmunizationTest.java new file mode 100644 index 00000000000..8904b61d927 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreImmunizationTest.java @@ -0,0 +1,92 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Immunization; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with Immunization. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-Immunization.html + */ +public class USCoreImmunizationTest extends ProfilesTestBaseV2 { + + private String immunizationId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Immunization-imm-1.json"; + Immunization immunization = USCoreExamplesUtil.readLocalJSONResource("311", resource); + immunizationId1 = createResourceAndReturnTheLogicalId("Immunization", immunization); + } + + @Test + public void testSearchForPatient() throws Exception { + // SHALL support searching for all immunizations for a patient using the patient search parameter: + // GET [base]/Immunization?patient=[reference] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Immunization.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, immunizationId1); + } + + @Test + public void testSearchForPatientAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and lifecycle-status search parameters: + // GET [base]/Immunization?patient=[reference]&lifecycle-status={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("date", "ge2016"); + parameters.searchParam("date", "lt2017"); + FHIRResponse response = client.search(Immunization.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, immunizationId1); + } + + @Test + public void testSearchForPatientAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and status search parameters: + // GET [base]/Immunization?patient=[reference]&status={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("status", "completed"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Immunization.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, immunizationId1); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreImplantableDeviceTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreImplantableDeviceTest.java new file mode 100644 index 00000000000..4bee49cc86b --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreImplantableDeviceTest.java @@ -0,0 +1,116 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Device; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with Device. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-implantable-device.html + */ +public class USCoreImplantableDeviceTest extends ProfilesTestBaseV2 { + + private String deviceId1 = null; + private String deviceId2 = null; + private String deviceId3 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + loadDevice1(); + loadDevice2(); + loadDevice3(); + } + + public void loadDevice1() throws Exception { + String resource = "Device-udi-1.json"; + Device device = USCoreExamplesUtil.readLocalJSONResource("311", resource); + deviceId1 = createResourceAndReturnTheLogicalId("Device", device); + } + + public void loadDevice2() throws Exception { + String resource = "Device-udi-2.json"; + Device device = USCoreExamplesUtil.readLocalJSONResource("311", resource); + deviceId2 = createResourceAndReturnTheLogicalId("Device", device); + } + + public void loadDevice3() throws Exception { + String resource = "Device-udi-3.json"; + Device device = USCoreExamplesUtil.readLocalJSONResource("311", resource); + deviceId3 = createResourceAndReturnTheLogicalId("Device", device); + } + + @Test + public void testSearchForPatient() throws Exception { + // SHALL support searching for all devices for a patient, including implantable devices using the patient search + // parameter: + // GET [base]/Device?patient=1137192 + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + FHIRResponse response = client.search(Device.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, deviceId1); + assertContainsIds(bundle, deviceId2); + assertContainsIds(bundle, deviceId3); + } + + @Test + public void testSearchForPatientAndMultipleTypes() throws Exception { + // SHOULD support searching using the combination of the patient and type search parameters: + // GET [base]/Device?patient=[reference]&type={[system]}|[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("type", "http://snomed.info/sct|468063009,http://snomed.info/sct|19257004"); + FHIRResponse response = client.search(Device.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, deviceId1); + assertContainsIds(bundle, deviceId2); + assertDoesNotContainsIds(bundle, deviceId3); + } + + @Test + public void testSearchForPatientAndType() throws Exception { + // SHOULD support searching using the combination of the patient and type search parameters: + // GET [base]/Device?patient=[reference]&type={[system]}|[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("type", "19257004"); + FHIRResponse response = client.search(Device.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertDoesNotContainsIds(bundle, deviceId1); + assertContainsIds(bundle, deviceId2); + assertDoesNotContainsIds(bundle, deviceId3); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreLocationTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreLocationTest.java new file mode 100644 index 00000000000..8c060931788 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreLocationTest.java @@ -0,0 +1,116 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Location; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with Location. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-location.html + */ +public class USCoreLocationTest extends ProfilesTestBaseV2 { + + private String locationId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-location|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Location-hl7east.json"; + Location location = USCoreExamplesUtil.readLocalJSONResource("311", resource); + locationId1 = createResourceAndReturnTheLogicalId("Location", location); + } + + @Test + public void testSearchForName() throws Exception { + // SHALL support searching by location name using the name search parameter: + // GET [base]/Location?name=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("name", "Health Level Seven International - Amherst"); + FHIRResponse response = client.search(Location.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, locationId1); + } + + @Test + public void testSearchForAddress() throws Exception { + // SHALL support searching location based on text address using the address search parameter: + // GET [base]/Location?address=[string] + // "3300 Washtenaw Avenue, Suite 227" + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("address:contains", "Washtenaw"); + FHIRResponse response = client.search(Location.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, locationId1); + } + + @Test + public void testSearchForAddressCity() throws Exception { + // SHOULD support searching using the address-city search parameter: + // GET [base]/Location?address-city=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("address-city", "Amherst"); + FHIRResponse response = client.search(Location.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, locationId1); + } + + @Test + public void testSearchForAddressState() throws Exception { + // SHOULD support searching using the address-state search parameter: + // GET [base]/Location?address-state=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("address-state", "MA"); + FHIRResponse response = client.search(Location.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, locationId1); + } + + @Test + public void testSearchForAddressPostalCode() throws Exception { + // SHOULD support searching using the address-postalcode search parameter: + // GET [base]/Location?address-postalcode=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("address-postalcode", "01002"); + FHIRResponse response = client.search(Location.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, locationId1); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreMedicationRequestTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreMedicationRequestTest.java new file mode 100644 index 00000000000..62ed0163aaa --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreMedicationRequestTest.java @@ -0,0 +1,233 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.client.Entity; +import javax.ws.rs.client.WebTarget; +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.core.FHIRMediaType; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Bundle.Entry.Request; +import com.ibm.fhir.model.resource.MedicationRequest; +import com.ibm.fhir.model.type.Id; +import com.ibm.fhir.model.type.Meta; +import com.ibm.fhir.model.type.Uri; +import com.ibm.fhir.model.type.code.BundleType; +import com.ibm.fhir.model.type.code.HTTPVerb; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with MedicationRequest. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-medicationrequest.html + */ +public class USCoreMedicationRequestTest extends ProfilesTestBaseV2 { + + private String medicationRequestId1 = null; + private String medicationRequestId2 = null; + private String medicationRequestId3 = "uscore-mo3"; + private String medicationId3 = "uscore-med2"; + private String medicationRequestId4 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest|3.1.1", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + loadBundle1(); + loadMedicationRequest1(); + loadMedicationRequest2(); + loadMedicationRequest4(); + } + + public void loadBundle1() throws Exception { + String resource = "Bundle-uscore-mo3.json"; + WebTarget target = getWebTarget(); + + Bundle bundle = USCoreExamplesUtil.readLocalJSONResource("311", resource); + List<Bundle.Entry> entries = bundle.getEntry(); + List<Bundle.Entry> output = new ArrayList<>(); + for (Bundle.Entry entry : entries) { + Request request = Request.builder().method(HTTPVerb.PUT).url(Uri.of(entry.getResource().getClass().getSimpleName() + "/" + + entry.getResource().getId())).build(); + + Meta meta = Meta.builder().versionId(Id.of("" + System.currentTimeMillis())).build(); + entry.getResource().toBuilder().meta(meta).build(); + + Bundle.Entry tmpEntry = entry.toBuilder().request(request).build(); + output.add(tmpEntry); + } + bundle = bundle.toBuilder().type(BundleType.BATCH).entry(output).build(); + + Entity<Bundle> entity = Entity.entity(bundle, FHIRMediaType.APPLICATION_FHIR_JSON); + Response response = target.request().header(PREFER_HEADER_NAME, PREFER_HEADER_RETURN_REPRESENTATION).post(entity, Response.class); + assertResponse(response, Response.Status.OK.getStatusCode()); + + response = target.path("MedicationRequest/" + medicationRequestId3).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); + assertResponse(response, Response.Status.OK.getStatusCode()); + + response = target.path("Medication/" + medicationId3).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); + assertResponse(response, Response.Status.OK.getStatusCode()); + } + + public void loadMedicationRequest1() throws Exception { + String resource = "MedicationRequest-uscore-mo1.json"; + String cls = "MedicationRequest"; + medicationRequestId1 = buildAndAssertOnResourceForUsCore(cls, "311", resource); + } + + public void loadMedicationRequest2() throws Exception { + String resource = "MedicationRequest-uscore-mo2.json"; + String cls = "MedicationRequest"; + medicationRequestId2 = buildAndAssertOnResourceForUsCore(cls, "311", resource); + } + + public void loadMedicationRequest4() throws Exception { + String resource = "MedicationRequest-self-tylenol.json"; + String cls = "MedicationRequest"; + medicationRequestId4 = buildAndAssertOnResourceForUsCore(cls, "311", resource); + } + + @Test + public void testSearchByPatientWithSingleIntent() throws Exception { + // SHALL support searching using the combination of the patient and intent search parameters: + // including support for composite OR search on intent (e.g.intent={system|}[code],{system|}[code],...) + // GET [base]/MedicationRequest?patient=[reference]&intent=order,plan + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("intent", "order"); + FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, medicationRequestId1); + assertContainsIds(bundle, medicationRequestId2); + assertContainsIds(bundle, medicationRequestId3); + assertDoesNotContainsIds(bundle, medicationRequestId4); + } + + @Test + public void testSearchByPatientWithMultipleIntents() throws Exception { + // SHALL support searching using the combination of the patient and intent search parameters: + // including support for composite OR search on intent (e.g.intent={system|}[code],{system|}[code],...) + // GET [base]/MedicationRequest?patient=[reference]&intent=order,plan + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("intent", "order,plan"); + FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, medicationRequestId1); + assertContainsIds(bundle, medicationRequestId2); + assertContainsIds(bundle, medicationRequestId3); + assertContainsIds(bundle, medicationRequestId4); + } + + @Test + public void testSearchByPatientWithSingleIntentAndStatus() throws Exception { + // SHALL support searching using the combination of the patient and intent and status search parameters: + // including support for composite OR search on intent (e.g.intent={system|}[code],{system|}[code],...) + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET + // [base]/MedicationRequest?patient=[reference]&intent=order,plan&status={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("intent", "order"); + parameters.searchParam("status", "active"); + FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, medicationRequestId1); + assertContainsIds(bundle, medicationRequestId2); + assertContainsIds(bundle, medicationRequestId3); + assertDoesNotContainsIds(bundle, medicationRequestId4); + } + + @Test + public void testSearchByPatientWithSingleIntentAndEncounter() throws Exception { + // SHOULD support searching using the combination of the patient and intent and encounter search parameters: + // including support for composite OR search on intent (e.g.intent={system|}[code],{system|}[code],...) + // GET [base]/MedicationRequest?patient=[reference]&intent=order,plan&encounter=[reference] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("intent", "plan"); + parameters.searchParam("encounter", "Encounter/example-1"); + FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertDoesNotContainsIds(bundle, medicationRequestId1); + assertDoesNotContainsIds(bundle, medicationRequestId2); + assertDoesNotContainsIds(bundle, medicationRequestId3); + assertContainsIds(bundle, medicationRequestId4); + } + + @Test + public void testSearchByPatientWithSingleIntentWithInclude() throws Exception { + // Tests the include + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("intent", "order,plan"); + parameters.searchParam("_include", "MedicationRequest:medication"); + FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, medicationRequestId1); + assertContainsIds(bundle, medicationRequestId2); + assertContainsIds(bundle, medicationRequestId3); + assertContainsIds(bundle, medicationRequestId4); + assertContainsIds(bundle, medicationId3); + } + + @Test + public void testSearchByPatientWithSingleIntentWithIncludeAndAuthoredOn() throws Exception { + // SHOULD support searching using the combination of the patient and intent and authoredon search parameters: + // including support for composite OR search on intent (e.g.intent={system|}[code],{system|}[code],...) + // including support for these authoredon comparators: gt,lt,ge,le + // including optional support for composite AND search on authoredon + // (e.g.authoredon=[date]&authoredon=[date]]&...) + // GET + // [base]/MedicationRequest?patient=[reference]&intent=order,plan&authoredon={gt|lt|ge|le}[date]{&authoredon={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("intent", "order,plan"); + parameters.searchParam("authoredon", "2019-06-24"); + parameters.searchParam("_include", "MedicationRequest:medication"); + FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertDoesNotContainsIds(bundle, medicationRequestId1); + assertDoesNotContainsIds(bundle, medicationRequestId2); + assertDoesNotContainsIds(bundle, medicationRequestId3); + assertContainsIds(bundle, medicationRequestId4); + assertDoesNotContainsIds(bundle, medicationId3); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreMedicationTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreMedicationTest.java new file mode 100644 index 00000000000..e4f8a2ea499 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreMedicationTest.java @@ -0,0 +1,72 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Medication; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with Medication. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-medication.html + */ +public class USCoreMedicationTest extends ProfilesTestBaseV2 { + + private String medicationId1 = null; + private String medicationId2 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + loadMedication1(); + loadMedication2(); + } + + public void loadMedication1() throws Exception { + String resource = "Medication-uscore-med1.json"; + Medication medication = USCoreExamplesUtil.readLocalJSONResource("311", resource); + medicationId1 = createResourceAndReturnTheLogicalId("Medication", medication); + } + + public void loadMedication2() throws Exception { + String resource = "Medication-uscore-med2.json"; + Medication medication = USCoreExamplesUtil.readLocalJSONResource("311", resource); + medicationId2 = createResourceAndReturnTheLogicalId("Medication", medication); + } + + @Test + public void testSearchForCode() throws Exception { + // There are no specific search terms for Medication, using the base spec. + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("code", "http://www.nlm.nih.gov/research/umls/rxnorm|206765,http://www.nlm.nih.gov/research/umls/rxnorm|582620"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Medication.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, medicationId1); + assertContainsIds(bundle, medicationId2); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationLabTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationLabTest.java new file mode 100644 index 00000000000..3189424ee57 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationLabTest.java @@ -0,0 +1,180 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Observation; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with Observation. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-Observation.html + */ +public class USCoreObservationLabTest extends ProfilesTestBaseV2 { + + private String observationId1 = null; + private String observationId2 = null; + private String observationId3 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + loadObservation1(); + loadObservation2(); + loadObservation3(); + } + + public void loadObservation1() throws Exception { + String resource = "Observation-usg.json"; + Observation observation = USCoreExamplesUtil.readLocalJSONResource("311", resource); + observationId1 = createResourceAndReturnTheLogicalId("Observation", observation); + } + + public void loadObservation2() throws Exception { + String resource = "Observation-serum-total-bilirubin.json"; + Observation observation = USCoreExamplesUtil.readLocalJSONResource("311", resource); + observationId2 = createResourceAndReturnTheLogicalId("Observation", observation); + } + + public void loadObservation3() throws Exception { + String resource = "Observation-erythrocytes.json"; + Observation observation = USCoreExamplesUtil.readLocalJSONResource("311", resource); + observationId3 = createResourceAndReturnTheLogicalId("Observation", observation); + } + + @Test + public void testSearchForPatient() throws Exception { + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + assertContainsIds(bundle, observationId2); + assertContainsIds(bundle, observationId3); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|laboratory + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|laboratory"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + assertContainsIds(bundle, observationId2); + assertContainsIds(bundle, observationId3); + } + + @Test + public void testSearchForPatientAndMultipleCodes() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|5811-5,1975-2"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + assertContainsIds(bundle, observationId2); + assertDoesNotContainsIds(bundle, observationId3); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|laboratory + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|laboratory"); + parameters.searchParam("date", "ge2005"); + parameters.searchParam("date", "lt2006"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + assertContainsIds(bundle, observationId2); + assertContainsIds(bundle, observationId3); + } + + @Test + public void testSearchForPatientAndCategoryAndDateAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|laboratory&status={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|laboratory"); + parameters.searchParam("date", "ge2005"); + parameters.searchParam("date", "lt2006"); + parameters.searchParam("status", "final"); + + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + assertContainsIds(bundle, observationId2); + assertContainsIds(bundle, observationId3); + } + + @Test + public void testSearchForPatientAndMultipleCodesAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|5811-5,1975-2"); + parameters.searchParam("date", "2005-07-05"); + + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + assertDoesNotContainsIds(bundle, observationId2); + assertDoesNotContainsIds(bundle, observationId3); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationPediatricBMIForAgeTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationPediatricBMIForAgeTest.java new file mode 100644 index 00000000000..89fb870036f --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationPediatricBMIForAgeTest.java @@ -0,0 +1,183 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Observation; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with Observation on Vital Signs + * + * https://www.hl7.org/fhir/us/core/StructureDefinition-pediatric-bmi-for-age.html + * + * using https://www.hl7.org/fhir/us/core/vitals-search.html as a guide + */ +public class USCoreObservationPediatricBMIForAgeTest extends ProfilesTestBaseV2 { + private String observationId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Observation-pediatric-bmi-example.json"; + Observation observation = USCoreExamplesUtil.readLocalJSONResource("311", resource); + observationId1 = createResourceAndReturnTheLogicalId("Observation", observation); + } + + @Test + public void testSearchForPatient() throws Exception { + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/child-example"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs + // GET + // [base]/Observation?patient=1134281&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/child-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCode() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/child-example"); + parameters.searchParam("code", "59576-9"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndSystem() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/child-example"); + parameters.searchParam("code", "http://loinc.org|59576-9"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/child-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("date", "eq2019"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&status={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/child-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("status", "final"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/child-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("code", "http://loinc.org|59576-9"); + parameters.searchParam("date", "eq2019"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndBadDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/child-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("code", "http://loinc.org|59576-9"); + parameters.searchParam("date", "eq2020"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationPediatricHeadOccipitalFrontalCircumferencePercentileTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationPediatricHeadOccipitalFrontalCircumferencePercentileTest.java new file mode 100644 index 00000000000..6a60c3f8789 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationPediatricHeadOccipitalFrontalCircumferencePercentileTest.java @@ -0,0 +1,184 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Observation; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with Observation on Vital Signs + * + * https://www.hl7.org/fhir/us/core/StructureDefinition-head-occipital-frontal-circumference-percentile.html + * + * using https://www.hl7.org/fhir/us/core/vitals-search.html as a guide + */ +public class USCoreObservationPediatricHeadOccipitalFrontalCircumferencePercentileTest extends ProfilesTestBaseV2 { + + private String observationId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Observation-ofc-percentile.json"; + Observation observation = USCoreExamplesUtil.readLocalJSONResource("311", resource); + observationId1 = createResourceAndReturnTheLogicalId("Observation", observation); + } + + @Test + public void testSearchForPatient() throws Exception { + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs + // GET + // [base]/Observation?patient=1134281&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCode() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("code", "8289-1"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndSystem() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("code", "http://loinc.org|8289-1"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("date", "eq2020"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&status={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("status", "final"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("code", "http://loinc.org|8289-1"); + // parameters.searchParam("date", "eq2020"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndBadDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("code", "http://loinc.org|8289-1"); + parameters.searchParam("date", "eq2019"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationPediatricWeightForHeightTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationPediatricWeightForHeightTest.java new file mode 100644 index 00000000000..4ce91eefcda --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationPediatricWeightForHeightTest.java @@ -0,0 +1,183 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Observation; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with Observation on Vital Signs + * + * https://www.hl7.org/fhir/us/core/StructureDefinition-pediatric-weight-for-height.html + * + * using https://www.hl7.org/fhir/us/core/vitals-search.html as a guide + */ +public class USCoreObservationPediatricWeightForHeightTest extends ProfilesTestBaseV2 { + private String observationId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Observation-pediatric-wt-example.json"; + Observation observation = USCoreExamplesUtil.readLocalJSONResource("311", resource); + observationId1 = createResourceAndReturnTheLogicalId("Observation", observation); + } + + @Test + public void testSearchForPatient() throws Exception { + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs + // GET + // [base]/Observation?patient=1134281&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCode() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("code", "77606-2"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndSystem() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("code", "http://loinc.org|77606-2"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("date", "eq2020"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&status={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("status", "final"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("code", "http://loinc.org|77606-2"); + //parameters.searchParam("date", "eq2020"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndBadDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("code", "http://loinc.org|77606-2"); + parameters.searchParam("date", "eq2019"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationPulseOximetryTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationPulseOximetryTest.java new file mode 100644 index 00000000000..51dbfc3a2fd --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationPulseOximetryTest.java @@ -0,0 +1,187 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Observation; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with Observation on Vital Signs + * + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-pulse-oximetry.html + * + * using https://www.hl7.org/fhir/us/core/vitals-search.html as a guide + */ +public class USCoreObservationPulseOximetryTest extends ProfilesTestBaseV2 { + + private String observationId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Observation-satO2-fiO2.json"; + Observation observation = USCoreExamplesUtil.readLocalJSONResource("311", resource); + observationId1 = createResourceAndReturnTheLogicalId("Observation", observation); + } + + @Test + public void testSearchForPatient() throws Exception { + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs + // GET + // [base]/Observation?patient=1134281&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCode() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "2708-6"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndSystem() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|2708-6"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("date", "eq2014-12"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&status={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("status", "final"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("code", "http://loinc.org|2708-6"); + parameters.searchParam("date", "eq2014-12"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndBadDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("code", "http://loinc.org|2708-6"); + parameters.searchParam("date", "eq2019"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationSmokingStatusTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationSmokingStatusTest.java new file mode 100644 index 00000000000..9a519ceaa4f --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreObservationSmokingStatusTest.java @@ -0,0 +1,190 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Observation; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with Observation on Vital Signs + * + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-smokingstatus.html + * + * using https://www.hl7.org/fhir/us/core/vitals-search.html as a guide + */ +public class USCoreObservationSmokingStatusTest extends ProfilesTestBaseV2 { + + private String observationId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Observation-some-day-smoker.json"; + Observation observation = USCoreExamplesUtil.readLocalJSONResource("311", resource); + observation = observation.toBuilder() + .effective(observation.getIssued()) + .build(); + observationId1 = createResourceAndReturnTheLogicalId("Observation", observation); + } + + @Test + public void testSearchForPatient() throws Exception { + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|social-history + // GET + // [base]/Observation?patient=1134281&category=http://terminology.hl7.org/CodeSystem/observation-category|social-history + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|social-history"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCode() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "72166-2"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndSystem() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|72166-2"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|social-history&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|social-history"); + parameters.searchParam("date", "eq2016"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|social-history&status={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|social-history"); + parameters.searchParam("status", "final"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|social-history"); + parameters.searchParam("code", "http://loinc.org|72166-2"); + parameters.searchParam("date", "eq2016"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndBadDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|social-history"); + parameters.searchParam("code", "http://loinc.org|72166-2"); + parameters.searchParam("date", "eq2019"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreOrganizationTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreOrganizationTest.java new file mode 100644 index 00000000000..6424dd063bc --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreOrganizationTest.java @@ -0,0 +1,89 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Organization; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with Organization. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-organization.html + */ +public class USCoreOrganizationTest extends ProfilesTestBaseV2 { + + public Boolean skip = Boolean.TRUE; + + private String organizationId1 = null; + private String organizationId2 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + loadOrganization1(); + loadOrganization2(); + } + + public void loadOrganization1() throws Exception { + String resource = "Organization-acme-lab.json"; + String cls = "Organization"; + organizationId1 = buildAndAssertOnResourceForUsCore(cls, "311", resource); + } + + public void loadOrganization2() throws Exception { + String resource = "Organization-saint-luke-w-endpoint.json"; + String cls = "Organization"; + organizationId2 = buildAndAssertOnResourceForUsCore(cls, "311", resource); + } + + @Test + public void testSearchByName() throws Exception { + // SHALL support searching by organization name using the name search parameter: + // GET [base]/Organization?name=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("name:contains", "Labs,Hospital"); + FHIRResponse response = client.search(Organization.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, organizationId1); + assertContainsIds(bundle, organizationId2); + } + + @Test + public void testSearchByAddress() throws Exception { + // SHALL support searching organization based on text address using the address search parameter: + // GET [base]/Organization?address=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("address:contains", "Washtenaw,Wornall"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Organization.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, organizationId1); + assertContainsIds(bundle, organizationId2); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCorePatientTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCorePatientTest.java new file mode 100644 index 00000000000..5393fc5f327 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCorePatientTest.java @@ -0,0 +1,188 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Patient; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with Patient. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-patient.html + */ +public class USCorePatientTest extends ProfilesTestBaseV2 { + private String patientId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Patient-example.json"; + Patient ptnt = USCoreExamplesUtil.readLocalJSONResource("311", resource); + patientId1 = createResourceAndReturnTheLogicalId("Patient", ptnt); + } + + @Test + public void testSearchForId() throws Exception { + // SHALL support fetching a Patient using the _id search parameter: + // GET [base]/Patient[id] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("_id", patientId1); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, patientId1); + } + + @Test + public void testSearchByIdentifier() throws Exception { + // SHALL support searching a patient by an identifier such as a MPI using the identifier search parameter: + // GET [base]/Patient?identifier={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("identifier", "http://hospital.smarthealthit.org|1032702"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, patientId1); + } + + @Test + public void testSearchByIdentifierWithoutSystem() throws Exception { + // SHALL support searching a patient by an identifier such as a MPI using the identifier search parameter: + // GET [base]/Patient?identifier={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("identifier", "1032702"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, patientId1); + } + + @Test + public void testSearchByName() throws Exception { + // SHALL support searching for a patient by a string match of any part of name using the name search parameter: + // GET [base]/Patient?name=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("name:contains", "Shaw"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, patientId1); + } + + @Test + public void testSearchByNameAndBirthDate() throws Exception { + // SHALL support searching using the combination of the birthdate and name search parameters: + // GET [base]/Patient?birthdate=[date]&name=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("name:contains", "Shaw"); + parameters.searchParam("birthdate", "1987"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, patientId1); + } + + @Test + public void testSearchByNameAndBirthDateNoPatient() throws Exception { + // SHALL support searching using the combination of the birthdate and name search parameters: + // GET [base]/Patient?birthdate=[date]&name=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("name:contains", "Shaw"); + parameters.searchParam("birthdate", "1988"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + } + + @Test + public void testSearchByGenderAndName() throws Exception { + // SHALL support searching using the combination of the gender and name search parameters: + // GET [base]/Patient?gender={system|}[code]&name=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("name:contains", "Shaw"); + parameters.searchParam("gender", "female"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, patientId1); + } + + @Test + public void testSearchByNameAndGenderNoPatient() throws Exception { + // SHALL support searching using the combination of the gender and name search parameters: + // GET [base]/Patient?gender={system|}[code]&name=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("name:contains", "Shaw"); + parameters.searchParam("gender", "male"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + } + + @Test + public void testSearchByBirthdateAndFamily() throws Exception { + // SHOULD support searching using the combination of the birthdate and family search parameters: + // GET [base]/Patient?birthdate=[date]&family=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("family", "Shaw"); + parameters.searchParam("birthdate", "1987"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, patientId1); + } + + @Test + public void testSearchByGenderAndFamily() throws Exception { + // SHOULD support searching using the combination of the family and gender search parameters: + // GET [base]/Patient?family=[string]&gender={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("family", "Shaw"); + parameters.searchParam("gender", "female"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, patientId1); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCorePractitionerAndPractitionerRoleTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCorePractitionerAndPractitionerRoleTest.java new file mode 100644 index 00000000000..66b646fe064 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCorePractitionerAndPractitionerRoleTest.java @@ -0,0 +1,209 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.client.Entity; +import javax.ws.rs.client.WebTarget; +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.core.FHIRMediaType; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Bundle.Entry.Request; +import com.ibm.fhir.model.resource.Practitioner; +import com.ibm.fhir.model.resource.PractitionerRole; +import com.ibm.fhir.model.type.Id; +import com.ibm.fhir.model.type.Meta; +import com.ibm.fhir.model.type.Uri; +import com.ibm.fhir.model.type.code.BundleType; +import com.ibm.fhir.model.type.code.HTTPVerb; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with Practitioner and PractitionerRole + * + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitionerrole.html + */ +public class USCorePractitionerAndPractitionerRoleTest extends ProfilesTestBaseV2 { + private String practitionerId = "Practitioner-1011"; + private String practitionerRoleId = "PractitionerRole-1"; + private String endpointId = "71"; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|3.1.1", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json"; + WebTarget target = getWebTarget(); + + Bundle bundle = USCoreExamplesUtil.readLocalJSONResource("311", resource); + List<Bundle.Entry> entries = bundle.getEntry(); + List<Bundle.Entry> output = new ArrayList<>(); + for (Bundle.Entry entry : entries) { + Request request = Request.builder().method(HTTPVerb.PUT).url(Uri.of(entry.getResource().getClass().getSimpleName() + "/" + + entry.getResource().getId())).build(); + + Meta meta = Meta.builder().versionId(Id.of("" + System.currentTimeMillis())).build(); + entry.getResource().toBuilder().meta(meta).build(); + + Bundle.Entry tmpEntry = entry.toBuilder().request(request).build(); + output.add(tmpEntry); + } + bundle = bundle.toBuilder().type(BundleType.BATCH).entry(output).build(); + + Entity<Bundle> entity = Entity.entity(bundle, FHIRMediaType.APPLICATION_FHIR_JSON); + Response response = target.request().header(PREFER_HEADER_NAME, PREFER_HEADER_RETURN_REPRESENTATION).post(entity, Response.class); + assertResponse(response, Response.Status.OK.getStatusCode()); + + response = target.path("Practitioner/" + practitionerId).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); + assertResponse(response, Response.Status.OK.getStatusCode()); + this.addToResourceRegistry("Practitioner", practitionerId); + + response = target.path("PractitionerRole/" + practitionerRoleId).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); + assertResponse(response, Response.Status.OK.getStatusCode()); + this.addToResourceRegistry("PractitionerRole", practitionerRoleId); + + response = target.path("Endpoint/" + endpointId).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); + assertResponse(response, Response.Status.OK.getStatusCode()); + this.addToResourceRegistry("Endpoint", endpointId); + } + + @Test + public void testSearchForPractitionerByName() throws Exception { + // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitioner.html + // SHALL support searching for a practitioner by a string match of any part of name using the name search + // parameter: + // GET [base]/Practitioner?name=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("name:contains", "Richard"); + FHIRResponse response = client.search(Practitioner.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, practitionerId); + } + + @Test + public void testSearchForPractitionerByIdentifierWithSystem() throws Exception { + // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitioner.html + // SHALL support searching a practitioner by an identifier such as an NPI using the identifier search parameter: + // GET [base]/Practitioner?identifier={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("identifier", "http://hl7.org/fhir/sid/us-ssn|000001011"); + FHIRResponse response = client.search(Practitioner.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, practitionerId); + } + + @Test + public void testSearchForPractitionerByIdentifierWithoutSystem() throws Exception { + // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitioner.html + // SHALL support searching a practitioner by an identifier such as an NPI using the identifier search parameter: + // GET [base]/Practitioner?identifier={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("identifier", "000001011"); + FHIRResponse response = client.search(Practitioner.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, practitionerId); + } + + @Test + public void testSearchForPractitionerByIdentifierWithSecondOfficial() throws Exception { + // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitioner.html + // SHALL support searching a practitioner by an identifier such as an NPI using the identifier search parameter: + // GET [base]/Practitioner?identifier={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("identifier", "http://hl7.org/fhir/sid/us-npi|9999991011"); + FHIRResponse response = client.search(Practitioner.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, practitionerId); + } + + @Test + public void testSearchForPractitionerRoleBySpeciality() throws Exception { + // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitionerrole.html + // SHALL support searching practitioner role by specialty using the specialty search parameter: + // including optional support for these _include parameters: + // PractitionerRole:endpoint,PractitionerRole:practitioner + // GET + // [base]/PractitionerRole?specialty={[system]}|[code]{&_include=PractitionerRole:practitioner}{&_include=PractitionerRole?endpoint} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("specialty", "http://nucc.org/provider-taxonomy|208D00000X"); + FHIRResponse response = client.search(PractitionerRole.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, practitionerRoleId); + } + + @Test + public void testSearchForPractitionerRoleBySpecialityWithInclude() throws Exception { + // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitionerrole.html + // SHALL support searching practitioner role by specialty using the specialty search parameter: + // including optional support for these _include parameters: + // PractitionerRole:endpoint,PractitionerRole:practitioner + // GET + // [base]/PractitionerRole?specialty={[system]}|[code]{&_include=PractitionerRole:practitioner}{&_include=PractitionerRole?endpoint} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("specialty", "http://nucc.org/provider-taxonomy|208D00000X"); + parameters.searchParam("_include", "PractitionerRole:practitioner"); + FHIRResponse response = client.search(PractitionerRole.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, practitionerId); + assertContainsIds(bundle, practitionerRoleId); + } + + @Test + public void testSearchForPractitionerRoleBySpecialityWithMultipleIncludes() throws Exception { + // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitionerrole.html + // SHALL support searching practitioner role by specialty using the specialty search parameter: + // including optional support for these _include parameters: + // PractitionerRole:endpoint,PractitionerRole:practitioner + // GET + // [base]/PractitionerRole?specialty={[system]}|[code]{&_include=PractitionerRole:practitioner}{&_include=PractitionerRole?endpoint} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("specialty", "http://nucc.org/provider-taxonomy|208D00000X"); + parameters.searchParam("_include", "PractitionerRole:practitioner"); + parameters.searchParam("_include", "PractitionerRole:endpoint"); + FHIRResponse response = client.search(PractitionerRole.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, practitionerId); + assertContainsIds(bundle, practitionerRoleId); + assertContainsIds(bundle, endpointId); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreProcedureTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreProcedureTest.java new file mode 100644 index 00000000000..b501e7306d9 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v311/USCoreProcedureTest.java @@ -0,0 +1,189 @@ +/* + * (C) Copyright IBM Corp. 2020, 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v311; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Procedure; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 3.1.1 Profile with Procedure. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-procedure.html + */ +public class USCoreProcedureTest extends ProfilesTestBaseV2 { + + private String procedureId1 = null; + private String procedureId2 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure|3.1.1"); + } + + @Override + public void loadResources() throws Exception { + loadProcedure1(); + loadProcedure2(); + } + + public void loadProcedure1() throws Exception { + String resource = "Procedure-rehab.json"; + String cls = "Procedure"; + procedureId1 = buildAndAssertOnResourceForUsCore(cls, "311", resource); + } + + public void loadProcedure2() throws Exception { + String resource = "Procedure-defib-implant.json"; + String cls = "Procedure"; + procedureId2 = buildAndAssertOnResourceForUsCore(cls, "311", resource); + } + + @Test + public void testSearchByPatient() throws Exception { + // SHALL support searching for all procedures for a patient using the patient search parameter: + // GET [base]/Procedure?patient=[reference] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, procedureId1); + assertContainsIds(bundle, procedureId2); + } + + @Test + public void testSearchByPatientAndDate() throws Exception { + // SHALL support searching using the combination of the patient and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET [base]/Procedure?patient=[reference]&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("date", "2002,2019"); + FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, procedureId1); + assertContainsIds(bundle, procedureId2); + } + + @Test + public void testSearchByPatientAndDateAndCodeSct() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/Procedure?patient=[reference]&code={system|}[code]{,{system|}[code],...}&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("date", "2002,2019"); + parameters.searchParam("code", "http://snomed.info/sct|35637008"); + FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, procedureId1); + } + + @Test + public void testSearchByPatientAndDateAndCodeIcd10() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/Procedure?patient=[reference]&code={system|}[code]{,{system|}[code],...}&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("date", "2002,2019"); + parameters.searchParam("code", "http://www.cms.gov/Medicare/Coding/ICD10|HZ30ZZZ"); + FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, procedureId1); + } + + @Test + public void testSearchByPatientAndDateAndCodeWithoutSystem() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/Procedure?patient=[reference]&code={system|}[code]{,{system|}[code],...}&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("date", "2002,2019"); + parameters.searchParam("code", "HZ30ZZZ"); + FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, procedureId1); + } + + @Test + public void testSearchByPatientAndDateAndCodeWithoutSystemAndWithSystem() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/Procedure?patient=[reference]&code={system|}[code]{,{system|}[code],...}&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("date", "2002,2019"); + parameters.searchParam("code", "HZ30ZZZ,http://www.ama-assn.org/go/cpt|33249"); + FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, procedureId1); + assertContainsIds(bundle, procedureId2); + } + + @Test + public void testSearchByPatientAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET [base]/Procedure?patient=[reference]&status={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("status", "completed"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, procedureId1); + assertContainsIds(bundle, procedureId2); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreAllergyIntoleranceTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreAllergyIntoleranceTest.java new file mode 100644 index 00000000000..75839bc415b --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreAllergyIntoleranceTest.java @@ -0,0 +1,263 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.AllergyIntolerance; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Provenance; +import com.ibm.fhir.model.resource.Provenance.Agent; +import com.ibm.fhir.model.type.Canonical; +import com.ibm.fhir.model.type.Code; +import com.ibm.fhir.model.type.CodeableConcept; +import com.ibm.fhir.model.type.Coding; +import com.ibm.fhir.model.type.Instant; +import com.ibm.fhir.model.type.Meta; +import com.ibm.fhir.model.type.Narrative; +import com.ibm.fhir.model.type.Reference; +import com.ibm.fhir.model.type.Uri; +import com.ibm.fhir.model.type.Xhtml; +import com.ibm.fhir.model.type.code.NarrativeStatus; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with AllergyIntolerance and a related Provenance. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-provenance.html + */ +public class USCoreAllergyIntoleranceTest extends ProfilesTestBaseV2 { + + private String allergyIntoleranceIdActive = null; + private String allergyIntoleranceIdInactive = null; + private String allergyIntoleranceIdResolved = null; + private String provenanceId = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList( + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance|4.0.0"); + } + + public void loadAllergyIntoleranceActive() throws Exception { + String resource = "AllergyIntolerance-example.json"; + String cls = "AllergyIntolerance"; + allergyIntoleranceIdActive = buildAndAssertOnResourceForUsCore(cls, "400", resource); + } + + public void loadAllergyIntoleranceInactive() throws Exception { + String resource = "AllergyIntolerance-example.json"; + + AllergyIntolerance r = USCoreExamplesUtil.readLocalJSONResource("400", resource); + // @formatter:off + CodeableConcept allergyIntoleranceClinicalStatusCodes = CodeableConcept.builder() + .coding(Coding.builder() + .code(Code.of("inactive")) + .display(com.ibm.fhir.model.type.String.of("Inactive")) + .system(Uri.of("http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical")) + .build()) + .build(); + // @formatter:on + r = r.toBuilder().clinicalStatus(allergyIntoleranceClinicalStatusCodes).build(); + + allergyIntoleranceIdInactive = createResourceAndReturnTheLogicalId("AllergyIntolerance", r); + } + + public void loadAllergyIntoleranceResolved() throws Exception { + String resource = "AllergyIntolerance-example.json"; + + AllergyIntolerance r = USCoreExamplesUtil.readLocalJSONResource("400", resource); + // @formatter:off + CodeableConcept allergyIntoleranceClinicalStatusCodes = CodeableConcept.builder() + .coding(Coding.builder() + .code(Code.of("resolved")) + .display(com.ibm.fhir.model.type.String.of("Resolved")) + .system(Uri.of("http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical")) + .build()) + .build(); + // @formatter:on + r = r.toBuilder().clinicalStatus(allergyIntoleranceClinicalStatusCodes).build(); + + allergyIntoleranceIdResolved = createResourceAndReturnTheLogicalId("AllergyIntolerance", r); + } + + public void loadProvenanceForAllergyIntoleranceIdActive() throws Exception { + // Build the Provenance + Canonical profile = Canonical.of("http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance", "4.0.0"); + Meta meta = Meta.builder().profile(profile).build(); + + // @formatter:off + CodeableConcept type = CodeableConcept.builder() + .coding(Coding.builder() + .code(Code.of("author")) + .display(com.ibm.fhir.model.type.String.of("Author")) + .system(Uri.of("http://terminology.hl7.org/CodeSystem/provenance-participant-type")) + .build()) + .build(); + // @formatter:on + + Provenance provenance = + Provenance.builder() + .meta(meta) + .text(Narrative.builder() + .div(Xhtml.of("<div xmlns=\"http://www.w3.org/1999/xhtml\">loaded from the datastore</div>")) + .status(NarrativeStatus.GENERATED).build()) + .target(Reference.builder() + .reference(com.ibm.fhir.model.type.String.of("AllergyIntolerance/" + allergyIntoleranceIdActive)).build()) + .recorded(Instant.now()) + .agent(Agent.builder() + .type(type) + .who(Reference.builder() + .reference(com.ibm.fhir.model.type.String.of("Practitioner/practitioner-1")).build()) + .onBehalfOf(Reference.builder() + .reference(com.ibm.fhir.model.type.String.of("Organization/saint-luke-w-endpoint")) + .build()) + .build()) + .build(); + + provenanceId = createResourceAndReturnTheLogicalId("Provenance", provenance); + } + + // Load Resources + @Override + public void loadResources() throws Exception { + loadAllergyIntoleranceActive(); + loadAllergyIntoleranceInactive(); + loadAllergyIntoleranceResolved(); + loadProvenanceForAllergyIntoleranceIdActive(); + } + + @Test + public void testSearchForAllAllergiesForAPatient() throws Exception { + // SHALL support searching for all allergies for a patient using the patient search parameter + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#mandatory-search-parameters + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, allergyIntoleranceIdResolved); + assertContainsIds(bundle, allergyIntoleranceIdActive); + assertContainsIds(bundle, allergyIntoleranceIdInactive); + } + + @Test + public void testSearchForAllAllergiesForAPatientByInactiveStatusWithSystem() throws Exception { + // SHOULD support searching using the combination of the patient and clinical-status search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("clinical-status", "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical|inactive"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, allergyIntoleranceIdInactive); + } + + @Test + public void testSearchForAllAllergiesForAPatientByResolvedStatusWithSystem() throws Exception { + // SHOULD support searching using the combination of the patient and clinical-status search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("clinical-status", "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical|resolved"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, allergyIntoleranceIdResolved); + } + + @Test + public void testSearchForAllAllergiesForAPatientByActiveStatusWithSystem() throws Exception { + // SHOULD support searching using the combination of the patient and clinical-status search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("clinical-status", "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical|active"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, allergyIntoleranceIdActive); + } + + @Test + public void testSearchForAllAllergiesForAPatientByInactiveStatusWithoutSystem() throws Exception { + // SHOULD support searching using the combination of the patient and clinical-status search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("clinical-status", "inactive"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, allergyIntoleranceIdInactive); + } + + @Test + public void testSearchForAllAllergiesForAPatientByResolvedStatusWithoutSystem() throws Exception { + // SHOULD support searching using the combination of the patient and clinical-status search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("clinical-status", "resolved"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, allergyIntoleranceIdResolved); + } + + @Test + public void testSearchForAllAllergiesForAPatientByActiveStatusWithoutSystem() throws Exception { + // SHOULD support searching using the combination of the patient and clinical-status search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-allergyintolerance.html#optional-search-parameters + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("clinical-status", "active"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, allergyIntoleranceIdActive); + } + + @Test + public void testSearchForAllAllergiesForAPatientByActiveStatusWithoutSystemAndRevinclude() throws Exception { + // http://example.org/fhir/AllergyIntolerance?_revinclude=Provenance%3Atarget&patient=Examples + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_revinclude", "Provenance:target"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(AllergyIntolerance.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, allergyIntoleranceIdActive); + assertContainsIds(bundle, provenanceId); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreCarePlanTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreCarePlanTest.java new file mode 100644 index 00000000000..4366d22035b --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreCarePlanTest.java @@ -0,0 +1,164 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.CarePlan; +import com.ibm.fhir.model.type.DateTime; +import com.ibm.fhir.model.type.code.CarePlanStatus; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with CarePlan. + * + * The specification says the following parameters should work: + * <code>status=http://hl7.org/fhir/ValueSet/request-status|active</code> + * It's a default binding and should work without a bound system. We only extract active, and not the default system. + */ +public class USCoreCarePlanTest extends ProfilesTestBaseV2 { + private String carePlanId = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + String resource = "CarePlan-colonoscopy.json"; + + CarePlan carePlan = USCoreExamplesUtil.readLocalJSONResource("400", resource); + com.ibm.fhir.model.type.Period period = + com.ibm.fhir.model.type.Period.builder() + .start(DateTime.of("2019-01-01")) + .end(DateTime.of("2020-01-01")) + .build(); + + // Note: The test uses ACTIVE as a CodeableConcept rather than a plain string. + carePlan = carePlan.toBuilder().period(period).status(CarePlanStatus.ACTIVE).build(); + carePlanId = createResourceAndReturnTheLogicalId("CarePlan", carePlan); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); + FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, carePlanId); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and category and date search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); + parameters.searchParam("date", "gt2018"); + parameters.searchParam("date", "le2021"); + FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, carePlanId); + } + + @Test + public void testSearchForPatientAndCategoryAndDateGe() throws Exception { + // SHOULD support searching using the combination of the patient and category and date search parameters + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); + parameters.searchParam("date", "ge2019"); + parameters.searchParam("date", "le2021"); + FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, carePlanId); + } + + @Test + public void testSearchForPatientAndCategoryAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); + parameters.searchParam("status", "active"); + FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, carePlanId); + } + + // See the note at the top of this class as to why this test is disabled. + @Test(enabled = false) + public void testSearchForPatientAndCategoryAndStatusSystem() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); + parameters.searchParam("status", "http://hl7.org/fhir/ValueSet/request-status|"); + FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, carePlanId); + } + + @Test + public void testSearchForPatientAndCategoryAndStatusSystemStatus() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); + parameters.searchParam("status", "active"); + FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, carePlanId); + } + + @Test + public void testSearchForPatientAndCategoryAndStatusSystemStatusAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // http://build.fhir.org/ig/HL7/US-Core-R4/StructureDefinition-us-core-careplan.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"); + parameters.searchParam("status", "active"); + parameters.searchParam("date", "ge2019"); + parameters.searchParam("date", "le2021"); + FHIRResponse response = client.search(CarePlan.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, carePlanId); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreCareTeamTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreCareTeamTest.java new file mode 100644 index 00000000000..528359d732d --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreCareTeamTest.java @@ -0,0 +1,65 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.CareTeam; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with CareTeam. + * + * The specification says the following parameters should work: + * <code>status=http://hl7.org/fhir/care-team-status|active</code> + * It's a default binding and should work without a bound system. We only extract active, and not the default system. + */ +public class USCoreCareTeamTest extends ProfilesTestBaseV2 { + + private String careTeamId = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + String resource = "CareTeam-example.json"; + String cls = "CareTeam"; + careTeamId = buildAndAssertOnResourceForUsCore(cls, "400", resource); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET [base]/CareTeam?patient=[reference]&status=active + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-careteam.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("status", "http://hl7.org/fhir/care-team-status|active"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(CareTeam.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, careTeamId); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreConditionTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreConditionTest.java new file mode 100644 index 00000000000..999f39d033f --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreConditionTest.java @@ -0,0 +1,238 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Condition; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with Condition. + */ +public class USCoreConditionTest extends ProfilesTestBaseV2 { + private String conditionId1 = null; + private String conditionId2 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition|4.0.0"); + } + + public void loadCondition1() throws Exception { + String resource = "Condition-example.json"; + Condition condition = USCoreExamplesUtil.readLocalJSONResource("400", resource); + conditionId1 = createResourceAndReturnTheLogicalId("Condition", condition); + } + + public void loadCondition2() throws Exception { + String resource = "Condition-hc1.json"; + Condition condition = USCoreExamplesUtil.readLocalJSONResource("400", resource); + conditionId2 = createResourceAndReturnTheLogicalId("Condition", condition); + } + + @Override + public void loadResources() throws Exception { + loadCondition1(); + loadCondition2(); + } + + @Test + public void testSearchForPatient() throws Exception { + // SHALL support searching for all conditions including problems, health concerns, and encounter diagnosis for a + // patient using the patient search parameter: + // GET [base]/Condition?patient=[reference] + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_id", conditionId1 + "," + conditionId2); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, conditionId1); + assertContainsIds(bundle, conditionId2); + } + + @Test + public void testSearchForPatientAndClinicalStatus() throws Exception { + // SHOULD support searching using the combination of the patient and clinical-status search parameters: + // GET + // [base]/Condition?patient=[reference]&clinical-status=http://terminology.hl7.org/CodeSystem/condition-clinical|active,http://terminology.hl7.org/CodeSystem/condition-clinical|recurrance,http://terminology.hl7.org/CodeSystem/condition-clinical|remission + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("clinical-status", "http://terminology.hl7.org/CodeSystem/condition-clinical|active,http://terminology.hl7.org/CodeSystem/condition-clinical|recurrance,http://terminology.hl7.org/CodeSystem/condition-clinical|remission"); + parameters.searchParam("_id", conditionId1 + "," + conditionId2); // Protect against bad data + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, conditionId1); + assertContainsIds(bundle, conditionId2); + } + + @Test + public void testSearchForPatientAndCategoryProblemListItem() throws Exception { + // SHOULD support searching using the combination of the patient and category search parameters: + // GET [base]/Condition?patient=[reference]&category={system|}[code] + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/condition-category|problem-list-item"); + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + + } + + @Test + public void testSearchForPatientAndCategoryHealthConcern() throws Exception { + // SHOULD support searching using the combination of the patient and category search parameters: + // GET [base]/Condition?patient=[reference]&category={system|}[code] + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/condition-category|health-concern"); + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, conditionId2); + } + + @Test + public void testSearchForPatientAndCategoryDoesNotExist() throws Exception { + // SHOULD support searching using the combination of the patient and category search parameters: + // GET [base]/Condition?patient=[reference]&category={system|}[code] + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/condition-category|encounter-diagnosis"); + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().isEmpty()); + + } + + @Test + public void testSearchForPatientAndCode() throws Exception { + // SHOULD support searching using the combination of the patient and code search parameters: + // GET [base]/Condition?patient=[reference]&code={system|}[code] + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://snomed.info/sct|442311008"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, conditionId1); + } + + @Test + public void testSearchForPatientAndOnsetDateGe() throws Exception { + // SHOULD support searching using the combination of the patient and onset-date search parameters: + // including support for these onset-date comparators: gt,lt,ge,le + // including optional support for composite AND search on onset-date + // (e.g.onset-date=[date]&onset-date=[date]]&...) + // GET [base]/Condition?patient=[reference]&onset-date={gt|lt|ge|le}[date]{&onset-date={gt|lt|ge|le}[date]&...} + // "onsetDateTime": "2016-08-10" + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("onset-date", "ge2016"); + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, conditionId1); + } + + @Test + public void testSearchForPatientAndOnsetDateGt() throws Exception { + // SHOULD support searching using the combination of the patient and onset-date search parameters: + // including support for these onset-date comparators: gt,lt,ge,le + // including optional support for composite AND search on onset-date + // (e.g.onset-date=[date]&onset-date=[date]]&...) + // GET [base]/Condition?patient=[reference]&onset-date={gt|lt|ge|le}[date]{&onset-date={gt|lt|ge|le}[date]&...} + // "onsetDateTime": "2016-08-10" + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("onset-date", "gt2015"); + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, conditionId1); + } + + @Test + public void testSearchForPatientAndOnsetDateLt() throws Exception { + // SHOULD support searching using the combination of the patient and onset-date search parameters: + // including support for these onset-date comparators: gt,lt,ge,le + // including optional support for composite AND search on onset-date + // (e.g.onset-date=[date]&onset-date=[date]]&...) + // GET [base]/Condition?patient=[reference]&onset-date={gt|lt|ge|le}[date]{&onset-date={gt|lt|ge|le}[date]&...} + // "onsetDateTime": "2016-08-10" + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("onset-date", "lt2019"); + parameters.searchParam("_id", conditionId1 + "," + conditionId2); // Protect against bad data + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, conditionId1); + } + + @Test + public void testSearchForPatientAndOnsetDateLe() throws Exception { + // SHOULD support searching using the combination of the patient and onset-date search parameters: + // including support for these onset-date comparators: gt,lt,ge,le + // including optional support for composite AND search on onset-date + // (e.g.onset-date=[date]&onset-date=[date]]&...) + // GET [base]/Condition?patient=[reference]&onset-date={gt|lt|ge|le}[date]{&onset-date={gt|lt|ge|le}[date]&...} + // "onsetDateTime": "2016-08-10" + // http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("onset-date", "le2016"); + parameters.searchParam("_id", conditionId1 + "," + conditionId2); // Protect against bad data + FHIRResponse response = client.search(Condition.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, conditionId1); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreDiagnosticReportLabTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreDiagnosticReportLabTest.java new file mode 100644 index 00000000000..230eac45ac7 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreDiagnosticReportLabTest.java @@ -0,0 +1,215 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.DiagnosticReport; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with DiagnosticReport Lab. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-diagnosticreport-lab.html + */ +public class USCoreDiagnosticReportLabTest extends ProfilesTestBaseV2 { + + private String diagnosticReportId1 = null; + private String diagnosticReportId2 = null; + private String diagnosticReportId3 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + loadDiagnosticReport1(); + loadDiagnosticReport2(); + loadDiagnosticReport3(); + } + + public void loadDiagnosticReport1() throws Exception { + String resource = "DiagnosticReport-urinalysis.json"; + DiagnosticReport diagnosticReport = USCoreExamplesUtil.readLocalJSONResource("400", resource); + diagnosticReportId1 = createResourceAndReturnTheLogicalId("DiagnosticReport", diagnosticReport); + } + + public void loadDiagnosticReport2() throws Exception { + String resource = "DiagnosticReport-metabolic-panel.json"; + DiagnosticReport diagnosticReport = USCoreExamplesUtil.readLocalJSONResource("400", resource); + diagnosticReportId2 = createResourceAndReturnTheLogicalId("DiagnosticReport", diagnosticReport); + } + + public void loadDiagnosticReport3() throws Exception { + String resource = "DiagnosticReport-cbc.json"; + DiagnosticReport diagnosticReport = USCoreExamplesUtil.readLocalJSONResource("400", resource); + diagnosticReportId3 = createResourceAndReturnTheLogicalId("DiagnosticReport", diagnosticReport); + } + + @Test + public void testSearchForPatient() throws Exception { + // SHALL support searching for all diagnostic reports for a patient using the patient search parameter: + // GET [base]/DiagnosticReport?patient=[reference] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertContainsIds(bundle, diagnosticReportId2); + assertContainsIds(bundle, diagnosticReportId3); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET [base]/DiagnosticReport?patient=[reference]&type={[system]}|[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/v2-0074|LAB"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertContainsIds(bundle, diagnosticReportId2); + assertContainsIds(bundle, diagnosticReportId3); + } + + @Test + public void testSearchForPatientAndCode() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|24356-8"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertDoesNotContainsIds(bundle, diagnosticReportId2); + assertDoesNotContainsIds(bundle, diagnosticReportId3); + } + + @Test + public void testSearchForPatientAndCodeWithoutSystem() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|24356-8"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertDoesNotContainsIds(bundle, diagnosticReportId2); + assertDoesNotContainsIds(bundle, diagnosticReportId3); + } + + @Test + public void testSearchForPatientAndMultipleCodes() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|24356-8,http://loinc.org|24323-8"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertContainsIds(bundle, diagnosticReportId2); + assertDoesNotContainsIds(bundle, diagnosticReportId3); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/DiagnosticReport?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/v2-0074|LAB&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/v2-0074|LAB"); + parameters.searchParam("date", "2005-07-05"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertDoesNotContainsIds(bundle, diagnosticReportId2); + assertContainsIds(bundle, diagnosticReportId3); + } + + @Test + public void testSearchForPatientAndCategoryAndDateLeGe() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/DiagnosticReport?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/v2-0074|LAB&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/v2-0074|LAB"); + parameters.searchParam("date", "ge2005-01"); + parameters.searchParam("date", "lt2005-07-05"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertDoesNotContainsIds(bundle, diagnosticReportId1); + assertContainsIds(bundle, diagnosticReportId2); + assertDoesNotContainsIds(bundle, diagnosticReportId3); + } + + @Test + public void testSearchForPatientAndCategoryAndDateAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and status search parameters: + // GET [base]/DiagnosticReport?patient=[reference]&status={system|}[code]{,{system|}[code],...} + // Note: implied system, and we only pass in the token. + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/v2-0074|LAB"); + parameters.searchParam("date", "ge2005-01"); + parameters.searchParam("status", "final"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertContainsIds(bundle, diagnosticReportId2); + assertContainsIds(bundle, diagnosticReportId3); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreDiagnosticReportNoteTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreDiagnosticReportNoteTest.java new file mode 100644 index 00000000000..16ef7a3b50b --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreDiagnosticReportNoteTest.java @@ -0,0 +1,206 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.DiagnosticReport; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with DiagnosticReport Lab. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-diagnosticreport-note.html + */ +public class USCoreDiagnosticReportNoteTest extends ProfilesTestBaseV2 { + + private String diagnosticReportId1 = null; + private String diagnosticReportId2 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + loadDiagnosticReport1(); + loadDiagnosticReport2(); + } + + public void loadDiagnosticReport1() throws Exception { + String resource = "DiagnosticReport-cardiology-report.json"; + DiagnosticReport diagnosticReport = USCoreExamplesUtil.readLocalJSONResource("400", resource); + diagnosticReportId1 = createResourceAndReturnTheLogicalId("DiagnosticReport", diagnosticReport); + } + + public void loadDiagnosticReport2() throws Exception { + String resource = "DiagnosticReport-chest-xray-report.json"; + DiagnosticReport diagnosticReport = USCoreExamplesUtil.readLocalJSONResource("400", resource); + diagnosticReportId2 = createResourceAndReturnTheLogicalId("DiagnosticReport", diagnosticReport); + } + + @Test + public void testSearchForPatient() throws Exception { + // SHALL support searching for all diagnosticreports for a patient using the patient search parameter: + // GET [base]/DiagnosticReport?patient=[reference] + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertContainsIds(bundle, diagnosticReportId2); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET [base]/DiagnosticReport?patient=[reference]&category={system|}[code] + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "LP29708-2"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertDoesNotContainsIds(bundle, diagnosticReportId2); + } + + @Test + public void testSearchForPatientAndCategoryAndSystem() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET [base]/DiagnosticReport?patient=[reference]&category={system|}[code] + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://loinc.org|LP29708-2"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertDoesNotContainsIds(bundle, diagnosticReportId2); + } + + @Test + public void testSearchForPatientAndCode() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|45033-8"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertDoesNotContainsIds(bundle, diagnosticReportId2); + } + + @Test + public void testSearchForPatientAndCodes() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|45033-8,http://loinc.org|30746-2"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertContainsIds(bundle, diagnosticReportId2); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/DiagnosticReport?patient=[reference]&category={system|}[code]&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "LP29708-2"); + parameters.searchParam("date", "2011-01-01T21Z"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertDoesNotContainsIds(bundle, diagnosticReportId2); + } + + @Test + public void testSearchForPatientAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET [base]/DiagnosticReport?patient=[reference]&status={system|}[code]{,{system|}[code],...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("status", "final"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertContainsIds(bundle, diagnosticReportId2); + + } + + @Test + public void testSearchForPatientAndCodeAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/DiagnosticReport?patient=[reference]&code={system|}[code]{,{system|}[code],...}&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|45033-8,http://loinc.org|30746-2"); + parameters.searchParam("date", "2011-01-01T21Z"); + FHIRResponse response = client.search(DiagnosticReport.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, diagnosticReportId1); + assertDoesNotContainsIds(bundle, diagnosticReportId2); + + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreDocumentReferenceTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreDocumentReferenceTest.java new file mode 100644 index 00000000000..93dbe6ee8b3 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreDocumentReferenceTest.java @@ -0,0 +1,184 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.DocumentReference; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with DocumentReference. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-documentreference.html + * https://www.hl7.org/fhir/us/core/clinical-notes-guidance.html + */ +public class USCoreDocumentReferenceTest extends ProfilesTestBaseV2 { + + private String documentReferenceId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + loadDocumentReference1(); + } + + public void loadDocumentReference1() throws Exception { + String resource = "DocumentReference-episode-summary.json"; + DocumentReference documentReference = USCoreExamplesUtil.readLocalJSONResource("400", resource); + documentReferenceId1 = createResourceAndReturnTheLogicalId("DocumentReference", documentReference); + } + + @Test + public void testSearchForId() throws Exception { + // SHALL support fetching a DocumentReference using the _id search parameter: + // GET [base]/DocumentReference[id] + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("_id", documentReferenceId1); + FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, documentReferenceId1); + + } + + @Test + public void testSearchForPatient() throws Exception { + // SHALL support searching for all documentreferences for a patient using the patient search parameter: + // GET [base]/DocumentReference?patient=[reference] + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, documentReferenceId1); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET + // [base]/DocumentReference?patient=[reference]&category=http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note"); + FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, documentReferenceId1); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/DocumentReference?patient=[reference]&category=http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note"); + parameters.searchParam("date", "ge2016"); + FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, documentReferenceId1); + } + + @Test + public void testSearchForPatientAndCategoryAndBadDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/DocumentReference?patient=[reference]&category=http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note"); + parameters.searchParam("date", "ge2017"); + FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + } + + @Test + public void testSearchForPatientAndType() throws Exception { + // SHALL support searching using the combination of the patient and type search parameters: + // GET [base]/DocumentReference?patient=[reference]&type={system|}[code] + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("type", "http://loinc.org|34133-9"); + FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, documentReferenceId1); + } + + @Test + public void testSearchForPatientAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET [base]/DocumentReference?patient=[reference]&status={system|}[code]{,{system|}[code],...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("type", "http://loinc.org|34133-9"); + FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, documentReferenceId1); + } + + @Test + public void testSearchForPatientAndTypeAndPeriod() throws Exception { + // SHOULD support searching using the combination of the patient and type and period search parameters: + // including support for these period comparators: gt,lt,ge,le + // including optional support for composite AND search on period (e.g.period=[date]&period=[date]]&...) + // GET + // [base]/DocumentReference?patient=[reference]&type={system|}[code]&period={gt|lt|ge|le}[date]{&period={gt|lt|ge|le}[date]&...} + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("type", "http://loinc.org|34133-9"); + parameters.searchParam("period", "2004"); + FHIRResponse response = client.search(DocumentReference.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertBaseBundleNotEmpty(bundle); + assertContainsIds(bundle, documentReferenceId1); + + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreEncounterTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreEncounterTest.java new file mode 100644 index 00000000000..8a6b59f5f8a --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreEncounterTest.java @@ -0,0 +1,205 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Encounter; +import com.ibm.fhir.model.type.Code; +import com.ibm.fhir.model.type.CodeableConcept; +import com.ibm.fhir.model.type.Coding; +import com.ibm.fhir.model.type.Identifier; +import com.ibm.fhir.model.type.Uri; +import com.ibm.fhir.model.type.code.IdentifierUse; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with Encounter. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-encounter.html + */ +public class USCoreEncounterTest extends ProfilesTestBaseV2 { + + private String encounterId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Encounter-example-1.json"; + // @formatter:off + CodeableConcept type = CodeableConcept.builder() + .coding(Coding.builder() + .code(Code.of("DL")) + .display(com.ibm.fhir.model.type.String.of("Driver's license number")) + .system(Uri.of("http://terminology.hl7.org/CodeSystem/v2-0203")) + .build()) + .build(); + // @formatter:on + + Identifier identifier = + Identifier.builder().system(Uri.of("urn:oid:0.1.2.3.4.5.6.7")).use(IdentifierUse.OFFICIAL).value(com.ibm.fhir.model.type.String.of("654321")).type(type).build(); + + Encounter encounter = USCoreExamplesUtil.readLocalJSONResource("400", resource); + encounter = encounter.toBuilder().identifier(identifier).build(); + + encounterId1 = createResourceAndReturnTheLogicalId("Encounter", encounter); + } + + @Test + public void testSearchForId() throws Exception { + // SHALL support fetching an encounter using the _id search parameter: + // GET [base]/Encounter?_id=12354 + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("_id", encounterId1); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 1); + assertContainsIds(bundle, encounterId1); + } + + @Test + public void testSearchForPatient() throws Exception { + // SHALL support searching for all Encounters for a patient using the patient search parameter: + // GET [base]/Encounter?patient=[reference] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, encounterId1); + } + + @Test + public void testSearchForPatientAndDate() throws Exception { + // SHALL support searching using the combination of the date and patient search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET [base]/Encounter?date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...}&patient=[reference] + // date is actually a period -> Encounter.period + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("date", "ge2015-11-01"); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, encounterId1); + } + + @Test + public void testSearchForIdentifierAndDate() throws Exception { + // SHOULD support searching using the identifier search parameter: + // GET [base]/Encounter?identifier={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("identifier", "654321"); + parameters.searchParam("date", "ge2015-11-01"); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, encounterId1); + } + + @Test + public void testSearchForClassAndPatient() throws Exception { + // SHOULD support searching using the combination of the class and patient search parameters: + // GET [base]/Encounter?class={system|}[code]&patient=[reference] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("class", "AMB"); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, encounterId1); + } + + @Test + public void testSearchForClassAndPatientWithSystem() throws Exception { + // SHOULD support searching using the combination of the class and patient search parameters: + // GET [base]/Encounter?class={system|}[code]&patient=[reference] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("class", "http://terminology.hl7.org/CodeSystem/v3-ActCode|AMB"); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, encounterId1); + } + + @Test + public void testSearchForTypeAndPatientWithSystem() throws Exception { + // SHOULD support searching using the combination of the patient and type search parameters: + // GET [base]/Encounter?patient=[reference]&type={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("type", "http://www.ama-assn.org/go/cpt|99201"); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, encounterId1); + } + + @Test + public void testSearchForTypeAndPatient() throws Exception { + // SHOULD support searching using the combination of the patient and type search parameters: + // GET [base]/Encounter?patient=[reference]&type={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("type", "99201"); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, encounterId1); + } + + @Test + public void testSearchForStatusAndPatient() throws Exception { + // SHOULD support searching using the combination of the patient and status search parameters: + // GET [base]/Encounter?patient=[reference]&status={system|}[code] + + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("status", "finished"); + FHIRResponse response = client.search(Encounter.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, encounterId1); + } + +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreGoalTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreGoalTest.java new file mode 100644 index 00000000000..91cfc7c3436 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreGoalTest.java @@ -0,0 +1,94 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Goal; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with Goal. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-goal.html + */ +public class USCoreGoalTest extends ProfilesTestBaseV2 { + + private String goalId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Goal-goal-1.json"; + Goal goal = USCoreExamplesUtil.readLocalJSONResource("400", resource); + goalId1 = createResourceAndReturnTheLogicalId("Goal", goal); + } + + @Test + public void testSearchForPatient() throws Exception { + // SHALL support searching for all goals for a patient using the patient search parameter: + // GET [base]/Goal?patient=[reference] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Goal.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, goalId1); + } + + @Test + public void testSearchForPatientLifecycleStatus() throws Exception { + // SHOULD support searching using the combination of the patient and lifecycle-status search parameters: + // GET [base]/Goal?patient=[reference]&lifecycle-status={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("lifecycle-status", "active"); + FHIRResponse response = client.search(Goal.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, goalId1); + } + + @Test + public void testSearchForPatientTargetDate() throws Exception { + // SHOULD support searching using the combination of the patient and target-date search parameters: + // including support for these target-date comparators: gt,lt,ge,le + // including optional support for composite AND search on target-date + // (e.g.target-date=[date]&target-date=[date]]&...) + // GET [base]/Goal?patient=[reference]&target-date={gt|lt|ge|le}[date]{&target-date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("target-date", "ge2016"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Goal.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, goalId1); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreImmunizationTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreImmunizationTest.java new file mode 100644 index 00000000000..bb2ecadda3f --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreImmunizationTest.java @@ -0,0 +1,93 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Immunization; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with Immunization. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-Immunization.html + */ +public class USCoreImmunizationTest extends ProfilesTestBaseV2 { + + private String immunizationId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Immunization-imm-1.json"; + Immunization immunization = USCoreExamplesUtil.readLocalJSONResource("400", resource); + immunizationId1 = createResourceAndReturnTheLogicalId("Immunization", immunization); + } + + @Test + public void testSearchForPatient() throws Exception { + // SHALL support searching for all immunizations for a patient using the patient search parameter: + // GET [base]/Immunization?patient=[reference] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Immunization.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, immunizationId1); + } + + @Test + public void testSearchForPatientAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and lifecycle-status search parameters: + // GET [base]/Immunization?patient=[reference]&lifecycle-status={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("date", "ge2019"); + parameters.searchParam("date", "lt2021"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Immunization.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, immunizationId1); + } + + @Test + public void testSearchForPatientAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and status search parameters: + // GET [base]/Immunization?patient=[reference]&status={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("status", "completed"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Immunization.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, immunizationId1); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreImplantableDeviceTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreImplantableDeviceTest.java new file mode 100644 index 00000000000..4969e1620ea --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreImplantableDeviceTest.java @@ -0,0 +1,116 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Device; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with Device. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-implantable-device.html + */ +public class USCoreImplantableDeviceTest extends ProfilesTestBaseV2 { + + private String deviceId1 = null; + private String deviceId2 = null; + private String deviceId3 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + loadDevice1(); + loadDevice2(); + loadDevice3(); + } + + public void loadDevice1() throws Exception { + String resource = "Device-udi-1.json"; + Device device = USCoreExamplesUtil.readLocalJSONResource("400", resource); + deviceId1 = createResourceAndReturnTheLogicalId("Device", device); + } + + public void loadDevice2() throws Exception { + String resource = "Device-udi-2.json"; + Device device = USCoreExamplesUtil.readLocalJSONResource("400", resource); + deviceId2 = createResourceAndReturnTheLogicalId("Device", device); + } + + public void loadDevice3() throws Exception { + String resource = "Device-udi-3.json"; + Device device = USCoreExamplesUtil.readLocalJSONResource("400", resource); + deviceId3 = createResourceAndReturnTheLogicalId("Device", device); + } + + @Test + public void testSearchForPatient() throws Exception { + // SHALL support searching for all devices for a patient, including implantable devices using the patient search + // parameter: + // GET [base]/Device?patient=1137192 + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + FHIRResponse response = client.search(Device.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, deviceId1); + assertContainsIds(bundle, deviceId2); + assertContainsIds(bundle, deviceId3); + } + + @Test + public void testSearchForPatientAndMultipleTypes() throws Exception { + // SHOULD support searching using the combination of the patient and type search parameters: + // GET [base]/Device?patient=[reference]&type={[system]}|[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("type", "http://snomed.info/sct|468063009,http://snomed.info/sct|19257004"); + FHIRResponse response = client.search(Device.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, deviceId1); + assertContainsIds(bundle, deviceId2); + assertDoesNotContainsIds(bundle, deviceId3); + } + + @Test + public void testSearchForPatientAndType() throws Exception { + // SHOULD support searching using the combination of the patient and type search parameters: + // GET [base]/Device?patient=[reference]&type={[system]}|[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("type", "19257004"); + FHIRResponse response = client.search(Device.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertDoesNotContainsIds(bundle, deviceId1); + assertContainsIds(bundle, deviceId2); + assertDoesNotContainsIds(bundle, deviceId3); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreLocationTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreLocationTest.java new file mode 100644 index 00000000000..2aaf47e9205 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreLocationTest.java @@ -0,0 +1,116 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Location; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with Location. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-location.html + */ +public class USCoreLocationTest extends ProfilesTestBaseV2 { + + private String locationId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-location|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Location-hl7east.json"; + Location location = USCoreExamplesUtil.readLocalJSONResource("400", resource); + locationId1 = createResourceAndReturnTheLogicalId("Location", location); + } + + @Test + public void testSearchForName() throws Exception { + // SHALL support searching by location name using the name search parameter: + // GET [base]/Location?name=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("name", "Health Level Seven International - Amherst"); + FHIRResponse response = client.search(Location.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, locationId1); + } + + @Test + public void testSearchForAddress() throws Exception { + // SHALL support searching location based on text address using the address search parameter: + // GET [base]/Location?address=[string] + // "3300 Washtenaw Avenue, Suite 227" + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("address:contains", "Washtenaw"); + FHIRResponse response = client.search(Location.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, locationId1); + } + + @Test + public void testSearchForAddressCity() throws Exception { + // SHOULD support searching using the address-city search parameter: + // GET [base]/Location?address-city=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("address-city", "Amherst"); + FHIRResponse response = client.search(Location.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, locationId1); + } + + @Test + public void testSearchForAddressState() throws Exception { + // SHOULD support searching using the address-state search parameter: + // GET [base]/Location?address-state=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("address-state", "MA"); + FHIRResponse response = client.search(Location.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, locationId1); + } + + @Test + public void testSearchForAddressPostalCode() throws Exception { + // SHOULD support searching using the address-postalcode search parameter: + // GET [base]/Location?address-postalcode=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("address-postalcode", "01002"); + FHIRResponse response = client.search(Location.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, locationId1); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreMedicationRequestTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreMedicationRequestTest.java new file mode 100644 index 00000000000..d2fa9fd3fb2 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreMedicationRequestTest.java @@ -0,0 +1,233 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.client.Entity; +import javax.ws.rs.client.WebTarget; +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.core.FHIRMediaType; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Bundle.Entry.Request; +import com.ibm.fhir.model.resource.MedicationRequest; +import com.ibm.fhir.model.type.Id; +import com.ibm.fhir.model.type.Meta; +import com.ibm.fhir.model.type.Uri; +import com.ibm.fhir.model.type.code.BundleType; +import com.ibm.fhir.model.type.code.HTTPVerb; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with MedicationRequest. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-medicationrequest.html + */ +public class USCoreMedicationRequestTest extends ProfilesTestBaseV2 { + + private String medicationRequestId1 = null; + private String medicationRequestId2 = null; + private String medicationRequestId3 = "uscore-mo3"; + private String medicationId3 = "uscore-med2"; + private String medicationRequestId4 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest|4.0.0", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + loadBundle1(); + loadMedicationRequest1(); + loadMedicationRequest2(); + loadMedicationRequest4(); + } + + public void loadBundle1() throws Exception { + String resource = "Bundle-uscore-mo3.json"; + WebTarget target = getWebTarget(); + + Bundle bundle = USCoreExamplesUtil.readLocalJSONResource("400", resource); + List<Bundle.Entry> entries = bundle.getEntry(); + List<Bundle.Entry> output = new ArrayList<>(); + for (Bundle.Entry entry : entries) { + Request request = Request.builder().method(HTTPVerb.PUT).url(Uri.of(entry.getResource().getClass().getSimpleName() + "/" + + entry.getResource().getId())).build(); + + Meta meta = Meta.builder().versionId(Id.of("" + System.currentTimeMillis())).build(); + entry.getResource().toBuilder().meta(meta).build(); + + Bundle.Entry tmpEntry = entry.toBuilder().request(request).build(); + output.add(tmpEntry); + } + bundle = bundle.toBuilder().type(BundleType.BATCH).entry(output).build(); + + Entity<Bundle> entity = Entity.entity(bundle, FHIRMediaType.APPLICATION_FHIR_JSON); + Response response = target.request().header(PREFER_HEADER_NAME, PREFER_HEADER_RETURN_REPRESENTATION).post(entity, Response.class); + assertResponse(response, Response.Status.OK.getStatusCode()); + + response = target.path("MedicationRequest/" + medicationRequestId3).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); + assertResponse(response, Response.Status.OK.getStatusCode()); + + response = target.path("Medication/" + medicationId3).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); + assertResponse(response, Response.Status.OK.getStatusCode()); + } + + public void loadMedicationRequest1() throws Exception { + String resource = "MedicationRequest-uscore-mo1.json"; + String cls = "MedicationRequest"; + medicationRequestId1 = buildAndAssertOnResourceForUsCore(cls, "400", resource); + } + + public void loadMedicationRequest2() throws Exception { + String resource = "MedicationRequest-uscore-mo2.json"; + String cls = "MedicationRequest"; + medicationRequestId2 = buildAndAssertOnResourceForUsCore(cls, "400", resource); + } + + public void loadMedicationRequest4() throws Exception { + String resource = "MedicationRequest-self-tylenol.json"; + String cls = "MedicationRequest"; + medicationRequestId4 = buildAndAssertOnResourceForUsCore(cls, "400", resource); + } + + @Test + public void testSearchByPatientWithSingleIntent() throws Exception { + // SHALL support searching using the combination of the patient and intent search parameters: + // including support for composite OR search on intent (e.g.intent={system|}[code],{system|}[code],...) + // GET [base]/MedicationRequest?patient=[reference]&intent=order,plan + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("intent", "order"); + FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, medicationRequestId1); + assertContainsIds(bundle, medicationRequestId2); + assertContainsIds(bundle, medicationRequestId3); + assertDoesNotContainsIds(bundle, medicationRequestId4); + } + + @Test + public void testSearchByPatientWithMultipleIntents() throws Exception { + // SHALL support searching using the combination of the patient and intent search parameters: + // including support for composite OR search on intent (e.g.intent={system|}[code],{system|}[code],...) + // GET [base]/MedicationRequest?patient=[reference]&intent=order,plan + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("intent", "order,plan"); + FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, medicationRequestId1); + assertContainsIds(bundle, medicationRequestId2); + assertContainsIds(bundle, medicationRequestId3); + assertContainsIds(bundle, medicationRequestId4); + } + + @Test + public void testSearchByPatientWithSingleIntentAndStatus() throws Exception { + // SHALL support searching using the combination of the patient and intent and status search parameters: + // including support for composite OR search on intent (e.g.intent={system|}[code],{system|}[code],...) + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET + // [base]/MedicationRequest?patient=[reference]&intent=order,plan&status={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("intent", "order"); + parameters.searchParam("status", "active"); + FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, medicationRequestId1); + assertContainsIds(bundle, medicationRequestId2); + assertContainsIds(bundle, medicationRequestId3); + assertDoesNotContainsIds(bundle, medicationRequestId4); + } + + @Test + public void testSearchByPatientWithSingleIntentAndEncounter() throws Exception { + // SHOULD support searching using the combination of the patient and intent and encounter search parameters: + // including support for composite OR search on intent (e.g.intent={system|}[code],{system|}[code],...) + // GET [base]/MedicationRequest?patient=[reference]&intent=order,plan&encounter=[reference] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("intent", "plan"); + parameters.searchParam("encounter", "Encounter/example-1"); + FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertDoesNotContainsIds(bundle, medicationRequestId1); + assertDoesNotContainsIds(bundle, medicationRequestId2); + assertDoesNotContainsIds(bundle, medicationRequestId3); + assertContainsIds(bundle, medicationRequestId4); + } + + @Test + public void testSearchByPatientWithSingleIntentWithInclude() throws Exception { + // Tests the include + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("intent", "order,plan"); + parameters.searchParam("_include", "MedicationRequest:medication"); + FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, medicationRequestId1); + assertContainsIds(bundle, medicationRequestId2); + assertContainsIds(bundle, medicationRequestId3); + assertContainsIds(bundle, medicationRequestId4); + assertContainsIds(bundle, medicationId3); + } + + @Test + public void testSearchByPatientWithSingleIntentWithIncludeAndAuthoredOn() throws Exception { + // SHOULD support searching using the combination of the patient and intent and authoredon search parameters: + // including support for composite OR search on intent (e.g.intent={system|}[code],{system|}[code],...) + // including support for these authoredon comparators: gt,lt,ge,le + // including optional support for composite AND search on authoredon + // (e.g.authoredon=[date]&authoredon=[date]]&...) + // GET + // [base]/MedicationRequest?patient=[reference]&intent=order,plan&authoredon={gt|lt|ge|le}[date]{&authoredon={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("intent", "order,plan"); + parameters.searchParam("authoredon", "2019-06-24"); + parameters.searchParam("_include", "MedicationRequest:medication"); + FHIRResponse response = client.search(MedicationRequest.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertDoesNotContainsIds(bundle, medicationRequestId1); + assertDoesNotContainsIds(bundle, medicationRequestId2); + assertDoesNotContainsIds(bundle, medicationRequestId3); + assertContainsIds(bundle, medicationRequestId4); + assertDoesNotContainsIds(bundle, medicationId3); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreMedicationTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreMedicationTest.java new file mode 100644 index 00000000000..161cc62e13a --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreMedicationTest.java @@ -0,0 +1,72 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Medication; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with Medication. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-medication.html + */ +public class USCoreMedicationTest extends ProfilesTestBaseV2 { + + private String medicationId1 = null; + private String medicationId2 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + loadMedication1(); + loadMedication2(); + } + + public void loadMedication1() throws Exception { + String resource = "Medication-uscore-med1.json"; + Medication medication = USCoreExamplesUtil.readLocalJSONResource("400", resource); + medicationId1 = createResourceAndReturnTheLogicalId("Medication", medication); + } + + public void loadMedication2() throws Exception { + String resource = "Medication-uscore-med2.json"; + Medication medication = USCoreExamplesUtil.readLocalJSONResource("400", resource); + medicationId2 = createResourceAndReturnTheLogicalId("Medication", medication); + } + + @Test + public void testSearchForCode() throws Exception { + // There are no specific search terms for Medication, using the base spec. + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("code", "http://www.nlm.nih.gov/research/umls/rxnorm|206765,http://www.nlm.nih.gov/research/umls/rxnorm|582620"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Medication.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, medicationId1); + assertContainsIds(bundle, medicationId2); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationLabTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationLabTest.java new file mode 100644 index 00000000000..7df255df35a --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationLabTest.java @@ -0,0 +1,180 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Observation; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with Observation. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-Observation.html + */ +public class USCoreObservationLabTest extends ProfilesTestBaseV2 { + + private String observationId1 = null; + private String observationId2 = null; + private String observationId3 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + loadObservation1(); + loadObservation2(); + loadObservation3(); + } + + public void loadObservation1() throws Exception { + String resource = "Observation-usg.json"; + Observation observation = USCoreExamplesUtil.readLocalJSONResource("400", resource); + observationId1 = createResourceAndReturnTheLogicalId("Observation", observation); + } + + public void loadObservation2() throws Exception { + String resource = "Observation-serum-total-bilirubin.json"; + Observation observation = USCoreExamplesUtil.readLocalJSONResource("400", resource); + observationId2 = createResourceAndReturnTheLogicalId("Observation", observation); + } + + public void loadObservation3() throws Exception { + String resource = "Observation-erythrocytes.json"; + Observation observation = USCoreExamplesUtil.readLocalJSONResource("400", resource); + observationId3 = createResourceAndReturnTheLogicalId("Observation", observation); + } + + @Test + public void testSearchForPatient() throws Exception { + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + assertContainsIds(bundle, observationId2); + assertContainsIds(bundle, observationId3); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|laboratory + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|laboratory"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + assertContainsIds(bundle, observationId2); + assertContainsIds(bundle, observationId3); + } + + @Test + public void testSearchForPatientAndMultipleCodes() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|5811-5,1975-2"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + assertContainsIds(bundle, observationId2); + assertDoesNotContainsIds(bundle, observationId3); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|laboratory + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|laboratory"); + parameters.searchParam("date", "ge2005"); + parameters.searchParam("date", "lt2006"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + assertContainsIds(bundle, observationId2); + assertContainsIds(bundle, observationId3); + } + + @Test + public void testSearchForPatientAndCategoryAndDateAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|laboratory&status={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|laboratory"); + parameters.searchParam("date", "ge2005"); + parameters.searchParam("date", "lt2006"); + parameters.searchParam("status", "final"); + + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + assertContainsIds(bundle, observationId2); + assertContainsIds(bundle, observationId3); + } + + @Test + public void testSearchForPatientAndMultipleCodesAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|5811-5,1975-2"); + parameters.searchParam("date", "2005-07-05"); + + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + assertDoesNotContainsIds(bundle, observationId2); + assertDoesNotContainsIds(bundle, observationId3); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationPediatricBMIForAgeTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationPediatricBMIForAgeTest.java new file mode 100644 index 00000000000..ae8e8e7c85d --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationPediatricBMIForAgeTest.java @@ -0,0 +1,183 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Observation; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with Observation on Vital Signs + * + * https://www.hl7.org/fhir/us/core/StructureDefinition-pediatric-bmi-for-age.html + * + * using https://www.hl7.org/fhir/us/core/vitals-search.html as a guide + */ +public class USCoreObservationPediatricBMIForAgeTest extends ProfilesTestBaseV2 { + private String observationId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Observation-pediatric-bmi-example.json"; + Observation observation = USCoreExamplesUtil.readLocalJSONResource("400", resource); + observationId1 = createResourceAndReturnTheLogicalId("Observation", observation); + } + + @Test + public void testSearchForPatient() throws Exception { + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/child-example"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs + // GET + // [base]/Observation?patient=1134281&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/child-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCode() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/child-example"); + parameters.searchParam("code", "59576-9"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndSystem() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/child-example"); + parameters.searchParam("code", "http://loinc.org|59576-9"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/child-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("date", "eq2019"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&status={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/child-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("status", "final"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/child-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("code", "http://loinc.org|59576-9"); + parameters.searchParam("date", "eq2019"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndBadDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/child-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("code", "http://loinc.org|59576-9"); + parameters.searchParam("date", "eq2020"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationPediatricHeadOccipitalFrontalCircumferencePercentileTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationPediatricHeadOccipitalFrontalCircumferencePercentileTest.java new file mode 100644 index 00000000000..0113883c42a --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationPediatricHeadOccipitalFrontalCircumferencePercentileTest.java @@ -0,0 +1,184 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Observation; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with Observation on Vital Signs + * + * https://www.hl7.org/fhir/us/core/StructureDefinition-head-occipital-frontal-circumference-percentile.html + * + * using https://www.hl7.org/fhir/us/core/vitals-search.html as a guide + */ +public class USCoreObservationPediatricHeadOccipitalFrontalCircumferencePercentileTest extends ProfilesTestBaseV2 { + + private String observationId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Observation-ofc-percentile.json"; + Observation observation = USCoreExamplesUtil.readLocalJSONResource("400", resource); + observationId1 = createResourceAndReturnTheLogicalId("Observation", observation); + } + + @Test + public void testSearchForPatient() throws Exception { + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs + // GET + // [base]/Observation?patient=1134281&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCode() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("code", "8289-1"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndSystem() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("code", "http://loinc.org|8289-1"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("date", "eq2020"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&status={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("status", "final"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("code", "http://loinc.org|8289-1"); + // parameters.searchParam("date", "eq2020"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndBadDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("code", "http://loinc.org|8289-1"); + parameters.searchParam("date", "eq2019"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationPediatricWeightForHeightTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationPediatricWeightForHeightTest.java new file mode 100644 index 00000000000..26710ec91b5 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationPediatricWeightForHeightTest.java @@ -0,0 +1,183 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Observation; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with Observation on Vital Signs + * + * https://www.hl7.org/fhir/us/core/StructureDefinition-pediatric-weight-for-height.html + * + * using https://www.hl7.org/fhir/us/core/vitals-search.html as a guide + */ +public class USCoreObservationPediatricWeightForHeightTest extends ProfilesTestBaseV2 { + private String observationId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Observation-pediatric-wt-example.json"; + Observation observation = USCoreExamplesUtil.readLocalJSONResource("400", resource); + observationId1 = createResourceAndReturnTheLogicalId("Observation", observation); + } + + @Test + public void testSearchForPatient() throws Exception { + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs + // GET + // [base]/Observation?patient=1134281&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCode() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("code", "77606-2"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndSystem() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("code", "http://loinc.org|77606-2"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("date", "eq2020"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&status={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("status", "final"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("code", "http://loinc.org|77606-2"); + //parameters.searchParam("date", "eq2020"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndBadDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/infant-example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("code", "http://loinc.org|77606-2"); + parameters.searchParam("date", "eq2019"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationPulseOximetryTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationPulseOximetryTest.java new file mode 100644 index 00000000000..444f53a771c --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationPulseOximetryTest.java @@ -0,0 +1,187 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Observation; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with Observation on Vital Signs + * + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-pulse-oximetry.html + * + * using https://www.hl7.org/fhir/us/core/vitals-search.html as a guide + */ +public class USCoreObservationPulseOximetryTest extends ProfilesTestBaseV2 { + + private String observationId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Observation-satO2-fiO2.json"; + Observation observation = USCoreExamplesUtil.readLocalJSONResource("400", resource); + observationId1 = createResourceAndReturnTheLogicalId("Observation", observation); + } + + @Test + public void testSearchForPatient() throws Exception { + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs + // GET + // [base]/Observation?patient=1134281&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCode() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "2708-6"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndSystem() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|2708-6"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("date", "eq2014-12"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|vital-signs&status={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("status", "final"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("code", "http://loinc.org|2708-6"); + parameters.searchParam("date", "eq2014-12"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndBadDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|vital-signs"); + parameters.searchParam("code", "http://loinc.org|2708-6"); + parameters.searchParam("date", "eq2019"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationSmokingStatusTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationSmokingStatusTest.java new file mode 100644 index 00000000000..3676b353a04 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreObservationSmokingStatusTest.java @@ -0,0 +1,193 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.time.temporal.ChronoField; +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Observation; +import com.ibm.fhir.model.type.DateTime; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with Observation on Vital Signs + * + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-smokingstatus.html + * + * using https://www.hl7.org/fhir/us/core/vitals-search.html as a guide + */ +public class USCoreObservationSmokingStatusTest extends ProfilesTestBaseV2 { + + private String observationId1 = null; + private DateTime dt = DateTime.now(); + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Observation-some-day-smoker.json"; + Observation observation = USCoreExamplesUtil.readLocalJSONResource("400", resource); + observation = observation.toBuilder() + .effective(dt) + .build(); + observationId1 = createResourceAndReturnTheLogicalId("Observation", observation); + } + + @Test + public void testSearchForPatient() throws Exception { + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategory() throws Exception { + // SHALL support searching using the combination of the patient and category search parameters: + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|social-history + // GET + // [base]/Observation?patient=1134281&category=http://terminology.hl7.org/CodeSystem/observation-category|social-history + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|social-history"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCode() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "72166-2"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndSystem() throws Exception { + // SHALL support searching using the combination of the patient and code search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // GET [base]/Observation?patient=[reference]&code={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("code", "http://loinc.org|72166-2"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndDate() throws Exception { + // SHALL support searching using the combination of the patient and category and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|social-history&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|social-history"); + parameters.searchParam("date", "eq" + dt.getValue().get(ChronoField.YEAR)); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCategoryAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and category and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET + // [base]/Observation?patient=[reference]&category=http://terminology.hl7.org/CodeSystem/observation-category|social-history&status={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|social-history"); + parameters.searchParam("status", "final"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|social-history"); + parameters.searchParam("code", "http://loinc.org|72166-2"); + parameters.searchParam("date", "eq" + dt.getValue().get(ChronoField.YEAR)); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, observationId1); + } + + @Test + public void testSearchForPatientAndCodeAndBadDate() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("category", "http://terminology.hl7.org/CodeSystem/observation-category|social-history"); + parameters.searchParam("code", "http://loinc.org|72166-2"); + parameters.searchParam("date", "eq2019"); + FHIRResponse response = client.search(Observation.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreOrganizationTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreOrganizationTest.java new file mode 100644 index 00000000000..277a0606df3 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreOrganizationTest.java @@ -0,0 +1,89 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Organization; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with Organization. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-organization.html + */ +public class USCoreOrganizationTest extends ProfilesTestBaseV2 { + + public Boolean skip = Boolean.TRUE; + + private String organizationId1 = null; + private String organizationId2 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + loadOrganization1(); + loadOrganization2(); + } + + public void loadOrganization1() throws Exception { + String resource = "Organization-acme-lab.json"; + String cls = "Organization"; + organizationId1 = buildAndAssertOnResourceForUsCore(cls, "400", resource); + } + + public void loadOrganization2() throws Exception { + String resource = "Organization-saint-luke-w-endpoint.json"; + String cls = "Organization"; + organizationId2 = buildAndAssertOnResourceForUsCore(cls, "400", resource); + } + + @Test + public void testSearchByName() throws Exception { + // SHALL support searching by organization name using the name search parameter: + // GET [base]/Organization?name=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("name:contains", "Labs,Hospital"); + FHIRResponse response = client.search(Organization.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, organizationId1); + assertContainsIds(bundle, organizationId2); + } + + @Test + public void testSearchByAddress() throws Exception { + // SHALL support searching organization based on text address using the address search parameter: + // GET [base]/Organization?address=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("address:contains", "Washtenaw,Wornall"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Organization.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, organizationId1); + assertContainsIds(bundle, organizationId2); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCorePatientTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCorePatientTest.java new file mode 100644 index 00000000000..8e61c415175 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCorePatientTest.java @@ -0,0 +1,188 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Patient; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with Patient. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-patient.html + */ +public class USCorePatientTest extends ProfilesTestBaseV2 { + private String patientId1 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Patient-example.json"; + Patient ptnt = USCoreExamplesUtil.readLocalJSONResource("400", resource); + patientId1 = createResourceAndReturnTheLogicalId("Patient", ptnt); + } + + @Test + public void testSearchForId() throws Exception { + // SHALL support fetching a Patient using the _id search parameter: + // GET [base]/Patient[id] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("_id", patientId1); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, patientId1); + } + + @Test + public void testSearchByIdentifier() throws Exception { + // SHALL support searching a patient by an identifier such as a MPI using the identifier search parameter: + // GET [base]/Patient?identifier={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("identifier", "http://hospital.smarthealthit.org|1032702"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, patientId1); + } + + @Test + public void testSearchByIdentifierWithoutSystem() throws Exception { + // SHALL support searching a patient by an identifier such as a MPI using the identifier search parameter: + // GET [base]/Patient?identifier={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("identifier", "1032702"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, patientId1); + } + + @Test + public void testSearchByName() throws Exception { + // SHALL support searching for a patient by a string match of any part of name using the name search parameter: + // GET [base]/Patient?name=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("name:contains", "Shaw"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, patientId1); + } + + @Test + public void testSearchByNameAndBirthDate() throws Exception { + // SHALL support searching using the combination of the birthdate and name search parameters: + // GET [base]/Patient?birthdate=[date]&name=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("name:contains", "Shaw"); + parameters.searchParam("birthdate", "1987"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, patientId1); + } + + @Test + public void testSearchByNameAndBirthDateNoPatient() throws Exception { + // SHALL support searching using the combination of the birthdate and name search parameters: + // GET [base]/Patient?birthdate=[date]&name=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("name:contains", "Shaw"); + parameters.searchParam("birthdate", "1988"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + } + + @Test + public void testSearchByGenderAndName() throws Exception { + // SHALL support searching using the combination of the gender and name search parameters: + // GET [base]/Patient?gender={system|}[code]&name=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("name:contains", "Shaw"); + parameters.searchParam("gender", "female"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, patientId1); + } + + @Test + public void testSearchByNameAndGenderNoPatient() throws Exception { + // SHALL support searching using the combination of the gender and name search parameters: + // GET [base]/Patient?gender={system|}[code]&name=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("name:contains", "Shaw"); + parameters.searchParam("gender", "male"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() == 0); + } + + @Test + public void testSearchByBirthdateAndFamily() throws Exception { + // SHOULD support searching using the combination of the birthdate and family search parameters: + // GET [base]/Patient?birthdate=[date]&family=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("family", "Shaw"); + parameters.searchParam("birthdate", "1987"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, patientId1); + } + + @Test + public void testSearchByGenderAndFamily() throws Exception { + // SHOULD support searching using the combination of the family and gender search parameters: + // GET [base]/Patient?family=[string]&gender={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("family", "Shaw"); + parameters.searchParam("gender", "female"); + FHIRResponse response = client.search(Patient.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, patientId1); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCorePractitionerAndPractitionerRoleTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCorePractitionerAndPractitionerRoleTest.java new file mode 100644 index 00000000000..7cff605f735 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCorePractitionerAndPractitionerRoleTest.java @@ -0,0 +1,209 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.client.Entity; +import javax.ws.rs.client.WebTarget; +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.core.FHIRMediaType; +import com.ibm.fhir.ig.us.core.tool.USCoreExamplesUtil; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Bundle.Entry.Request; +import com.ibm.fhir.model.resource.Practitioner; +import com.ibm.fhir.model.resource.PractitionerRole; +import com.ibm.fhir.model.type.Id; +import com.ibm.fhir.model.type.Meta; +import com.ibm.fhir.model.type.Uri; +import com.ibm.fhir.model.type.code.BundleType; +import com.ibm.fhir.model.type.code.HTTPVerb; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with Practitioner and PractitionerRole + * + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitionerrole.html + */ +public class USCorePractitionerAndPractitionerRoleTest extends ProfilesTestBaseV2 { + private String practitionerId = "Practitioner-1011"; + private String practitionerRoleId = "PractitionerRole-1"; + private String endpointId = "71"; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|4.0.0", "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + String resource = "Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json"; + WebTarget target = getWebTarget(); + + Bundle bundle = USCoreExamplesUtil.readLocalJSONResource("400", resource); + List<Bundle.Entry> entries = bundle.getEntry(); + List<Bundle.Entry> output = new ArrayList<>(); + for (Bundle.Entry entry : entries) { + Request request = Request.builder().method(HTTPVerb.PUT).url(Uri.of(entry.getResource().getClass().getSimpleName() + "/" + + entry.getResource().getId())).build(); + + Meta meta = Meta.builder().versionId(Id.of("" + System.currentTimeMillis())).build(); + entry.getResource().toBuilder().meta(meta).build(); + + Bundle.Entry tmpEntry = entry.toBuilder().request(request).build(); + output.add(tmpEntry); + } + bundle = bundle.toBuilder().type(BundleType.BATCH).entry(output).build(); + + Entity<Bundle> entity = Entity.entity(bundle, FHIRMediaType.APPLICATION_FHIR_JSON); + Response response = target.request().header(PREFER_HEADER_NAME, PREFER_HEADER_RETURN_REPRESENTATION).post(entity, Response.class); + assertResponse(response, Response.Status.OK.getStatusCode()); + + response = target.path("Practitioner/" + practitionerId).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); + assertResponse(response, Response.Status.OK.getStatusCode()); + this.addToResourceRegistry("Practitioner", practitionerId); + + response = target.path("PractitionerRole/" + practitionerRoleId).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); + assertResponse(response, Response.Status.OK.getStatusCode()); + this.addToResourceRegistry("PractitionerRole", practitionerRoleId); + + response = target.path("Endpoint/" + endpointId).request(FHIRMediaType.APPLICATION_FHIR_JSON).get(); + assertResponse(response, Response.Status.OK.getStatusCode()); + this.addToResourceRegistry("Endpoint", endpointId); + } + + @Test + public void testSearchForPractitionerByName() throws Exception { + // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitioner.html + // SHALL support searching for a practitioner by a string match of any part of name using the name search + // parameter: + // GET [base]/Practitioner?name=[string] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("name:contains", "Richard"); + FHIRResponse response = client.search(Practitioner.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, practitionerId); + } + + @Test + public void testSearchForPractitionerByIdentifierWithSystem() throws Exception { + // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitioner.html + // SHALL support searching a practitioner by an identifier such as an NPI using the identifier search parameter: + // GET [base]/Practitioner?identifier={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("identifier", "http://hl7.org/fhir/sid/us-ssn|000001011"); + FHIRResponse response = client.search(Practitioner.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, practitionerId); + } + + @Test + public void testSearchForPractitionerByIdentifierWithoutSystem() throws Exception { + // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitioner.html + // SHALL support searching a practitioner by an identifier such as an NPI using the identifier search parameter: + // GET [base]/Practitioner?identifier={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("identifier", "000001011"); + FHIRResponse response = client.search(Practitioner.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, practitionerId); + } + + @Test + public void testSearchForPractitionerByIdentifierWithSecondOfficial() throws Exception { + // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitioner.html + // SHALL support searching a practitioner by an identifier such as an NPI using the identifier search parameter: + // GET [base]/Practitioner?identifier={system|}[code] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("identifier", "http://hl7.org/fhir/sid/us-npi|9999991011"); + FHIRResponse response = client.search(Practitioner.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, practitionerId); + } + + @Test + public void testSearchForPractitionerRoleBySpeciality() throws Exception { + // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitionerrole.html + // SHALL support searching practitioner role by specialty using the specialty search parameter: + // including optional support for these _include parameters: + // PractitionerRole:endpoint,PractitionerRole:practitioner + // GET + // [base]/PractitionerRole?specialty={[system]}|[code]{&_include=PractitionerRole:practitioner}{&_include=PractitionerRole?endpoint} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("specialty", "http://nucc.org/provider-taxonomy|208D00000X"); + FHIRResponse response = client.search(PractitionerRole.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, practitionerRoleId); + } + + @Test + public void testSearchForPractitionerRoleBySpecialityWithInclude() throws Exception { + // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitionerrole.html + // SHALL support searching practitioner role by specialty using the specialty search parameter: + // including optional support for these _include parameters: + // PractitionerRole:endpoint,PractitionerRole:practitioner + // GET + // [base]/PractitionerRole?specialty={[system]}|[code]{&_include=PractitionerRole:practitioner}{&_include=PractitionerRole?endpoint} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("specialty", "http://nucc.org/provider-taxonomy|208D00000X"); + parameters.searchParam("_include", "PractitionerRole:practitioner"); + FHIRResponse response = client.search(PractitionerRole.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, practitionerId); + assertContainsIds(bundle, practitionerRoleId); + } + + @Test + public void testSearchForPractitionerRoleBySpecialityWithMultipleIncludes() throws Exception { + // https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-practitionerrole.html + // SHALL support searching practitioner role by specialty using the specialty search parameter: + // including optional support for these _include parameters: + // PractitionerRole:endpoint,PractitionerRole:practitioner + // GET + // [base]/PractitionerRole?specialty={[system]}|[code]{&_include=PractitionerRole:practitioner}{&_include=PractitionerRole?endpoint} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("specialty", "http://nucc.org/provider-taxonomy|208D00000X"); + parameters.searchParam("_include", "PractitionerRole:practitioner"); + parameters.searchParam("_include", "PractitionerRole:endpoint"); + FHIRResponse response = client.search(PractitionerRole.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, practitionerId); + assertContainsIds(bundle, practitionerRoleId); + assertContainsIds(bundle, endpointId); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreProcedureTest.java b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreProcedureTest.java new file mode 100644 index 00000000000..2a39f58ec22 --- /dev/null +++ b/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/uscore/v400/USCoreProcedureTest.java @@ -0,0 +1,189 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.server.test.profiles.uscore.v400; + +import static org.testng.Assert.assertNotNull; +import static org.testng.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import javax.ws.rs.core.Response; + +import org.testng.annotations.Test; + +import com.ibm.fhir.client.FHIRParameters; +import com.ibm.fhir.client.FHIRResponse; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.Procedure; +import com.ibm.fhir.server.test.profiles.ProfilesTestBase.ProfilesTestBaseV2; + +/** + * Tests the US Core 4.0.0 Profile with Procedure. + * https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-procedure.html + */ +public class USCoreProcedureTest extends ProfilesTestBaseV2 { + + private String procedureId1 = null; + private String procedureId2 = null; + + @Override + public List<String> getRequiredProfiles() { + return Arrays.asList("http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure|4.0.0"); + } + + @Override + public void loadResources() throws Exception { + loadProcedure1(); + loadProcedure2(); + } + + public void loadProcedure1() throws Exception { + String resource = "Procedure-rehab.json"; + String cls = "Procedure"; + procedureId1 = buildAndAssertOnResourceForUsCore(cls, "400", resource); + } + + public void loadProcedure2() throws Exception { + String resource = "Procedure-defib-implant.json"; + String cls = "Procedure"; + procedureId2 = buildAndAssertOnResourceForUsCore(cls, "400", resource); + } + + @Test + public void testSearchByPatient() throws Exception { + // SHALL support searching for all procedures for a patient using the patient search parameter: + // GET [base]/Procedure?patient=[reference] + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, procedureId1); + assertContainsIds(bundle, procedureId2); + } + + @Test + public void testSearchByPatientAndDate() throws Exception { + // SHALL support searching using the combination of the patient and date search parameters: + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET [base]/Procedure?patient=[reference]&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("date", "2002,2019"); + FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, procedureId1); + assertContainsIds(bundle, procedureId2); + } + + @Test + public void testSearchByPatientAndDateAndCodeSct() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/Procedure?patient=[reference]&code={system|}[code]{,{system|}[code],...}&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("date", "2002,2019"); + parameters.searchParam("code", "http://snomed.info/sct|24165007"); + FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, procedureId1); + } + + @Test + public void testSearchByPatientAndDateAndCodeIcd10() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/Procedure?patient=[reference]&code={system|}[code]{,{system|}[code],...}&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("date", "2002,2019"); + parameters.searchParam("code", "http://www.cms.gov/Medicare/Coding/ICD10|HZ30ZZZ"); + FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, procedureId1); + } + + @Test + public void testSearchByPatientAndDateAndCodeWithoutSystem() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/Procedure?patient=[reference]&code={system|}[code]{,{system|}[code],...}&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("date", "2002,2019"); + parameters.searchParam("code", "HZ30ZZZ"); + FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, procedureId1); + } + + @Test + public void testSearchByPatientAndDateAndCodeWithoutSystemAndWithSystem() throws Exception { + // SHOULD support searching using the combination of the patient and code and date search parameters: + // including optional support for composite OR search on code (e.g.code={system|}[code],{system|}[code],...) + // including support for these date comparators: gt,lt,ge,le + // including optional support for composite AND search on date (e.g.date=[date]&date=[date]]&...) + // GET + // [base]/Procedure?patient=[reference]&code={system|}[code]{,{system|}[code],...}&date={gt|lt|ge|le}[date]{&date={gt|lt|ge|le}[date]&...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("date", "2002,2019"); + parameters.searchParam("code", "HZ30ZZZ,http://www.ama-assn.org/go/cpt|33249"); + FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, procedureId1); + assertContainsIds(bundle, procedureId2); + } + + @Test + public void testSearchByPatientAndStatus() throws Exception { + // SHOULD support searching using the combination of the patient and status search parameters: + // including support for composite OR search on status (e.g.status={system|}[code],{system|}[code],...) + // GET [base]/Procedure?patient=[reference]&status={system|}[code]{,{system|}[code],...} + FHIRParameters parameters = new FHIRParameters(); + parameters.searchParam("patient", "Patient/example"); + parameters.searchParam("status", "completed"); + parameters.searchParam("_sort", "-_lastUpdated"); + FHIRResponse response = client.search(Procedure.class.getSimpleName(), parameters); + assertSearchResponse(response, Response.Status.OK.getStatusCode()); + Bundle bundle = response.getResource(Bundle.class); + assertNotNull(bundle); + assertTrue(bundle.getEntry().size() >= 1); + assertContainsIds(bundle, procedureId1); + assertContainsIds(bundle, procedureId2); + } +} \ No newline at end of file diff --git a/fhir-server-test/src/test/java/testng.xml b/fhir-server-test/src/test/java/testng.xml index 63c0165b09d..34734b2df32 100644 --- a/fhir-server-test/src/test/java/testng.xml +++ b/fhir-server-test/src/test/java/testng.xml @@ -16,6 +16,8 @@ <packages> <!-- All of these tests are automatically executed --> <package name="com.ibm.fhir.server.test.profiles" /> + <package name="com.ibm.fhir.server.test.profiles.uscore.v311" /> + <package name="com.ibm.fhir.server.test.profiles.uscore.v400" /> </packages> </test> <test name="ClientTests"> diff --git a/fhir-server-test/src/test/resources/test.properties b/fhir-server-test/src/test/resources/test.properties index eb5267e0141..057ec37a767 100644 --- a/fhir-server-test/src/test/resources/test.properties +++ b/fhir-server-test/src/test/resources/test.properties @@ -1,3 +1,4 @@ + # Properties file used by server integration tests # FHIRClient properties: